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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.45.0",
3
+ "version": "1.45.2",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -28,7 +28,6 @@
28
28
  "chalk": "5.3.0",
29
29
  "commander": "8.1.0",
30
30
  "fs-extra": "10.0.0",
31
- "lodash": "4.17.21",
32
31
  "ora": "8.1.0"
33
32
  },
34
33
  "devDependencies": {
@@ -1,3 +1,2 @@
1
- PUBLIC_ENV_MODE=production
2
1
  PUBLIC_BASE_URL=/
3
2
  PUBLIC_API_HOST=/
@@ -1,3 +1,2 @@
1
- PUBLIC_ENV_MODE=development
2
1
  PUBLIC_BASE_URL=/dev
3
2
  PUBLIC_API_HOST=/api
@@ -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
- readonly PUBLIC_ENV_MODE: 'production' | 'development'
7
- }
8
-
9
- interface ImportMeta {
10
- readonly env: ImportMetaEnv
11
- }
12
-
13
- declare module '*.svg' {
14
- const content: string
15
- export default content
16
- }
17
-
18
- declare module '*.svg?react' {
19
- const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
20
- export default ReactComponent
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.37.2",
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.2.19",
41
+ "@rsbuild/core": "1.4.12",
42
42
  "@rsbuild/plugin-eslint": "1.1.1",
43
- "@rsbuild/plugin-react": "1.1.1",
44
- "@rsbuild/plugin-svgr": "1.0.7",
45
- "@rsbuild/plugin-type-check": "1.2.1",
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,8 +1,9 @@
1
1
  module.exports = {
2
2
  plugins: {
3
3
  'postcss-import': {},
4
+ 'postcss-nesting': {},
4
5
  autoprefixer: {},
5
- "@tailwindcss/postcss": {},
6
+ '@tailwindcss/postcss': {},
6
7
  ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
7
8
  }
8
9
  }
@@ -21,7 +21,7 @@
21
21
  "@tanstack/react-query": "5.51.15",
22
22
  "axios": "1.7.9",
23
23
  "define-zustand": "3.4.0",
24
- "es-toolkit": "1.37.2",
24
+ "es-toolkit": "1.39.8",
25
25
  "immer": "10.0.1",
26
26
  "qs": "6.11.2",
27
27
  "react": "18.3.1",
@@ -1,7 +1,8 @@
1
- module.exports = {
2
- plugins: {
3
- 'postcss-import': {},
4
- autoprefixer: {},
5
- ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
6
- }
7
- }
1
+ module.exports = {
2
+ plugins: {
3
+ 'postcss-import': {},
4
+ 'postcss-nesting': {},
5
+ autoprefixer: {},
6
+ ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
7
+ }
8
+ }
@@ -50,7 +50,7 @@
50
50
  "vite-plugin-checker": "0.9.0"
51
51
  },
52
52
  "dependencies": {
53
- "es-toolkit": "1.37.2",
53
+ "es-toolkit": "1.39.8",
54
54
  "svelte": "5.16.0"
55
55
  }
56
56
  }
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "axios": "1.7.9",
23
- "es-toolkit": "1.37.2",
23
+ "es-toolkit": "1.39.8",
24
24
  "pinia": "2.3.1",
25
25
  "tailwindcss": "4.1.4",
26
26
  "type-fest": "4.33.0",
@@ -1,7 +1,8 @@
1
- module.exports = {
2
- plugins: {
3
- 'postcss-import': {},
4
- autoprefixer: {},
5
- ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
6
- }
7
- }
1
+ module.exports = {
2
+ plugins: {
3
+ 'postcss-import': {},
4
+ 'postcss-nesting': {},
5
+ autoprefixer: {},
6
+ ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
7
+ }
8
+ }
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "axios": "1.7.9",
24
- "es-toolkit": "1.37.2",
24
+ "es-toolkit": "1.39.8",
25
25
  "pinia": "2.3.1",
26
26
  "tailwindcss": "4.1.4",
27
27
  "type-fest": "4.33.0",
@@ -1,8 +1,9 @@
1
- module.exports = {
2
- plugins: {
3
- 'postcss-import': {},
4
- "@tailwindcss/postcss": {},
5
- autoprefixer: {},
6
- ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
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
+ }
@@ -3,7 +3,6 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Vite + React + TS</title>
7
6
  </head>
8
7
  <body>
9
8
  <div id="root"></div>
@@ -29,7 +29,7 @@
29
29
  "@webext-core/messaging": "2.2.0",
30
30
  "axios": "1.7.9",
31
31
  "define-zustand": "3.4.0",
32
- "es-toolkit": "1.37.2",
32
+ "es-toolkit": "1.39.8",
33
33
  "immer": "10.0.1",
34
34
  "qs": "6.11.2",
35
35
  "react": "18.3.1",
@@ -1,7 +1,8 @@
1
- module.exports = {
2
- plugins: {
3
- 'postcss-import': {},
4
- autoprefixer: {},
5
- ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
6
- }
7
- }
1
+ module.exports = {
2
+ plugins: {
3
+ 'postcss-import': {},
4
+ 'postcss-nesting': {},
5
+ autoprefixer: {},
6
+ ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
7
+ }
8
+ }