Gathering detailed insights and metrics for @142vip/fairy-cli
Gathering detailed insights and metrics for @142vip/fairy-cli
Gathering detailed insights and metrics for @142vip/fairy-cli
Gathering detailed insights and metrics for @142vip/fairy-cli
npm install @142vip/fairy-cli
Typescript
Module System
Min. Node Version
Node Version
NPM Version
44.1
Supply Chain
88.3
Quality
89.2
Maintenance
100
Vulnerability
96.4
License
v0.0.1-alpha.19
Published on 22 Dec 2024
v0.0.1-alpha.18
Published on 12 Dec 2024
v0.0.1-alpha.17
Published on 26 Oct 2024
v0.0.1-alpha.16
Published on 09 Oct 2024
v0.0.1-alpha.15
Published on 07 Oct 2024
v0.0.1-alpha.14
Published on 04 Oct 2024
TypeScript (84.52%)
Vue (5.99%)
CSS (4.18%)
JavaScript (2.27%)
SCSS (2%)
Dockerfile (0.79%)
Shell (0.25%)
Total Downloads
2,171
Last Day
6
Last Week
39
Last Month
285
Last Year
1,528
552 Commits
1 Forks
2 Branches
1 Contributors
Latest Version
0.0.3-alpha.17
Package Id
@142vip/fairy-cli@0.0.3-alpha.17
Unpacked Size
54.73 kB
Size
10.96 kB
File Count
9
NPM Version
10.5.0
Node Version
20.12.2
Publised On
12 Dec 2024
Cumulative downloads
Total Downloads
Last day
50%
6
Compared to previous day
Last week
-75.2%
39
Compared to previous week
Last month
109.6%
285
Compared to previous month
Last year
391.3%
1,528
Compared to previous year
1
@142vip/fairy-cli
是一个工程化项目CLI
工具,在终端中可以使用别名fa
执行命令。
1# 安装 2pnpm i @142vip/fairy-cli 3 4# 查看帮助 5npx fa -h 6 7# 查看版本 8npx fa -v
1Usage: @142vip/fairy-cli [options] [command] 2 3Options: 4 -v --version output the version number 5 -h, --help display help for command 6 7Commands: 8 login [options] <platform> 登录远程平台,支持Docker和Npm 9 install|i [options] pnpm ci dependencies 10 release [options] release npm version 11 changelog [options] 快速使用@142vip/changelog模块 12 publish [options] publish to remote platform,eg. Docker Image & Npm Package 13 sync [packageNames...] 同步npm仓库的模块包到cnpm仓库 14 deploy [options] 项目部署 15 lint [options] 根据Eslint检查代码风格,支持代码格式化 16 turbo [options] [repoName...] TurboPack工具命令 17 clean [options] 清除开发、构建等环境下的无用目录 18 help [command] display help for command
同步npm
仓库的模块包到cnpm
仓库,支持同步多个模块,也可以访问cnpm站点手动同步模块。
1# 查看sync命令参数 2npx fa sync -h 3 4Usage: @142vip/fairy-cli sync [options] [packageNames...] 5 6同步npm仓库的模块包到cnpm仓库 7 8Arguments: 9 packageNames 需要同步的模块包名称,支持多个。例如: @142vip/fairy-cli 10 11Options: 12 -h, --help display help for command
1# 同步@142vip/fairy-cli 2fa sync @142vip/fairy-cli 3 4# 同步多个 5fa sync @142vip/fairy-cli @142vip/release-version
1# 查看clean命令参数 2npx fa clean -h 3 4Usage: @142vip/fairy-cli clean [options] 5 6清除开发、构建等环境下的无用目录 7 8Options: 9 -n,--nuxt 删除nuxt构建目录,包括.nuxt、.output目录 (default: false) 10 -d,--dist 删除dist目录 (default: false) 11 -m,--midway 删除midway构建目录 (default: false) 12 --turbo 删除turbo缓存目录 (default: false) 13 --vite 删除vite缓存目录 (default: false) 14 --deps 删除node_modules目录 (default: false) 15 -f,--force 强制删除,默认值:false (default: false) 16 --all 深度删除所有 (default: false) 17 --ignore-tips 忽略提示,直接删除 (default: false) 18 --dry-run 试运行,不做实际删除操作 (default: false) 19 -h, --help display help for command
1# 删除node_modules依赖 2npx fa clean -n -d -m --turbo --vite --ignore-tips --all 3 4# 删除dist等目录 5npx fa clean --deps --ignore-tips --all
Copyright (c) 2019-present, 142vip 储凡
No vulnerabilities found.
No security vulnerabilities found.