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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.41.2",
3
+ "version": "1.41.4",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -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 />)
@@ -31,6 +31,7 @@
31
31
  "react-router-dom": "6.14.0",
32
32
  "react-use": "17.5.0",
33
33
  "styled-components": "6.1.11",
34
+ "type-fest": "4.33.0",
34
35
  "zustand": "4.4.1"
35
36
  },
36
37
  "devDependencies": {
@@ -31,6 +31,9 @@ export default defineConfig(({ envMode, command }) => {
31
31
  },
32
32
  cleanDistPath: true
33
33
  },
34
+ dev: {
35
+ progressBar: true
36
+ },
34
37
  tools: {
35
38
  rspack: {
36
39
  plugins: [
@@ -29,6 +29,7 @@
29
29
  "react-router-dom": "6.14.0",
30
30
  "react-use": "17.5.0",
31
31
  "styled-components": "6.1.11",
32
+ "type-fest": "4.33.0",
32
33
  "zustand": "4.4.1"
33
34
  },
34
35
  "devDependencies": {
@@ -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
- "vue": "3.5.13",
26
- "vue-router": "4.5.0"
27
- },
28
- "devDependencies": {
29
- "@commitlint/cli": "17.6.1",
30
- "@commitlint/config-conventional": "17.6.1",
31
- "@commitlint/cz-commitlint": "17.5.0",
32
- "@eslint/js": "9.15.0",
33
- "@faker-js/faker": "8.4.1",
34
- "@types/lodash-es": "4.17.12",
35
- "@types/mockjs": "1.0.10",
36
- "@vitejs/plugin-vue": "5.2.1",
37
- "@vitejs/plugin-vue-jsx": "4.1.1",
38
- "autoprefixer": "10.4.14",
39
- "commitizen": "4.3.0",
40
- "cssnano": "6.0.0",
41
- "eslint": "9.17.0",
42
- "eslint-import-resolver-typescript": "3.7.0",
43
- "eslint-plugin-import": "2.31.0",
44
- "eslint-plugin-vue": "9.32.0",
45
- "globals": "15.12.0",
46
- "husky": "9.1.6",
47
- "inquirer": "8.1.2",
48
- "postcss": "8.4.38",
49
- "postcss-import": "16.1.0",
50
- "postcss-nesting": "12.1.1",
51
- "prettier": "3.2.5",
52
- "rollup-plugin-visualizer": "5.12.0",
53
- "stylelint": "16.10.0",
54
- "stylelint-config-standard-scss": "13.1.0",
55
- "tailwindcss": "3.4.3",
56
- "typescript": "5.7.2",
57
- "typescript-eslint": "8.15.0",
58
- "vite": "6.0.7",
59
- "vite-plugin-checker": "0.8.0",
60
- "vite-plugin-mock-dev-server": "1.8.3",
61
- "vite-plugin-stylelint": "6.0.0",
62
- "vite-svg-loader": "5.1.0",
63
- "vue-tsc": "2.2.0"
64
- },
65
- "config": {
66
- "commitizen": {
67
- "path": "@commitlint/cz-commitlint"
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
- "vue": "3.5.13",
28
- "vue-router": "4.5.0"
29
- },
30
- "devDependencies": {
31
- "@commitlint/cli": "17.6.1",
32
- "@commitlint/config-conventional": "17.6.1",
33
- "@commitlint/cz-commitlint": "17.5.0",
34
- "@eslint/js": "9.15.0",
35
- "@rsbuild/core": "1.2.2",
36
- "@rsbuild/plugin-eslint": "1.1.0",
37
- "@rsbuild/plugin-vue": "1.0.5",
38
- "@rsbuild/plugin-styled-components": "1.2.0",
39
- "@rsbuild/plugin-type-check": "1.2.1",
40
- "@rsdoctor/rspack-plugin": "0.4.13",
41
- "@faker-js/faker": "8.4.1",
42
- "@types/lodash-es": "4.17.12",
43
- "@types/mockjs": "1.0.10",
44
- "autoprefixer": "10.4.14",
45
- "commitizen": "4.3.0",
46
- "cssnano": "6.0.0",
47
- "eslint": "9.17.0",
48
- "eslint-import-resolver-typescript": "3.7.0",
49
- "eslint-plugin-import": "2.31.0",
50
- "eslint-plugin-vue": "9.32.0",
51
- "globals": "15.12.0",
52
- "husky": "9.1.6",
53
- "inquirer": "8.1.2",
54
- "postcss": "8.4.38",
55
- "postcss-import": "16.1.0",
56
- "postcss-nesting": "12.1.1",
57
- "prettier": "3.2.5",
58
- "rollup-plugin-visualizer": "5.12.0",
59
- "stylelint": "16.10.0",
60
- "stylelint-config-standard-scss": "13.1.0",
61
- "stylelint-webpack-plugin": "5.0.0",
62
- "tailwindcss": "3.4.3",
63
- "typescript": "5.7.2",
64
- "typescript-eslint": "8.15.0",
65
- "vue-tsc": "2.2.0"
66
- },
67
- "config": {
68
- "commitizen": {
69
- "path": "@commitlint/cz-commitlint"
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
+ }
@@ -29,6 +29,9 @@ export default defineConfig(({ envMode, command }) => {
29
29
  },
30
30
  cleanDistPath: true
31
31
  },
32
+ dev: {
33
+ progressBar: true
34
+ },
32
35
  tools: {
33
36
  rspack: {
34
37
  plugins: [
@@ -34,6 +34,7 @@
34
34
  "react": "18.3.1",
35
35
  "react-dom": "18.3.1",
36
36
  "styled-components": "6.1.11",
37
+ "type-fest": "4.33.0",
37
38
  "zustand": "4.4.1"
38
39
  },
39
40
  "devDependencies": {