zova-cli-set-front 1.1.199 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/cli/templates/create/component/boilerplate/controller.tsx_ +11 -0
- package/cli/templates/create/component/boilerplateFormField/controller.tsx_ +23 -0
- package/cli/templates/create/module/boilerplate/_package.json +17 -3
- package/cli/templates/create/module/boilerplate/_tsconfig.build.json +13 -0
- package/cli/templates/create/module/boilerplate/_tsconfig.json +5 -1
- package/cli/templates/create/module/boilerplate/src/index.ts_ +0 -0
- package/cli/templates/create/module/snippets/package.json.ts +17 -0
- package/cli/templates/create/page/boilerplate/controller.tsx_ +11 -0
- package/cli/templates/create/page/snippets/{routes.cjs → routes.ts} +7 -9
- package/cli/templates/create/suite/_package.json +5 -5
- package/cli/templates/create/suite/modules/.gitkeep +0 -0
- package/cli/templates/init/appMonkey/boilerplate/monkey.ts +13 -0
- package/cli/templates/init/config/boilerplate/config/config.ts +2 -2
- package/cli/templates/init/constant/boilerplate/config/constants.ts +1 -1
- package/cli/templates/init/error/boilerplate/config/errors.ts +1 -1
- package/cli/templates/init/icon/boilerplate/icons/default/zova.svg +2 -2
- package/cli/templates/init/legacy/boilerplate/components/counter.vue +2 -0
- package/cli/templates/init/legacy/boilerplate/pages/counter.vue +3 -2
- package/cli/templates/init/legacy/boilerplate/routes.ts +1 -1
- package/cli/templates/init/lib/boilerplate/lib/index.ts +1 -0
- package/cli/templates/init/main/boilerplate/main.ts +8 -0
- package/cli/templates/init/mainSys/boilerplate/mainSys.ts +9 -0
- package/cli/templates/init/monkey/boilerplate/monkey.ts +3 -1
- package/cli/templates/init/monkeySys/boilerplate/monkeySys.ts +7 -0
- package/cli/templates/init/sysMonkey/boilerplate/monkeySys.ts +14 -0
- package/cli/templates/init/types/boilerplate/types/index.ts +1 -0
- package/cli/templates/openapi/config/boilerplate/module/openapi.config.ts +5 -0
- package/cli/templates/openapi/config/boilerplate/project/openapi.config.ts +10 -0
- package/cli/templates/openapi/config/snippets/openapi.config.ts +18 -0
- package/cli/templates/refactor/anotherRender/boilerplate/render.{{renderName}}.tsx_ +7 -0
- package/cli/templates/refactor/anotherRender/snippets/render.ts +30 -0
- package/cli/templates/refactor/anotherStyle/boilerplate/style.{{styleName}}.ts_ +7 -0
- package/cli/templates/refactor/anotherStyle/snippets/style.ts +27 -0
- package/cli/templates/refactor/componentEmits/snippets/2-controller.ts +29 -0
- package/cli/templates/refactor/componentGeneric/snippets/2-controller.ts +23 -0
- package/cli/templates/refactor/componentModel/snippets/1-controller.ts +58 -0
- package/cli/templates/refactor/componentProps/snippets/2-controller.ts +24 -0
- package/cli/templates/refactor/componentSlots/snippets/1-controller.ts +22 -0
- package/cli/templates/refactor/firstRender/boilerplate/{{renderName}}.tsx_ +7 -0
- package/cli/templates/refactor/firstStyle/boilerplate/{{styleName}}.ts_ +7 -0
- package/cli/templates/refactor/pageParams/snippets/1-controller.ts +20 -0
- package/cli/templates/refactor/pageQuery/snippets/1-controller.ts +20 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4707 -3
- package/dist/lib/bean/cli.bin.buildModule.d.ts +14 -0
- package/dist/lib/bean/cli.bin.buildRest.d.ts +26 -0
- package/dist/lib/bean/cli.create.bean.d.ts +19 -5
- package/dist/lib/bean/cli.create.component.d.ts +2 -3
- package/dist/lib/bean/cli.create.mock.d.ts +3 -3
- package/dist/lib/bean/cli.create.module.d.ts +1 -2
- package/dist/lib/bean/cli.create.page.d.ts +2 -3
- package/dist/lib/bean/cli.create.project.d.ts +2 -2
- package/dist/lib/bean/cli.create.suite.d.ts +1 -2
- package/dist/lib/bean/cli.default.list.d.ts +0 -1
- package/dist/lib/bean/cli.init.appMonkey.d.ts +8 -0
- package/dist/lib/bean/cli.init.asset.d.ts +12 -0
- package/dist/lib/bean/cli.init.config.d.ts +0 -1
- package/dist/lib/bean/cli.init.constant.d.ts +0 -1
- package/dist/lib/bean/cli.init.error.d.ts +0 -1
- package/dist/lib/bean/cli.init.icon.d.ts +0 -1
- package/dist/lib/bean/cli.init.legacy.d.ts +0 -1
- package/dist/lib/bean/cli.init.lib.d.ts +8 -0
- package/dist/lib/bean/cli.init.locale.d.ts +0 -1
- package/dist/lib/bean/cli.init.main.d.ts +8 -0
- package/dist/lib/bean/cli.init.mainSys.d.ts +8 -0
- package/dist/lib/bean/cli.init.monkey.d.ts +0 -1
- package/dist/lib/bean/cli.init.monkeySys.d.ts +9 -0
- package/dist/lib/bean/cli.init.sysMonkey.d.ts +8 -0
- package/dist/lib/bean/cli.init.types.d.ts +8 -0
- package/dist/lib/bean/cli.openapi.config.d.ts +9 -0
- package/dist/lib/bean/cli.openapi.generate.d.ts +41 -0
- package/dist/lib/bean/cli.refactor.anotherRender.d.ts +4 -3
- package/dist/lib/bean/cli.refactor.anotherStyle.d.ts +4 -3
- package/dist/lib/bean/cli.refactor.componentEmits.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.componentGeneric.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.componentModel.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.componentProps.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.componentSlots.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.firstRender.d.ts +17 -0
- package/dist/lib/bean/cli.refactor.firstStyle.d.ts +18 -0
- package/dist/lib/bean/cli.refactor.pageParams.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.pageQuery.d.ts +5 -3
- package/dist/lib/bean/cli.refactor.renameComponent.d.ts +3 -3
- package/dist/lib/bean/cli.tools.deps.d.ts +1 -5
- package/dist/lib/bean/cli.tools.metadata.d.ts +2 -1
- package/dist/lib/bean/toolsMetadata/generateBeanGenerals.d.ts +2 -0
- package/dist/lib/bean/toolsMetadata/generateConfig.d.ts +3 -3
- package/dist/lib/bean/toolsMetadata/generateIcons.d.ts +0 -1
- package/dist/lib/bean/toolsMetadata/generateMetadataCustom.d.ts +3 -0
- package/dist/lib/bean/toolsMetadata/generateMonkey.d.ts +4 -2
- package/dist/lib/bean/toolsMetadata/generateOnions.d.ts +2 -0
- package/dist/lib/bean/toolsMetadata/generateOptionsPackage.d.ts +3 -0
- package/dist/lib/bean/toolsMetadata/generateScope.d.ts +1 -4
- package/dist/lib/bean/toolsMetadata/generateScopeResources.d.ts +2 -0
- package/dist/lib/bean/toolsMetadata/generateScopeResourcesMeta.d.ts +2 -0
- package/dist/lib/bean/toolsMetadata/utils.d.ts +13 -0
- package/dist/lib/beans.d.ts +56 -45
- package/dist/lib/command/bin.buildModule.d.ts +23 -0
- package/dist/lib/command/{tools.icons.d.ts → bin.buildRest.d.ts} +6 -1
- package/dist/lib/command/create.bean.d.ts +8 -1
- package/dist/lib/command/create.component.d.ts +4 -1
- package/dist/lib/command/create.mock.d.ts +0 -1
- package/dist/lib/command/create.module.d.ts +0 -9
- package/dist/lib/command/create.page.d.ts +0 -1
- package/dist/lib/command/create.project.d.ts +0 -1
- package/dist/lib/command/create.suite.d.ts +0 -9
- package/dist/lib/command/default.list.d.ts +0 -1
- package/dist/lib/command/{tools.res.d.ts → init.appMonkey.d.ts} +0 -1
- package/dist/lib/command/{bean.tool.d.ts → init.asset.d.ts} +1 -2
- package/dist/lib/command/init.config.d.ts +0 -1
- package/dist/lib/command/init.constant.d.ts +0 -1
- package/dist/lib/command/init.error.d.ts +0 -1
- package/dist/lib/command/init.icon.d.ts +0 -1
- package/dist/lib/command/init.legacy.d.ts +0 -1
- package/dist/lib/command/{init.mock.d.ts → init.lib.d.ts} +0 -1
- package/dist/lib/command/init.locale.d.ts +0 -1
- package/dist/lib/command/{tools.icon.d.ts → init.main.d.ts} +0 -1
- package/dist/lib/command/{init.icons.d.ts → init.mainSys.d.ts} +0 -1
- package/dist/lib/command/init.monkey.d.ts +0 -1
- package/dist/lib/command/init.monkeySys.d.ts +9 -0
- package/dist/lib/command/init.sysMonkey.d.ts +9 -0
- package/dist/lib/command/init.types.d.ts +9 -0
- package/dist/lib/command/openapi.config.d.ts +9 -0
- package/dist/lib/command/openapi.generate.d.ts +9 -0
- package/dist/lib/command/refactor.anotherRender.d.ts +0 -1
- package/dist/lib/command/refactor.anotherStyle.d.ts +0 -1
- package/dist/lib/command/refactor.componentEmits.d.ts +0 -1
- package/dist/lib/command/refactor.componentGeneric.d.ts +0 -1
- package/dist/lib/command/refactor.componentModel.d.ts +0 -1
- package/dist/lib/command/refactor.componentProps.d.ts +0 -1
- package/dist/lib/command/refactor.componentSlots.d.ts +0 -1
- package/dist/lib/command/{bean.model.d.ts → refactor.firstRender.d.ts} +1 -2
- package/dist/lib/command/{bean.local.d.ts → refactor.firstStyle.d.ts} +1 -2
- package/dist/lib/command/refactor.pageParams.d.ts +0 -1
- package/dist/lib/command/refactor.pageQuery.d.ts +0 -1
- package/dist/lib/command/refactor.renameComponent.d.ts +0 -1
- package/dist/lib/command/tools.deps.d.ts +0 -1
- package/dist/lib/command/tools.metadata.d.ts +0 -1
- package/dist/lib/commands.d.ts +139 -232
- package/dist/lib/common/cliCreateComponent.d.ts +4 -3
- package/dist/lib/common/cliCreatePage.d.ts +3 -3
- package/dist/lib/common/utils.d.ts +6 -0
- package/dist/lib/this.d.ts +0 -1
- package/dist/lib/utils.d.ts +1 -0
- package/dist/typings.d.ts +0 -1
- package/dist-cli/templates/create/module/snippets/package.json.js +10 -0
- package/dist-cli/templates/create/page/snippets/routes.js +24 -0
- package/dist-cli/templates/openapi/config/snippets/openapi.config.js +17 -0
- package/dist-cli/templates/refactor/anotherRender/snippets/render.js +17 -0
- package/dist-cli/templates/refactor/anotherStyle/snippets/style.js +17 -0
- package/dist-cli/templates/refactor/componentEmits/snippets/2-controller.js +20 -0
- package/dist-cli/templates/refactor/componentGeneric/snippets/2-controller.js +21 -0
- package/dist-cli/templates/refactor/componentModel/snippets/1-controller.js +50 -0
- package/dist-cli/templates/refactor/componentProps/snippets/2-controller.js +22 -0
- package/dist-cli/templates/refactor/componentSlots/snippets/1-controller.js +20 -0
- package/dist-cli/templates/refactor/pageParams/snippets/1-controller.js +20 -0
- package/dist-cli/templates/refactor/pageQuery/snippets/1-controller.js +20 -0
- package/package.json +51 -35
- package/cli/templates/create/bean/boilerplate/{{sceneName}}.{{nameMeta.full}}.ts_ +0 -6
- package/cli/templates/create/component/boilerplate/controller.ts_ +0 -7
- package/cli/templates/create/component/boilerplate/index.vue_ +0 -12
- package/cli/templates/create/component/boilerplate/render.tsx_ +0 -12
- package/cli/templates/create/component/boilerplate/style.ts_ +0 -10
- package/cli/templates/create/component/snippets/components.cjs +0 -36
- package/cli/templates/create/local/boilerplate/{{nameMeta.short}}.ts_ +0 -6
- package/cli/templates/create/module/snippets/package.json.cjs +0 -11
- package/cli/templates/create/page/boilerplate/controller.ts_ +0 -7
- package/cli/templates/create/page/boilerplate/index.vue_ +0 -11
- package/cli/templates/create/page/boilerplate/render.tsx_ +0 -12
- package/cli/templates/create/page/boilerplate/style.ts_ +0 -10
- package/cli/templates/create/page/snippets/-index.cjs +0 -13
- package/cli/templates/create/page/snippets/-pages.cjs +0 -48
- package/cli/templates/create/service/boilerplate/{{serviceName}}.ts_ +0 -11
- package/cli/templates/refactor/anotherRender/boilerplate/{{renderName}}.tsx_ +0 -10
- package/cli/templates/refactor/anotherRender/snippets/render.cjs +0 -21
- package/cli/templates/refactor/anotherStyle/boilerplate/{{styleName}}.ts_ +0 -10
- package/cli/templates/refactor/anotherStyle/snippets/style.cjs +0 -21
- package/cli/templates/refactor/componentEmits/snippets/1-index.cjs +0 -19
- package/cli/templates/refactor/componentEmits/snippets/2-controller.cjs +0 -23
- package/cli/templates/refactor/componentGeneric/snippets/1-index.cjs +0 -14
- package/cli/templates/refactor/componentGeneric/snippets/2-controller.cjs +0 -26
- package/cli/templates/refactor/componentModel/snippets/1-controller.cjs +0 -31
- package/cli/templates/refactor/componentProps/snippets/1-index.cjs +0 -24
- package/cli/templates/refactor/componentProps/snippets/2-controller.cjs +0 -38
- package/cli/templates/refactor/componentSlots/snippets/1-controller.cjs +0 -35
- package/cli/templates/refactor/pageParams/snippets/1-controller.cjs +0 -29
- package/cli/templates/refactor/pageQuery/snippets/1-controller.cjs +0 -28
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/bean/cli.bean.general.d.ts +0 -6
- package/dist/lib/bean/cli.bean.general.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.general.js +0 -7
- package/dist/lib/bean/cli.bean.general.js.map +0 -1
- package/dist/lib/bean/cli.bean.local.d.ts +0 -14
- package/dist/lib/bean/cli.bean.local.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.local.js +0 -49
- package/dist/lib/bean/cli.bean.local.js.map +0 -1
- package/dist/lib/bean/cli.bean.model.d.ts +0 -6
- package/dist/lib/bean/cli.bean.model.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.model.js +0 -7
- package/dist/lib/bean/cli.bean.model.js.map +0 -1
- package/dist/lib/bean/cli.bean.store.d.ts +0 -6
- package/dist/lib/bean/cli.bean.store.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.store.js +0 -7
- package/dist/lib/bean/cli.bean.store.js.map +0 -1
- package/dist/lib/bean/cli.bean.style.d.ts +0 -6
- package/dist/lib/bean/cli.bean.style.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.style.js +0 -7
- package/dist/lib/bean/cli.bean.style.js.map +0 -1
- package/dist/lib/bean/cli.bean.theme.d.ts +0 -6
- package/dist/lib/bean/cli.bean.theme.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.theme.js +0 -7
- package/dist/lib/bean/cli.bean.theme.js.map +0 -1
- package/dist/lib/bean/cli.bean.tool.d.ts +0 -6
- package/dist/lib/bean/cli.bean.tool.d.ts.map +0 -1
- package/dist/lib/bean/cli.bean.tool.js +0 -7
- package/dist/lib/bean/cli.bean.tool.js.map +0 -1
- package/dist/lib/bean/cli.create.bean.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.bean.js +0 -7
- package/dist/lib/bean/cli.create.bean.js.map +0 -1
- package/dist/lib/bean/cli.create.component.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.component.js +0 -7
- package/dist/lib/bean/cli.create.component.js.map +0 -1
- package/dist/lib/bean/cli.create.data.d.ts +0 -6
- package/dist/lib/bean/cli.create.data.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.data.js +0 -7
- package/dist/lib/bean/cli.create.data.js.map +0 -1
- package/dist/lib/bean/cli.create.local.d.ts +0 -14
- package/dist/lib/bean/cli.create.local.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.local.js +0 -49
- package/dist/lib/bean/cli.create.local.js.map +0 -1
- package/dist/lib/bean/cli.create.mock.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.mock.js +0 -40
- package/dist/lib/bean/cli.create.mock.js.map +0 -1
- package/dist/lib/bean/cli.create.model.d.ts +0 -6
- package/dist/lib/bean/cli.create.model.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.model.js +0 -7
- package/dist/lib/bean/cli.create.model.js.map +0 -1
- package/dist/lib/bean/cli.create.module.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.module.js +0 -70
- package/dist/lib/bean/cli.create.module.js.map +0 -1
- package/dist/lib/bean/cli.create.page.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.page.js +0 -7
- package/dist/lib/bean/cli.create.page.js.map +0 -1
- package/dist/lib/bean/cli.create.project.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.project.js +0 -102
- package/dist/lib/bean/cli.create.project.js.map +0 -1
- package/dist/lib/bean/cli.create.service.d.ts +0 -14
- package/dist/lib/bean/cli.create.service.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.service.js +0 -42
- package/dist/lib/bean/cli.create.service.js.map +0 -1
- package/dist/lib/bean/cli.create.store.d.ts +0 -6
- package/dist/lib/bean/cli.create.store.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.store.js +0 -7
- package/dist/lib/bean/cli.create.store.js.map +0 -1
- package/dist/lib/bean/cli.create.style.d.ts +0 -6
- package/dist/lib/bean/cli.create.style.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.style.js +0 -7
- package/dist/lib/bean/cli.create.style.js.map +0 -1
- package/dist/lib/bean/cli.create.suite.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.suite.js +0 -37
- package/dist/lib/bean/cli.create.suite.js.map +0 -1
- package/dist/lib/bean/cli.create.theme.d.ts +0 -6
- package/dist/lib/bean/cli.create.theme.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.theme.js +0 -7
- package/dist/lib/bean/cli.create.theme.js.map +0 -1
- package/dist/lib/bean/cli.create.tool.d.ts +0 -6
- package/dist/lib/bean/cli.create.tool.d.ts.map +0 -1
- package/dist/lib/bean/cli.create.tool.js +0 -7
- package/dist/lib/bean/cli.create.tool.js.map +0 -1
- package/dist/lib/bean/cli.default.list.d.ts.map +0 -1
- package/dist/lib/bean/cli.default.list.js +0 -94
- package/dist/lib/bean/cli.default.list.js.map +0 -1
- package/dist/lib/bean/cli.init.config.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.config.js +0 -37
- package/dist/lib/bean/cli.init.config.js.map +0 -1
- package/dist/lib/bean/cli.init.constant.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.constant.js +0 -37
- package/dist/lib/bean/cli.init.constant.js.map +0 -1
- package/dist/lib/bean/cli.init.error.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.error.js +0 -48
- package/dist/lib/bean/cli.init.error.js.map +0 -1
- package/dist/lib/bean/cli.init.icon.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.icon.js +0 -51
- package/dist/lib/bean/cli.init.icon.js.map +0 -1
- package/dist/lib/bean/cli.init.icons.d.ts +0 -10
- package/dist/lib/bean/cli.init.icons.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.icons.js +0 -52
- package/dist/lib/bean/cli.init.icons.js.map +0 -1
- package/dist/lib/bean/cli.init.legacy.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.legacy.js +0 -24
- package/dist/lib/bean/cli.init.legacy.js.map +0 -1
- package/dist/lib/bean/cli.init.locale.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.locale.js +0 -37
- package/dist/lib/bean/cli.init.locale.js.map +0 -1
- package/dist/lib/bean/cli.init.mock.d.ts +0 -9
- package/dist/lib/bean/cli.init.mock.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.mock.js +0 -35
- package/dist/lib/bean/cli.init.mock.js.map +0 -1
- package/dist/lib/bean/cli.init.monkey.d.ts.map +0 -1
- package/dist/lib/bean/cli.init.monkey.js +0 -64
- package/dist/lib/bean/cli.init.monkey.js.map +0 -1
- package/dist/lib/bean/cli.refactor.anotherRender.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.anotherRender.js +0 -45
- package/dist/lib/bean/cli.refactor.anotherRender.js.map +0 -1
- package/dist/lib/bean/cli.refactor.anotherStyle.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.anotherStyle.js +0 -46
- package/dist/lib/bean/cli.refactor.anotherStyle.js.map +0 -1
- package/dist/lib/bean/cli.refactor.componentEmits.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.componentEmits.js +0 -40
- package/dist/lib/bean/cli.refactor.componentEmits.js.map +0 -1
- package/dist/lib/bean/cli.refactor.componentGeneric.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.componentGeneric.js +0 -40
- package/dist/lib/bean/cli.refactor.componentGeneric.js.map +0 -1
- package/dist/lib/bean/cli.refactor.componentModel.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.componentModel.js +0 -49
- package/dist/lib/bean/cli.refactor.componentModel.js.map +0 -1
- package/dist/lib/bean/cli.refactor.componentProps.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.componentProps.js +0 -40
- package/dist/lib/bean/cli.refactor.componentProps.js.map +0 -1
- package/dist/lib/bean/cli.refactor.componentSlots.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.componentSlots.js +0 -40
- package/dist/lib/bean/cli.refactor.componentSlots.js.map +0 -1
- package/dist/lib/bean/cli.refactor.pageParams.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.pageParams.js +0 -40
- package/dist/lib/bean/cli.refactor.pageParams.js.map +0 -1
- package/dist/lib/bean/cli.refactor.pageQuery.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.pageQuery.js +0 -40
- package/dist/lib/bean/cli.refactor.pageQuery.js.map +0 -1
- package/dist/lib/bean/cli.refactor.renameComponent.d.ts.map +0 -1
- package/dist/lib/bean/cli.refactor.renameComponent.js +0 -103
- package/dist/lib/bean/cli.refactor.renameComponent.js.map +0 -1
- package/dist/lib/bean/cli.tools.deps.d.ts.map +0 -1
- package/dist/lib/bean/cli.tools.deps.js +0 -100
- package/dist/lib/bean/cli.tools.deps.js.map +0 -1
- package/dist/lib/bean/cli.tools.icon.d.ts +0 -19
- package/dist/lib/bean/cli.tools.icon.d.ts.map +0 -1
- package/dist/lib/bean/cli.tools.icon.js +0 -151
- package/dist/lib/bean/cli.tools.icon.js.map +0 -1
- package/dist/lib/bean/cli.tools.icons.d.ts +0 -19
- package/dist/lib/bean/cli.tools.icons.d.ts.map +0 -1
- package/dist/lib/bean/cli.tools.icons.js +0 -151
- package/dist/lib/bean/cli.tools.icons.js.map +0 -1
- package/dist/lib/bean/cli.tools.metadata.d.ts.map +0 -1
- package/dist/lib/bean/cli.tools.metadata.js +0 -127
- package/dist/lib/bean/cli.tools.metadata.js.map +0 -1
- package/dist/lib/bean/cli.tools.res.d.ts +0 -12
- package/dist/lib/bean/cli.tools.res.d.ts.map +0 -1
- package/dist/lib/bean/cli.tools.res.js +0 -112
- package/dist/lib/bean/cli.tools.res.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateBeans.d.ts +0 -2
- package/dist/lib/bean/toolsMetadata/generateBeans.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateBeans.js +0 -38
- package/dist/lib/bean/toolsMetadata/generateBeans.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateComponents.d.ts +0 -2
- package/dist/lib/bean/toolsMetadata/generateComponents.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateComponents.js +0 -48
- package/dist/lib/bean/toolsMetadata/generateComponents.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateConfig.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateConfig.js +0 -64
- package/dist/lib/bean/toolsMetadata/generateConfig.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateIcons.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateIcons.js +0 -113
- package/dist/lib/bean/toolsMetadata/generateIcons.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateMonkey.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateMonkey.js +0 -14
- package/dist/lib/bean/toolsMetadata/generateMonkey.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generatePages.d.ts +0 -3
- package/dist/lib/bean/toolsMetadata/generatePages.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generatePages.js +0 -114
- package/dist/lib/bean/toolsMetadata/generatePages.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateScope.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateScope.js +0 -40
- package/dist/lib/bean/toolsMetadata/generateScope.js.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateServices.d.ts +0 -2
- package/dist/lib/bean/toolsMetadata/generateServices.d.ts.map +0 -1
- package/dist/lib/bean/toolsMetadata/generateServices.js +0 -27
- package/dist/lib/bean/toolsMetadata/generateServices.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateBeans.d.ts +0 -2
- package/dist/lib/bean/toolsRes/generateBeans.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateBeans.js +0 -37
- package/dist/lib/bean/toolsRes/generateBeans.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateComponents.d.ts +0 -2
- package/dist/lib/bean/toolsRes/generateComponents.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateComponents.js +0 -42
- package/dist/lib/bean/toolsRes/generateComponents.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateConfig.d.ts +0 -5
- package/dist/lib/bean/toolsRes/generateConfig.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateConfig.js +0 -63
- package/dist/lib/bean/toolsRes/generateConfig.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateIcons.d.ts +0 -2
- package/dist/lib/bean/toolsRes/generateIcons.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateIcons.js +0 -111
- package/dist/lib/bean/toolsRes/generateIcons.js.map +0 -1
- package/dist/lib/bean/toolsRes/generatePages.d.ts +0 -3
- package/dist/lib/bean/toolsRes/generatePages.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generatePages.js +0 -96
- package/dist/lib/bean/toolsRes/generatePages.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateScope.d.ts +0 -10
- package/dist/lib/bean/toolsRes/generateScope.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateScope.js +0 -41
- package/dist/lib/bean/toolsRes/generateScope.js.map +0 -1
- package/dist/lib/bean/toolsRes/generateServices.d.ts +0 -2
- package/dist/lib/bean/toolsRes/generateServices.d.ts.map +0 -1
- package/dist/lib/bean/toolsRes/generateServices.js +0 -26
- package/dist/lib/bean/toolsRes/generateServices.js.map +0 -1
- package/dist/lib/beans.d.ts.map +0 -1
- package/dist/lib/beans.js +0 -73
- package/dist/lib/beans.js.map +0 -1
- package/dist/lib/command/bean.general.d.ts +0 -35
- package/dist/lib/command/bean.general.d.ts.map +0 -1
- package/dist/lib/command/bean.general.js +0 -34
- package/dist/lib/command/bean.general.js.map +0 -1
- package/dist/lib/command/bean.local.d.ts.map +0 -1
- package/dist/lib/command/bean.local.js +0 -34
- package/dist/lib/command/bean.local.js.map +0 -1
- package/dist/lib/command/bean.model.d.ts.map +0 -1
- package/dist/lib/command/bean.model.js +0 -34
- package/dist/lib/command/bean.model.js.map +0 -1
- package/dist/lib/command/bean.store.d.ts +0 -35
- package/dist/lib/command/bean.store.d.ts.map +0 -1
- package/dist/lib/command/bean.store.js +0 -34
- package/dist/lib/command/bean.store.js.map +0 -1
- package/dist/lib/command/bean.style.d.ts +0 -35
- package/dist/lib/command/bean.style.d.ts.map +0 -1
- package/dist/lib/command/bean.style.js +0 -34
- package/dist/lib/command/bean.style.js.map +0 -1
- package/dist/lib/command/bean.theme.d.ts +0 -35
- package/dist/lib/command/bean.theme.d.ts.map +0 -1
- package/dist/lib/command/bean.theme.js +0 -34
- package/dist/lib/command/bean.theme.js.map +0 -1
- package/dist/lib/command/bean.tool.d.ts.map +0 -1
- package/dist/lib/command/bean.tool.js +0 -34
- package/dist/lib/command/bean.tool.js.map +0 -1
- package/dist/lib/command/create.bean.d.ts.map +0 -1
- package/dist/lib/command/create.bean.js +0 -34
- package/dist/lib/command/create.bean.js.map +0 -1
- package/dist/lib/command/create.component.d.ts.map +0 -1
- package/dist/lib/command/create.component.js +0 -34
- package/dist/lib/command/create.component.js.map +0 -1
- package/dist/lib/command/create.data.d.ts +0 -35
- package/dist/lib/command/create.data.d.ts.map +0 -1
- package/dist/lib/command/create.data.js +0 -34
- package/dist/lib/command/create.data.js.map +0 -1
- package/dist/lib/command/create.local.d.ts +0 -35
- package/dist/lib/command/create.local.d.ts.map +0 -1
- package/dist/lib/command/create.local.js +0 -34
- package/dist/lib/command/create.local.js.map +0 -1
- package/dist/lib/command/create.mock.d.ts.map +0 -1
- package/dist/lib/command/create.mock.js +0 -34
- package/dist/lib/command/create.mock.js.map +0 -1
- package/dist/lib/command/create.model.d.ts +0 -35
- package/dist/lib/command/create.model.d.ts.map +0 -1
- package/dist/lib/command/create.model.js +0 -34
- package/dist/lib/command/create.model.js.map +0 -1
- package/dist/lib/command/create.module.d.ts.map +0 -1
- package/dist/lib/command/create.module.js +0 -45
- package/dist/lib/command/create.module.js.map +0 -1
- package/dist/lib/command/create.page.d.ts.map +0 -1
- package/dist/lib/command/create.page.js +0 -34
- package/dist/lib/command/create.page.js.map +0 -1
- package/dist/lib/command/create.project.d.ts.map +0 -1
- package/dist/lib/command/create.project.js +0 -48
- package/dist/lib/command/create.project.js.map +0 -1
- package/dist/lib/command/create.service.d.ts +0 -35
- package/dist/lib/command/create.service.d.ts.map +0 -1
- package/dist/lib/command/create.service.js +0 -34
- package/dist/lib/command/create.service.js.map +0 -1
- package/dist/lib/command/create.store.d.ts +0 -35
- package/dist/lib/command/create.store.d.ts.map +0 -1
- package/dist/lib/command/create.store.js +0 -34
- package/dist/lib/command/create.store.js.map +0 -1
- package/dist/lib/command/create.style.d.ts +0 -35
- package/dist/lib/command/create.style.d.ts.map +0 -1
- package/dist/lib/command/create.style.js +0 -34
- package/dist/lib/command/create.style.js.map +0 -1
- package/dist/lib/command/create.suite.d.ts.map +0 -1
- package/dist/lib/command/create.suite.js +0 -32
- package/dist/lib/command/create.suite.js.map +0 -1
- package/dist/lib/command/create.theme.d.ts +0 -35
- package/dist/lib/command/create.theme.d.ts.map +0 -1
- package/dist/lib/command/create.theme.js +0 -34
- package/dist/lib/command/create.theme.js.map +0 -1
- package/dist/lib/command/create.tool.d.ts +0 -35
- package/dist/lib/command/create.tool.d.ts.map +0 -1
- package/dist/lib/command/create.tool.js +0 -34
- package/dist/lib/command/create.tool.js.map +0 -1
- package/dist/lib/command/default.list.d.ts.map +0 -1
- package/dist/lib/command/default.list.js +0 -19
- package/dist/lib/command/default.list.js.map +0 -1
- package/dist/lib/command/init.config.d.ts.map +0 -1
- package/dist/lib/command/init.config.js +0 -11
- package/dist/lib/command/init.config.js.map +0 -1
- package/dist/lib/command/init.constant.d.ts.map +0 -1
- package/dist/lib/command/init.constant.js +0 -11
- package/dist/lib/command/init.constant.js.map +0 -1
- package/dist/lib/command/init.error.d.ts.map +0 -1
- package/dist/lib/command/init.error.js +0 -11
- package/dist/lib/command/init.error.js.map +0 -1
- package/dist/lib/command/init.icon.d.ts.map +0 -1
- package/dist/lib/command/init.icon.js +0 -11
- package/dist/lib/command/init.icon.js.map +0 -1
- package/dist/lib/command/init.icons.d.ts.map +0 -1
- package/dist/lib/command/init.icons.js +0 -11
- package/dist/lib/command/init.icons.js.map +0 -1
- package/dist/lib/command/init.legacy.d.ts.map +0 -1
- package/dist/lib/command/init.legacy.js +0 -11
- package/dist/lib/command/init.legacy.js.map +0 -1
- package/dist/lib/command/init.locale.d.ts.map +0 -1
- package/dist/lib/command/init.locale.js +0 -11
- package/dist/lib/command/init.locale.js.map +0 -1
- package/dist/lib/command/init.mock.d.ts.map +0 -1
- package/dist/lib/command/init.mock.js +0 -11
- package/dist/lib/command/init.mock.js.map +0 -1
- package/dist/lib/command/init.monkey.d.ts.map +0 -1
- package/dist/lib/command/init.monkey.js +0 -11
- package/dist/lib/command/init.monkey.js.map +0 -1
- package/dist/lib/command/refactor.anotherRender.d.ts.map +0 -1
- package/dist/lib/command/refactor.anotherRender.js +0 -42
- package/dist/lib/command/refactor.anotherRender.js.map +0 -1
- package/dist/lib/command/refactor.anotherStyle.d.ts.map +0 -1
- package/dist/lib/command/refactor.anotherStyle.js +0 -42
- package/dist/lib/command/refactor.anotherStyle.js.map +0 -1
- package/dist/lib/command/refactor.componentEmits.d.ts.map +0 -1
- package/dist/lib/command/refactor.componentEmits.js +0 -34
- package/dist/lib/command/refactor.componentEmits.js.map +0 -1
- package/dist/lib/command/refactor.componentGeneric.d.ts.map +0 -1
- package/dist/lib/command/refactor.componentGeneric.js +0 -34
- package/dist/lib/command/refactor.componentGeneric.js.map +0 -1
- package/dist/lib/command/refactor.componentModel.d.ts.map +0 -1
- package/dist/lib/command/refactor.componentModel.js +0 -42
- package/dist/lib/command/refactor.componentModel.js.map +0 -1
- package/dist/lib/command/refactor.componentProps.d.ts.map +0 -1
- package/dist/lib/command/refactor.componentProps.js +0 -34
- package/dist/lib/command/refactor.componentProps.js.map +0 -1
- package/dist/lib/command/refactor.componentSlots.d.ts.map +0 -1
- package/dist/lib/command/refactor.componentSlots.js +0 -34
- package/dist/lib/command/refactor.componentSlots.js.map +0 -1
- package/dist/lib/command/refactor.pageParams.d.ts.map +0 -1
- package/dist/lib/command/refactor.pageParams.js +0 -34
- package/dist/lib/command/refactor.pageParams.js.map +0 -1
- package/dist/lib/command/refactor.pageQuery.d.ts.map +0 -1
- package/dist/lib/command/refactor.pageQuery.js +0 -34
- package/dist/lib/command/refactor.pageQuery.js.map +0 -1
- package/dist/lib/command/refactor.renameComponent.d.ts.map +0 -1
- package/dist/lib/command/refactor.renameComponent.js +0 -42
- package/dist/lib/command/refactor.renameComponent.js.map +0 -1
- package/dist/lib/command/tools.deps.d.ts.map +0 -1
- package/dist/lib/command/tools.deps.js +0 -15
- package/dist/lib/command/tools.deps.js.map +0 -1
- package/dist/lib/command/tools.icon.d.ts.map +0 -1
- package/dist/lib/command/tools.icon.js +0 -11
- package/dist/lib/command/tools.icon.js.map +0 -1
- package/dist/lib/command/tools.icons.d.ts.map +0 -1
- package/dist/lib/command/tools.icons.js +0 -11
- package/dist/lib/command/tools.icons.js.map +0 -1
- package/dist/lib/command/tools.metadata.d.ts.map +0 -1
- package/dist/lib/command/tools.metadata.js +0 -15
- package/dist/lib/command/tools.metadata.js.map +0 -1
- package/dist/lib/command/tools.res.d.ts.map +0 -1
- package/dist/lib/command/tools.res.js +0 -11
- package/dist/lib/command/tools.res.js.map +0 -1
- package/dist/lib/commands.d.ts.map +0 -1
- package/dist/lib/commands.js +0 -85
- package/dist/lib/commands.js.map +0 -1
- package/dist/lib/common/cliCreateBean.d.ts +0 -23
- package/dist/lib/common/cliCreateBean.d.ts.map +0 -1
- package/dist/lib/common/cliCreateBean.js +0 -62
- package/dist/lib/common/cliCreateBean.js.map +0 -1
- package/dist/lib/common/cliCreateComponent.d.ts.map +0 -1
- package/dist/lib/common/cliCreateComponent.js +0 -59
- package/dist/lib/common/cliCreateComponent.js.map +0 -1
- package/dist/lib/common/cliCreatePage.d.ts.map +0 -1
- package/dist/lib/common/cliCreatePage.js +0 -90
- package/dist/lib/common/cliCreatePage.js.map +0 -1
- package/dist/lib/this.d.ts.map +0 -1
- package/dist/lib/this.js +0 -2
- package/dist/lib/this.js.map +0 -1
- package/dist/typings.d.ts.map +0 -1
- package/dist/typings.js +0 -2
- package/dist/typings.js.map +0 -1
package/dist/lib/commands.d.ts
CHANGED
|
@@ -19,6 +19,44 @@ export declare const commands: {
|
|
|
19
19
|
groups: null;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
+
bin: {
|
|
23
|
+
buildModule: {
|
|
24
|
+
bean: string;
|
|
25
|
+
info: {
|
|
26
|
+
version: string;
|
|
27
|
+
title: string;
|
|
28
|
+
usage: string;
|
|
29
|
+
};
|
|
30
|
+
options: {
|
|
31
|
+
minify: {
|
|
32
|
+
description: string;
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
sourcemap: {
|
|
36
|
+
description: string;
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
dts: {
|
|
40
|
+
description: string;
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
buildRest: {
|
|
46
|
+
bean: string;
|
|
47
|
+
info: {
|
|
48
|
+
version: string;
|
|
49
|
+
title: string;
|
|
50
|
+
usage: string;
|
|
51
|
+
};
|
|
52
|
+
options: {
|
|
53
|
+
flavor: {
|
|
54
|
+
description: string;
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
22
60
|
create: {
|
|
23
61
|
project: {
|
|
24
62
|
bean: string;
|
|
@@ -83,14 +121,6 @@ export declare const commands: {
|
|
|
83
121
|
};
|
|
84
122
|
required: boolean;
|
|
85
123
|
};
|
|
86
|
-
description: {
|
|
87
|
-
type: string;
|
|
88
|
-
message: string;
|
|
89
|
-
};
|
|
90
|
-
author: {
|
|
91
|
-
type: string;
|
|
92
|
-
message: string;
|
|
93
|
-
};
|
|
94
124
|
};
|
|
95
125
|
};
|
|
96
126
|
};
|
|
@@ -127,14 +157,6 @@ export declare const commands: {
|
|
|
127
157
|
type: string;
|
|
128
158
|
message: string;
|
|
129
159
|
};
|
|
130
|
-
description: {
|
|
131
|
-
type: string;
|
|
132
|
-
message: string;
|
|
133
|
-
};
|
|
134
|
-
author: {
|
|
135
|
-
type: string;
|
|
136
|
-
message: string;
|
|
137
|
-
};
|
|
138
160
|
};
|
|
139
161
|
};
|
|
140
162
|
};
|
|
@@ -184,6 +206,10 @@ export declare const commands: {
|
|
|
184
206
|
description: string;
|
|
185
207
|
type: string;
|
|
186
208
|
};
|
|
209
|
+
boilerplate: {
|
|
210
|
+
description: string;
|
|
211
|
+
type: string;
|
|
212
|
+
};
|
|
187
213
|
};
|
|
188
214
|
groups: {
|
|
189
215
|
default: {
|
|
@@ -205,7 +231,7 @@ export declare const commands: {
|
|
|
205
231
|
};
|
|
206
232
|
};
|
|
207
233
|
};
|
|
208
|
-
|
|
234
|
+
mock: {
|
|
209
235
|
bean: string;
|
|
210
236
|
info: {
|
|
211
237
|
version: string;
|
|
@@ -221,7 +247,7 @@ export declare const commands: {
|
|
|
221
247
|
groups: {
|
|
222
248
|
default: {
|
|
223
249
|
questions: {
|
|
224
|
-
|
|
250
|
+
mockName: {
|
|
225
251
|
type: string;
|
|
226
252
|
message: string;
|
|
227
253
|
initial: {
|
|
@@ -238,7 +264,7 @@ export declare const commands: {
|
|
|
238
264
|
};
|
|
239
265
|
};
|
|
240
266
|
};
|
|
241
|
-
|
|
267
|
+
bean: {
|
|
242
268
|
bean: string;
|
|
243
269
|
info: {
|
|
244
270
|
version: string;
|
|
@@ -254,7 +280,7 @@ export declare const commands: {
|
|
|
254
280
|
groups: {
|
|
255
281
|
default: {
|
|
256
282
|
questions: {
|
|
257
|
-
|
|
283
|
+
sceneName: {
|
|
258
284
|
type: string;
|
|
259
285
|
message: string;
|
|
260
286
|
initial: {
|
|
@@ -262,33 +288,6 @@ export declare const commands: {
|
|
|
262
288
|
};
|
|
263
289
|
required: boolean;
|
|
264
290
|
};
|
|
265
|
-
module: {
|
|
266
|
-
type: string;
|
|
267
|
-
message: string;
|
|
268
|
-
required: boolean;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
bean: {
|
|
276
|
-
general: {
|
|
277
|
-
bean: string;
|
|
278
|
-
info: {
|
|
279
|
-
version: string;
|
|
280
|
-
title: string;
|
|
281
|
-
usage: string;
|
|
282
|
-
};
|
|
283
|
-
options: {
|
|
284
|
-
module: {
|
|
285
|
-
description: string;
|
|
286
|
-
type: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
groups: {
|
|
290
|
-
default: {
|
|
291
|
-
questions: {
|
|
292
291
|
beanName: {
|
|
293
292
|
type: string;
|
|
294
293
|
message: string;
|
|
@@ -306,207 +305,73 @@ export declare const commands: {
|
|
|
306
305
|
};
|
|
307
306
|
};
|
|
308
307
|
};
|
|
309
|
-
|
|
308
|
+
};
|
|
309
|
+
init: {
|
|
310
|
+
icon: {
|
|
310
311
|
bean: string;
|
|
311
312
|
info: {
|
|
312
313
|
version: string;
|
|
313
314
|
title: string;
|
|
314
315
|
usage: string;
|
|
315
316
|
};
|
|
316
|
-
options: {
|
|
317
|
-
module: {
|
|
318
|
-
description: string;
|
|
319
|
-
type: string;
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
groups: {
|
|
323
|
-
default: {
|
|
324
|
-
questions: {
|
|
325
|
-
storeName: {
|
|
326
|
-
type: string;
|
|
327
|
-
message: string;
|
|
328
|
-
initial: {
|
|
329
|
-
expression: string;
|
|
330
|
-
};
|
|
331
|
-
required: boolean;
|
|
332
|
-
};
|
|
333
|
-
module: {
|
|
334
|
-
type: string;
|
|
335
|
-
message: string;
|
|
336
|
-
required: boolean;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
317
|
};
|
|
342
|
-
|
|
318
|
+
config: {
|
|
343
319
|
bean: string;
|
|
344
320
|
info: {
|
|
345
321
|
version: string;
|
|
346
322
|
title: string;
|
|
347
323
|
usage: string;
|
|
348
324
|
};
|
|
349
|
-
options: {
|
|
350
|
-
module: {
|
|
351
|
-
description: string;
|
|
352
|
-
type: string;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
groups: {
|
|
356
|
-
default: {
|
|
357
|
-
questions: {
|
|
358
|
-
modelName: {
|
|
359
|
-
type: string;
|
|
360
|
-
message: string;
|
|
361
|
-
initial: {
|
|
362
|
-
expression: string;
|
|
363
|
-
};
|
|
364
|
-
required: boolean;
|
|
365
|
-
};
|
|
366
|
-
module: {
|
|
367
|
-
type: string;
|
|
368
|
-
message: string;
|
|
369
|
-
required: boolean;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
325
|
};
|
|
375
|
-
|
|
326
|
+
constant: {
|
|
376
327
|
bean: string;
|
|
377
328
|
info: {
|
|
378
329
|
version: string;
|
|
379
330
|
title: string;
|
|
380
331
|
usage: string;
|
|
381
332
|
};
|
|
382
|
-
options: {
|
|
383
|
-
module: {
|
|
384
|
-
description: string;
|
|
385
|
-
type: string;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
groups: {
|
|
389
|
-
default: {
|
|
390
|
-
questions: {
|
|
391
|
-
styleName: {
|
|
392
|
-
type: string;
|
|
393
|
-
message: string;
|
|
394
|
-
initial: {
|
|
395
|
-
expression: string;
|
|
396
|
-
};
|
|
397
|
-
required: boolean;
|
|
398
|
-
};
|
|
399
|
-
module: {
|
|
400
|
-
type: string;
|
|
401
|
-
message: string;
|
|
402
|
-
required: boolean;
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
333
|
};
|
|
408
|
-
|
|
334
|
+
locale: {
|
|
409
335
|
bean: string;
|
|
410
336
|
info: {
|
|
411
337
|
version: string;
|
|
412
338
|
title: string;
|
|
413
339
|
usage: string;
|
|
414
340
|
};
|
|
415
|
-
options: {
|
|
416
|
-
module: {
|
|
417
|
-
description: string;
|
|
418
|
-
type: string;
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
groups: {
|
|
422
|
-
default: {
|
|
423
|
-
questions: {
|
|
424
|
-
themeName: {
|
|
425
|
-
type: string;
|
|
426
|
-
message: string;
|
|
427
|
-
initial: {
|
|
428
|
-
expression: string;
|
|
429
|
-
};
|
|
430
|
-
required: boolean;
|
|
431
|
-
};
|
|
432
|
-
module: {
|
|
433
|
-
type: string;
|
|
434
|
-
message: string;
|
|
435
|
-
required: boolean;
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
341
|
};
|
|
441
|
-
|
|
342
|
+
error: {
|
|
442
343
|
bean: string;
|
|
443
344
|
info: {
|
|
444
345
|
version: string;
|
|
445
346
|
title: string;
|
|
446
347
|
usage: string;
|
|
447
348
|
};
|
|
448
|
-
options: {
|
|
449
|
-
module: {
|
|
450
|
-
description: string;
|
|
451
|
-
type: string;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
groups: {
|
|
455
|
-
default: {
|
|
456
|
-
questions: {
|
|
457
|
-
toolName: {
|
|
458
|
-
type: string;
|
|
459
|
-
message: string;
|
|
460
|
-
initial: {
|
|
461
|
-
expression: string;
|
|
462
|
-
};
|
|
463
|
-
required: boolean;
|
|
464
|
-
};
|
|
465
|
-
module: {
|
|
466
|
-
type: string;
|
|
467
|
-
message: string;
|
|
468
|
-
required: boolean;
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
349
|
};
|
|
474
|
-
|
|
350
|
+
legacy: {
|
|
475
351
|
bean: string;
|
|
476
352
|
info: {
|
|
477
353
|
version: string;
|
|
478
354
|
title: string;
|
|
479
355
|
usage: string;
|
|
480
356
|
};
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
357
|
+
};
|
|
358
|
+
appMonkey: {
|
|
359
|
+
bean: string;
|
|
360
|
+
info: {
|
|
361
|
+
version: string;
|
|
362
|
+
title: string;
|
|
363
|
+
usage: string;
|
|
486
364
|
};
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
expression: string;
|
|
495
|
-
};
|
|
496
|
-
required: boolean;
|
|
497
|
-
};
|
|
498
|
-
module: {
|
|
499
|
-
type: string;
|
|
500
|
-
message: string;
|
|
501
|
-
required: boolean;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
};
|
|
365
|
+
};
|
|
366
|
+
sysMonkey: {
|
|
367
|
+
bean: string;
|
|
368
|
+
info: {
|
|
369
|
+
version: string;
|
|
370
|
+
title: string;
|
|
371
|
+
usage: string;
|
|
505
372
|
};
|
|
506
373
|
};
|
|
507
|
-
|
|
508
|
-
init: {
|
|
509
|
-
icon: {
|
|
374
|
+
monkey: {
|
|
510
375
|
bean: string;
|
|
511
376
|
info: {
|
|
512
377
|
version: string;
|
|
@@ -514,7 +379,7 @@ export declare const commands: {
|
|
|
514
379
|
usage: string;
|
|
515
380
|
};
|
|
516
381
|
};
|
|
517
|
-
|
|
382
|
+
monkeySys: {
|
|
518
383
|
bean: string;
|
|
519
384
|
info: {
|
|
520
385
|
version: string;
|
|
@@ -522,7 +387,7 @@ export declare const commands: {
|
|
|
522
387
|
usage: string;
|
|
523
388
|
};
|
|
524
389
|
};
|
|
525
|
-
|
|
390
|
+
main: {
|
|
526
391
|
bean: string;
|
|
527
392
|
info: {
|
|
528
393
|
version: string;
|
|
@@ -530,7 +395,7 @@ export declare const commands: {
|
|
|
530
395
|
usage: string;
|
|
531
396
|
};
|
|
532
397
|
};
|
|
533
|
-
|
|
398
|
+
mainSys: {
|
|
534
399
|
bean: string;
|
|
535
400
|
info: {
|
|
536
401
|
version: string;
|
|
@@ -538,15 +403,40 @@ export declare const commands: {
|
|
|
538
403
|
usage: string;
|
|
539
404
|
};
|
|
540
405
|
};
|
|
541
|
-
|
|
406
|
+
asset: {
|
|
542
407
|
bean: string;
|
|
543
408
|
info: {
|
|
544
409
|
version: string;
|
|
545
410
|
title: string;
|
|
546
411
|
usage: string;
|
|
547
412
|
};
|
|
413
|
+
options: {
|
|
414
|
+
module: {
|
|
415
|
+
description: string;
|
|
416
|
+
type: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
groups: {
|
|
420
|
+
default: {
|
|
421
|
+
questions: {
|
|
422
|
+
scene: {
|
|
423
|
+
type: string;
|
|
424
|
+
message: string;
|
|
425
|
+
initial: {
|
|
426
|
+
expression: string;
|
|
427
|
+
};
|
|
428
|
+
required: boolean;
|
|
429
|
+
};
|
|
430
|
+
module: {
|
|
431
|
+
type: string;
|
|
432
|
+
message: string;
|
|
433
|
+
required: boolean;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
};
|
|
548
438
|
};
|
|
549
|
-
|
|
439
|
+
lib: {
|
|
550
440
|
bean: string;
|
|
551
441
|
info: {
|
|
552
442
|
version: string;
|
|
@@ -554,7 +444,7 @@ export declare const commands: {
|
|
|
554
444
|
usage: string;
|
|
555
445
|
};
|
|
556
446
|
};
|
|
557
|
-
|
|
447
|
+
types: {
|
|
558
448
|
bean: string;
|
|
559
449
|
info: {
|
|
560
450
|
version: string;
|
|
@@ -663,7 +553,7 @@ export declare const commands: {
|
|
|
663
553
|
};
|
|
664
554
|
};
|
|
665
555
|
};
|
|
666
|
-
|
|
556
|
+
firstRender: {
|
|
667
557
|
bean: string;
|
|
668
558
|
info: {
|
|
669
559
|
version: string;
|
|
@@ -687,14 +577,6 @@ export declare const commands: {
|
|
|
687
577
|
};
|
|
688
578
|
required: boolean;
|
|
689
579
|
};
|
|
690
|
-
renderName: {
|
|
691
|
-
type: string;
|
|
692
|
-
message: string;
|
|
693
|
-
initial: {
|
|
694
|
-
expression: string;
|
|
695
|
-
};
|
|
696
|
-
required: boolean;
|
|
697
|
-
};
|
|
698
580
|
module: {
|
|
699
581
|
type: string;
|
|
700
582
|
message: string;
|
|
@@ -704,7 +586,7 @@ export declare const commands: {
|
|
|
704
586
|
};
|
|
705
587
|
};
|
|
706
588
|
};
|
|
707
|
-
|
|
589
|
+
firstStyle: {
|
|
708
590
|
bean: string;
|
|
709
591
|
info: {
|
|
710
592
|
version: string;
|
|
@@ -728,14 +610,6 @@ export declare const commands: {
|
|
|
728
610
|
};
|
|
729
611
|
required: boolean;
|
|
730
612
|
};
|
|
731
|
-
styleName: {
|
|
732
|
-
type: string;
|
|
733
|
-
message: string;
|
|
734
|
-
initial: {
|
|
735
|
-
expression: string;
|
|
736
|
-
};
|
|
737
|
-
required: boolean;
|
|
738
|
-
};
|
|
739
613
|
module: {
|
|
740
614
|
type: string;
|
|
741
615
|
message: string;
|
|
@@ -745,7 +619,7 @@ export declare const commands: {
|
|
|
745
619
|
};
|
|
746
620
|
};
|
|
747
621
|
};
|
|
748
|
-
|
|
622
|
+
anotherRender: {
|
|
749
623
|
bean: string;
|
|
750
624
|
info: {
|
|
751
625
|
version: string;
|
|
@@ -769,6 +643,14 @@ export declare const commands: {
|
|
|
769
643
|
};
|
|
770
644
|
required: boolean;
|
|
771
645
|
};
|
|
646
|
+
renderName: {
|
|
647
|
+
type: string;
|
|
648
|
+
message: string;
|
|
649
|
+
initial: {
|
|
650
|
+
expression: string;
|
|
651
|
+
};
|
|
652
|
+
required: boolean;
|
|
653
|
+
};
|
|
772
654
|
module: {
|
|
773
655
|
type: string;
|
|
774
656
|
message: string;
|
|
@@ -778,7 +660,7 @@ export declare const commands: {
|
|
|
778
660
|
};
|
|
779
661
|
};
|
|
780
662
|
};
|
|
781
|
-
|
|
663
|
+
anotherStyle: {
|
|
782
664
|
bean: string;
|
|
783
665
|
info: {
|
|
784
666
|
version: string;
|
|
@@ -802,6 +684,14 @@ export declare const commands: {
|
|
|
802
684
|
};
|
|
803
685
|
required: boolean;
|
|
804
686
|
};
|
|
687
|
+
styleName: {
|
|
688
|
+
type: string;
|
|
689
|
+
message: string;
|
|
690
|
+
initial: {
|
|
691
|
+
expression: string;
|
|
692
|
+
};
|
|
693
|
+
required: boolean;
|
|
694
|
+
};
|
|
805
695
|
module: {
|
|
806
696
|
type: string;
|
|
807
697
|
message: string;
|
|
@@ -811,7 +701,7 @@ export declare const commands: {
|
|
|
811
701
|
};
|
|
812
702
|
};
|
|
813
703
|
};
|
|
814
|
-
|
|
704
|
+
componentProps: {
|
|
815
705
|
bean: string;
|
|
816
706
|
info: {
|
|
817
707
|
version: string;
|
|
@@ -957,5 +847,22 @@ export declare const commands: {
|
|
|
957
847
|
};
|
|
958
848
|
};
|
|
959
849
|
};
|
|
850
|
+
openapi: {
|
|
851
|
+
config: {
|
|
852
|
+
bean: string;
|
|
853
|
+
info: {
|
|
854
|
+
version: string;
|
|
855
|
+
title: string;
|
|
856
|
+
usage: string;
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
generate: {
|
|
860
|
+
bean: string;
|
|
861
|
+
info: {
|
|
862
|
+
version: string;
|
|
863
|
+
title: string;
|
|
864
|
+
usage: string;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
};
|
|
960
868
|
};
|
|
961
|
-
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IModuleInfo } from '@cabloy/module-info';
|
|
1
|
+
import type { CmdOptions, NameMeta } from '@cabloy/cli';
|
|
2
|
+
import type { IModuleInfo } from '@cabloy/module-info';
|
|
3
|
+
import { BeanCliBase } from '@cabloy/cli';
|
|
3
4
|
declare module '@cabloy/cli' {
|
|
4
5
|
interface ICommandArgv {
|
|
5
6
|
module: string;
|
|
6
7
|
moduleInfo: IModuleInfo;
|
|
7
8
|
componentName: string;
|
|
8
9
|
nameMeta: NameMeta;
|
|
10
|
+
boilerplate: string;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
export declare class CliCreateComponentBase extends BeanCliBase {
|
|
@@ -13,4 +15,3 @@ export declare class CliCreateComponentBase extends BeanCliBase {
|
|
|
13
15
|
constructor(options: CmdOptions, componentMode: any);
|
|
14
16
|
execute(): Promise<void>;
|
|
15
17
|
}
|
|
16
|
-
//# sourceMappingURL=cliCreateComponent.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IModuleInfo } from '@cabloy/module-info';
|
|
1
|
+
import type { CmdOptions, NameMeta } from '@cabloy/cli';
|
|
2
|
+
import type { IModuleInfo } from '@cabloy/module-info';
|
|
3
|
+
import { BeanCliBase } from '@cabloy/cli';
|
|
3
4
|
declare module '@cabloy/cli' {
|
|
4
5
|
interface ICommandArgv {
|
|
5
6
|
module: string;
|
|
@@ -17,4 +18,3 @@ export declare class CliCreatePageBase extends BeanCliBase {
|
|
|
17
18
|
[name: string]: string;
|
|
18
19
|
}>;
|
|
19
20
|
}
|
|
20
|
-
//# sourceMappingURL=cliCreatePage.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IModule } from '@cabloy/module-info';
|
|
2
|
+
export declare function getControllerFileName(module: IModule, type: 'page' | 'component', beanName: any): "controller.ts" | "controller.tsx";
|
|
3
|
+
export declare function copyTemplateIfNeed(fileSrc: any, fileDest: any): void;
|
|
4
|
+
export declare function pathToHref(fileName: string): string;
|
|
5
|
+
export declare function loadJSONFile(fileName: string): Promise<any>;
|
|
6
|
+
export declare function saveJSONFile(fileName: string, json: object): Promise<void>;
|
package/dist/lib/this.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAbsolutePathOfModule(id: string, postfix?: string): string;
|
package/dist/typings.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { metadataCustomSnippet } from '@cabloy/cli';
|
|
2
|
+
export default metadataCustomSnippet({
|
|
3
|
+
file: 'package.json',
|
|
4
|
+
language: 'json',
|
|
5
|
+
async transform({ /* cli, */ ast, argv }) {
|
|
6
|
+
ast.dependencies[`zova-module-${argv.name}`] = '^5.0.0';
|
|
7
|
+
// ok
|
|
8
|
+
return ast;
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { metadataCustomSnippet } from '@cabloy/cli';
|
|
2
|
+
const __snippet_declare = "import { ZPage<%=argv.nameMeta.fullCapitalize%> } from './.metadata/page/<%=argv.pageName%>.js';\n";
|
|
3
|
+
const __snippet_body = '{ path: \'<%=argv.moduleInfo.name!==argv.pageName?argv.pageName:""%>\', component: ZPage<%=argv.nameMeta.fullCapitalize%> },';
|
|
4
|
+
export default metadataCustomSnippet({
|
|
5
|
+
file: 'src/routes.ts',
|
|
6
|
+
init: `import { IModuleRoute } from 'zova-module-a-router';
|
|
7
|
+
|
|
8
|
+
export const routes: IModuleRoute[] = [];
|
|
9
|
+
`,
|
|
10
|
+
async transform({ cli, ast }) {
|
|
11
|
+
// code
|
|
12
|
+
let code = await cli.template.renderContent({ content: __snippet_declare });
|
|
13
|
+
ast.before(code);
|
|
14
|
+
code = await cli.template.renderContent({ content: __snippet_body });
|
|
15
|
+
if (!ast.has('export const routes: IModuleRoute[] = [$_$]')) {
|
|
16
|
+
ast.replace('export const routes: IModuleRoute[] = []', `export const routes: IModuleRoute[] = [${code}]`);
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
ast.replace('export const routes: IModuleRoute[] = [$_$]', `export const routes: IModuleRoute[] = [$_$, \n ${code}]`);
|
|
20
|
+
}
|
|
21
|
+
// ok
|
|
22
|
+
return ast;
|
|
23
|
+
},
|
|
24
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { metadataCustomSnippet } from '@cabloy/cli';
|
|
2
|
+
export default metadataCustomSnippet({
|
|
3
|
+
file: 'openapi.config.ts',
|
|
4
|
+
async transform({ cli, ast, argv }) {
|
|
5
|
+
const moduleNames = argv._;
|
|
6
|
+
for (const moduleName of moduleNames) {
|
|
7
|
+
if (!ast.has(`return { modules: { '${moduleName}':{$$$0}, $$$1}, $$$2}`)) {
|
|
8
|
+
const code = await cli.template.renderContent({
|
|
9
|
+
content: `'${moduleName}': {}\n`,
|
|
10
|
+
});
|
|
11
|
+
ast.replace('return { $$$0, modules: { $$$1 } }', `return { $$$0, modules: { $$$1 , ${code} } }`);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
// ok
|
|
15
|
+
return ast;
|
|
16
|
+
},
|
|
17
|
+
});
|