@gx-design-vue/create-gx-cli 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/create-gx-cli +3 -2
- package/package.json +4 -4
- package/src/cli.js +10 -7
- package/src/git.js +8 -5
- package/src/main.js +29 -16
- package/template-mobile-vant-cli/package.json +5 -5
- package/template-gx-design-thin/.editorconfig +0 -19
- package/template-gx-design-thin/.env +0 -4
- package/template-gx-design-thin/.env.development +0 -15
- package/template-gx-design-thin/.env.production +0 -28
- package/template-gx-design-thin/.eslintignore +0 -16
- package/template-gx-design-thin/.prettierignore +0 -9
- package/template-gx-design-thin/LICENSE +0 -21
- package/template-gx-design-thin/README.md +0 -112
- package/template-gx-design-thin/build/constant.ts +0 -1
- package/template-gx-design-thin/build/generate/generateModifyVars.ts +0 -14
- package/template-gx-design-thin/build/rollupOptions/index.ts +0 -22
- package/template-gx-design-thin/build/util/hash.ts +0 -17
- package/template-gx-design-thin/build/util/index.ts +0 -131
- package/template-gx-design-thin/build/vite/cdn.ts +0 -63
- package/template-gx-design-thin/build/vite/optimizer.ts +0 -26
- package/template-gx-design-thin/build/vite/plugin/appConfig.ts +0 -91
- package/template-gx-design-thin/build/vite/plugin/autoImport.ts +0 -26
- package/template-gx-design-thin/build/vite/plugin/compress.ts +0 -31
- package/template-gx-design-thin/build/vite/plugin/html.ts +0 -39
- package/template-gx-design-thin/build/vite/plugin/index.ts +0 -75
- package/template-gx-design-thin/build/vite/plugin/mock.ts +0 -14
- package/template-gx-design-thin/build/vite/plugin/pwa.ts +0 -31
- package/template-gx-design-thin/build/vite/plugin/visualizer.ts +0 -14
- package/template-gx-design-thin/build/vite/plugin/viteMock/client.ts +0 -88
- package/template-gx-design-thin/build/vite/plugin/viteMock/createMockServer.ts +0 -271
- package/template-gx-design-thin/build/vite/plugin/viteMock/index.ts +0 -69
- package/template-gx-design-thin/build/vite/plugin/viteMock/types.ts +0 -48
- package/template-gx-design-thin/build/vite/plugin/viteMock/utils.ts +0 -48
- package/template-gx-design-thin/build/vite/plugin/viteNotice.ts +0 -40
- package/template-gx-design-thin/commitlint.config.cjs +0 -32
- package/template-gx-design-thin/config/default/defaultSettings.ts +0 -78
- package/template-gx-design-thin/config/default/network.ts +0 -10
- package/template-gx-design-thin/config/default/proxy.ts +0 -47
- package/template-gx-design-thin/config/default/theme.ts +0 -3
- package/template-gx-design-thin/config/index.ts +0 -11
- package/template-gx-design-thin/eslint.config.js +0 -51
- package/template-gx-design-thin/index.html +0 -42
- package/template-gx-design-thin/mock/_createProductionServer.ts +0 -19
- package/template-gx-design-thin/mock/_util.ts +0 -33
- package/template-gx-design-thin/mock/config/menu.ts +0 -21
- package/template-gx-design-thin/mock/config/user.ts +0 -123
- package/template-gx-design-thin/mock/datasSource/system/menu.ts +0 -10
- package/template-gx-design-thin/mock/datasSource/user/account.ts +0 -30
- package/template-gx-design-thin/mock/datasSource/user/index.ts +0 -47
- package/template-gx-design-thin/mock/util/crypto.ts +0 -23
- package/template-gx-design-thin/mock/util/table.ts +0 -92
- package/template-gx-design-thin/mock/util/utils.ts +0 -73
- package/template-gx-design-thin/package.json +0 -129
- package/template-gx-design-thin/pnpm-lock.yaml +0 -12575
- package/template-gx-design-thin/prettier.config.cjs +0 -18
- package/template-gx-design-thin/public/resource/css/index.css +0 -119
- package/template-gx-design-thin/public/resource/css/normalize.css +0 -396
- package/template-gx-design-thin/public/resource/img/favicon.ico +0 -0
- package/template-gx-design-thin/public/resource/img/logo.png +0 -0
- package/template-gx-design-thin/public/resource/img/pro_icon.svg +0 -1
- package/template-gx-design-thin/public/resource/img/pwa-192x192.png +0 -0
- package/template-gx-design-thin/public/resource/img/pwa-512x512.png +0 -0
- package/template-gx-design-thin/src/App.vue +0 -42
- package/template-gx-design-thin/src/assets/error_images/403.png +0 -0
- package/template-gx-design-thin/src/assets/error_images/404.png +0 -0
- package/template-gx-design-thin/src/assets/error_images/cloud.png +0 -0
- package/template-gx-design-thin/src/assets/login_images/login_background.svg +0 -1
- package/template-gx-design-thin/src/assets/logo.png +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.css +0 -94
- package/template-gx-design-thin/src/assets/menu_font/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.js +0 -1
- package/template-gx-design-thin/src/assets/menu_font/iconfont.json +0 -142
- package/template-gx-design-thin/src/assets/menu_font/iconfont.svg +0 -1
- package/template-gx-design-thin/src/assets/menu_font/iconfont.ttf +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.woff +0 -0
- package/template-gx-design-thin/src/assets/menu_font/iconfont.woff2 +0 -0
- package/template-gx-design-thin/src/assets/menu_font/index.less +0 -94
- package/template-gx-design-thin/src/assets/public_icon/iconfont.css +0 -42
- package/template-gx-design-thin/src/assets/public_icon/iconfont.eot +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.js +0 -1
- package/template-gx-design-thin/src/assets/public_icon/iconfont.json +0 -51
- package/template-gx-design-thin/src/assets/public_icon/iconfont.svg +0 -1
- package/template-gx-design-thin/src/assets/public_icon/iconfont.ttf +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.woff +0 -0
- package/template-gx-design-thin/src/assets/public_icon/iconfont.woff2 +0 -0
- package/template-gx-design-thin/src/assets/public_icon/index.less +0 -42
- package/template-gx-design-thin/src/assets/public_images/nodata.svg +0 -1
- package/template-gx-design-thin/src/common/global.ts +0 -4
- package/template-gx-design-thin/src/components/GDesign/Result/index.tsx +0 -144
- package/template-gx-design-thin/src/components/GDesign/Result/style.less +0 -140
- package/template-gx-design-thin/src/components/GDesign/utils/index.ts +0 -7
- package/template-gx-design-thin/src/components/GlobalLayout/Confirm/index.ts +0 -21
- package/template-gx-design-thin/src/components/GlobalLayout/Empty/index.vue +0 -18
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/index.tsx +0 -126
- package/template-gx-design-thin/src/components/GlobalLayout/RightContent/style.ts +0 -77
- package/template-gx-design-thin/src/components/GlobalLayout/Spin/index.tsx +0 -30
- package/template-gx-design-thin/src/components/PageLoading/index.tsx +0 -51
- package/template-gx-design-thin/src/components/index.ts +0 -6
- package/template-gx-design-thin/src/core/ant-design/index.ts +0 -10
- package/template-gx-design-thin/src/core/gx-admin-design/index.ts +0 -6
- package/template-gx-design-thin/src/core/gx-design/index.ts +0 -6
- package/template-gx-design-thin/src/core/gx-pro-design/index.ts +0 -8
- package/template-gx-design-thin/src/core/index.ts +0 -84
- package/template-gx-design-thin/src/design/ant-design/index.less +0 -4
- package/template-gx-design-thin/src/design/ant-design/layout.less +0 -22
- package/template-gx-design-thin/src/design/ant-design/menu.less +0 -48
- package/template-gx-design-thin/src/design/ant-design/spin.less +0 -23
- package/template-gx-design-thin/src/design/ant-design/tooltip.less +0 -7
- package/template-gx-design-thin/src/design/color.less +0 -1
- package/template-gx-design-thin/src/design/config.less +0 -5
- package/template-gx-design-thin/src/design/imageEditor.less +0 -180
- package/template-gx-design-thin/src/design/index.less +0 -95
- package/template-gx-design-thin/src/design/mixin.less +0 -65
- package/template-gx-design-thin/src/design/normalize.less +0 -391
- package/template-gx-design-thin/src/design/root.less +0 -3
- package/template-gx-design-thin/src/hooks/core/index.ts +0 -3
- package/template-gx-design-thin/src/hooks/core/useRequest/index.ts +0 -118
- package/template-gx-design-thin/src/hooks/event/index.ts +0 -3
- package/template-gx-design-thin/src/hooks/event/useClipboard.ts +0 -15
- package/template-gx-design-thin/src/hooks/web/index.ts +0 -5
- package/template-gx-design-thin/src/hooks/web/useThemeStyle.ts +0 -16
- package/template-gx-design-thin/src/layout/BasicLayout.vue +0 -123
- package/template-gx-design-thin/src/layout/BlankLayout.vue +0 -5
- package/template-gx-design-thin/src/layout/ContentView.vue +0 -50
- package/template-gx-design-thin/src/layout/IframeView.vue +0 -1
- package/template-gx-design-thin/src/layout/UserLayout.vue +0 -7
- package/template-gx-design-thin/src/main.ts +0 -34
- package/template-gx-design-thin/src/plugins/index.ts +0 -2
- package/template-gx-design-thin/src/router/guard/index.ts +0 -83
- package/template-gx-design-thin/src/router/guard/permissions.ts +0 -70
- package/template-gx-design-thin/src/router/guard/stateGuard.ts +0 -10
- package/template-gx-design-thin/src/router/helper/routeHelper.ts +0 -223
- package/template-gx-design-thin/src/router/helper/utils.ts +0 -19
- package/template-gx-design-thin/src/router/index.ts +0 -31
- package/template-gx-design-thin/src/router/routes/index.ts +0 -86
- package/template-gx-design-thin/src/router/routes/modules/dataSource.ts +0 -12
- package/template-gx-design-thin/src/services/common/index.ts +0 -11
- package/template-gx-design-thin/src/services/systemCenter/index.ts +0 -1
- package/template-gx-design-thin/src/services/systemCenter/menu.ts +0 -9
- package/template-gx-design-thin/src/services/userCenter/account.ts +0 -42
- package/template-gx-design-thin/src/services/userCenter/index.ts +0 -28
- package/template-gx-design-thin/src/store/index.ts +0 -32
- package/template-gx-design-thin/src/store/modules/dict.ts +0 -28
- package/template-gx-design-thin/src/store/modules/global.ts +0 -42
- package/template-gx-design-thin/src/store/modules/permission.ts +0 -19
- package/template-gx-design-thin/src/store/modules/routes.ts +0 -113
- package/template-gx-design-thin/src/store/modules/tabsRouter.ts +0 -76
- package/template-gx-design-thin/src/store/modules/user.ts +0 -136
- package/template-gx-design-thin/src/utils/accessToken.ts +0 -80
- package/template-gx-design-thin/src/utils/crypto/base64.ts +0 -101
- package/template-gx-design-thin/src/utils/crypto/index.ts +0 -57
- package/template-gx-design-thin/src/utils/env.ts +0 -50
- package/template-gx-design-thin/src/utils/fetchFile.ts +0 -81
- package/template-gx-design-thin/src/utils/index.ts +0 -123
- package/template-gx-design-thin/src/utils/pageTitle.ts +0 -20
- package/template-gx-design-thin/src/utils/request/XHR.ts +0 -139
- package/template-gx-design-thin/src/utils/request/axiosCancel.ts +0 -69
- package/template-gx-design-thin/src/utils/request/checkStatus.ts +0 -25
- package/template-gx-design-thin/src/utils/request/index.ts +0 -144
- package/template-gx-design-thin/src/utils/request/typings.ts +0 -171
- package/template-gx-design-thin/src/utils/storage.ts +0 -199
- package/template-gx-design-thin/src/utils/uploadFile.ts +0 -27
- package/template-gx-design-thin/src/utils/util.ts +0 -198
- package/template-gx-design-thin/src/utils/validate.ts +0 -216
- package/template-gx-design-thin/src/views/Iframe/index.vue +0 -76
- package/template-gx-design-thin/src/views/Page/one.vue +0 -13
- package/template-gx-design-thin/src/views/Page/two.vue +0 -13
- package/template-gx-design-thin/src/views/exception/403/index.vue +0 -7
- package/template-gx-design-thin/src/views/exception/404/index.vue +0 -9
- package/template-gx-design-thin/src/views/user/login/index.vue +0 -109
- package/template-gx-design-thin/src/views/user/login/style.less +0 -38
- package/template-gx-design-thin/tsconfig.json +0 -46
- package/template-gx-design-thin/types/ant-design-import.d.ts +0 -99
- package/template-gx-design-thin/types/auto-imports.d.ts +0 -81
- package/template-gx-design-thin/types/components.d.ts +0 -24
- package/template-gx-design-thin/types/config.d.ts +0 -44
- package/template-gx-design-thin/types/global.d.ts +0 -97
- package/template-gx-design-thin/types/mock.d.ts +0 -16
- package/template-gx-design-thin/types/module.d.ts +0 -20
- package/template-gx-design-thin/types/response.d.ts +0 -15
- package/template-gx-design-thin/unocss.config.ts +0 -101
- package/template-gx-design-thin/vite.config.ts +0 -120
- package/template-gx-design-thin/yarn.lock +0 -9492
@@ -1,129 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "gx-pro-admin",
|
3
|
-
"version": "3.0.0",
|
4
|
-
"type": "module",
|
5
|
-
"scripts": {
|
6
|
-
"bootstrap": "pnpm i",
|
7
|
-
"serve": "pnpm run dev",
|
8
|
-
"dev": "pnpm run start:dev",
|
9
|
-
"start:dev": "cross-env VITE_APP_ENV=dev vite",
|
10
|
-
"start:production": "cross-env VITE_APP_ENV=dev vite --mode production",
|
11
|
-
"build": "cross-env vite build",
|
12
|
-
"build:no-cache": "pnpm clean:cache && pnpm run build",
|
13
|
-
"report": "cross-env REPORT=true npm run build",
|
14
|
-
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
15
|
-
"preview": "pnpm run build && vite preview",
|
16
|
-
"preview:dist": "vite preview",
|
17
|
-
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
|
18
|
-
"clean:lib": "rimraf node_modules",
|
19
|
-
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
20
|
-
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
21
|
-
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
22
|
-
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && pnpm run bootstrap"
|
23
|
-
},
|
24
|
-
"dependencies": {
|
25
|
-
"@gx-design-vue/pro-app": "^0.1.0-beta.10",
|
26
|
-
"@gx-design-vue/pro-form": "^0.2.0-beta.18",
|
27
|
-
"@gx-design-vue/pro-hooks": "^0.2.0-beta.19",
|
28
|
-
"@gx-design-vue/pro-layout": "^0.1.0-beta.54",
|
29
|
-
"@gx-design-vue/pro-provider": "^0.1.0-beta.51",
|
30
|
-
"@gx-design-vue/pro-utils": "^0.2.0-beta.27",
|
31
|
-
"@gx-design-vue/pro-watermark": "^0.2.0-beta.6",
|
32
|
-
"@gx-design-vue/scrollbar": "^0.2.0-beta.12",
|
33
|
-
"@vueuse/core": "^10.7.2",
|
34
|
-
"@vueuse/shared": "^10.7.2",
|
35
|
-
"ant-design-vue": "^4.1.2",
|
36
|
-
"axios": "^1.7.2",
|
37
|
-
"crypto-js": "^4.1.1",
|
38
|
-
"dayjs": "^1.11.10",
|
39
|
-
"lodash-es": "^4.17.21",
|
40
|
-
"nprogress": "^0.2.0",
|
41
|
-
"pinia": "^2.1.7",
|
42
|
-
"unocss": "^0.58.5",
|
43
|
-
"vue": "^3.3.7",
|
44
|
-
"vue-router": "^4.4.0",
|
45
|
-
"vue-types": "^5.1.1"
|
46
|
-
},
|
47
|
-
"devDependencies": {
|
48
|
-
"@antfu/eslint-config": "^2.9.0",
|
49
|
-
"@commitlint/cli": "^12.1.4",
|
50
|
-
"@commitlint/config-conventional": "^12.1.4",
|
51
|
-
"@types/fs-extra": "^9.0.13",
|
52
|
-
"@types/jest": "^26.0.24",
|
53
|
-
"@types/lodash-es": "^4.17.10",
|
54
|
-
"@types/mockjs": "^1.0.6",
|
55
|
-
"@types/node": "^20.11.19",
|
56
|
-
"@types/nprogress": "^0.2.0",
|
57
|
-
"@types/qs": "^6.9.7",
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
59
|
-
"@typescript-eslint/parser": "^7.0.1",
|
60
|
-
"@vitejs/plugin-legacy": "^5.4.1",
|
61
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
62
|
-
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
63
|
-
"@vue/compiler-sfc": "3.2.37",
|
64
|
-
"yaml": "^2.0.0",
|
65
|
-
"esbuild": "^0.20.2",
|
66
|
-
"autoprefixer": "^10.4.5",
|
67
|
-
"body-parser": "^1.19.0",
|
68
|
-
"bundle-require": "^4.0.1",
|
69
|
-
"chalk": "^4.1.2",
|
70
|
-
"commitizen": "^4.2.4",
|
71
|
-
"connect": "^3.7.0",
|
72
|
-
"conventional-changelog-cli": "^2.1.1",
|
73
|
-
"cross-env": "^7.0.3",
|
74
|
-
"dotenv": "16.0.1",
|
75
|
-
"eslint": "^8.56.0",
|
76
|
-
"esno": "^0.7.3",
|
77
|
-
"fs-extra": "^10.1.0",
|
78
|
-
"jsdom": "^21.1.0",
|
79
|
-
"less": "^4.1.2",
|
80
|
-
"lint-staged": "12.3.7",
|
81
|
-
"mockjs": "^1.1.0",
|
82
|
-
"path-to-regexp": "^6.2.1",
|
83
|
-
"postcss": "^8.4.35",
|
84
|
-
"postcss-html": "^1.6.0",
|
85
|
-
"postcss-less": "^6.0.0",
|
86
|
-
"prettier": "^3.2.5",
|
87
|
-
"rimraf": "^3.0.2",
|
88
|
-
"rollup-plugin-external-globals": "^0.6.1",
|
89
|
-
"rollup-plugin-visualizer": "^5.12.0",
|
90
|
-
"terser": "^5.14.2",
|
91
|
-
"ts-node": "^10.1.0",
|
92
|
-
"typescript": "^5.3.3",
|
93
|
-
"unplugin-auto-import": "^0.16.7",
|
94
|
-
"unplugin-vue-components": "0.25.2",
|
95
|
-
"vite": "^5.1.4",
|
96
|
-
"vite-plugin-compression": "0.5.1",
|
97
|
-
"vite-plugin-html": "^3.2.2",
|
98
|
-
"vite-plugin-pwa": "^0.19.0",
|
99
|
-
"vite-plugin-vue-devtools": "^7.3.4",
|
100
|
-
"vite-plugin-vue-setup-extend": "0.4.0",
|
101
|
-
"vue-eslint-parser": "^9.4.2",
|
102
|
-
"vue-tsc": "^1.8.27"
|
103
|
-
},
|
104
|
-
"license": "MIT",
|
105
|
-
"lint-staged": {
|
106
|
-
"*.{js,jsx,ts,tsx}": [
|
107
|
-
"eslint --fix",
|
108
|
-
"prettier --write"
|
109
|
-
],
|
110
|
-
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
111
|
-
"prettier --write--parser json"
|
112
|
-
],
|
113
|
-
"package.json": [
|
114
|
-
"prettier --write"
|
115
|
-
],
|
116
|
-
"*.vue": [
|
117
|
-
"eslint --fix",
|
118
|
-
"prettier --write",
|
119
|
-
"stylelint --fix"
|
120
|
-
],
|
121
|
-
"*.{scss,less,styl,html}": [
|
122
|
-
"stylelint --fix",
|
123
|
-
"prettier --write"
|
124
|
-
],
|
125
|
-
"*.md": [
|
126
|
-
"prettier --write"
|
127
|
-
]
|
128
|
-
}
|
129
|
-
}
|