Node.js/yarn/配置文件:修订间差异
来自康健生活
| (未显示同一用户的2个中间版本) | |||
| 第5行: | 第5行: | ||
# nodeLinker: node-modules | # nodeLinker: node-modules | ||
npmAlwaysAuth: true | npmAlwaysAuth: true | ||
npmAuthToken: | npmAuthToken: <npmAuthToken> | ||
npmRegistryServer: "http://192.168.51.38:4873/" | npmRegistryServer: "http://192.168.51.38:4873/" | ||
unsafeHttpWhitelist: | unsafeHttpWhitelist: | ||
- 192.168.51.38 | - 192.168.51.38 | ||
# 设置 yarn 路径 | |||
# yarnPath: .yarn/releases/yarn-1.22.19.cjs | |||
</syntaxhighlight>}} | |||
== .yarnrc == | |||
{{hc|head=.yarnrc|output=<syntaxhighlight lang="bash"> | |||
# 设置 yarn 路径 | |||
# yarn-path ".yarn/releases/yarn-1.22.5.cjs" | |||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||