@moluoxixi/create-app 2.0.432 → 2.0.433
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.txt +21 -21
- package/README.md +200 -200
- package/package.json +7 -4
- package/templates/common/base/.env +7 -7
- package/templates/common/base/.env.development +5 -5
- package/templates/common/base/.env.production +5 -5
- package/templates/common/base/_gitignore +42 -42
- package/templates/common/base/node_modules/.bin/autoprefixer +2 -2
- package/templates/common/base/node_modules/.bin/jiti +2 -2
- package/templates/common/base/node_modules/.bin/sass +2 -2
- package/templates/common/base/node_modules/.bin/tsc +2 -2
- package/templates/common/base/node_modules/.bin/tsserver +2 -2
- package/templates/common/base/node_modules/.bin/tsx +2 -2
- package/templates/common/base/node_modules/.bin/uuid +2 -2
- package/templates/common/base/node_modules/.bin/vite +2 -2
- package/templates/common/base/package.json +56 -56
- package/templates/common/base/scripts/build.mts +36 -36
- package/templates/common/base/src/apis/index.ts +7 -7
- package/templates/common/base/src/apis/request.ts +43 -43
- package/templates/common/base/src/apis/services/example.ts +61 -61
- package/templates/common/base/src/apis/services/user.ts +33 -33
- package/templates/common/base/src/apis/types/common.ts +43 -43
- package/templates/common/base/src/apis/types/example.ts +29 -29
- package/templates/common/base/src/apis/types/index.ts +7 -7
- package/templates/common/base/src/apis/types/user.ts +39 -39
- package/templates/common/base/src/assets/fonts/index.css +6 -6
- package/templates/common/base/src/assets/styles/base.scss +33 -33
- package/templates/common/base/src/assets/styles/custom.scss +20 -20
- package/templates/common/base/src/assets/styles/main.scss +8 -8
- package/templates/common/base/src/assets/styles/tailwind.scss +3 -3
- package/templates/common/base/src/constants/index.ts +28 -28
- package/templates/common/base/src/utils/index.ts +87 -87
- package/templates/common/base/vite/index.ts +53 -53
- package/templates/common/base/vite.config.ts +54 -54
- package/templates/common/features/eslint/eslint.config.ts +20 -20
- package/templates/common/features/eslint/node_modules/.bin/eslint +2 -2
- package/templates/common/features/eslint/package.json +7 -7
- package/templates/common/features/husky/.cz-config.cjs +35 -35
- package/templates/common/features/husky/.husky/commit-msg +9 -9
- package/templates/common/features/husky/.husky/install.mjs +9 -9
- package/templates/common/features/husky/.husky/pre-commit +4 -4
- package/templates/common/features/husky/commitlint.config.ts +32 -32
- package/templates/common/features/husky/node_modules/.bin/commitizen +2 -2
- package/templates/common/features/husky/node_modules/.bin/commitlint +2 -2
- package/templates/common/features/husky/node_modules/.bin/cz +2 -2
- package/templates/common/features/husky/node_modules/.bin/cz-cust +2 -2
- package/templates/common/features/husky/node_modules/.bin/cz-customizable +2 -2
- package/templates/common/features/husky/node_modules/.bin/git-cz +2 -2
- package/templates/common/features/husky/node_modules/.bin/husky +2 -2
- package/templates/common/features/husky/node_modules/.bin/lint-staged +2 -2
- package/templates/common/features/husky/package.json +29 -31
- package/templates/react/base/env.d.ts +19 -19
- package/templates/react/base/index.html +13 -13
- package/templates/react/base/package.json +15 -15
- package/templates/react/base/src/App.tsx +18 -18
- package/templates/react/base/src/main/index.ts +34 -34
- package/templates/react/base/src/main.tsx +34 -34
- package/templates/react/base/src/pages/about/index.tsx +14 -14
- package/templates/react/base/src/pages/home/index.tsx +14 -14
- package/templates/react/base/tsconfig.app.json +17 -17
- package/templates/react/base/tsconfig.base.json +22 -22
- package/templates/react/base/tsconfig.json +11 -11
- package/templates/react/base/tsconfig.node.json +15 -15
- package/templates/react/features/ant-design/package.json +7 -7
- package/templates/react/features/ant-design/src/main/features/ant-design.ts +21 -21
- package/templates/react/features/i18n/package.json +7 -7
- package/templates/react/features/i18n/src/locales/index.ts +26 -26
- package/templates/react/features/i18n/src/locales/lang/en.ts +29 -29
- package/templates/react/features/i18n/src/locales/lang/es.ts +29 -29
- package/templates/react/features/i18n/src/locales/lang/zh.ts +29 -29
- package/templates/react/features/i18n/src/main/features/i18n.ts +19 -19
- package/templates/react/features/manualRoutes/package.json +6 -6
- package/templates/react/features/manualRoutes/src/router/index.tsx +29 -29
- package/templates/react/features/manualRoutes/src/router/routes.tsx +35 -35
- package/templates/react/features/pageRoutes/package.json +5 -5
- package/templates/react/features/pageRoutes/src/router/index.tsx +30 -30
- package/templates/react/features/sentry/package.json +7 -7
- package/templates/react/features/sentry/src/main/features/sentry.ts +20 -20
- package/templates/react/features/sentry/src/utils/sentry.ts +39 -39
- package/templates/react/features/sentry/vite/features/sentry.ts +39 -39
- package/templates/react/features/zustand/package.json +5 -5
- package/templates/react/features/zustand/src/apis/types/user.ts +39 -39
- package/templates/react/features/zustand/src/stores/index.ts +5 -5
- package/templates/react/features/zustand/src/stores/user.ts +55 -55
- package/templates/react/features/zustand/src/types/stores.ts +21 -21
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/vite +2 -2
- package/templates/react/micro-frontends/qiankun/base/package.json +8 -8
- package/templates/react/micro-frontends/qiankun/base/src/main/index.ts +34 -34
- package/templates/react/micro-frontends/qiankun/base/src/main.tsx +69 -69
- package/templates/react/micro-frontends/qiankun/base/vite/index.ts +53 -53
- package/templates/vue/base/env.d.ts +26 -26
- package/templates/vue/base/index.html +13 -13
- package/templates/vue/base/node_modules/.bin/vue-tsc +2 -2
- package/templates/vue/base/src/App.vue +13 -13
- package/templates/vue/base/src/directives/index.ts +35 -35
- package/templates/vue/base/src/layouts/index.ts +26 -26
- package/templates/vue/base/src/main/index.ts +36 -36
- package/templates/vue/base/src/main.ts +34 -34
- package/templates/vue/base/src/pages/about/index.vue +30 -30
- package/templates/vue/base/src/pages/home/index.vue +30 -30
- package/templates/vue/base/src/utils/index.ts +5 -5
- package/templates/vue/base/src/utils/modifyComponent.tsx +43 -43
- package/templates/vue/features/ant-design-vue/package.json +8 -8
- package/templates/vue/features/ant-design-vue/src/layouts/AntDesign.vue +85 -85
- package/templates/vue/features/ant-design-vue/src/main/features/ant-design-vue.ts +18 -18
- package/templates/vue/features/element-plus/package.json +10 -10
- package/templates/vue/features/element-plus/src/assets/styles/base.scss +69 -69
- package/templates/vue/features/element-plus/src/assets/styles/custom.scss +20 -20
- package/templates/vue/features/element-plus/src/assets/styles/element.scss +27 -27
- package/templates/vue/features/element-plus/src/assets/styles/main.scss +9 -9
- package/templates/vue/features/element-plus/src/assets/styles/tailwind.scss +3 -3
- package/templates/vue/features/element-plus/src/components/SubMenu/index.ts +8 -8
- package/templates/vue/features/element-plus/src/layouts/element.vue +117 -117
- package/templates/vue/features/element-plus/src/main/features/element-plus.ts +23 -23
- package/templates/vue/features/element-plus/src/stores/index.ts +6 -6
- package/templates/vue/features/element-plus/src/stores/modules/system.ts +51 -51
- package/templates/vue/features/element-plus/vite/features/element-plus.ts +35 -35
- package/templates/vue/features/i18n/package.json +7 -7
- package/templates/vue/features/i18n/src/locales/index.ts +23 -23
- package/templates/vue/features/i18n/src/locales/lang/en.ts +29 -29
- package/templates/vue/features/i18n/src/locales/lang/es.ts +29 -29
- package/templates/vue/features/i18n/src/locales/lang/zh.ts +29 -29
- package/templates/vue/features/i18n/src/main/features/i18n.ts +19 -19
- package/templates/vue/features/manualRoutes/package.json +12 -12
- package/templates/vue/features/manualRoutes/src/router/index.ts +34 -34
- package/templates/vue/features/manualRoutes/src/router/layout.vue +15 -15
- package/templates/vue/features/manualRoutes/src/router/routes.ts +26 -26
- package/templates/vue/features/manualRoutes/src/stores/index.ts +6 -6
- package/templates/vue/features/manualRoutes/src/stores/modules/system.ts +51 -51
- package/templates/vue/features/pageRoutes/package.json +12 -12
- package/templates/vue/features/pageRoutes/src/router/index.ts +35 -35
- package/templates/vue/features/pageRoutes/src/router/layout.vue +15 -15
- package/templates/vue/features/pageRoutes/src/stores/index.ts +6 -6
- package/templates/vue/features/pageRoutes/src/stores/modules/system.ts +51 -51
- package/templates/vue/features/pinia/package.json +8 -8
- package/templates/vue/features/pinia/src/main/features/pinia.ts +19 -19
- package/templates/vue/features/pinia/src/stores/index.ts +6 -6
- package/templates/vue/features/pinia/src/stores/modules/system.ts +51 -51
- package/templates/vue/features/pinia/src/stores/modules/user.ts +41 -41
- package/templates/vue/features/sentry/package.json +10 -10
- package/templates/vue/features/sentry/src/main/features/sentry.ts +22 -22
- package/templates/vue/features/sentry/src/stores/index.ts +13 -13
- package/templates/vue/features/sentry/src/utils/sentry.ts +44 -44
- package/templates/vue/features/sentry/vite/features/sentry.ts +39 -39
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/vite +2 -2
- package/templates/vue/micro-frontends/qiankun/base/package.json +8 -8
- package/templates/vue/micro-frontends/qiankun/base/src/main/index.ts +36 -36
- package/templates/vue/micro-frontends/qiankun/base/src/main.ts +70 -70
- package/templates/vue/micro-frontends/qiankun/base/vite/index.ts +53 -53
- package/templates/vue/micro-frontends/qiankun/features/element-plus/package.json +10 -10
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/base.scss +69 -69
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/custom.scss +20 -20
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/element/fixQiankun.scss +10 -10
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/element/index.scss +29 -29
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/main.scss +9 -9
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/assets/styles/tailwind.scss +3 -3
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/components/SubMenu/index.ts +8 -8
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/components/SubMenu/src/_types/index.ts +1 -1
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/components/SubMenu/src/_types/props.ts +16 -16
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/components/SubMenu/src/index.vue +60 -60
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/layouts/element.vue +120 -120
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/main/features/element-plus.ts +24 -24
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/stores/index.ts +6 -6
- package/templates/vue/micro-frontends/qiankun/features/element-plus/src/stores/modules/system.ts +51 -51
- package/templates/vue/micro-frontends/qiankun/features/element-plus/vite/features/element-plus.ts +35 -35
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/package.json +14 -14
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/src/router/index.ts +60 -60
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/src/router/layout.vue +15 -15
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/src/router/routes.ts +26 -26
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/src/stores/index.ts +6 -6
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/src/stores/modules/system.ts +51 -51
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/package.json +14 -14
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/src/router/index.ts +61 -61
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/src/stores/index.ts +6 -6
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/src/stores/modules/system.ts +51 -51
- package/dist/generators/react.d.ts +0 -12
- package/dist/generators/react.js +0 -14
- package/dist/generators/vue.d.ts +0 -12
- package/dist/generators/vue.js +0 -14
- package/dist/types/ejs.d.ts +0 -10
- package/dist/types/ejs.js +0 -4
- package/dist/types/viteConfig.d.ts +0 -19
- package/dist/types/viteConfig.js +0 -5
- package/dist/utils/ejs.d.ts +0 -20
- package/dist/utils/ejs.js +0 -31
- package/dist/utils/featureMapping.d.ts +0 -23
- package/dist/utils/featureMapping.js +0 -76
- package/dist/utils/generateFrameworkProject.d.ts +0 -15
- package/dist/utils/generateFrameworkProject.js +0 -67
- package/dist/utils/prompts.d.ts +0 -17
- package/dist/utils/prompts.js +0 -235
- package/dist/utils/renderFeatures.d.ts +0 -56
- package/dist/utils/renderFeatures.js +0 -160
- package/dist/utils/renderTemplate.d.ts +0 -18
- package/dist/utils/renderTemplate.js +0 -174
- package/dist/utils/routeModeMapping.d.ts +0 -14
- package/dist/utils/routeModeMapping.js +0 -15
- package/dist/utils/viteConfigRender.d.ts +0 -16
- package/dist/utils/viteConfigRender.js +0 -17
- package/templates/common/base/node_modules/.bin/autoprefixer.CMD +0 -12
- package/templates/common/base/node_modules/.bin/autoprefixer.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/browserslist +0 -17
- package/templates/common/base/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/common/base/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/jiti.CMD +0 -12
- package/templates/common/base/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/parser +0 -17
- package/templates/common/base/node_modules/.bin/parser.CMD +0 -12
- package/templates/common/base/node_modules/.bin/parser.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/rollup +0 -17
- package/templates/common/base/node_modules/.bin/rollup.CMD +0 -12
- package/templates/common/base/node_modules/.bin/rollup.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/sass.CMD +0 -12
- package/templates/common/base/node_modules/.bin/sass.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/terser +0 -17
- package/templates/common/base/node_modules/.bin/terser.CMD +0 -12
- package/templates/common/base/node_modules/.bin/terser.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/tsc.CMD +0 -12
- package/templates/common/base/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/common/base/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/tsx.CMD +0 -12
- package/templates/common/base/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/uuid.CMD +0 -12
- package/templates/common/base/node_modules/.bin/uuid.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/vite.CMD +0 -12
- package/templates/common/base/node_modules/.bin/vite.ps1 +0 -41
- package/templates/common/base/node_modules/.bin/yaml +0 -17
- package/templates/common/base/node_modules/.bin/yaml.CMD +0 -12
- package/templates/common/base/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/common/features/eslint/node_modules/.bin/browserslist +0 -17
- package/templates/common/features/eslint/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/common/features/eslint/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/common/features/eslint/node_modules/.bin/eslint.CMD +0 -12
- package/templates/common/features/eslint/node_modules/.bin/eslint.ps1 +0 -41
- package/templates/common/features/eslint/node_modules/.bin/jiti +0 -17
- package/templates/common/features/eslint/node_modules/.bin/jiti.CMD +0 -12
- package/templates/common/features/eslint/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/common/features/eslint/node_modules/.bin/tsc +0 -17
- package/templates/common/features/eslint/node_modules/.bin/tsc.CMD +0 -12
- package/templates/common/features/eslint/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/common/features/eslint/node_modules/.bin/tsserver +0 -17
- package/templates/common/features/eslint/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/common/features/eslint/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/commitizen.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/commitizen.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/commitlint.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/commitlint.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/cz-cust.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/cz-cust.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/cz-customizable.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/cz-customizable.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/cz.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/cz.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/git-cz.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/git-cz.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/husky.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/husky.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/lint-staged.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/lint-staged.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/tsc +0 -17
- package/templates/common/features/husky/node_modules/.bin/tsc.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/common/features/husky/node_modules/.bin/tsserver +0 -17
- package/templates/common/features/husky/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/common/features/husky/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/browserslist +0 -17
- package/templates/react/base/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/react/base/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/jiti +0 -17
- package/templates/react/base/node_modules/.bin/jiti.CMD +0 -12
- package/templates/react/base/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/parser +0 -17
- package/templates/react/base/node_modules/.bin/parser.CMD +0 -12
- package/templates/react/base/node_modules/.bin/parser.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/rollup +0 -17
- package/templates/react/base/node_modules/.bin/rollup.CMD +0 -12
- package/templates/react/base/node_modules/.bin/rollup.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/sass +0 -17
- package/templates/react/base/node_modules/.bin/sass.CMD +0 -12
- package/templates/react/base/node_modules/.bin/sass.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/terser +0 -17
- package/templates/react/base/node_modules/.bin/terser.CMD +0 -12
- package/templates/react/base/node_modules/.bin/terser.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/tsc +0 -17
- package/templates/react/base/node_modules/.bin/tsc.CMD +0 -12
- package/templates/react/base/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/tsserver +0 -17
- package/templates/react/base/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/react/base/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/tsx +0 -17
- package/templates/react/base/node_modules/.bin/tsx.CMD +0 -12
- package/templates/react/base/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/vite +0 -17
- package/templates/react/base/node_modules/.bin/vite.CMD +0 -12
- package/templates/react/base/node_modules/.bin/vite.ps1 +0 -41
- package/templates/react/base/node_modules/.bin/yaml +0 -17
- package/templates/react/base/node_modules/.bin/yaml.CMD +0 -12
- package/templates/react/base/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/react/features/i18n/node_modules/.bin/tsc +0 -17
- package/templates/react/features/i18n/node_modules/.bin/tsc.CMD +0 -12
- package/templates/react/features/i18n/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/react/features/i18n/node_modules/.bin/tsserver +0 -17
- package/templates/react/features/i18n/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/react/features/i18n/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/jiti +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/jiti.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/sass +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/sass.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/sass.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/terser +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/terser.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/terser.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/tsx +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/tsx.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/vite +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/vite.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/vite.ps1 +0 -41
- package/templates/react/features/pageRoutes/node_modules/.bin/yaml +0 -17
- package/templates/react/features/pageRoutes/node_modules/.bin/yaml.CMD +0 -12
- package/templates/react/features/pageRoutes/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/browserslist +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/jiti +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/jiti.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/parser +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/parser.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/parser.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/rollup +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/rollup.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/rollup.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/sass +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/sass.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/sass.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/terser +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/terser.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/terser.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsc +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsc.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsserver +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsx +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsx.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/vite.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/vite.ps1 +0 -41
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/yaml +0 -17
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/yaml.CMD +0 -12
- package/templates/react/micro-frontends/qiankun/base/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/browserslist +0 -17
- package/templates/vue/base/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/jiti +0 -17
- package/templates/vue/base/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/parser +0 -17
- package/templates/vue/base/node_modules/.bin/parser.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/parser.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/rollup +0 -17
- package/templates/vue/base/node_modules/.bin/rollup.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/rollup.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/sass +0 -17
- package/templates/vue/base/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/terser +0 -17
- package/templates/vue/base/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/tsc +0 -17
- package/templates/vue/base/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/tsserver +0 -17
- package/templates/vue/base/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/tsx +0 -17
- package/templates/vue/base/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/vite +0 -17
- package/templates/vue/base/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/vue-tsc.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/vue-tsc.ps1 +0 -41
- package/templates/vue/base/node_modules/.bin/yaml +0 -17
- package/templates/vue/base/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/base/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/ant-design-vue/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/element-plus/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/element-plus/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/element-plus/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/element-plus/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/element-plus/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/element-plus/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/i18n/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/i18n/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/i18n/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/i18n/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/i18n/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/i18n/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/jiti +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/sass +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/terser +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsx +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/vite +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/features/manualRoutes/node_modules/.bin/yaml +0 -17
- package/templates/vue/features/manualRoutes/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/features/manualRoutes/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/jiti +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/sass +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/terser +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsx +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/vite +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/features/pageRoutes/node_modules/.bin/yaml +0 -17
- package/templates/vue/features/pageRoutes/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/features/pageRoutes/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/features/pinia/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/pinia/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/pinia/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/pinia/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/pinia/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/pinia/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/features/sentry/node_modules/.bin/tsc +0 -17
- package/templates/vue/features/sentry/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/features/sentry/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/features/sentry/node_modules/.bin/tsserver +0 -17
- package/templates/vue/features/sentry/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/features/sentry/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/browserslist +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/browserslist.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/browserslist.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/jiti +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/parser +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/parser.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/parser.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/rollup +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/rollup.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/rollup.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/sass +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/terser +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsc +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsserver +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsx +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/yaml +0 -17
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/base/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/jiti +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/sass +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/terser +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsc +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsserver +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsx +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/vite +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/yaml +0 -17
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/element-plus/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/jiti +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/sass +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/terser +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsc +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsserver +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsx +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/vite +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/yaml +0 -17
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/manualRoutes/node_modules/.bin/yaml.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/jiti +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/jiti.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/jiti.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/sass +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/sass.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/sass.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/terser +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/terser.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/terser.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsc +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsc.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsc.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsserver +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsserver.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsserver.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsx +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsx.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/tsx.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/vite +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/vite.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/vite.ps1 +0 -41
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/yaml +0 -17
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/yaml.CMD +0 -12
- package/templates/vue/micro-frontends/qiankun/features/pageRoutes/node_modules/.bin/yaml.ps1 +0 -41
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import fs from 'node:fs'
|
|
2
|
-
import path from 'node:path'
|
|
3
|
-
import { fileURLToPath } from 'node:url'
|
|
4
|
-
import { mergeConfig } from 'vite'
|
|
5
|
-
import type { UserConfig } from 'vite'
|
|
6
|
-
import { createJiti } from 'jiti'
|
|
7
|
-
|
|
8
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
9
|
-
const _require = createJiti(import.meta.url, { interopDefault: true })
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Vite feature 配置上下文
|
|
13
|
-
*/
|
|
14
|
-
export interface ViteFeatureContext {
|
|
15
|
-
/** Vite 环境变量 */
|
|
16
|
-
viteEnv: Record<string, any>
|
|
17
|
-
/** 构建模式 */
|
|
18
|
-
mode: string
|
|
19
|
-
/** 应用代码 */
|
|
20
|
-
appCode: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* 加载所有 feature 的 Vite 配置
|
|
25
|
-
* @param ctx - feature 配置上下文
|
|
26
|
-
* @returns 合并后的 UserConfig
|
|
27
|
-
*/
|
|
28
|
-
export function loadFeatureConfigs(ctx: ViteFeatureContext): UserConfig {
|
|
29
|
-
const featuresDir = path.resolve(__dirname, 'features')
|
|
30
|
-
|
|
31
|
-
if (!fs.existsSync(featuresDir)) {
|
|
32
|
-
return {}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const featureFiles = fs.readdirSync(featuresDir).filter(f => f.endsWith('.ts'))
|
|
36
|
-
const configs: UserConfig[] = []
|
|
37
|
-
|
|
38
|
-
for (const file of featureFiles) {
|
|
39
|
-
try {
|
|
40
|
-
const filePath = path.resolve(featuresDir, file)
|
|
41
|
-
const mod = _require(filePath)
|
|
42
|
-
const config = mod.default(ctx)
|
|
43
|
-
if (config) {
|
|
44
|
-
configs.push(config)
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
catch (e) {
|
|
48
|
-
console.warn(`[Vite] Failed to load feature config: ${file}`, e)
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return configs.reduce((acc, cfg) => mergeConfig(acc, cfg), {} as UserConfig)
|
|
53
|
-
}
|
|
1
|
+
import fs from 'node:fs'
|
|
2
|
+
import path from 'node:path'
|
|
3
|
+
import { fileURLToPath } from 'node:url'
|
|
4
|
+
import { mergeConfig } from 'vite'
|
|
5
|
+
import type { UserConfig } from 'vite'
|
|
6
|
+
import { createJiti } from 'jiti'
|
|
7
|
+
|
|
8
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
9
|
+
const _require = createJiti(import.meta.url, { interopDefault: true })
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Vite feature 配置上下文
|
|
13
|
+
*/
|
|
14
|
+
export interface ViteFeatureContext {
|
|
15
|
+
/** Vite 环境变量 */
|
|
16
|
+
viteEnv: Record<string, any>
|
|
17
|
+
/** 构建模式 */
|
|
18
|
+
mode: string
|
|
19
|
+
/** 应用代码 */
|
|
20
|
+
appCode: string
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 加载所有 feature 的 Vite 配置
|
|
25
|
+
* @param ctx - feature 配置上下文
|
|
26
|
+
* @returns 合并后的 UserConfig
|
|
27
|
+
*/
|
|
28
|
+
export function loadFeatureConfigs(ctx: ViteFeatureContext): UserConfig {
|
|
29
|
+
const featuresDir = path.resolve(__dirname, 'features')
|
|
30
|
+
|
|
31
|
+
if (!fs.existsSync(featuresDir)) {
|
|
32
|
+
return {}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const featureFiles = fs.readdirSync(featuresDir).filter(f => f.endsWith('.ts'))
|
|
36
|
+
const configs: UserConfig[] = []
|
|
37
|
+
|
|
38
|
+
for (const file of featureFiles) {
|
|
39
|
+
try {
|
|
40
|
+
const filePath = path.resolve(featuresDir, file)
|
|
41
|
+
const mod = _require(filePath)
|
|
42
|
+
const config = mod.default(ctx)
|
|
43
|
+
if (config) {
|
|
44
|
+
configs.push(config)
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
console.warn(`[Vite] Failed to load feature config: ${file}`, e)
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return configs.reduce((acc, cfg) => mergeConfig(acc, cfg), {} as UserConfig)
|
|
53
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import path from 'node:path'
|
|
2
|
-
import cssModuleGlobalRootPlugin from '@moluoxixi/css-module-global-root-plugin'
|
|
3
|
-
import { ViteConfig, wrapperEnv } from '@moluoxixi/vite-config'
|
|
4
|
-
import { loadEnv, mergeConfig } from 'vite'
|
|
5
|
-
import process from 'node:process'
|
|
6
|
-
import { loadFeatureConfigs } from './vite/index.ts'
|
|
7
|
-
|
|
8
|
-
const config: ReturnType<typeof ViteConfig> = ViteConfig(({ mode }) => {
|
|
9
|
-
const env = loadEnv(mode!, process.cwd())
|
|
10
|
-
const viteEnv = wrapperEnv(env)
|
|
11
|
-
const rootPath = path.resolve()
|
|
12
|
-
const appCode = viteEnv.VITE_APP_CODE
|
|
13
|
-
const appTitle = viteEnv.VITE_APP_TITLE
|
|
14
|
-
const port = viteEnv.VITE_APP_PORT
|
|
15
|
-
|
|
16
|
-
// 加载所有 feature 配置
|
|
17
|
-
const featureConfig = loadFeatureConfigs({ viteEnv, mode, appCode })
|
|
18
|
-
|
|
19
|
-
return {
|
|
20
|
-
rootPath,
|
|
21
|
-
appTitle,
|
|
22
|
-
appCode,
|
|
23
|
-
port,
|
|
24
|
-
autoComponent: true,
|
|
25
|
-
viteConfig: mergeConfig(
|
|
26
|
-
{
|
|
27
|
-
server: {
|
|
28
|
-
proxy: {
|
|
29
|
-
'/api': {
|
|
30
|
-
changeOrigin: true,
|
|
31
|
-
target: 'http://localhost:3000',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
css: {
|
|
36
|
-
preprocessorOptions: {
|
|
37
|
-
scss: {
|
|
38
|
-
silenceDeprecations: ['legacy-js-api'],
|
|
39
|
-
api: 'modern-compiler',
|
|
40
|
-
},
|
|
41
|
-
postcss: {
|
|
42
|
-
plugins: [
|
|
43
|
-
cssModuleGlobalRootPlugin() as any,
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
featureConfig,
|
|
50
|
-
),
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
export default config
|
|
1
|
+
import path from 'node:path'
|
|
2
|
+
import cssModuleGlobalRootPlugin from '@moluoxixi/css-module-global-root-plugin'
|
|
3
|
+
import { ViteConfig, wrapperEnv } from '@moluoxixi/vite-config'
|
|
4
|
+
import { loadEnv, mergeConfig } from 'vite'
|
|
5
|
+
import process from 'node:process'
|
|
6
|
+
import { loadFeatureConfigs } from './vite/index.ts'
|
|
7
|
+
|
|
8
|
+
const config: ReturnType<typeof ViteConfig> = ViteConfig(({ mode }) => {
|
|
9
|
+
const env = loadEnv(mode!, process.cwd())
|
|
10
|
+
const viteEnv = wrapperEnv(env)
|
|
11
|
+
const rootPath = path.resolve()
|
|
12
|
+
const appCode = viteEnv.VITE_APP_CODE
|
|
13
|
+
const appTitle = viteEnv.VITE_APP_TITLE
|
|
14
|
+
const port = viteEnv.VITE_APP_PORT
|
|
15
|
+
|
|
16
|
+
// 加载所有 feature 配置
|
|
17
|
+
const featureConfig = loadFeatureConfigs({ viteEnv, mode, appCode })
|
|
18
|
+
|
|
19
|
+
return {
|
|
20
|
+
rootPath,
|
|
21
|
+
appTitle,
|
|
22
|
+
appCode,
|
|
23
|
+
port,
|
|
24
|
+
autoComponent: true,
|
|
25
|
+
viteConfig: mergeConfig(
|
|
26
|
+
{
|
|
27
|
+
server: {
|
|
28
|
+
proxy: {
|
|
29
|
+
'/api': {
|
|
30
|
+
changeOrigin: true,
|
|
31
|
+
target: 'http://localhost:3000',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
css: {
|
|
36
|
+
preprocessorOptions: {
|
|
37
|
+
scss: {
|
|
38
|
+
silenceDeprecations: ['legacy-js-api'],
|
|
39
|
+
api: 'modern-compiler',
|
|
40
|
+
},
|
|
41
|
+
postcss: {
|
|
42
|
+
plugins: [
|
|
43
|
+
cssModuleGlobalRootPlugin() as any,
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
featureConfig,
|
|
50
|
+
),
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
export default config
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import eslintConfig from '@moluoxixi/eslint-config'
|
|
2
|
-
|
|
3
|
-
export default eslintConfig({
|
|
4
|
-
formatters: true,
|
|
5
|
-
ignores: [],
|
|
6
|
-
rules: {
|
|
7
|
-
//#region 不能在定义前使用变量
|
|
8
|
-
'no-use-before-define': 'off',
|
|
9
|
-
'ts/no-use-before-define': 'off',
|
|
10
|
-
// #endregion
|
|
11
|
-
// import 排序
|
|
12
|
-
'perfectionist/sort-imports': 'off',
|
|
13
|
-
// 未使用的变量
|
|
14
|
-
'unused-imports/no-unused-vars': 'off',
|
|
15
|
-
// 不允许使用console
|
|
16
|
-
'no-console': 'off',
|
|
17
|
-
// 是否使用function声明顶级函数,开启后会导致偶先eslint格式失败,当文件中eslint格式问题过多时建议关闭,不多时保留此注释
|
|
18
|
-
// 'antfu/top-level-function': 'off',
|
|
19
|
-
},
|
|
20
|
-
})
|
|
1
|
+
import eslintConfig from '@moluoxixi/eslint-config'
|
|
2
|
+
|
|
3
|
+
export default eslintConfig({
|
|
4
|
+
formatters: true,
|
|
5
|
+
ignores: [],
|
|
6
|
+
rules: {
|
|
7
|
+
//#region 不能在定义前使用变量
|
|
8
|
+
'no-use-before-define': 'off',
|
|
9
|
+
'ts/no-use-before-define': 'off',
|
|
10
|
+
// #endregion
|
|
11
|
+
// import 排序
|
|
12
|
+
'perfectionist/sort-imports': 'off',
|
|
13
|
+
// 未使用的变量
|
|
14
|
+
'unused-imports/no-unused-vars': 'off',
|
|
15
|
+
// 不允许使用console
|
|
16
|
+
'no-console': 'off',
|
|
17
|
+
// 是否使用function声明顶级函数,开启后会导致偶先eslint格式失败,当文件中eslint格式问题过多时建议关闭,不多时保留此注释
|
|
18
|
+
// 'antfu/top-level-function': 'off',
|
|
19
|
+
},
|
|
20
|
+
})
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"devDependencies": {
|
|
3
|
-
"@moluoxixi/eslint-config": "latest",
|
|
4
|
-
"eslint": "^9.22.0",
|
|
5
|
-
"eslint-plugin-format": "^1.0.1"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"devDependencies": {
|
|
3
|
+
"@moluoxixi/eslint-config": "latest",
|
|
4
|
+
"eslint": "^9.22.0",
|
|
5
|
+
"eslint-plugin-format": "^1.0.1"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commitizen 自定义配置
|
|
3
|
-
* 定义 commit 类型和提交规范
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
types: [
|
|
8
|
-
{ value: 'feat', name: 'feat: ✨ 新功能' },
|
|
9
|
-
{ value: 'fix', name: 'fix: 🐛 修复 Bug' },
|
|
10
|
-
{ value: 'docs', name: 'docs: 📝 文档更新' },
|
|
11
|
-
{ value: 'style', name: 'style: 💄 代码格式(不影响功能)' },
|
|
12
|
-
{ value: 'refactor', name: 'refactor: ♻️ 代码重构' },
|
|
13
|
-
{ value: 'perf', name: 'perf: ⚡ 性能优化' },
|
|
14
|
-
{ value: 'test', name: 'test: ✅ 测试相关' },
|
|
15
|
-
{ value: 'build', name: 'build: 📦 构建相关' },
|
|
16
|
-
{ value: 'ci', name: 'ci: 🔧 CI 配置' },
|
|
17
|
-
{ value: 'chore', name: 'chore: 🔨 其他修改' },
|
|
18
|
-
{ value: 'revert', name: 'revert: ⏪ 回退' },
|
|
19
|
-
],
|
|
20
|
-
scopes: [],
|
|
21
|
-
messages: {
|
|
22
|
-
type: '请选择提交类型:',
|
|
23
|
-
scope: '请输入修改范围(可选):',
|
|
24
|
-
customScope: '请输入自定义修改范围:',
|
|
25
|
-
subject: '请简要描述提交(必填):',
|
|
26
|
-
body: '请输入详细描述(可选):',
|
|
27
|
-
breaking: '列出任何破坏性变更(可选):',
|
|
28
|
-
footer: '请输入要关闭的 issue(可选):',
|
|
29
|
-
confirmCommit: '确认使用以上信息提交?',
|
|
30
|
-
},
|
|
31
|
-
allowCustomScopes: true,
|
|
32
|
-
allowBreakingChanges: ['feat', 'fix'],
|
|
33
|
-
skipQuestions: ['scope', 'body', 'breaking', 'footer'],
|
|
34
|
-
subjectLimit: 100,
|
|
35
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Commitizen 自定义配置
|
|
3
|
+
* 定义 commit 类型和提交规范
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
types: [
|
|
8
|
+
{ value: 'feat', name: 'feat: ✨ 新功能' },
|
|
9
|
+
{ value: 'fix', name: 'fix: 🐛 修复 Bug' },
|
|
10
|
+
{ value: 'docs', name: 'docs: 📝 文档更新' },
|
|
11
|
+
{ value: 'style', name: 'style: 💄 代码格式(不影响功能)' },
|
|
12
|
+
{ value: 'refactor', name: 'refactor: ♻️ 代码重构' },
|
|
13
|
+
{ value: 'perf', name: 'perf: ⚡ 性能优化' },
|
|
14
|
+
{ value: 'test', name: 'test: ✅ 测试相关' },
|
|
15
|
+
{ value: 'build', name: 'build: 📦 构建相关' },
|
|
16
|
+
{ value: 'ci', name: 'ci: 🔧 CI 配置' },
|
|
17
|
+
{ value: 'chore', name: 'chore: 🔨 其他修改' },
|
|
18
|
+
{ value: 'revert', name: 'revert: ⏪ 回退' },
|
|
19
|
+
],
|
|
20
|
+
scopes: [],
|
|
21
|
+
messages: {
|
|
22
|
+
type: '请选择提交类型:',
|
|
23
|
+
scope: '请输入修改范围(可选):',
|
|
24
|
+
customScope: '请输入自定义修改范围:',
|
|
25
|
+
subject: '请简要描述提交(必填):',
|
|
26
|
+
body: '请输入详细描述(可选):',
|
|
27
|
+
breaking: '列出任何破坏性变更(可选):',
|
|
28
|
+
footer: '请输入要关闭的 issue(可选):',
|
|
29
|
+
confirmCommit: '确认使用以上信息提交?',
|
|
30
|
+
},
|
|
31
|
+
allowCustomScopes: true,
|
|
32
|
+
allowBreakingChanges: ['feat', 'fix'],
|
|
33
|
+
skipQuestions: ['scope', 'body', 'breaking', 'footer'],
|
|
34
|
+
subjectLimit: 100,
|
|
35
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
COMMIT_LOCATION="${PWD}/.git/COMMIT_EDITMSG"
|
|
5
|
-
if [ -f "$COMMIT_LOCATION" ]; then
|
|
6
|
-
npx --no-install commitlint --edit "${COMMIT_LOCATION}"
|
|
7
|
-
else
|
|
8
|
-
npx --no-install commitlint --edit "$1"
|
|
9
|
-
fi
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
+
|
|
4
|
+
COMMIT_LOCATION="${PWD}/.git/COMMIT_EDITMSG"
|
|
5
|
+
if [ -f "$COMMIT_LOCATION" ]; then
|
|
6
|
+
npx --no-install commitlint --edit "${COMMIT_LOCATION}"
|
|
7
|
+
else
|
|
8
|
+
npx --no-install commitlint --edit "$1"
|
|
9
|
+
fi
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Skip Husky install in production and CI
|
|
2
|
-
import process from 'node:process'
|
|
3
|
-
|
|
4
|
-
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
|
|
5
|
-
process.exit(0)
|
|
6
|
-
}
|
|
7
|
-
// eslint-disable-next-line antfu/no-top-level-await
|
|
8
|
-
const husky = (await import('husky')).default
|
|
9
|
-
console.log(husky())
|
|
1
|
+
// Skip Husky install in production and CI
|
|
2
|
+
import process from 'node:process'
|
|
3
|
+
|
|
4
|
+
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
|
|
5
|
+
process.exit(0)
|
|
6
|
+
}
|
|
7
|
+
// eslint-disable-next-line antfu/no-top-level-await
|
|
8
|
+
const husky = (await import('husky')).default
|
|
9
|
+
console.log(husky())
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
pnpm lint-staged
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
+
|
|
4
|
+
pnpm lint-staged
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commitlint 配置
|
|
3
|
-
* 验证 commit message 格式
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { UserConfig } from '@commitlint/types'
|
|
7
|
-
|
|
8
|
-
const config: UserConfig = {
|
|
9
|
-
extends: ['@commitlint/config-conventional'],
|
|
10
|
-
rules: {
|
|
11
|
-
'type-enum': [
|
|
12
|
-
2,
|
|
13
|
-
'always',
|
|
14
|
-
[
|
|
15
|
-
'feat',
|
|
16
|
-
'fix',
|
|
17
|
-
'docs',
|
|
18
|
-
'style',
|
|
19
|
-
'refactor',
|
|
20
|
-
'perf',
|
|
21
|
-
'test',
|
|
22
|
-
'build',
|
|
23
|
-
'ci',
|
|
24
|
-
'chore',
|
|
25
|
-
'revert',
|
|
26
|
-
],
|
|
27
|
-
],
|
|
28
|
-
'subject-case': [0],
|
|
29
|
-
},
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default config
|
|
1
|
+
/**
|
|
2
|
+
* Commitlint 配置
|
|
3
|
+
* 验证 commit message 格式
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { UserConfig } from '@commitlint/types'
|
|
7
|
+
|
|
8
|
+
const config: UserConfig = {
|
|
9
|
+
extends: ['@commitlint/config-conventional'],
|
|
10
|
+
rules: {
|
|
11
|
+
'type-enum': [
|
|
12
|
+
2,
|
|
13
|
+
'always',
|
|
14
|
+
[
|
|
15
|
+
'feat',
|
|
16
|
+
'fix',
|
|
17
|
+
'docs',
|
|
18
|
+
'style',
|
|
19
|
+
'refactor',
|
|
20
|
+
'perf',
|
|
21
|
+
'test',
|
|
22
|
+
'build',
|
|
23
|
+
'ci',
|
|
24
|
+
'chore',
|
|
25
|
+
'revert',
|
|
26
|
+
],
|
|
27
|
+
],
|
|
28
|
+
'subject-case': [0],
|
|
29
|
+
},
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default config
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../commitizen/bin/commitizen" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules/@commitlint/cli/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules/@commitlint/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules/@commitlint/cli/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules/@commitlint/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../commitizen/bin/git-cz" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules/cz-customizable/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules/cz-customizable/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cz-customizable/standalone.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules/cz-customizable/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules/cz-customizable/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/cz-customizable@7.5.1/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cz-customizable/standalone.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules/commitizen/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/commitizen@4.3.1_@types+node@22.19.3_typescript@5.8.3/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../commitizen/bin/git-cz" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/husky@9.1.7/node_modules/husky/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/husky@9.1.7/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/husky@9.1.7/node_modules/husky/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/husky@9.1.7/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../husky/bin.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/
|
|
9
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules/lint-staged/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules/lint-staged/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/
|
|
11
|
+
export NODE_PATH="/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules/lint-staged/bin/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules/lint-staged/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/lint-staged@15.5.2/node_modules:/home/runner/work/vite-cli/vite-cli/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../lint-staged/bin/lint-staged.js" "$@"
|