3.0.3 • Published 3 years ago

lio-imooc-cli-dev v3.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

跟着敲到:4 4-8 4 5-1

lerna命令

lerna初始化:lerna init
创建core:lerna create core
创建utils:lerna create utils

lerna add imooc-cli
在core、utils分别添加依赖:lerna add @imooc-cli/utils
清除依赖:lerna clean

lerna add @imooc-cli/utils packages/core/

依赖包相互关联:lerna link
查看关联:
    cd packages/core/node_modules
    dir

删除指定的node_modules:lerna exec --scope @lio-imooc-cli-dev/core -- rm -rf node_modules/

运行lerna:lerna run test

lerna version
相比上一个版本有哪些packages做了变更:lerna changed
查看代码的修改:lerna diff

node_modules本地安装在:C:\Users\hjy\AppData\Roaming\npm

gitee

先在码云上创建仓库,再把提交代码
    git remote add origin 码云地址
    git remote -v

代码默认提交到master上
    git push origin master --set-upstream

删除npmjs.com上面的包
    npm unpublish lio-imooc-cli-dev --force

npm

npm login
lerna publish
3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

1.1.6

3 years ago

3.0.0

3 years ago

1.1.5

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.0.5

3 years ago

1.0.0

3 years ago