create-packer 1.41.2 → 1.41.4
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/web-app/react-rsbuild/env.d.ts +28 -28
- package/template/web-app/react-rsbuild/main.tsx +4 -4
- package/template/web-app/react-rsbuild/package.json +1 -0
- package/template/web-app/react-rsbuild/rsbuild.config.ts +3 -0
- package/template/web-app/react-vite/package.json +1 -0
- package/template/web-app/vue/package.json +71 -70
- package/template/web-app/vue-rsbuild/package.json +73 -72
- package/template/web-app/vue-rsbuild/rsbuild.config.ts +3 -0
- package/template/web-extension/package.json +1 -0
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/// <reference types="@rsbuild/core/types" />
|
|
2
|
-
import 'styled-components'
|
|
3
|
-
import { themeType } from './shared/theme'
|
|
4
|
-
|
|
5
|
-
declare module 'styled-components' {
|
|
6
|
-
export interface DefaultTheme extends themeType {}
|
|
7
|
-
}
|
|
8
|
-
declare global {
|
|
9
|
-
interface ImportMetaEnv {
|
|
10
|
-
// import.meta.env.PUBLIC_FOO
|
|
11
|
-
readonly PUBLIC_BASE_URL: string
|
|
12
|
-
readonly PUBLIC_API_HOST: string
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface ImportMeta {
|
|
16
|
-
readonly env: ImportMetaEnv
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare module '*.svg' {
|
|
20
|
-
const content: string
|
|
21
|
-
export default content
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.svg?react' {
|
|
25
|
-
const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
|
|
26
|
-
export default ReactComponent
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
/// <reference types="@rsbuild/core/types" />
|
|
2
|
+
import 'styled-components'
|
|
3
|
+
import { themeType } from './shared/theme'
|
|
4
|
+
|
|
5
|
+
declare module 'styled-components' {
|
|
6
|
+
export interface DefaultTheme extends themeType {}
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface ImportMetaEnv {
|
|
10
|
+
// import.meta.env.PUBLIC_FOO
|
|
11
|
+
readonly PUBLIC_BASE_URL: string
|
|
12
|
+
readonly PUBLIC_API_HOST: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ImportMeta {
|
|
16
|
+
readonly env: ImportMetaEnv
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare module '*.svg' {
|
|
20
|
+
const content: string
|
|
21
|
+
export default content
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare module '*.svg?react' {
|
|
25
|
+
const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
|
|
26
|
+
export default ReactComponent
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createRoot } from 'react-dom/client'
|
|
2
|
-
import { App } from '@/domain/app'
|
|
3
|
-
|
|
4
|
-
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|
|
1
|
+
import { createRoot } from 'react-dom/client'
|
|
2
|
+
import { App } from '@/domain/app'
|
|
3
|
+
|
|
4
|
+
createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
|
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue-vite",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky install",
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
10
|
-
"build:analyse": "tsc --noEmit && vite build --mode analyse",
|
|
11
|
-
"preview": "vite preview",
|
|
12
|
-
"format": "prettier --write \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
13
|
-
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
14
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
15
|
-
"cz": "cz",
|
|
16
|
-
"push": "npm run commit && git push",
|
|
17
|
-
"commit": "git add . && npm run cz",
|
|
18
|
-
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@tanstack/vue-query": "5.51.15",
|
|
22
|
-
"axios": "1.7.9",
|
|
23
|
-
"lodash-es": "4.17.21",
|
|
24
|
-
"pinia": "2.3.1",
|
|
25
|
-
"
|
|
26
|
-
"vue
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"@commitlint/
|
|
31
|
-
"@commitlint/
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@types/
|
|
36
|
-
"@
|
|
37
|
-
"@vitejs/plugin-vue
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"eslint
|
|
43
|
-
"eslint-
|
|
44
|
-
"eslint-plugin-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"postcss
|
|
50
|
-
"postcss-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"stylelint
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"typescript
|
|
58
|
-
"
|
|
59
|
-
"vite
|
|
60
|
-
"vite-plugin-
|
|
61
|
-
"vite-plugin-
|
|
62
|
-
"vite-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-vite",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky install",
|
|
8
|
+
"dev": "vite",
|
|
9
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
10
|
+
"build:analyse": "tsc --noEmit && vite build --mode analyse",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"format": "prettier --write \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
13
|
+
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
14
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
15
|
+
"cz": "cz",
|
|
16
|
+
"push": "npm run commit && git push",
|
|
17
|
+
"commit": "git add . && npm run cz",
|
|
18
|
+
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@tanstack/vue-query": "5.51.15",
|
|
22
|
+
"axios": "1.7.9",
|
|
23
|
+
"lodash-es": "4.17.21",
|
|
24
|
+
"pinia": "2.3.1",
|
|
25
|
+
"type-fest": "4.33.0",
|
|
26
|
+
"vue": "3.5.13",
|
|
27
|
+
"vue-router": "4.5.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@commitlint/cli": "17.6.1",
|
|
31
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
32
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
33
|
+
"@eslint/js": "9.15.0",
|
|
34
|
+
"@faker-js/faker": "8.4.1",
|
|
35
|
+
"@types/lodash-es": "4.17.12",
|
|
36
|
+
"@types/mockjs": "1.0.10",
|
|
37
|
+
"@vitejs/plugin-vue": "5.2.1",
|
|
38
|
+
"@vitejs/plugin-vue-jsx": "4.1.1",
|
|
39
|
+
"autoprefixer": "10.4.14",
|
|
40
|
+
"commitizen": "4.3.0",
|
|
41
|
+
"cssnano": "6.0.0",
|
|
42
|
+
"eslint": "9.17.0",
|
|
43
|
+
"eslint-import-resolver-typescript": "3.7.0",
|
|
44
|
+
"eslint-plugin-import": "2.31.0",
|
|
45
|
+
"eslint-plugin-vue": "9.32.0",
|
|
46
|
+
"globals": "15.12.0",
|
|
47
|
+
"husky": "9.1.6",
|
|
48
|
+
"inquirer": "8.1.2",
|
|
49
|
+
"postcss": "8.4.38",
|
|
50
|
+
"postcss-import": "16.1.0",
|
|
51
|
+
"postcss-nesting": "12.1.1",
|
|
52
|
+
"prettier": "3.2.5",
|
|
53
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
54
|
+
"stylelint": "16.10.0",
|
|
55
|
+
"stylelint-config-standard-scss": "13.1.0",
|
|
56
|
+
"tailwindcss": "3.4.3",
|
|
57
|
+
"typescript": "5.7.2",
|
|
58
|
+
"typescript-eslint": "8.15.0",
|
|
59
|
+
"vite": "6.0.7",
|
|
60
|
+
"vite-plugin-checker": "0.8.0",
|
|
61
|
+
"vite-plugin-mock-dev-server": "1.8.3",
|
|
62
|
+
"vite-plugin-stylelint": "6.0.0",
|
|
63
|
+
"vite-svg-loader": "5.1.0",
|
|
64
|
+
"vue-tsc": "2.2.0"
|
|
65
|
+
},
|
|
66
|
+
"config": {
|
|
67
|
+
"commitizen": {
|
|
68
|
+
"path": "@commitlint/cz-commitlint"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,72 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue-vite",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky install",
|
|
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 \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
-
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
16
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
17
|
-
"cz": "cz",
|
|
18
|
-
"push": "npm run commit && git push",
|
|
19
|
-
"commit": "git add . && npm run cz",
|
|
20
|
-
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@tanstack/vue-query": "5.51.15",
|
|
24
|
-
"axios": "1.7.9",
|
|
25
|
-
"lodash-es": "4.17.21",
|
|
26
|
-
"pinia": "2.3.1",
|
|
27
|
-
"
|
|
28
|
-
"vue
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"@commitlint/
|
|
33
|
-
"@commitlint/
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@rsbuild/
|
|
38
|
-
"@rsbuild/plugin-
|
|
39
|
-
"@rsbuild/plugin-
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@types/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"eslint
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"postcss
|
|
56
|
-
"postcss-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"stylelint
|
|
61
|
-
"stylelint-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"typescript
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-vite",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky install",
|
|
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 \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
+
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
16
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
17
|
+
"cz": "cz",
|
|
18
|
+
"push": "npm run commit && git push",
|
|
19
|
+
"commit": "git add . && npm run cz",
|
|
20
|
+
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@tanstack/vue-query": "5.51.15",
|
|
24
|
+
"axios": "1.7.9",
|
|
25
|
+
"lodash-es": "4.17.21",
|
|
26
|
+
"pinia": "2.3.1",
|
|
27
|
+
"type-fest": "4.33.0",
|
|
28
|
+
"vue": "3.5.13",
|
|
29
|
+
"vue-router": "4.5.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@commitlint/cli": "17.6.1",
|
|
33
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
34
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
35
|
+
"@eslint/js": "9.15.0",
|
|
36
|
+
"@faker-js/faker": "8.4.1",
|
|
37
|
+
"@rsbuild/core": "1.2.2",
|
|
38
|
+
"@rsbuild/plugin-eslint": "1.1.0",
|
|
39
|
+
"@rsbuild/plugin-styled-components": "1.2.0",
|
|
40
|
+
"@rsbuild/plugin-type-check": "1.2.1",
|
|
41
|
+
"@rsbuild/plugin-vue": "1.0.5",
|
|
42
|
+
"@rsdoctor/rspack-plugin": "0.4.13",
|
|
43
|
+
"@types/lodash-es": "4.17.12",
|
|
44
|
+
"@types/mockjs": "1.0.10",
|
|
45
|
+
"autoprefixer": "10.4.14",
|
|
46
|
+
"commitizen": "4.3.0",
|
|
47
|
+
"cssnano": "6.0.0",
|
|
48
|
+
"eslint": "9.17.0",
|
|
49
|
+
"eslint-import-resolver-typescript": "3.7.0",
|
|
50
|
+
"eslint-plugin-import": "2.31.0",
|
|
51
|
+
"eslint-plugin-vue": "9.32.0",
|
|
52
|
+
"globals": "15.12.0",
|
|
53
|
+
"husky": "9.1.6",
|
|
54
|
+
"inquirer": "8.1.2",
|
|
55
|
+
"postcss": "8.4.38",
|
|
56
|
+
"postcss-import": "16.1.0",
|
|
57
|
+
"postcss-nesting": "12.1.1",
|
|
58
|
+
"prettier": "3.2.5",
|
|
59
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
60
|
+
"stylelint": "16.10.0",
|
|
61
|
+
"stylelint-config-standard-scss": "13.1.0",
|
|
62
|
+
"stylelint-webpack-plugin": "5.0.0",
|
|
63
|
+
"tailwindcss": "3.4.3",
|
|
64
|
+
"typescript": "5.7.2",
|
|
65
|
+
"typescript-eslint": "8.15.0",
|
|
66
|
+
"vue-tsc": "2.2.0"
|
|
67
|
+
},
|
|
68
|
+
"config": {
|
|
69
|
+
"commitizen": {
|
|
70
|
+
"path": "@commitlint/cz-commitlint"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|