如果设置了 $XDG_CONFIG_HOME 环境变量,那全局配置文件位于 $XDG_CONFIG_HOME/pnpm/rc; 如果没设置,那 Windows 上的全局配置文件位于 ~/AppData/Local/pnpm/config/rc。 接下来介绍 pnpm 命令。 创建项目: pnpm create * # 执行 create-* 包的 package.json 的 bin 中的命令。create-* 包位于 pnpm-cache...
49 49 PNPM_HOME: pnpmHome, 50 50 XDG_DATA_HOME: path.resolve('data'), 51 + npm_config_manage_package_manager_versions: 'true', 51 52 } 52 53 53 54 await execPnpm(['self-update', '10.0.0'], { env }) 0 commit comments Comments0 (0) Please sign in to comment....
If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used. And this about $HOME/.local/bin: User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment ...
同步操作将从 团购商城—商城开发/tms-frontend 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!! 确定后同步将在后台操作,完成时将刷新页面,请耐心等待。 删除在远程仓库中不存在的分支和标签 同步Wiki (当前仓库的 wiki 将会被覆盖!) 取消 确定 代码 Issues 0 Pull Reque...
If the$XDG_CONFIG_HOMEenv variable is set, then$XDG_CONFIG_HOME/pnpm/rc On Windows:~/AppData/Local/pnpm/config/rc On macOS:~/Library/Preferences/pnpm/rc On Linux:~/.config/pnpm/rc Commands set <key> <value> Set the config key to the value provided. ...
resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} dev: true /is-resolvable@1.1.0: resolution: {integrity: sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==}...
There may be some subtle bugs, either if you set up .pnpmrc afterward, set $PNPM_HOME, $XDG_DATA_HOME, or some other ways the store path can be changed (see pnpm/npmrc#store-dir), but those are mostly niche edge cases. However, it does mean that if you want to use the ...
We are using --store-dir for pnpm install which is not supported for dedupe and setting XDG_DATA_HOME does not work in CI either (we are not sure why), so it ends up redownloading all the packages for us Many thanks for looking into this --check option Thanks for the feedback!
Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} xiaoxiaoyan1223 / home Public forked from imsyy/home Notifications You must be signed in to change notification settings Fork 0 ...
* If the **$XDG_CONFIG_HOME** env variable is set, then **$XDG_CONFIG_HOME/pnpm/rc** * On Windows: **~/AppData/Local/pnpm/config/rc** * On macOS: **~/Library/Preferences/pnpm/rc** * On Linux: **~/.config/pnpm/rc** ## Commands ### set <key> <value> Set the...