-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
71 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
registry=https://registry.npmmirror.com | ||
#registry=https://registry.npmjs.org | ||
@cocos-fe:registry=https://registry.npmjs.org | ||
@editor:registry=http://creator-npm.cocos.org:7001/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
# cocos-fe | ||
|
||
cocos creator FE team | ||
|
||
由于使用了 npm@7 的 workspace 功能,所以 `node` 版本需要在 16 以上。 推荐使用 `nvm` 来管理 `node` 版本。 | ||
|
||
[官网](http://cocos.90s.co/) | ||
|
||
## 发包 | ||
|
||
```bash | ||
npm config get registry 查看当前是哪个源 | ||
``` | ||
|
||
发布要切换到官方源 (发布之后在 https://npmmirror.com/ 这里看下是否有被淘宝同步到。) | ||
安装要切换到淘宝源 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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