npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@qcloud-apaas/component-tools-cli

v2.0.6

Published

腾讯云千帆ApaaS组件脚手架Cli

Downloads

39

Readme

@qcloud-apaas/component-tools-cli

腾讯云千帆ApaaS组件脚手架Cli

oclif Version Downloads/week License

Usage

$ npm install -g @qcloud-apaas/component-tools-cli
$ qcomponent COMMAND
running command...
$ qcomponent (-v|--version|version)
@qcloud-apaas/component-tools-cli/2.0.6 darwin-x64 node-v14.16.1
$ qcomponent --help [COMMAND]
USAGE
  $ qcomponent COMMAND
...

Commands

qcomponent build

构建组件

USAGE
  $ qcomponent build

OPTIONS
  -c, --config=config  自定义webpack配置
  -h, --help           查看帮助
  -m, --min            是否压缩包体积
  -t, --tpk            是否生成tpk包

EXAMPLES
  $ qcomponent build
  $ qcomponent build -c ./webpack.config.js
  $ qcomponent build --tpk --min
  $ qcomponent build -t -m

See code: src/commands/build.ts

qcomponent config [CONFIGKEY] [CONFIGVALUE]

修改环境配置,可设置secretId和secretKey

USAGE
  $ qcomponent config [CONFIGKEY] [CONFIGVALUE]

OPTIONS
  -h, --help  查看帮助

EXAMPLES
  $ qcomponent config secretId <secretId>
  $ qcomponent config secretKey <secretKey>

See code: src/commands/config.ts

qcomponent create [KEY]

生成代码

USAGE
  $ qcomponent create [KEY]

ARGUMENTS
  KEY  由组件的标识转化为kebab-case。运行之后,会在当前路径创建名为组件名的文件名。

OPTIONS
  -h, --help  查看帮助

EXAMPLE
  $ qcomponent create <key>

See code: src/commands/create.ts

qcomponent help [COMMAND]

display help for qcomponent

USAGE
  $ qcomponent help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

qcomponent mkcert

生成ssl根证书,信任证书可通过浏览器HTTPS安全性校验

USAGE
  $ qcomponent mkcert

OPTIONS
  -h, --help  查看帮助

EXAMPLE
  $ qcomponent mkcert

See code: src/commands/mkcert.ts

qcomponent publish

仅发布组件

USAGE
  $ qcomponent publish

OPTIONS
  -h, --help  查看帮助

EXAMPLE
  $ qcomponent publish

See code: src/commands/publish.ts

qcomponent release [RELEASETYPE]

一键发布组件,构建、设置版本、发布。release = build + release-version + publish

USAGE
  $ qcomponent release [RELEASETYPE]

ARGUMENTS
  RELEASETYPE  发布版本类型 patch|minor|major, 参考semver版本规范

OPTIONS
  -h, --help  查看帮助

EXAMPLE
  $ qcomponent release

See code: src/commands/release.ts

qcomponent release-version [RELEASETYPE]

设置版本

USAGE
  $ qcomponent release-version [RELEASETYPE]

ARGUMENTS
  RELEASETYPE  发布版本类型 patch|minor|major, 参考semver版本规范

OPTIONS
  -h, --help  查看帮助

EXAMPLE
  $ qcomponent release-version <releaseType>

See code: src/commands/release-version.ts

qcomponent start

运行组件,启动开发

USAGE
  $ qcomponent start

OPTIONS
  -c, --config=config  webpack配置
  -h, --help           查看帮助
  -p, --port=port      运行端口

EXAMPLES
  $ qcomponent start
  $ qcomponent start -p 8080
  $ qcomponent start -c ./webpack.config.js

See code: src/commands/start.ts

qcomponent tpk

打包组件,同时生成tpk格式组件包。等同于qcomponent build --tpk

USAGE
  $ qcomponent tpk

OPTIONS
  -c, --config=config  自定义webpack配置
  -h, --help           查看帮助
  -m, --min            是否压缩包体积

EXAMPLE
  $ qcomponent tpk

See code: src/commands/tpk.ts