create-packer 1.47.0 → 1.47.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/package.json +1 -1
- package/template/electron-react/package.json +97 -97
- package/template/electron-vue/package.json +87 -87
- package/template/web-app/react-rsbuild/main.tsx +1 -3
- package/template/web-app/react-rsbuild/package.json +79 -79
- package/template/web-app/react-rsbuild/shared/styles/theme.ts +0 -10
- package/template/web-app/react-vite/main.tsx +1 -3
- package/template/web-app/react-vite/package.json +78 -78
- package/template/web-app/react-vite/shared/styles/theme.ts +0 -10
- package/template/web-app/vue/.stylelintrc +2 -2
- package/template/web-app/vue/domain/components/createComponentInstance.ts +1 -1
- package/template/web-app/vue/package.json +71 -71
- package/template/web-app/vue/pages/home/view.vue +2 -0
- package/template/web-app/vue/vite.config.ts +2 -2
- package/template/web-app/vue-rsbuild/.stylelintrc +2 -2
- package/template/web-app/vue-rsbuild/domain/components/createComponentInstance.ts +1 -1
- package/template/web-app/vue-rsbuild/package.json +73 -73
- package/template/web-app/vue-rsbuild/pages/home/view.vue +2 -0
- package/template/web-extension/package.json +86 -86
- package/template/web-extension/shared/styles/theme.ts +0 -10
package/package.json
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "renderer",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"main": "dist/main/main.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky",
|
|
8
|
-
"start": "electron .",
|
|
9
|
-
"dev": "pnpm clean && concurrently \"pnpm dev:preload\" \"pnpm dev:renderer\" \"pnpm dev:main\"",
|
|
10
|
-
"dev:renderer": "rsbuild dev -c ./configs/rsbuild.renderer.config.ts",
|
|
11
|
-
"dev:preload": "rsbuild dev -c ./configs/rsbuild.preload.config.ts",
|
|
12
|
-
"dev:main": "rsbuild dev -c ./configs/rsbuild.main.config.ts",
|
|
13
|
-
"build": "pnpm clean && pnpm build:preload && pnpm build:renderer && pnpm build:main",
|
|
14
|
-
"build:renderer": "rsbuild build -c ./configs/rsbuild.renderer.config.ts",
|
|
15
|
-
"build:preload": "rsbuild build -c ./configs/rsbuild.preload.config.ts",
|
|
16
|
-
"build:main": "rsbuild build -c ./configs/rsbuild.main.config.ts",
|
|
17
|
-
"build:analyse": "rsbuild build --env-mode analyse",
|
|
18
|
-
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
19
|
-
"package": "rimraf build && electron-builder -c ./build.config.js",
|
|
20
|
-
"clean": "rimraf dist",
|
|
21
|
-
"preview": "rsbuild preview",
|
|
22
|
-
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
23
|
-
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
24
|
-
"lint": "tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less,ts,tsx}",
|
|
25
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less,ts,tsx} --fix",
|
|
26
|
-
"cz": "cz",
|
|
27
|
-
"push": "npm run commit && git push",
|
|
28
|
-
"commit": "git add . && npm run cz",
|
|
29
|
-
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@emotion/react": "11.14.0",
|
|
33
|
-
"@emotion/styled": "11.14.1",
|
|
34
|
-
"@tanstack/react-query": "5.51.15",
|
|
35
|
-
"axios": "1.7.9",
|
|
36
|
-
"define-zustand": "3.4.0",
|
|
37
|
-
"electron-debug": "^4.1.0",
|
|
38
|
-
"es-toolkit": "1.
|
|
39
|
-
"immer": "10.0.1",
|
|
40
|
-
"qs": "6.11.2",
|
|
41
|
-
"react": "18.3.1",
|
|
42
|
-
"react-dom": "18.3.1",
|
|
43
|
-
"react-router": "7.5.0",
|
|
44
|
-
"react-use": "17.5.0",
|
|
45
|
-
"type-fest": "4.33.0",
|
|
46
|
-
"zustand": "5.0.3"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@commitlint/cli": "17.6.1",
|
|
50
|
-
"@commitlint/config-conventional": "17.6.1",
|
|
51
|
-
"@commitlint/cz-commitlint": "17.5.0",
|
|
52
|
-
"@eslint/js": "9.15.0",
|
|
53
|
-
"@faker-js/faker": "8.4.1",
|
|
54
|
-
"@rsbuild/core": "1.
|
|
55
|
-
"@rsbuild/plugin-eslint": "1.
|
|
56
|
-
"@rsbuild/plugin-react": "1.4.
|
|
57
|
-
"@rsbuild/plugin-svgr": "1.2.
|
|
58
|
-
"@rsbuild/plugin-type-check": "1.2
|
|
59
|
-
"@rsdoctor/rspack-plugin": "1.
|
|
60
|
-
"@types/mockjs": "1.0.10",
|
|
61
|
-
"@types/qs": "6.9.7",
|
|
62
|
-
"@types/react": "18.3.3",
|
|
63
|
-
"@types/react-dom": "18.3.0",
|
|
64
|
-
"autoprefixer": "10.4.14",
|
|
65
|
-
"commitizen": "4.3.0",
|
|
66
|
-
"concurrently": "9.2.1",
|
|
67
|
-
"cross-env": "7.0.3",
|
|
68
|
-
"cssnano": "6.0.0",
|
|
69
|
-
"electron": "38.1.2",
|
|
70
|
-
"electron-builder": "^26.0.12",
|
|
71
|
-
"eslint": "9.17.0",
|
|
72
|
-
"eslint-import-resolver-typescript": "3.7.0",
|
|
73
|
-
"eslint-plugin-import": "2.31.0",
|
|
74
|
-
"eslint-plugin-react": "7.37.2",
|
|
75
|
-
"eslint-plugin-react-hooks": "5.1.0",
|
|
76
|
-
"globals": "15.12.0",
|
|
77
|
-
"husky": "9.1.6",
|
|
78
|
-
"inquirer": "8.1.2",
|
|
79
|
-
"postcss": "8.4.38",
|
|
80
|
-
"postcss-html": "1.8.0",
|
|
81
|
-
"postcss-import": "16.1.0",
|
|
82
|
-
"postcss-nesting": "12.1.1",
|
|
83
|
-
"prettier": "3.2.5",
|
|
84
|
-
"rimraf": "6.0.1",
|
|
85
|
-
"rollup-plugin-visualizer": "5.12.0",
|
|
86
|
-
"stylelint": "16.10.0",
|
|
87
|
-
"stylelint-config-standard-scss": "13.1.0",
|
|
88
|
-
"stylelint-webpack-plugin": "5.0.0",
|
|
89
|
-
"typescript": "5.8.2",
|
|
90
|
-
"typescript-eslint": "8.15.0"
|
|
91
|
-
},
|
|
92
|
-
"config": {
|
|
93
|
-
"commitizen": {
|
|
94
|
-
"path": "@commitlint/cz-commitlint"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "renderer",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"main": "dist/main/main.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky",
|
|
8
|
+
"start": "electron .",
|
|
9
|
+
"dev": "pnpm clean && concurrently \"pnpm dev:preload\" \"pnpm dev:renderer\" \"pnpm dev:main\"",
|
|
10
|
+
"dev:renderer": "rsbuild dev -c ./configs/rsbuild.renderer.config.ts",
|
|
11
|
+
"dev:preload": "rsbuild dev -c ./configs/rsbuild.preload.config.ts",
|
|
12
|
+
"dev:main": "rsbuild dev -c ./configs/rsbuild.main.config.ts",
|
|
13
|
+
"build": "pnpm clean && pnpm build:preload && pnpm build:renderer && pnpm build:main",
|
|
14
|
+
"build:renderer": "rsbuild build -c ./configs/rsbuild.renderer.config.ts",
|
|
15
|
+
"build:preload": "rsbuild build -c ./configs/rsbuild.preload.config.ts",
|
|
16
|
+
"build:main": "rsbuild build -c ./configs/rsbuild.main.config.ts",
|
|
17
|
+
"build:analyse": "rsbuild build --env-mode analyse",
|
|
18
|
+
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
19
|
+
"package": "rimraf build && electron-builder -c ./build.config.js",
|
|
20
|
+
"clean": "rimraf dist",
|
|
21
|
+
"preview": "rsbuild preview",
|
|
22
|
+
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
23
|
+
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
24
|
+
"lint": "tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less,ts,tsx}",
|
|
25
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less,ts,tsx} --fix",
|
|
26
|
+
"cz": "cz",
|
|
27
|
+
"push": "npm run commit && git push",
|
|
28
|
+
"commit": "git add . && npm run cz",
|
|
29
|
+
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@emotion/react": "11.14.0",
|
|
33
|
+
"@emotion/styled": "11.14.1",
|
|
34
|
+
"@tanstack/react-query": "5.51.15",
|
|
35
|
+
"axios": "1.7.9",
|
|
36
|
+
"define-zustand": "3.4.0",
|
|
37
|
+
"electron-debug": "^4.1.0",
|
|
38
|
+
"es-toolkit": "1.43.0",
|
|
39
|
+
"immer": "10.0.1",
|
|
40
|
+
"qs": "6.11.2",
|
|
41
|
+
"react": "18.3.1",
|
|
42
|
+
"react-dom": "18.3.1",
|
|
43
|
+
"react-router": "7.5.0",
|
|
44
|
+
"react-use": "17.5.0",
|
|
45
|
+
"type-fest": "4.33.0",
|
|
46
|
+
"zustand": "5.0.3"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@commitlint/cli": "17.6.1",
|
|
50
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
51
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
52
|
+
"@eslint/js": "9.15.0",
|
|
53
|
+
"@faker-js/faker": "8.4.1",
|
|
54
|
+
"@rsbuild/core": "1.6.15",
|
|
55
|
+
"@rsbuild/plugin-eslint": "1.2.0",
|
|
56
|
+
"@rsbuild/plugin-react": "1.4.2",
|
|
57
|
+
"@rsbuild/plugin-svgr": "1.2.3",
|
|
58
|
+
"@rsbuild/plugin-type-check": "1.3.2",
|
|
59
|
+
"@rsdoctor/rspack-plugin": "1.4.0",
|
|
60
|
+
"@types/mockjs": "1.0.10",
|
|
61
|
+
"@types/qs": "6.9.7",
|
|
62
|
+
"@types/react": "18.3.3",
|
|
63
|
+
"@types/react-dom": "18.3.0",
|
|
64
|
+
"autoprefixer": "10.4.14",
|
|
65
|
+
"commitizen": "4.3.0",
|
|
66
|
+
"concurrently": "9.2.1",
|
|
67
|
+
"cross-env": "7.0.3",
|
|
68
|
+
"cssnano": "6.0.0",
|
|
69
|
+
"electron": "38.1.2",
|
|
70
|
+
"electron-builder": "^26.0.12",
|
|
71
|
+
"eslint": "9.17.0",
|
|
72
|
+
"eslint-import-resolver-typescript": "3.7.0",
|
|
73
|
+
"eslint-plugin-import": "2.31.0",
|
|
74
|
+
"eslint-plugin-react": "7.37.2",
|
|
75
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
76
|
+
"globals": "15.12.0",
|
|
77
|
+
"husky": "9.1.6",
|
|
78
|
+
"inquirer": "8.1.2",
|
|
79
|
+
"postcss": "8.4.38",
|
|
80
|
+
"postcss-html": "1.8.0",
|
|
81
|
+
"postcss-import": "16.1.0",
|
|
82
|
+
"postcss-nesting": "12.1.1",
|
|
83
|
+
"prettier": "3.2.5",
|
|
84
|
+
"rimraf": "6.0.1",
|
|
85
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
86
|
+
"stylelint": "16.10.0",
|
|
87
|
+
"stylelint-config-standard-scss": "13.1.0",
|
|
88
|
+
"stylelint-webpack-plugin": "5.0.0",
|
|
89
|
+
"typescript": "5.8.2",
|
|
90
|
+
"typescript-eslint": "8.15.0"
|
|
91
|
+
},
|
|
92
|
+
"config": {
|
|
93
|
+
"commitizen": {
|
|
94
|
+
"path": "@commitlint/cz-commitlint"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "renderer",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"main": "dist/main/main.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky",
|
|
8
|
-
"start": "electron .",
|
|
9
|
-
"dev": "pnpm clean && concurrently \"pnpm dev:preload\" \"pnpm dev:renderer\" \"pnpm dev:main\"",
|
|
10
|
-
"dev:renderer": "rsbuild dev -c ./configs/rsbuild.renderer.config.ts",
|
|
11
|
-
"dev:preload": "rsbuild dev -c ./configs/rsbuild.preload.config.ts",
|
|
12
|
-
"dev:main": "rsbuild dev -c ./configs/rsbuild.main.config.ts",
|
|
13
|
-
"build": "pnpm clean && pnpm build:preload && pnpm build:renderer && pnpm build:main",
|
|
14
|
-
"build:renderer": "rsbuild build -c ./configs/rsbuild.renderer.config.ts",
|
|
15
|
-
"build:preload": "rsbuild build -c ./configs/rsbuild.preload.config.ts",
|
|
16
|
-
"build:main": "rsbuild build -c ./configs/rsbuild.main.config.ts",
|
|
17
|
-
"build:analyse": "rsbuild build --env-mode analyse",
|
|
18
|
-
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
19
|
-
"package": "rimraf build && electron-builder -c ./build.config.js",
|
|
20
|
-
"clean": "rimraf dist",
|
|
21
|
-
"preview": "rsbuild preview",
|
|
22
|
-
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
23
|
-
"format": "prettier -- \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
24
|
-
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
25
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
26
|
-
"cz": "cz",
|
|
27
|
-
"push": "npm run commit && git push",
|
|
28
|
-
"commit": "git add . && npm run cz",
|
|
29
|
-
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"axios": "1.7.9",
|
|
33
|
-
"electron-debug": "4.1.0",
|
|
34
|
-
"es-toolkit": "1.
|
|
35
|
-
"pinia": "3.0.3",
|
|
36
|
-
"tailwindcss": "4.1.4",
|
|
37
|
-
"type-fest": "4.33.0",
|
|
38
|
-
"vue": "3.5.20",
|
|
39
|
-
"vue-router": "4.5.1"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@commitlint/cli": "17.6.1",
|
|
43
|
-
"@commitlint/config-conventional": "17.6.1",
|
|
44
|
-
"@commitlint/cz-commitlint": "17.5.0",
|
|
45
|
-
"@eslint/js": "9.15.0",
|
|
46
|
-
"@faker-js/faker": "8.4.1",
|
|
47
|
-
"@rsbuild/core": "1.
|
|
48
|
-
"@rsbuild/plugin-eslint": "1.
|
|
49
|
-
"@rsbuild/plugin-type-check": "1.2
|
|
50
|
-
"@rsbuild/plugin-vue": "1.
|
|
51
|
-
"@rsdoctor/rspack-plugin": "1.
|
|
52
|
-
"@tailwindcss/postcss": "4.1.4",
|
|
53
|
-
"@types/mockjs": "1.0.10",
|
|
54
|
-
"autoprefixer": "10.4.14",
|
|
55
|
-
"commitizen": "4.3.0",
|
|
56
|
-
"concurrently": "9.2.1",
|
|
57
|
-
"cross-env": "7.0.3",
|
|
58
|
-
"cssnano": "6.0.0",
|
|
59
|
-
"electron": "38.1.2",
|
|
60
|
-
"electron-builder": "26.0.12",
|
|
61
|
-
"eslint": "9.17.0",
|
|
62
|
-
"eslint-import-resolver-typescript": "3.7.0",
|
|
63
|
-
"eslint-plugin-import": "2.31.0",
|
|
64
|
-
"eslint-plugin-vue": "9.32.0",
|
|
65
|
-
"globals": "15.12.0",
|
|
66
|
-
"husky": "9.1.6",
|
|
67
|
-
"inquirer": "8.1.2",
|
|
68
|
-
"postcss": "8.4.38",
|
|
69
|
-
"postcss-html": "1.8.0",
|
|
70
|
-
"postcss-import": "16.1.0",
|
|
71
|
-
"postcss-nesting": "12.1.1",
|
|
72
|
-
"prettier": "3.2.5",
|
|
73
|
-
"rimraf": "6.0.1",
|
|
74
|
-
"rollup-plugin-visualizer": "5.12.0",
|
|
75
|
-
"stylelint": "16.10.0",
|
|
76
|
-
"stylelint-config-standard-scss": "13.1.0",
|
|
77
|
-
"stylelint-webpack-plugin": "5.0.0",
|
|
78
|
-
"typescript": "5.8.2",
|
|
79
|
-
"typescript-eslint": "8.15.0",
|
|
80
|
-
"vue-tsc": "3.0.6"
|
|
81
|
-
},
|
|
82
|
-
"config": {
|
|
83
|
-
"commitizen": {
|
|
84
|
-
"path": "@commitlint/cz-commitlint"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "renderer",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"main": "dist/main/main.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky",
|
|
8
|
+
"start": "electron .",
|
|
9
|
+
"dev": "pnpm clean && concurrently \"pnpm dev:preload\" \"pnpm dev:renderer\" \"pnpm dev:main\"",
|
|
10
|
+
"dev:renderer": "rsbuild dev -c ./configs/rsbuild.renderer.config.ts",
|
|
11
|
+
"dev:preload": "rsbuild dev -c ./configs/rsbuild.preload.config.ts",
|
|
12
|
+
"dev:main": "rsbuild dev -c ./configs/rsbuild.main.config.ts",
|
|
13
|
+
"build": "pnpm clean && pnpm build:preload && pnpm build:renderer && pnpm build:main",
|
|
14
|
+
"build:renderer": "rsbuild build -c ./configs/rsbuild.renderer.config.ts",
|
|
15
|
+
"build:preload": "rsbuild build -c ./configs/rsbuild.preload.config.ts",
|
|
16
|
+
"build:main": "rsbuild build -c ./configs/rsbuild.main.config.ts",
|
|
17
|
+
"build:analyse": "rsbuild build --env-mode analyse",
|
|
18
|
+
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
19
|
+
"package": "rimraf build && electron-builder -c ./build.config.js",
|
|
20
|
+
"clean": "rimraf dist",
|
|
21
|
+
"preview": "rsbuild preview",
|
|
22
|
+
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
23
|
+
"format": "prettier -- \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
24
|
+
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
25
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
26
|
+
"cz": "cz",
|
|
27
|
+
"push": "npm run commit && git push",
|
|
28
|
+
"commit": "git add . && npm run cz",
|
|
29
|
+
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"axios": "1.7.9",
|
|
33
|
+
"electron-debug": "4.1.0",
|
|
34
|
+
"es-toolkit": "1.43.0",
|
|
35
|
+
"pinia": "3.0.3",
|
|
36
|
+
"tailwindcss": "4.1.4",
|
|
37
|
+
"type-fest": "4.33.0",
|
|
38
|
+
"vue": "3.5.20",
|
|
39
|
+
"vue-router": "4.5.1"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@commitlint/cli": "17.6.1",
|
|
43
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
44
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
45
|
+
"@eslint/js": "9.15.0",
|
|
46
|
+
"@faker-js/faker": "8.4.1",
|
|
47
|
+
"@rsbuild/core": "1.6.15",
|
|
48
|
+
"@rsbuild/plugin-eslint": "1.2.0",
|
|
49
|
+
"@rsbuild/plugin-type-check": "1.3.2",
|
|
50
|
+
"@rsbuild/plugin-vue": "1.2.2",
|
|
51
|
+
"@rsdoctor/rspack-plugin": "1.4.0",
|
|
52
|
+
"@tailwindcss/postcss": "4.1.4",
|
|
53
|
+
"@types/mockjs": "1.0.10",
|
|
54
|
+
"autoprefixer": "10.4.14",
|
|
55
|
+
"commitizen": "4.3.0",
|
|
56
|
+
"concurrently": "9.2.1",
|
|
57
|
+
"cross-env": "7.0.3",
|
|
58
|
+
"cssnano": "6.0.0",
|
|
59
|
+
"electron": "38.1.2",
|
|
60
|
+
"electron-builder": "26.0.12",
|
|
61
|
+
"eslint": "9.17.0",
|
|
62
|
+
"eslint-import-resolver-typescript": "3.7.0",
|
|
63
|
+
"eslint-plugin-import": "2.31.0",
|
|
64
|
+
"eslint-plugin-vue": "9.32.0",
|
|
65
|
+
"globals": "15.12.0",
|
|
66
|
+
"husky": "9.1.6",
|
|
67
|
+
"inquirer": "8.1.2",
|
|
68
|
+
"postcss": "8.4.38",
|
|
69
|
+
"postcss-html": "1.8.0",
|
|
70
|
+
"postcss-import": "16.1.0",
|
|
71
|
+
"postcss-nesting": "12.1.1",
|
|
72
|
+
"prettier": "3.2.5",
|
|
73
|
+
"rimraf": "6.0.1",
|
|
74
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
75
|
+
"stylelint": "16.10.0",
|
|
76
|
+
"stylelint-config-standard-scss": "13.1.0",
|
|
77
|
+
"stylelint-webpack-plugin": "5.0.0",
|
|
78
|
+
"typescript": "5.8.2",
|
|
79
|
+
"typescript-eslint": "8.15.0",
|
|
80
|
+
"vue-tsc": "3.0.6"
|
|
81
|
+
},
|
|
82
|
+
"config": {
|
|
83
|
+
"commitizen": {
|
|
84
|
+
"path": "@commitlint/cz-commitlint"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { createRoot } from 'react-dom/client'
|
|
2
2
|
import { App } from '@/domain/components'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|
|
6
|
-
}
|
|
4
|
+
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-rsbuild",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky",
|
|
8
|
-
"dev": "rsbuild dev",
|
|
9
|
-
"build": "rsbuild build",
|
|
10
|
-
"build:analyse": "rsbuild build --env-mode analyse",
|
|
11
|
-
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
12
|
-
"preview": "rsbuild preview",
|
|
13
|
-
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
14
|
-
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
-
"lint": "tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less,ts,tsx}",
|
|
16
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less,ts,tsx} --fix",
|
|
17
|
-
"cz": "cz",
|
|
18
|
-
"push": "npm run commit && git push",
|
|
19
|
-
"commit": "git add . && npm run cz"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@emotion/react": "11.14.0",
|
|
23
|
-
"@emotion/styled": "11.14.1",
|
|
24
|
-
"@tanstack/react-query": "5.51.15",
|
|
25
|
-
"axios": "1.7.9",
|
|
26
|
-
"define-zustand": "3.4.0",
|
|
27
|
-
"es-toolkit": "1.
|
|
28
|
-
"immer": "10.0.1",
|
|
29
|
-
"qs": "6.11.2",
|
|
30
|
-
"react": "18.3.1",
|
|
31
|
-
"react-dom": "18.3.1",
|
|
32
|
-
"react-router": "7.5.0",
|
|
33
|
-
"react-use": "17.5.0",
|
|
34
|
-
"type-fest": "4.33.0",
|
|
35
|
-
"zustand": "5.0.3"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@commitlint/cli": "17.6.1",
|
|
39
|
-
"@commitlint/config-conventional": "17.6.1",
|
|
40
|
-
"@commitlint/cz-commitlint": "17.5.0",
|
|
41
|
-
"@eslint/js": "9.15.0",
|
|
42
|
-
"@rsbuild/core": "1.
|
|
43
|
-
"@rsbuild/plugin-eslint": "1.
|
|
44
|
-
"@rsbuild/plugin-react": "1.4.
|
|
45
|
-
"@rsbuild/plugin-svgr": "1.2.
|
|
46
|
-
"@rsbuild/plugin-type-check": "1.2
|
|
47
|
-
"@rsdoctor/rspack-plugin": "1.
|
|
48
|
-
"@swc/plugin-emotion": "11.1.0",
|
|
49
|
-
"@types/node": "18.16.0",
|
|
50
|
-
"@types/qs": "6.9.7",
|
|
51
|
-
"@types/react": "18.3.3",
|
|
52
|
-
"@types/react-dom": "18.3.0",
|
|
53
|
-
"autoprefixer": "10.4.14",
|
|
54
|
-
"commitizen": "4.3.0",
|
|
55
|
-
"cross-env": "7.0.3",
|
|
56
|
-
"cssnano": "6.0.0",
|
|
57
|
-
"eslint": "9.17.0",
|
|
58
|
-
"eslint-import-resolver-typescript": "3.7.0",
|
|
59
|
-
"eslint-plugin-import": "2.31.0",
|
|
60
|
-
"eslint-plugin-react": "7.37.2",
|
|
61
|
-
"eslint-plugin-react-hooks": "5.1.0",
|
|
62
|
-
"globals": "15.12.0",
|
|
63
|
-
"husky": "9.1.6",
|
|
64
|
-
"postcss": "8.4.35",
|
|
65
|
-
"postcss-import": "16.0.1",
|
|
66
|
-
"postcss-nesting": "12.0.3",
|
|
67
|
-
"postcss-styled-syntax": "0.6.4",
|
|
68
|
-
"prettier": "3.2.5",
|
|
69
|
-
"stylelint": "16.10.0",
|
|
70
|
-
"stylelint-config-standard": "36.0.1",
|
|
71
|
-
"stylelint-webpack-plugin": "5.0.0",
|
|
72
|
-
"typescript": "5.8.2"
|
|
73
|
-
},
|
|
74
|
-
"config": {
|
|
75
|
-
"commitizen": {
|
|
76
|
-
"path": "@commitlint/cz-commitlint"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "react-rsbuild",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky",
|
|
8
|
+
"dev": "rsbuild dev",
|
|
9
|
+
"build": "rsbuild build",
|
|
10
|
+
"build:analyse": "rsbuild build --env-mode analyse",
|
|
11
|
+
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
12
|
+
"preview": "rsbuild preview",
|
|
13
|
+
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
14
|
+
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
+
"lint": "tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less,ts,tsx}",
|
|
16
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less,ts,tsx} --fix",
|
|
17
|
+
"cz": "cz",
|
|
18
|
+
"push": "npm run commit && git push",
|
|
19
|
+
"commit": "git add . && npm run cz"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@emotion/react": "11.14.0",
|
|
23
|
+
"@emotion/styled": "11.14.1",
|
|
24
|
+
"@tanstack/react-query": "5.51.15",
|
|
25
|
+
"axios": "1.7.9",
|
|
26
|
+
"define-zustand": "3.4.0",
|
|
27
|
+
"es-toolkit": "1.43.0",
|
|
28
|
+
"immer": "10.0.1",
|
|
29
|
+
"qs": "6.11.2",
|
|
30
|
+
"react": "18.3.1",
|
|
31
|
+
"react-dom": "18.3.1",
|
|
32
|
+
"react-router": "7.5.0",
|
|
33
|
+
"react-use": "17.5.0",
|
|
34
|
+
"type-fest": "4.33.0",
|
|
35
|
+
"zustand": "5.0.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@commitlint/cli": "17.6.1",
|
|
39
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
40
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
41
|
+
"@eslint/js": "9.15.0",
|
|
42
|
+
"@rsbuild/core": "1.6.15",
|
|
43
|
+
"@rsbuild/plugin-eslint": "1.2.0",
|
|
44
|
+
"@rsbuild/plugin-react": "1.4.2",
|
|
45
|
+
"@rsbuild/plugin-svgr": "1.2.3",
|
|
46
|
+
"@rsbuild/plugin-type-check": "1.3.2",
|
|
47
|
+
"@rsdoctor/rspack-plugin": "1.4.0",
|
|
48
|
+
"@swc/plugin-emotion": "11.1.0",
|
|
49
|
+
"@types/node": "18.16.0",
|
|
50
|
+
"@types/qs": "6.9.7",
|
|
51
|
+
"@types/react": "18.3.3",
|
|
52
|
+
"@types/react-dom": "18.3.0",
|
|
53
|
+
"autoprefixer": "10.4.14",
|
|
54
|
+
"commitizen": "4.3.0",
|
|
55
|
+
"cross-env": "7.0.3",
|
|
56
|
+
"cssnano": "6.0.0",
|
|
57
|
+
"eslint": "9.17.0",
|
|
58
|
+
"eslint-import-resolver-typescript": "3.7.0",
|
|
59
|
+
"eslint-plugin-import": "2.31.0",
|
|
60
|
+
"eslint-plugin-react": "7.37.2",
|
|
61
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
62
|
+
"globals": "15.12.0",
|
|
63
|
+
"husky": "9.1.6",
|
|
64
|
+
"postcss": "8.4.35",
|
|
65
|
+
"postcss-import": "16.0.1",
|
|
66
|
+
"postcss-nesting": "12.0.3",
|
|
67
|
+
"postcss-styled-syntax": "0.6.4",
|
|
68
|
+
"prettier": "3.2.5",
|
|
69
|
+
"stylelint": "16.10.0",
|
|
70
|
+
"stylelint-config-standard": "36.0.1",
|
|
71
|
+
"stylelint-webpack-plugin": "5.0.0",
|
|
72
|
+
"typescript": "5.8.2"
|
|
73
|
+
},
|
|
74
|
+
"config": {
|
|
75
|
+
"commitizen": {
|
|
76
|
+
"path": "@commitlint/cz-commitlint"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -3,16 +3,6 @@ import { isString } from 'es-toolkit'
|
|
|
3
3
|
import { isNumber } from 'es-toolkit/compat'
|
|
4
4
|
|
|
5
5
|
export const theme = {
|
|
6
|
-
text: {
|
|
7
|
-
xs: { fontSize: '12px', lineHeight: '20px' },
|
|
8
|
-
sm: { fontSize: '14px', lineHeight: '22px' },
|
|
9
|
-
base: { fontSize: '16px', lineHeight: '24px' },
|
|
10
|
-
lg: { fontSize: '18px', lineHeight: '26px' },
|
|
11
|
-
xl: { fontSize: '20px', lineHeight: '28px' },
|
|
12
|
-
'2xl': { fontSize: '24px', lineHeight: '32px' },
|
|
13
|
-
'3xl': { fontSize: '28px', lineHeight: '40px' },
|
|
14
|
-
'4xl': { fontSize: '32px', lineHeight: '44px' }
|
|
15
|
-
} satisfies Record<string, CSSProperties>,
|
|
16
6
|
tools: {
|
|
17
7
|
ellipsis: () => ({
|
|
18
8
|
overflow: 'hidden',
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { createRoot } from 'react-dom/client'
|
|
2
2
|
import { App } from '@/domain/components'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|
|
6
|
-
}
|
|
4
|
+
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|