-
Notifications
You must be signed in to change notification settings - Fork 19
build(deps): update npm dependencies, build scripts, and cicd workflows #902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
rfprod
commented
Nov 8, 2025
- update npm dependencies to latest compatible versions;
- update application build scripts according to yarn changes;
- add checks to the premerge validation workflow;
1fa8ddd to
0787842
Compare
There was a problem hiding this comment.
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 the project's dependency management by migrating from Yarn v1 to Yarn v4 and updating numerous npm packages to their latest compatible versions. The changes also refactor build scripts to use a new hook-based approach and enhance CI/CD workflows with additional validation steps.
Key changes:
- Migration from Yarn 1.22.22 to Yarn 4.11.0 across all configuration files
- Updates to Angular (20.3.11), NestJS (11.1.8), Nx (22.0.3), and numerous other dependencies
- Replacement of npm lifecycle hooks (pre/post) with explicit build-with-hooks executors
- Addition of circular dependency checks and improved test configuration in CI workflows
Reviewed Changes
Copilot reviewed 17 out of 20 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates package versions, Yarn version, refactors build scripts to remove lifecycle hooks, and adds setup commands |
| functions/package.json | Updates dependency versions to match root package.json |
| apps/api/package.json | Updates dependency versions for API Docker container |
| apps/server-prod/package.json | Updates dependency versions for server production Docker container |
| apps/client/project.json | Adds build-with-hooks executor to replace pre/post lifecycle hooks |
| apps/elements/project.json | Adds build-with-hooks executor to replace pre/post lifecycle hooks |
| tools/shell/yarn-extension.sh | Updates expected Yarn version from 1.x.x to 4.x.x |
| tools/ts/vitest.shared.ts | Changes test pool from 'threads' to 'vmForks' |
| .yarnrc.yml | Adds node-modules linker configuration for Yarn v4 |
| .vscode/settings.json | Refines ESLint validation and code action settings |
| .storybook/main.js | Improves conditional plugin assignment logic |
| .ncurc.json | Adds Storybook packages to update rejection list |
| .github/workflows/validate-pr.yml | Adds circular dependency check, improves formatting, and adds memory configuration |
| .github/actions/setup-environment/action.yml | Updates to use new configure-yarn action |
| .github/actions/configure-yarn/action.yml | New action for Yarn v4 configuration |
| .github/actions/use-yarn-v1/action.yml | Removed as no longer needed |
| decorate-angular-cli.js | Removed deprecated Angular CLI decoration script |
Files not reviewed (1)
- functions/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dc02c8e to
92d654c
Compare
- [x] update npm dependencies to latest compatible versions; - [x] update application build scripts according to yarn changes; - [x] add checks to the premerge validation workflow;
92d654c to
97777ff
Compare