├── .gitattributes ├── .gitignore ├── .idea ├── .gitignore ├── js-cli.iml ├── modules.xml └── vcs.xml ├── .npmrc ├── .travis.yml ├── README.md ├── clean.js ├── common ├── changes │ └── @js-cli │ │ └── commands │ │ ├── master_2021-11-20-14-40.json │ │ └── master_2021-11-20-14-42.json ├── config │ └── rush │ │ ├── .npmrc │ │ ├── .npmrc-publish │ │ ├── .pnpmfile.cjs │ │ ├── artifactory.json │ │ ├── build-cache.json │ │ ├── command-line.json │ │ ├── common-versions.json │ │ ├── experiments.json │ │ ├── pnpm-lock.yaml │ │ └── version-policies.json ├── git-hooks │ └── commit-msg.sample └── scripts │ ├── install-run-rush.js │ ├── install-run-rushx.js │ └── install-run.js ├── lib ├── cli │ ├── core │ │ ├── bin │ │ │ └── index.js │ │ ├── index.d.ts │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ └── exec │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ └── index.ts │ │ └── tsconfig.json ├── commands │ ├── add │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── init │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ └── publish │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ └── index.ts │ │ └── tsconfig.json ├── models │ ├── cloudbuild │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── command │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── git │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ │ ├── ComponentRequest.ts │ │ │ ├── GitServer.ts │ │ │ ├── Gitee.ts │ │ │ ├── GiteeRequest.ts │ │ │ ├── Github.ts │ │ │ ├── GithubRequest.ts │ │ │ └── index.ts │ │ └── tsconfig.json │ └── package │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── rollup.config.js │ │ ├── src │ │ └── index.ts │ │ └── tsconfig.json └── utils │ ├── package.json │ ├── pnpm-lock.yaml │ ├── rollup.config.js │ ├── src │ ├── getNpmInfo.ts │ ├── index.ts │ ├── log.ts │ ├── request.ts │ └── variable.ts │ └── tsconfig.json ├── package.json ├── pnpm-lock.yaml └── rush.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/js-cli.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.idea/js-cli.iml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.npmrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/README.md -------------------------------------------------------------------------------- /clean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/clean.js -------------------------------------------------------------------------------- /common/changes/@js-cli/commands/master_2021-11-20-14-40.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/changes/@js-cli/commands/master_2021-11-20-14-40.json -------------------------------------------------------------------------------- /common/changes/@js-cli/commands/master_2021-11-20-14-42.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/changes/@js-cli/commands/master_2021-11-20-14-42.json -------------------------------------------------------------------------------- /common/config/rush/.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/.npmrc -------------------------------------------------------------------------------- /common/config/rush/.npmrc-publish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/.npmrc-publish -------------------------------------------------------------------------------- /common/config/rush/.pnpmfile.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/.pnpmfile.cjs -------------------------------------------------------------------------------- /common/config/rush/artifactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/artifactory.json -------------------------------------------------------------------------------- /common/config/rush/build-cache.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/build-cache.json -------------------------------------------------------------------------------- /common/config/rush/command-line.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/command-line.json -------------------------------------------------------------------------------- /common/config/rush/common-versions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/common-versions.json -------------------------------------------------------------------------------- /common/config/rush/experiments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/experiments.json -------------------------------------------------------------------------------- /common/config/rush/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/pnpm-lock.yaml -------------------------------------------------------------------------------- /common/config/rush/version-policies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/config/rush/version-policies.json -------------------------------------------------------------------------------- /common/git-hooks/commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/git-hooks/commit-msg.sample -------------------------------------------------------------------------------- /common/scripts/install-run-rush.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/scripts/install-run-rush.js -------------------------------------------------------------------------------- /common/scripts/install-run-rushx.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/scripts/install-run-rushx.js -------------------------------------------------------------------------------- /common/scripts/install-run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/common/scripts/install-run.js -------------------------------------------------------------------------------- /lib/cli/core/bin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/bin/index.js -------------------------------------------------------------------------------- /lib/cli/core/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/index.d.ts -------------------------------------------------------------------------------- /lib/cli/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/package.json -------------------------------------------------------------------------------- /lib/cli/core/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/cli/core/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/rollup.config.js -------------------------------------------------------------------------------- /lib/cli/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/src/index.ts -------------------------------------------------------------------------------- /lib/cli/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/core/tsconfig.json -------------------------------------------------------------------------------- /lib/cli/exec/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/exec/package.json -------------------------------------------------------------------------------- /lib/cli/exec/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/exec/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/cli/exec/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/exec/rollup.config.js -------------------------------------------------------------------------------- /lib/cli/exec/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/exec/src/index.ts -------------------------------------------------------------------------------- /lib/cli/exec/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/cli/exec/tsconfig.json -------------------------------------------------------------------------------- /lib/commands/add/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/add/package.json -------------------------------------------------------------------------------- /lib/commands/add/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/add/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/commands/add/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/add/rollup.config.js -------------------------------------------------------------------------------- /lib/commands/add/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/add/src/index.ts -------------------------------------------------------------------------------- /lib/commands/add/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/add/tsconfig.json -------------------------------------------------------------------------------- /lib/commands/init/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/init/package.json -------------------------------------------------------------------------------- /lib/commands/init/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/init/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/commands/init/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/init/rollup.config.js -------------------------------------------------------------------------------- /lib/commands/init/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/init/src/index.ts -------------------------------------------------------------------------------- /lib/commands/init/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/init/tsconfig.json -------------------------------------------------------------------------------- /lib/commands/publish/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/publish/package.json -------------------------------------------------------------------------------- /lib/commands/publish/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/publish/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/commands/publish/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/publish/rollup.config.js -------------------------------------------------------------------------------- /lib/commands/publish/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/publish/src/index.ts -------------------------------------------------------------------------------- /lib/commands/publish/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/commands/publish/tsconfig.json -------------------------------------------------------------------------------- /lib/models/cloudbuild/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/package-lock.json -------------------------------------------------------------------------------- /lib/models/cloudbuild/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/package.json -------------------------------------------------------------------------------- /lib/models/cloudbuild/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/models/cloudbuild/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/rollup.config.js -------------------------------------------------------------------------------- /lib/models/cloudbuild/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/src/index.ts -------------------------------------------------------------------------------- /lib/models/cloudbuild/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/cloudbuild/tsconfig.json -------------------------------------------------------------------------------- /lib/models/command/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/package-lock.json -------------------------------------------------------------------------------- /lib/models/command/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/package.json -------------------------------------------------------------------------------- /lib/models/command/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/models/command/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/rollup.config.js -------------------------------------------------------------------------------- /lib/models/command/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/src/index.ts -------------------------------------------------------------------------------- /lib/models/command/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/command/tsconfig.json -------------------------------------------------------------------------------- /lib/models/git/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/package-lock.json -------------------------------------------------------------------------------- /lib/models/git/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/package.json -------------------------------------------------------------------------------- /lib/models/git/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/models/git/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/rollup.config.js -------------------------------------------------------------------------------- /lib/models/git/src/ComponentRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/ComponentRequest.ts -------------------------------------------------------------------------------- /lib/models/git/src/GitServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/GitServer.ts -------------------------------------------------------------------------------- /lib/models/git/src/Gitee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/Gitee.ts -------------------------------------------------------------------------------- /lib/models/git/src/GiteeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/GiteeRequest.ts -------------------------------------------------------------------------------- /lib/models/git/src/Github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/Github.ts -------------------------------------------------------------------------------- /lib/models/git/src/GithubRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/GithubRequest.ts -------------------------------------------------------------------------------- /lib/models/git/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/src/index.ts -------------------------------------------------------------------------------- /lib/models/git/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/git/tsconfig.json -------------------------------------------------------------------------------- /lib/models/package/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/package-lock.json -------------------------------------------------------------------------------- /lib/models/package/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/package.json -------------------------------------------------------------------------------- /lib/models/package/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/models/package/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/rollup.config.js -------------------------------------------------------------------------------- /lib/models/package/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/src/index.ts -------------------------------------------------------------------------------- /lib/models/package/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/models/package/tsconfig.json -------------------------------------------------------------------------------- /lib/utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/package.json -------------------------------------------------------------------------------- /lib/utils/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/pnpm-lock.yaml -------------------------------------------------------------------------------- /lib/utils/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/rollup.config.js -------------------------------------------------------------------------------- /lib/utils/src/getNpmInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/src/getNpmInfo.ts -------------------------------------------------------------------------------- /lib/utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/src/index.ts -------------------------------------------------------------------------------- /lib/utils/src/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/src/log.ts -------------------------------------------------------------------------------- /lib/utils/src/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/src/request.ts -------------------------------------------------------------------------------- /lib/utils/src/variable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/src/variable.ts -------------------------------------------------------------------------------- /lib/utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/lib/utils/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rush.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GongJS/js-cli/HEAD/rush.json --------------------------------------------------------------------------------