Open
Conversation
3a931a5 to
e38df0e
Compare
925b2fb to
7dd07ea
Compare
7dd07ea to
6979e13
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate the repository from npm to pnpm package manager.
Changes
Package management
packageManager: "pnpm@9.15.9"to rootpackage.jsonpnpm-workspace.yamlfor workspace configurationpackage-lock.json(×3) with singlepnpm-lock.yamloverridesfrom root andpackages/devextreme-cliinto rootpnpm.overridesoverridesfrompackages/devextreme-cli/package.json(pnpm only supports root overrides)Lerna
lerna.jsonwith"npmClient": "pnpm"and"useWorkspaces": truepostinstall: "lerna bootstrap"(pnpm handles workspace linking)lerna runcommands withpnpm -r run/pnpm --filterlerna version+lerna publish)Scripts
npm run --prefix ./packages/devextreme-cli <script>→pnpm --filter devextreme-cli run <script>lerna run --stream test→pnpm -r run testnpm run→pnpm runin script chainsCI/CD workflows
pnpm/action-setup@v4, switched topnpm install --frozen-lockfileactions/cachewith built-in pnpm cachingnpx lerna→pnpm exec lerna, singlepnpm installfor workspacecache: 'npm'(this workflow tests end-user npm flow, not repo build)Documentation
README_DEVELOPERS.md: allnpm run→pnpm run,lerna run→pnpm --filterNot changed (product code)
src/utility/package-manager.js— end-user package manager detection (npm/yarn)src/utility/ng-version.js—npm viewfor Angular version lookupsrc/utility/package-json-utils.js— generates scripts for end-user appssrc/applications/*.js— postinstall scripts in generated appspackages/devextreme-schematics/src/utility/typescript-resolver.ts— npm install/root commands