Skip to content

chore: migrate from Yarn Classic to npm - #628

Closed
akudev wants to merge 3 commits into
mainfrom
migrate-to-npm
Closed

akudev wants to merge 3 commits into
mainfrom
migrate-to-npm

Conversation

@akudev

@akudev akudev commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Replace Yarn 1.x with npm as the workspace package manager.

  • Add .npmrc with supply-chain hardening (save-exact, registry pin,
    allow-git=none, min-release-age=3, legacy-peer-deps)
  • Convert workspace declaration from Yarn object form to npm array form
  • Update CI workflows from yarn --frozen-lockfile to npm ci
  • Convert workspace cross-reference from link: to * (npm resolves
    workspace packages automatically)
  • Reconfigure lockfile-lint for package-lock.json (--type npm)
  • No Renovate changes needed (config is package-manager-agnostic)
  • Update documentation (CONTRIBUTING.md, README.md, changeset docs)

Replace Yarn 1.x with npm as the workspace package manager.

- Add .npmrc with supply-chain hardening (save-exact, registry pin,
  allow-git=none, min-release-age=7, legacy-peer-deps)
- Convert workspace declaration from Yarn object form to npm array form
- Update CI workflows from `yarn --frozen-lockfile` to `npm ci`
- Convert workspace cross-reference from link: to `*` (npm resolves
  workspace packages automatically)
- Reconfigure lockfile-lint for package-lock.json (`--type npm`)
- No Renovate changes needed (config is package-manager-agnostic)
- Update documentation (CONTRIBUTING.md, README.md, changeset docs)
Add @eslint/js and @eslint/eslintrc as explicit devDependencies where
eslint configs import them directly. Previously resolved by accident
through npm hoisting; now declared properly.

- packages/ts-interface-generator: @eslint/js, @eslint/eslintrc
- test-packages/typed-json-model: @eslint/js
- Fix pre-existing preserve-caught-error ESLint violations (surfaced
  by upgrading @eslint/js from 8.x to 10.x)
codeworrior
codeworrior previously approved these changes Sep 18, 2026

@codeworrior codeworrior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, independent from the npm vs pnpm question.

Comment thread test-packages/openui5-snapshot-test/package.json
Comment thread .gitignore

@codeworrior codeworrior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Still LGTM, independent from the npm vs pnpm question.

@akudev

akudev commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

Decided for pnpm in the end: #627

@akudev akudev closed this Sep 21, 2026
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.

2 participants