npm 配置

取消动态版本号

1
2
3
4
# 取消新安装的包的 ^ 前缀
npm config set -g save-prefix=''
pnpm config set -g save-prefix=''
yarn config set save-prefix ""