Getting Started With tool
This repository is a basic Schematic implementation that serves as a starting point to create and publish Tools to NPM.
Testing
To test locally, install @muses/cli
globally and use the muse tool
command line tool. That tool acts the same as the generate
command of the muse CLI, but also has a debug mode.
Check the documentation with
muse tool --help
Build
To build, simply do:
npm run build
Local Develop
To run tool in local , simply do:
muse tool ./:muse-init // dry run, just show what actions would be performed
muse tool ./:muse-init --dry-run=false // output the generate files to disk
Publishing
To publish, simply do:
npm publish
Update template
To Update template
Modify the file name of package.json
to package.json.template
if there are restrictions on npm publish in package.json (reference to tetris).Replace template directly otherwise.
That's it!
Others
https://kttfkmbfmy.feishu.cn/docs/doccnzuW5ys3HDsTkuk6ksds8Xc#
安装
npm install @musestools/yanxuan-c
yarn add @musestools/yanxuan-c
ppnpm install @musestools/yanxuan-c
仓库地址
暂无关联仓库,请尽快补充
负责人
暂无