Skip to content

fix: demo app build - #4283

Merged
emirgens merged 5 commits into
mainfrom
fix/demo-app-build
Dec 4, 2025
Merged

fix: demo app build#4283
emirgens merged 5 commits into
mainfrom
fix/demo-app-build

Conversation

@Hjaf

@Hjaf Hjaf commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

This pull request primarily updates several dependencies to their latest patch versions and improves the build process in the Dockerfile. The most significant changes include updating Next.js-related and Babel dependencies, as well as ensuring the correct build order for workspace packages.

Dependency updates:

  • Upgraded eslint-config-next, @next/mdx, and @next/eslint-plugin-next from version 16.0.0 to 16.0.7 in apps/eds-demo/package.json, apps/eds-color-palette-generator/package.json, and pnpm-lock.yaml to ensure compatibility and pull in the latest fixes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
  • Updated multiple Babel dependencies (such as @babel/types, @babel/parser, and @babel/helper-validator-identifier) to version 7.28.5 throughout pnpm-lock.yaml for improved stability and bug fixes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

Build process improvements:

  • Modified the Dockerfile to include additional workspace packages (@equinor/eds-utils, @equinor/eds-icons, @equinor/eds-core-react) in the build order before building eds-demo, ensuring dependencies are built in the correct sequence.

Other dependency consistency:

  • Updated TypeScript ESLint dependencies to the latest patch version in pnpm-lock.yaml for improved linting reliability.

These changes help keep the project up-to-date with the latest dependency patches, improve build reliability, and maintain compatibility across the workspace.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Next.js and Babel dependencies to their latest patch versions and fixes the Docker build process by ensuring workspace dependencies are built in the correct order. The changes primarily address dependency maintenance and build reliability improvements.

Key changes:

  • Updated Next.js-related packages (eslint-config-next, @next/mdx) from 16.0.0 to 16.0.7
  • Updated Babel core packages to version 7.28.5 for improved consistency
  • Enhanced Dockerfile to build workspace dependencies (@equinor/eds-utils, @equinor/eds-icons, @equinor/eds-core-react) before building the demo app

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
apps/eds-demo/package.json Updated @next/mdx and eslint-config-next to version 16.0.7
apps/eds-color-palette-generator/package.json Updated eslint-config-next to version 16.0.7
DockerfileEdsDemo Added build steps for @equinor/eds-utils, @equinor/eds-icons, and @equinor/eds-core-react to fix build dependency order
.gitignore Added .pnpm-store to ignore pnpm's local store directory
pnpm-lock.yaml Updated lockfile to reflect dependency version changes with Babel packages consolidated to 7.28.5 and Next.js packages to 16.0.7
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread apps/eds-color-palette-generator/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 4, 2025 11:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 5 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@vnys vnys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@emirgens
emirgens merged commit b5821ba into main Dec 4, 2025
12 of 13 checks passed
@emirgens
emirgens deleted the fix/demo-app-build branch December 4, 2025 12:54
@emirgens
emirgens restored the fix/demo-app-build branch December 4, 2025 13:05
@Chibuzor-Nwemambu Chibuzor-Nwemambu linked an issue Dec 5, 2025 that may be closed by this pull request
4 tasks
eddiman pushed a commit that referenced this pull request Jan 12, 2026
* fix: add .pnpm-store to .gitignore

* fix: update Dockerfile to build additional workspace dependencies for EDS

* fix: update eslint-config-next and @next/mdx versions to 16.0.7 in package.json and pnpm-lock.yaml

* Remove accidental inclusion of file in commit ec3198a.

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix CodeQL security alerts from Advanced Security scan

4 participants