create-packer 1.45.0 → 1.45.2
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/cli/package.json +0 -1
- package/template/web-app/react-rsbuild/.env +0 -1
- package/template/web-app/react-rsbuild/.env.development +0 -1
- package/template/web-app/react-rsbuild/env.d.ts +20 -21
- package/template/web-app/react-rsbuild/package.json +6 -5
- package/template/web-app/react-rsbuild/postcss.config.cjs +2 -1
- package/template/web-app/react-vite/package.json +1 -1
- package/template/web-app/react-vite/postcss.config.cjs +8 -7
- package/template/web-app/svelte/package.json +1 -1
- package/template/web-app/vue/package.json +1 -1
- package/template/web-app/vue/postcss.config.cjs +8 -7
- package/template/web-app/vue-rsbuild/package.json +1 -1
- package/template/web-app/vue-rsbuild/postcss.config.cjs +9 -8
- package/template/web-extension/entrypoints/popup/index.html +0 -1
- package/template/web-extension/package.json +1 -1
- package/template/web-extension/postcss.config.cjs +8 -7
package/package.json
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
/// <reference types="@rsbuild/core/types" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly PUBLIC_BASE_URL: string
|
|
5
|
-
readonly PUBLIC_API_HOST: string
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
1
|
+
/// <reference types="@rsbuild/core/types" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly PUBLIC_BASE_URL: string
|
|
5
|
+
readonly PUBLIC_API_HOST: string
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface ImportMeta {
|
|
9
|
+
readonly env: ImportMetaEnv
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.svg' {
|
|
13
|
+
const content: string
|
|
14
|
+
export default content
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare module '*.svg?react' {
|
|
18
|
+
const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
|
|
19
|
+
export default ReactComponent
|
|
20
|
+
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@tanstack/react-query": "5.51.15",
|
|
23
23
|
"axios": "1.7.9",
|
|
24
24
|
"define-zustand": "3.4.0",
|
|
25
|
-
"es-toolkit": "1.
|
|
25
|
+
"es-toolkit": "1.39.8",
|
|
26
26
|
"immer": "10.0.1",
|
|
27
27
|
"qs": "6.11.2",
|
|
28
28
|
"react": "18.3.1",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@commitlint/config-conventional": "17.6.1",
|
|
39
39
|
"@commitlint/cz-commitlint": "17.5.0",
|
|
40
40
|
"@eslint/js": "9.15.0",
|
|
41
|
-
"@rsbuild/core": "1.
|
|
41
|
+
"@rsbuild/core": "1.4.12",
|
|
42
42
|
"@rsbuild/plugin-eslint": "1.1.1",
|
|
43
|
-
"@rsbuild/plugin-react": "1.
|
|
44
|
-
"@rsbuild/plugin-svgr": "1.
|
|
45
|
-
"@rsbuild/plugin-type-check": "1.2.
|
|
43
|
+
"@rsbuild/plugin-react": "1.3.4",
|
|
44
|
+
"@rsbuild/plugin-svgr": "1.2.1",
|
|
45
|
+
"@rsbuild/plugin-type-check": "1.2.3",
|
|
46
46
|
"@rsdoctor/rspack-plugin": "0.4.13",
|
|
47
47
|
"@tailwindcss/postcss": "4.1.4",
|
|
48
48
|
"@types/node": "18.16.0",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"postcss": "8.4.35",
|
|
64
64
|
"postcss-import": "16.0.1",
|
|
65
65
|
"postcss-nesting": "12.0.3",
|
|
66
|
+
"postcss-styled-syntax": "0.6.4",
|
|
66
67
|
"prettier": "3.2.5",
|
|
67
68
|
"stylelint": "16.10.0",
|
|
68
69
|
"stylelint-config-standard": "36.0.1",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: {
|
|
3
|
-
'postcss-import': {},
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: {
|
|
3
|
+
'postcss-import': {},
|
|
4
|
+
'postcss-nesting': {},
|
|
5
|
+
autoprefixer: {},
|
|
6
|
+
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: {
|
|
3
|
-
'postcss-import': {},
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: {
|
|
3
|
+
'postcss-import': {},
|
|
4
|
+
'postcss-nesting': {},
|
|
5
|
+
autoprefixer: {},
|
|
6
|
+
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: {
|
|
3
|
-
'postcss-import': {},
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: {
|
|
3
|
+
'postcss-import': {},
|
|
4
|
+
'@tailwindcss/postcss': {},
|
|
5
|
+
'postcss-nesting': {},
|
|
6
|
+
autoprefixer: {},
|
|
7
|
+
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: {
|
|
3
|
-
'postcss-import': {},
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: {
|
|
3
|
+
'postcss-import': {},
|
|
4
|
+
'postcss-nesting': {},
|
|
5
|
+
autoprefixer: {},
|
|
6
|
+
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
|
|
7
|
+
}
|
|
8
|
+
}
|