@gx-design-vue/create-gx-cli 0.1.21 → 0.1.22
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/package.json +1 -1
- package/template-vite-project/internal/vite/vite/plugin/autoImport.ts +2 -9
- package/template-vite-project/node_modules/.bin/lessc +2 -2
- package/template-vite-project/node_modules/.bin/rollup +4 -4
- package/template-vite-project/node_modules/.bin/vite +2 -2
- package/template-vite-project/package.json +3 -3
package/package.json
CHANGED
@@ -1,14 +1,8 @@
|
|
1
1
|
import autoImport from 'unplugin-auto-import/vite'
|
2
2
|
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers'
|
3
3
|
import Components from 'unplugin-vue-components/vite'
|
4
|
-
import { defaultSettings } from '../../../../config'
|
5
|
-
|
6
|
-
const importsModules: any[] = [ 'vue', 'vue-router' ]
|
7
|
-
|
8
|
-
const { modules = [], use } = defaultSettings.cdn
|
9
4
|
|
10
5
|
export function createAutoImport() {
|
11
|
-
const useCdnModules = use && modules.some(el => importsModules.includes(el.name))
|
12
6
|
return [
|
13
7
|
autoImport({
|
14
8
|
include: [
|
@@ -16,9 +10,8 @@ export function createAutoImport() {
|
|
16
10
|
/\.vue$/, /\.vue\?vue/, // .vue
|
17
11
|
/\.md$/ // .md
|
18
12
|
],
|
19
|
-
imports:
|
20
|
-
dts: 'types/auto-imports.d.ts'
|
21
|
-
dirs: [ 'src/store' ]
|
13
|
+
imports: [ 'vue', 'vue-router' ],
|
14
|
+
dts: 'types/auto-imports.d.ts'
|
22
15
|
}),
|
23
16
|
Components({
|
24
17
|
resolvers: [ AntDesignVueResolver({ importStyle: false, resolveIcons: true }) ],
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
10
10
|
esac
|
11
11
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
13
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.
|
13
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules/less/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules/less/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules"
|
14
14
|
else
|
15
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.
|
15
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules/less/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules/less/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/less@4.4.1/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules:$NODE_PATH"
|
16
16
|
fi
|
17
17
|
if [ -x "$basedir/node" ]; then
|
18
18
|
exec "$basedir/node" "$basedir/../less/bin/lessc" "$@"
|
@@ -10,12 +10,12 @@ case `uname` in
|
|
10
10
|
esac
|
11
11
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
13
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.
|
13
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules"
|
14
14
|
else
|
15
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.
|
15
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/rollup@4.46.4/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules:$NODE_PATH"
|
16
16
|
fi
|
17
17
|
if [ -x "$basedir/node" ]; then
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/rollup@4.46.
|
18
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/bin/rollup" "$@"
|
19
19
|
else
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/rollup@4.46.
|
20
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/rollup@4.46.4/node_modules/rollup/dist/bin/rollup" "$@"
|
21
21
|
fi
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
10
10
|
esac
|
11
11
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
13
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.
|
13
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules/vite/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules/vite/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules"
|
14
14
|
else
|
15
|
-
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.
|
15
|
+
export NODE_PATH="/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules/vite/bin/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules/vite/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/vite@7.1.3_@types+node@24.3.0_jiti@2.5.1_less@4.4.1_lightningcss@1.30.1_terser@5.43.1_yaml@2.8.1/node_modules:/Users/gaoxiang/Documents/工作/工作项目/gx12358/vue/github/pro-components-vue-v2/node_modules/.pnpm/node_modules:$NODE_PATH"
|
16
16
|
fi
|
17
17
|
if [ -x "$basedir/node" ]; then
|
18
18
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
@@ -9,12 +9,12 @@
|
|
9
9
|
"preview": "vite preview"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"@gx-design-vue/pro-hooks": "
|
13
|
-
"@gx-design-vue/pro-utils": "
|
12
|
+
"@gx-design-vue/pro-hooks": "latest",
|
13
|
+
"@gx-design-vue/pro-utils": "latest",
|
14
14
|
"@vueuse/core": "^13.5.0",
|
15
15
|
"@vueuse/motion": "^3.0.3",
|
16
16
|
"@vueuse/shared": "^13.5.0",
|
17
|
-
"ant-design-vue": "
|
17
|
+
"ant-design-vue": "latest",
|
18
18
|
"dayjs": "^1.11.13",
|
19
19
|
"lodash-es": "^4.17.21",
|
20
20
|
"unocss": "^66.4.2",
|