Skip to content

Commit

Permalink
feat: 更新 cli package.json 命令
Browse files Browse the repository at this point in the history
  • Loading branch information
vaebe committed Jul 25, 2022
1 parent 13f7708 commit 9283484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ccui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-ccui",
"version": "1.0.8",
"version": "1.0.9",
"license": "MIT",
"description": "vue3-ccui components based on Vite and Vue3",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"generate:theme": "node ./index.js generate:theme",
"generate:dts": "node ./index.js generate:dts",
"release": "node ./index.js release",
"cli": "node ./index.js",
"cli": "node ./index.js create",
"cli:create": "node ./index.js create -t component",
"prebuild": "node ./index.js create -t ccui --ignore-parse-error",
"changelog": "conventional-changelog -k '../ccui/package.json' -p angular -i CHANGELOG.md -s"
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/shared/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ exports.COMPONENT_PARTS_MAP = [

exports.CREATE_SUPPORT_TYPE_MAP = Object.freeze({
component: 'component',
ccui: 'ccui',
'theme-variable': 'theme-variable'
ccui: 'ccui'
});
exports.CREATE_SUPPORT_TYPES = Object.keys(this.CREATE_SUPPORT_TYPE_MAP);
exports.CREATE_UNFINISHED_TYPES = [];
Expand Down

0 comments on commit 9283484

Please sign in to comment.