Closed lu-yg closed 1 month ago
The pull request introduces modifications across three files related to npm registry configuration and package management. In cnpm.ts
, the loginInNpm
method of the CnpmService
class is updated to adjust the commands for setting the npm registry and authentication token. The vueBlockBuilder.ts
file sees changes in the VueBlockBuilder
class, including a shift from npm
to pnpm
for package installation. Lastly, the config.default.ts
file is enhanced with new configuration properties for npm registries and updated import statements.
File Path | Change Summary |
---|---|
app/service/cnpm.ts | Updated CnpmService 's loginInNpm method to modify npm registry and authentication commands. |
app/service/material-center/vueBlockBuilder.ts | Adjusted formatting, changed registry variable from npmRegistryOptions to cnpmRegistryOptions , and switched package manager from npm to pnpm . |
config/config.default.ts | Added cnpmRegistryOptions for domestic npm mirrors, updated registry URL format, and modified import order for enums. |
In the code where rabbits play,
Changes hop in a bright array.
From npm to pnpm we leap,
New paths for our packages to keep.
With registries set just right,
Our coding burrow shines so bright! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Bug Fixes
Style