create-soybean 1.4.1 → 1.4.2-beta.1
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/dist/{index.js → index.mjs} +0 -0
- package/package.json +2 -2
- package/template-pnpm-monorepo/package.json +6 -6
- package/template-pnpm-monorepo/packages/demo-pkg/package.json +2 -2
- package/template-tsdown/package.json +11 -11
- package/template-vue/.vscode/settings.json +14 -5
- package/template-vue/package.json +21 -21
- package/template-vue/src/layouts/base/index.vue +0 -2
- package/template-vue/src/layouts/blank/index.vue +0 -2
- package/template-vue/src/plugins/assets.ts +1 -0
- package/template-vue/src/typings/components.d.ts +2 -2
- package/template-vue/src/views/(builtin)/403.vue +0 -2
- package/template-vue/src/views/(builtin)/404.vue +0 -2
- package/template-vue/src/views/(builtin)/login/index.vue +0 -2
- package/template-vue/src/views/(builtin)/wip.vue +0 -2
- package/template-vue/src/views/home/child.vue +0 -2
- package/template-vue/src/views/home/child2.vue +0 -2
- package/template-vue/src/views/list/[id].vue +0 -2
- package/template-vue/src/views/list/add.vue +0 -2
- package/template-vue/src/views/list/components/search-list.vue +0 -2
- package/template-vue/src/views/list/detail2-[[id]]-[[userId]].vue +0 -2
- package/template-vue/src/views/list/detail_[id]_[userId].vue +0 -2
- package/template-vue/src/views/list/edit_[id].vue +0 -2
- package/template-vue/src/views/list/index.vue +0 -2
- package/template-vue/src/views/list/modules/list-table.vue +0 -2
- package/template-vue/tsconfig.base.json +0 -1
- package/template-vue/tsconfig.json +1 -1
- package/template-vue/uno.config.ts +5 -11
- package/template-vue/vite.config.ts +2 -4
- package/template-vue-tsdown/package.json +15 -15
- package/template-vue-tsdown/src/demo-pkg.vue +0 -2
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-soybean",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.1",
|
|
4
|
+
"version": "1.4.2-beta.1",
|
|
5
5
|
"description": "SoybeanJS's command line to create different project templates",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/minimist": "1.2.5",
|
|
37
37
|
"@types/prompts": "2.4.9",
|
|
38
|
-
"tsdown": "0.
|
|
38
|
+
"tsdown": "0.18.2",
|
|
39
39
|
"typescript": "5.9.3"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.26.2",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"cleanup": "soy cleanup",
|
|
9
9
|
"commit": "soy git-commit",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@soybeanjs/cli": "1.4.1",
|
|
19
|
-
"@soybeanjs/eslint-config": "1.7.
|
|
20
|
-
"eslint": "9.
|
|
21
|
-
"lint-staged": "16.2.
|
|
18
|
+
"@soybeanjs/cli": "1.4.2-beta.1",
|
|
19
|
+
"@soybeanjs/eslint-config": "1.7.5",
|
|
20
|
+
"eslint": "9.39.2",
|
|
21
|
+
"lint-staged": "16.2.7",
|
|
22
22
|
"simple-git-hooks": "2.13.1",
|
|
23
|
-
"tsx": "4.
|
|
23
|
+
"tsx": "4.21.0",
|
|
24
24
|
"typescript": "5.9.3"
|
|
25
25
|
},
|
|
26
26
|
"simple-git-hooks": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.26.2",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
9
9
|
},
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"cli-progress": "3.12.0",
|
|
36
36
|
"consola": "3.4.2",
|
|
37
|
-
"dayjs": "1.11.
|
|
38
|
-
"execa": "9.6.
|
|
37
|
+
"dayjs": "1.11.19",
|
|
38
|
+
"execa": "9.6.1",
|
|
39
39
|
"kolorist": "1.8.0",
|
|
40
|
-
"ofetch": "1.5.
|
|
40
|
+
"ofetch": "1.5.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@soybeanjs/cli": "1.4.1",
|
|
44
|
-
"@soybeanjs/eslint-config": "1.7.
|
|
43
|
+
"@soybeanjs/cli": "1.4.2-beta.1",
|
|
44
|
+
"@soybeanjs/eslint-config": "1.7.5",
|
|
45
45
|
"@types/cli-progress": "3.11.6",
|
|
46
|
-
"@types/node": "
|
|
47
|
-
"eslint": "9.
|
|
48
|
-
"lint-staged": "16.2.
|
|
46
|
+
"@types/node": "25.0.3",
|
|
47
|
+
"eslint": "9.39.2",
|
|
48
|
+
"lint-staged": "16.2.7",
|
|
49
49
|
"simple-git-hooks": "2.13.1",
|
|
50
|
-
"tsdown": "0.
|
|
51
|
-
"tsx": "4.
|
|
50
|
+
"tsdown": "0.18.2",
|
|
51
|
+
"tsx": "4.21.0",
|
|
52
52
|
"typescript": "5.9.3"
|
|
53
53
|
},
|
|
54
54
|
"simple-git-hooks": {
|
|
@@ -4,9 +4,18 @@
|
|
|
4
4
|
"source.organizeImports": "never"
|
|
5
5
|
},
|
|
6
6
|
"editor.formatOnSave": false,
|
|
7
|
-
"eslint.validate": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
"eslint.validate": [
|
|
8
|
+
"html",
|
|
9
|
+
"css",
|
|
10
|
+
"scss",
|
|
11
|
+
"json",
|
|
12
|
+
"jsonc",
|
|
13
|
+
"javascript",
|
|
14
|
+
"javascriptreact",
|
|
15
|
+
"typescript",
|
|
16
|
+
"typescriptreact",
|
|
17
|
+
"vue",
|
|
18
|
+
"markdown"
|
|
19
|
+
],
|
|
20
|
+
"prettier.enable": false
|
|
12
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.26.2",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "pnpm typecheck && pnpm build-only",
|
|
9
9
|
"build-only": "vite build",
|
|
@@ -17,33 +17,33 @@
|
|
|
17
17
|
"update-pkg": "soy ncu"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@
|
|
20
|
+
"@soybeanjs/ui": "0.0.7",
|
|
21
|
+
"@unocss/reset": "66.5.10",
|
|
21
22
|
"klona": "2.0.6",
|
|
22
|
-
"pinia": "3.0.
|
|
23
|
-
"
|
|
24
|
-
"vue": "
|
|
25
|
-
"vue-router": "4.6.3"
|
|
23
|
+
"pinia": "3.0.4",
|
|
24
|
+
"vue": "3.5.26",
|
|
25
|
+
"vue-router": "4.6.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@soybeanjs/
|
|
30
|
-
"@soybeanjs/
|
|
31
|
-
"@types/node": "
|
|
32
|
-
"@unocss/eslint-config": "66.5.
|
|
33
|
-
"@vitejs/plugin-vue": "6.0.
|
|
34
|
-
"@vitejs/plugin-vue-jsx": "5.1.
|
|
35
|
-
"elegant-router": "1.0
|
|
36
|
-
"eslint": "9.
|
|
37
|
-
"eslint-plugin-vue": "10.
|
|
38
|
-
"lint-staged": "16.2.
|
|
28
|
+
"@soybeanjs/cli": "1.4.2-beta.1",
|
|
29
|
+
"@soybeanjs/eslint-config": "1.7.5",
|
|
30
|
+
"@soybeanjs/unocss-preset": "0.1.7",
|
|
31
|
+
"@types/node": "25.0.3",
|
|
32
|
+
"@unocss/eslint-config": "66.5.10",
|
|
33
|
+
"@vitejs/plugin-vue": "6.0.3",
|
|
34
|
+
"@vitejs/plugin-vue-jsx": "5.1.2",
|
|
35
|
+
"elegant-router": "1.1.0",
|
|
36
|
+
"eslint": "9.39.2",
|
|
37
|
+
"eslint-plugin-vue": "10.6.2",
|
|
38
|
+
"lint-staged": "16.2.7",
|
|
39
39
|
"simple-git-hooks": "2.13.1",
|
|
40
40
|
"typescript": "5.9.3",
|
|
41
|
-
"unocss": "66.5.
|
|
41
|
+
"unocss": "66.5.10",
|
|
42
42
|
"unplugin-vue-components": "30.0.0",
|
|
43
|
-
"vite": "7.
|
|
44
|
-
"vite-plugin-vue-devtools": "8.0.
|
|
43
|
+
"vite": "7.3.0",
|
|
44
|
+
"vite-plugin-vue-devtools": "8.0.5",
|
|
45
45
|
"vue-eslint-parser": "10.2.0",
|
|
46
|
-
"vue-tsc": "3.1
|
|
46
|
+
"vue-tsc": "3.2.1"
|
|
47
47
|
},
|
|
48
48
|
"simple-git-hooks": {
|
|
49
49
|
"commit-msg": "pnpm soy git-commit-verify",
|
|
@@ -11,7 +11,7 @@ declare module 'vue' {
|
|
|
11
11
|
HelloWorld: typeof import('./../components/HelloWorld.vue')['default']
|
|
12
12
|
RouterLink: typeof import('vue-router')['RouterLink']
|
|
13
13
|
RouterView: typeof import('vue-router')['RouterView']
|
|
14
|
-
SButton: typeof import('
|
|
15
|
-
SCard: typeof import('
|
|
14
|
+
SButton: typeof import('@soybeanjs/ui')['SButton']
|
|
15
|
+
SCard: typeof import('@soybeanjs/ui')['SCard']
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { defineConfig, presetWind3, transformerDirectives, transformerVariantGroup } from 'unocss';
|
|
2
|
-
import
|
|
3
|
-
import { presetSoybeanUI } from '@soybean-ui/unocss-preset';
|
|
1
|
+
import { defineConfig, presetTypography, presetWind3, transformerDirectives, transformerVariantGroup } from 'unocss';
|
|
2
|
+
import { presetSoybeanJS } from '@soybeanjs/unocss-preset';
|
|
4
3
|
|
|
5
|
-
export default defineConfig
|
|
4
|
+
export default defineConfig({
|
|
6
5
|
content: {
|
|
7
6
|
pipeline: {
|
|
8
|
-
include: [/\.vue($|\?)
|
|
7
|
+
include: [/\.vue($|\?)/]
|
|
9
8
|
}
|
|
10
9
|
},
|
|
11
10
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
|
12
|
-
presets: [
|
|
13
|
-
presetWind3({ dark: 'class' }),
|
|
14
|
-
presetSoybeanUI({
|
|
15
|
-
color: 'default'
|
|
16
|
-
})
|
|
17
|
-
]
|
|
11
|
+
presets: [presetWind3({ dark: 'class' }), presetTypography(), presetSoybeanJS()]
|
|
18
12
|
});
|
|
@@ -2,10 +2,9 @@ import { URL, fileURLToPath } from 'node:url';
|
|
|
2
2
|
import { defineConfig } from 'vite';
|
|
3
3
|
import Vue from '@vitejs/plugin-vue';
|
|
4
4
|
import VueJsx from '@vitejs/plugin-vue-jsx';
|
|
5
|
-
import
|
|
5
|
+
import UiResolver from '@soybeanjs/ui/resolver';
|
|
6
6
|
import Unocss from 'unocss/vite';
|
|
7
7
|
import Components from 'unplugin-vue-components/vite';
|
|
8
|
-
import SoybeanUIResolver from 'soy-ui/resolver';
|
|
9
8
|
import ElegantRouter from 'elegant-router/vite';
|
|
10
9
|
|
|
11
10
|
export default defineConfig({
|
|
@@ -17,12 +16,11 @@ export default defineConfig({
|
|
|
17
16
|
plugins: [
|
|
18
17
|
Vue(),
|
|
19
18
|
VueJsx(),
|
|
20
|
-
VueDevtools(),
|
|
21
19
|
Unocss(),
|
|
22
20
|
Components({
|
|
23
21
|
dts: 'src/typings/components.d.ts',
|
|
24
22
|
types: [{ from: 'vue-router', names: ['RouterLink', 'RouterView'] }],
|
|
25
|
-
resolvers: [
|
|
23
|
+
resolvers: [UiResolver()]
|
|
26
24
|
}),
|
|
27
25
|
ElegantRouter(),
|
|
28
26
|
]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.26.2",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
9
9
|
},
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@soybeanjs/cli": "1.4.1",
|
|
39
|
-
"@soybeanjs/eslint-config": "1.7.
|
|
40
|
-
"@types/node": "
|
|
38
|
+
"@soybeanjs/cli": "1.4.2-beta.1",
|
|
39
|
+
"@soybeanjs/eslint-config": "1.7.5",
|
|
40
|
+
"@types/node": "25.0.3",
|
|
41
41
|
"@vue/test-utils": "2.4.6",
|
|
42
|
-
"eslint": "9.
|
|
43
|
-
"eslint-plugin-vue": "10.
|
|
44
|
-
"happy-dom": "20.0.
|
|
45
|
-
"lint-staged": "16.2.
|
|
42
|
+
"eslint": "9.39.2",
|
|
43
|
+
"eslint-plugin-vue": "10.6.2",
|
|
44
|
+
"happy-dom": "20.0.11",
|
|
45
|
+
"lint-staged": "16.2.7",
|
|
46
46
|
"simple-git-hooks": "2.13.1",
|
|
47
|
-
"tsdown": "0.
|
|
48
|
-
"tsx": "4.
|
|
47
|
+
"tsdown": "0.18.2",
|
|
48
|
+
"tsx": "4.21.0",
|
|
49
49
|
"typescript": "5.9.3",
|
|
50
|
-
"unplugin-vue": "7.0
|
|
50
|
+
"unplugin-vue": "7.1.0",
|
|
51
51
|
"unplugin-vue-jsx": "0.8.1",
|
|
52
|
-
"vite": "7.
|
|
53
|
-
"vitest": "4.0.
|
|
54
|
-
"vue": "3.5.
|
|
52
|
+
"vite": "7.3.0",
|
|
53
|
+
"vitest": "4.0.16",
|
|
54
|
+
"vue": "3.5.26",
|
|
55
55
|
"vue-eslint-parser": "10.2.0",
|
|
56
|
-
"vue-tsc": "3.1
|
|
56
|
+
"vue-tsc": "3.2.1"
|
|
57
57
|
},
|
|
58
58
|
"simple-git-hooks": {
|
|
59
59
|
"commit-msg": "pnpm soy git-commit-verify",
|