create-packer 1.26.3 → 1.27.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.
Files changed (60) hide show
  1. package/package.json +4 -4
  2. package/template/docusaurus/package.json +1 -1
  3. package/template/lib/react/.eslintrc +1 -1
  4. package/template/lib/react/.stylelintrc +9 -3
  5. package/template/lib/react/package.json +12 -12
  6. package/template/lib/ts/package.json +9 -9
  7. package/template/nest/package.json +6 -6
  8. package/template/web-app/next/.stylelintrc +9 -3
  9. package/template/web-app/next/package.json +8 -8
  10. package/template/web-app/react/.eslintrc +1 -1
  11. package/template/web-app/react/.stylelintrc +9 -3
  12. package/template/web-app/react/README.md +1 -1
  13. package/template/web-app/react/main.tsx +1 -1
  14. package/template/web-app/react/package.json +19 -18
  15. package/template/web-app/react/pages/index.tsx +1 -1
  16. package/template/web-app/react/tsconfig.json +5 -4
  17. package/template/web-app/react/vite.config.ts +6 -17
  18. package/template/web-app/react-webpack/.eslintrc +1 -1
  19. package/template/web-app/react-webpack/.stylelintrc +9 -3
  20. package/template/web-app/react-webpack/package.json +45 -45
  21. package/template/web-app/solid/.stylelintrc +9 -3
  22. package/template/web-app/solid/package.json +8 -8
  23. package/template/web-app/svelte/package.json +13 -13
  24. package/template/web-app/vue/.stylelintrc +9 -3
  25. package/template/web-app/vue/README.md +1 -1
  26. package/template/web-app/vue/package.json +20 -19
  27. package/template/web-app/vue/vite.config.ts +6 -17
  28. package/template/web-extension/.eslintrc +13 -2
  29. package/template/web-extension/.stylelintrc +9 -3
  30. package/template/web-extension/background/index.ts +0 -0
  31. package/template/web-extension/content_script/content.tsx +1 -1
  32. package/template/web-extension/defineManifest.ts +6 -1
  33. package/template/web-extension/package.json +21 -16
  34. package/template/web-extension/pnpm-lock.yaml +6220 -0
  35. package/template/web-extension/popup/popup.container.tsx +1 -1
  36. package/template/web-extension/shared/constant/index.ts +0 -0
  37. package/template/web-extension/shared/message/backgroundMessage.ts +11 -0
  38. package/template/web-extension/shared/message/contentMeesage.ts +15 -0
  39. package/template/web-extension/shared/message/index.ts +3 -0
  40. package/template/web-extension/shared/message/popupMeesage.ts +12 -0
  41. package/template/web-extension/shared/service/tools/base.ts +33 -0
  42. package/template/web-extension/shared/service/tools/createRequestActions.ts +58 -0
  43. package/template/web-extension/shared/service/tools/createService.ts +46 -0
  44. package/template/web-extension/shared/service/tools/createServiceHooks.ts +65 -0
  45. package/template/web-extension/shared/service/tools/index.ts +4 -0
  46. package/template/web-extension/shared/service/types.ts +29 -11
  47. package/template/web-extension/shared/tools/index.ts +1 -0
  48. package/template/web-extension/shared/tools/message.ts +80 -0
  49. package/template/web-extension/tsconfig.json +1 -0
  50. package/template/web-extension/vite.config.ts +12 -17
  51. package/template/workspace/pnpm/packages/test/package.json +1 -1
  52. package/template/web-extension/content_script/content.spec.tsx +0 -15
  53. package/template/web-extension/shared/service/tools.ts +0 -132
  54. package/template/workspace/nx/node_modules/.pnpm/minipass-fetch@3.0.3/node_modules/minipass-sized/.gitignore +0 -22
  55. package/template/workspace/nx/node_modules/.pnpm/minipass-sized@1.0.3/node_modules/minipass-sized/.gitignore +0 -22
  56. package/template/workspace/nx/node_modules/.pnpm/node_modules/minipass-sized/.gitignore +0 -22
  57. package/template/workspace/nx/node_modules/.pnpm/node_modules/npm-normalize-package-bin/.gitignore +0 -24
  58. package/template/workspace/nx/node_modules/.pnpm/npm-bundled@1.1.2/node_modules/npm-normalize-package-bin/.gitignore +0 -24
  59. package/template/workspace/nx/node_modules/.pnpm/npm-normalize-package-bin@1.0.1/node_modules/npm-normalize-package-bin/.gitignore +0 -24
  60. package/template/workspace/nx/node_modules/.pnpm/npm-packlist@5.1.1/node_modules/npm-normalize-package-bin/.gitignore +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.26.3",
3
+ "version": "1.27.1",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -27,10 +27,10 @@
27
27
  "@types/fs-extra": "9.0.12",
28
28
  "@types/inquirer": "7.3.3",
29
29
  "@types/node": "16.4.7",
30
- "@typescript-eslint/eslint-plugin": "6.17.0",
31
- "@typescript-eslint/parser": "6.17.0",
30
+ "@typescript-eslint/eslint-plugin": "7.0.2",
31
+ "@typescript-eslint/parser": "7.0.2",
32
32
  "commitizen": "4.3.0",
33
- "eslint": "7.32.0",
33
+ "eslint": "8.56.0",
34
34
  "rimraf": "3.0.2",
35
35
  "typescript": "5.3.3"
36
36
  },
@@ -31,7 +31,7 @@
31
31
  "@docusaurus/types": "2.4.1",
32
32
  "@easyops-cn/docusaurus-search-local": "^0.36.0",
33
33
  "@tsconfig/docusaurus": "1.0.5",
34
- "prettier": "3.0.3",
34
+ "prettier": "3.2.5",
35
35
  "typescript": "5.3.3"
36
36
  },
37
37
  "browserslist": {
@@ -70,7 +70,7 @@
70
70
  "@typescript-eslint/no-empty-interface": "off",
71
71
  "react/prop-types": "off",
72
72
  "react/no-find-dom-node": "off",
73
- "react-hooks/exhaustive-deps": "warn",
73
+ "react-hooks/exhaustive-deps": "off",
74
74
  "react/display-name": "off",
75
75
  "react/react-in-jsx-scope": "off",
76
76
  "prettier/prettier": [
@@ -1,23 +1,29 @@
1
1
  {
2
- "extends": "stylelint-config-standard",
2
+ "extends": "stylelint-config-standard-scss",
3
3
  "rules": {
4
4
  "comment-empty-line-before": "never",
5
5
  "no-empty-source": null,
6
6
  "alpha-value-notation": null,
7
7
  "color-function-notation": null,
8
- "no-descending-specificity": null,
9
8
  "at-rule-no-unknown": [
10
9
  true,
11
10
  {
12
11
  "ignoreAtRules": ["tailwind", "apply", "use"]
13
12
  }
14
13
  ],
14
+ "declaration-block-no-redundant-longhand-properties": null,
15
15
  "selector-pseudo-class-no-unknown": [
16
16
  true,
17
17
  {
18
18
  "ignorePseudoClasses": ["global"]
19
19
  }
20
20
  ],
21
- "selector-class-pattern": null
21
+ "selector-class-pattern": null,
22
+ "scss/at-rule-no-unknown": [
23
+ true,
24
+ {
25
+ "ignoreAtRules": ["tailwind", "a pply"]
26
+ }
27
+ ]
22
28
  }
23
29
  }
@@ -29,23 +29,23 @@
29
29
  "@storybook/testing-library": "0.0.14-next.2",
30
30
  "@types/react": "18.2.14",
31
31
  "@types/react-dom": "18.2.6",
32
- "@typescript-eslint/eslint-plugin": "6.17.0",
33
- "@typescript-eslint/parser": "6.17.0",
34
- "eslint": "8.43.0",
35
- "eslint-import-resolver-typescript": "3.5.5",
36
- "eslint-plugin-import": "2.27.5",
37
- "eslint-plugin-prettier": "4.2.1",
38
- "eslint-plugin-react": "7.32.2",
32
+ "@typescript-eslint/eslint-plugin": "7.0.2",
33
+ "@typescript-eslint/parser": "7.0.2",
34
+ "eslint": "8.56.0",
35
+ "eslint-import-resolver-typescript": "3.6.1",
36
+ "eslint-plugin-import": "2.29.1",
37
+ "eslint-plugin-prettier": "5.1.3",
38
+ "eslint-plugin-react": "7.33.2",
39
39
  "eslint-plugin-react-hooks": "4.6.0",
40
- "eslint-plugin-storybook": "0.6.12",
41
- "prettier": "2.8.8",
40
+ "eslint-plugin-storybook": "0.8.0",
41
+ "prettier": "3.2.5",
42
42
  "prop-types": "15.8.1",
43
43
  "react": "18.2.0",
44
44
  "react-dom": "18.2.0",
45
45
  "storybook": "7.1.0",
46
- "stylelint": "15.9.0",
47
- "stylelint-config-standard": "33.0.0",
46
+ "stylelint": "16.2.1",
47
+ "stylelint-config-standard-scss": "13.0.0",
48
48
  "typescript": "5.3.3",
49
- "vite-plugin-svgr": "3.2.0"
49
+ "vite-plugin-svgr": "4.2.0"
50
50
  }
51
51
  }
@@ -14,15 +14,15 @@
14
14
  ],
15
15
  "license": "ISC",
16
16
  "devDependencies": {
17
- "@typescript-eslint/eslint-plugin": "6.17.0",
18
- "@typescript-eslint/parser": "6.17.0",
19
- "eslint": "8.43.0",
20
- "eslint-import-resolver-typescript": "3.5.5",
21
- "eslint-plugin-import": "2.27.5",
22
- "eslint-plugin-prettier": "4.2.1",
23
- "prettier": "2.8.8",
24
- "stylelint": "15.9.0",
25
- "stylelint-config-standard": "33.0.0",
17
+ "@typescript-eslint/eslint-plugin": "7.0.2",
18
+ "@typescript-eslint/parser": "7.0.2",
19
+ "eslint": "8.56.0",
20
+ "eslint-import-resolver-typescript": "3.6.1",
21
+ "eslint-plugin-import": "2.29.1",
22
+ "eslint-plugin-prettier": "5.1.3",
23
+ "prettier": "3.2.5",
24
+ "stylelint": "16.2.1",
25
+ "stylelint-config-standard-scss": "13.0.0",
26
26
  "typescript": "5.3.3",
27
27
  "vitest": "0.34.2"
28
28
  }
@@ -41,16 +41,16 @@
41
41
  "@types/jest": "29.4.0",
42
42
  "@types/node": "18.13.0",
43
43
  "@types/supertest": "2.0.12",
44
- "@typescript-eslint/eslint-plugin": "6.17.0",
45
- "@typescript-eslint/parser": "6.17.0",
44
+ "@typescript-eslint/eslint-plugin": "7.0.2",
45
+ "@typescript-eslint/parser": "7.0.2",
46
46
  "commitizen": "4.3.0",
47
47
  "cz-adapter-eslint": "0.3.0",
48
- "eslint": "8.34.0",
49
- "eslint-config-prettier": "8.6.0",
50
- "eslint-plugin-prettier": "4.2.1",
48
+ "eslint": "8.56.0",
49
+ "eslint-config-prettier": "9.1.0",
50
+ "eslint-plugin-prettier": "5.1.3",
51
51
  "husky": "8.0.3",
52
52
  "jest": "29.4.2",
53
- "prettier": "2.8.4",
53
+ "prettier": "3.2.5",
54
54
  "source-map-support": "0.5.21",
55
55
  "supertest": "6.3.3",
56
56
  "ts-jest": "29.0.5",
@@ -1,23 +1,29 @@
1
1
  {
2
- "extends": "stylelint-config-standard",
2
+ "extends": "stylelint-config-standard-scss",
3
3
  "rules": {
4
4
  "comment-empty-line-before": "never",
5
5
  "no-empty-source": null,
6
6
  "alpha-value-notation": null,
7
7
  "color-function-notation": null,
8
- "no-descending-specificity": null,
9
8
  "at-rule-no-unknown": [
10
9
  true,
11
10
  {
12
11
  "ignoreAtRules": ["tailwind", "apply", "use"]
13
12
  }
14
13
  ],
14
+ "declaration-block-no-redundant-longhand-properties": null,
15
15
  "selector-pseudo-class-no-unknown": [
16
16
  true,
17
17
  {
18
18
  "ignorePseudoClasses": ["global"]
19
19
  }
20
20
  ],
21
- "selector-class-pattern": null
21
+ "selector-class-pattern": null,
22
+ "scss/at-rule-no-unknown": [
23
+ true,
24
+ {
25
+ "ignoreAtRules": ["tailwind", "a pply"]
26
+ }
27
+ ]
22
28
  }
23
29
  }
@@ -18,10 +18,10 @@
18
18
  "@types/react": "18.2.15",
19
19
  "@types/react-dom": "18.2.7",
20
20
  "autoprefixer": "10.4.14",
21
- "eslint": "8.45.0",
22
- "eslint-config-next": "13.4.10",
21
+ "eslint": "8.56.0",
22
+ "eslint-config-next": "14.1.0",
23
23
  "next": "13.4.10",
24
- "postcss": "8.4.26",
24
+ "postcss": "8.4.35",
25
25
  "react": "18.2.0",
26
26
  "react-dom": "18.2.0",
27
27
  "tailwindcss": "3.3.3",
@@ -32,12 +32,12 @@
32
32
  "@commitlint/config-conventional": "17.6.7",
33
33
  "@commitlint/cz-commitlint": "17.6.7",
34
34
  "commitizen": "4.3.0",
35
- "eslint-plugin-import": "2.27.5",
36
- "eslint-plugin-prettier": "5.0.0",
35
+ "eslint-plugin-import": "2.29.1",
36
+ "eslint-plugin-prettier": "5.1.3",
37
37
  "husky": "8.0.3",
38
- "prettier": "3.0.0",
39
- "stylelint": "15.10.2",
40
- "stylelint-config-standard": "34.0.0"
38
+ "prettier": "3.2.5",
39
+ "stylelint": "16.2.1",
40
+ "stylelint-config-standard": "36.0.0"
41
41
  },
42
42
  "config": {
43
43
  "commitizen": {
@@ -78,7 +78,7 @@
78
78
  "@typescript-eslint/no-empty-interface": "off",
79
79
  "react/prop-types": "off",
80
80
  "react/no-find-dom-node": "off",
81
- "react-hooks/exhaustive-deps": "warn",
81
+ "react-hooks/exhaustive-deps": "off",
82
82
  "react/display-name": "off",
83
83
  "react/react-in-jsx-scope": "off",
84
84
  "prettier/prettier": [
@@ -1,23 +1,29 @@
1
1
  {
2
- "extends": "stylelint-config-standard",
2
+ "extends": "stylelint-config-standard-scss",
3
3
  "rules": {
4
4
  "comment-empty-line-before": "never",
5
5
  "no-empty-source": null,
6
6
  "alpha-value-notation": null,
7
7
  "color-function-notation": null,
8
- "no-descending-specificity": null,
9
8
  "at-rule-no-unknown": [
10
9
  true,
11
10
  {
12
11
  "ignoreAtRules": ["tailwind", "apply", "use"]
13
12
  }
14
13
  ],
14
+ "declaration-block-no-redundant-longhand-properties": null,
15
15
  "selector-pseudo-class-no-unknown": [
16
16
  true,
17
17
  {
18
18
  "ignorePseudoClasses": ["global"]
19
19
  }
20
20
  ],
21
- "selector-class-pattern": null
21
+ "selector-class-pattern": null,
22
+ "scss/at-rule-no-unknown": [
23
+ true,
24
+ {
25
+ "ignoreAtRules": ["tailwind", "a pply"]
26
+ }
27
+ ]
22
28
  }
23
29
  }
@@ -1,7 +1,7 @@
1
1
  ## Vite + react18 + Typescript
2
2
 
3
3
  ### Features
4
- - Vite 3.x
4
+ - Vite 4.x
5
5
  - React 18.x
6
6
  - Typescript 4.x
7
7
  - react-router 6.x
@@ -1,7 +1,7 @@
1
1
  import { createRoot } from 'react-dom/client'
2
2
  import { RouterProvider } from 'react-router-dom'
3
3
  import { App } from '@/domain/app'
4
- import { router } from 'router'
4
+ import { router } from '@/router'
5
5
  import './index.css'
6
6
 
7
7
  createRoot(document.getElementById('root') as HTMLElement).render(
@@ -34,40 +34,41 @@
34
34
  "@commitlint/cli": "17.6.1",
35
35
  "@commitlint/config-conventional": "17.6.1",
36
36
  "@commitlint/cz-commitlint": "17.5.0",
37
+ "@nabla/vite-plugin-eslint": "2.0.2",
37
38
  "@types/lodash-es": "4.17.7",
38
39
  "@types/mockjs": "1.0.7",
39
40
  "@types/node": "18.16.0",
40
41
  "@types/qs": "6.9.7",
41
42
  "@types/react": "18.0.38",
42
43
  "@types/react-dom": "18.0.11",
43
- "@typescript-eslint/eslint-plugin": "6.17.0",
44
- "@typescript-eslint/parser": "6.17.0",
45
- "@vitejs/plugin-react": "4.2.0",
44
+ "@typescript-eslint/eslint-plugin": "7.0.2",
45
+ "@typescript-eslint/parser": "7.0.2",
46
+ "@vitejs/plugin-react": "4.2.1",
46
47
  "autoprefixer": "10.4.14",
47
48
  "commitizen": "4.3.0",
48
49
  "cssnano": "6.0.0",
49
- "eslint": "8.39.0",
50
- "eslint-import-resolver-typescript": "3.5.5",
51
- "eslint-plugin-import": "2.27.5",
52
- "eslint-plugin-prettier": "5.0.0",
53
- "eslint-plugin-react": "7.32.2",
50
+ "eslint": "8.56.0",
51
+ "eslint-import-resolver-typescript": "3.6.1",
52
+ "eslint-plugin-import": "2.29.1",
53
+ "eslint-plugin-prettier": "5.1.3",
54
+ "eslint-plugin-react": "7.33.2",
54
55
  "eslint-plugin-react-hooks": "4.6.0",
55
56
  "husky": "8.0.3",
56
57
  "inquirer": "8",
57
58
  "mockjs": "1.1.0",
58
- "postcss": "8.4.23",
59
- "postcss-import": "15.1.0",
60
- "postcss-nesting": "11.2.2",
61
- "prettier": "3.0.0",
59
+ "postcss": "8.4.35",
60
+ "postcss-import": "16.0.1",
61
+ "postcss-nesting": "12.0.3",
62
+ "prettier": "3.2.5",
62
63
  "rollup-plugin-visualizer": "5.9.2",
63
- "stylelint": "15.7.0",
64
- "stylelint-config-standard": "33.0.0",
64
+ "stylelint": "16.2.1",
65
+ "stylelint-config-standard-scss": "13.0.0",
65
66
  "tailwindcss": "3.3.1",
66
67
  "typescript": "5.3.3",
67
- "vite": "4.3.1",
68
- "vite-plugin-checker": "0.6.2",
69
- "vite-plugin-mock-dev-server": "1.2.1",
70
- "vite-plugin-svgr": "3.2.0"
68
+ "vite": "4.5.2",
69
+ "vite-plugin-mock-dev-server": "1.4.7",
70
+ "vite-plugin-stylelint": "5.3.1",
71
+ "vite-plugin-svgr": "4.2.0"
71
72
  },
72
73
  "config": {
73
74
  "commitizen": {
@@ -1,6 +1,6 @@
1
1
  import { Suspense, useEffect } from 'react'
2
2
  import { Outlet, useLocation } from 'react-router-dom'
3
- import { navigate, routerIds } from 'router'
3
+ import { navigate, routerIds } from '@/router'
4
4
 
5
5
  const View = () => {
6
6
  const location = useLocation()
@@ -4,14 +4,14 @@
4
4
  "target": "ESNext",
5
5
  "useDefineForClassFields": true,
6
6
  "lib": ["DOM", "DOM.Iterable", "ESNext"],
7
- "allowJs": true,
8
- "strictNullChecks": true,
7
+ "allowJs": false,
9
8
  "skipLibCheck": true,
10
9
  "esModuleInterop": false,
11
10
  "allowSyntheticDefaultImports": true,
12
11
  "strict": true,
13
12
  "forceConsistentCasingInFileNames": true,
14
13
  "strictPropertyInitialization": false,
14
+ "strictNullChecks": true,
15
15
  "module": "ESNext",
16
16
  "moduleResolution": "Node",
17
17
  "resolveJsonModule": true,
@@ -22,6 +22,7 @@
22
22
  "@/*": ["./*"]
23
23
  }
24
24
  },
25
- "include": ["**/*.tsx", "**/*.ts"],
26
- "exclude": ["scripts"]
25
+ "include": ["**/*.ts", "**/*.tsx"],
26
+ "exclude": ["scripts", "vite.config.ts"],
27
+ "references": [{ "path": "./tsconfig.node.json" }]
27
28
  }
@@ -2,7 +2,8 @@ import { defineConfig, loadEnv } from 'vite'
2
2
  import react from '@vitejs/plugin-react'
3
3
  import svgr from 'vite-plugin-svgr'
4
4
  import mockDevServer from 'vite-plugin-mock-dev-server'
5
- import checker from 'vite-plugin-checker'
5
+ import stylelint from 'vite-plugin-stylelint'
6
+ import eslintPlugin from '@nabla/vite-plugin-eslint'
6
7
  import { visualizer } from 'rollup-plugin-visualizer'
7
8
  import { includes } from 'lodash-es'
8
9
  import { createChunks } from './scripts'
@@ -13,22 +14,10 @@ export default defineConfig(({ mode }) => {
13
14
  const proxyBaseUrl = env.VITE_BASE_URL + env.VITE_API_HOST
14
15
  const plugins: any[] = [
15
16
  svgr(),
16
- checker({
17
- typescript: true,
18
- eslint: {
19
- // for example, lint .ts and .tsx
20
- lintCommand: 'eslint **/*.{ts,tsx,js,jsx}',
21
- dev: {
22
- logLevel: ['error']
23
- }
24
- },
25
- stylelint: {
26
- lintCommand: 'stylelint **/*.{css,scss,less}',
27
- dev: {
28
- logLevel: ['error']
29
- }
30
- },
31
- enableBuild: false
17
+ stylelint({ cache: false, include: ['**/*.{css,scss,sass,less,styl,vue,svelte}'] }),
18
+ eslintPlugin({
19
+ eslintOptions: { cache: false, useEslintrc: true },
20
+ shouldLint: path => /\/[^?]*\.(vue|svelte|m?[jt]sx?)$/.test(path)
32
21
  }),
33
22
  react(),
34
23
  mockDevServer({
@@ -77,7 +77,7 @@
77
77
  "@typescript-eslint/no-empty-interface": "off",
78
78
  "react/prop-types": "off",
79
79
  "react/no-find-dom-node": "off",
80
- "react-hooks/exhaustive-deps": "warn",
80
+ "react-hooks/exhaustive-deps": "off",
81
81
  "react/display-name": "off",
82
82
  "react/react-in-jsx-scope": "off",
83
83
  "prettier/prettier": [
@@ -1,23 +1,29 @@
1
1
  {
2
- "extends": "stylelint-config-standard",
2
+ "extends": "stylelint-config-standard-scss",
3
3
  "rules": {
4
4
  "comment-empty-line-before": "never",
5
5
  "no-empty-source": null,
6
6
  "alpha-value-notation": null,
7
7
  "color-function-notation": null,
8
- "no-descending-specificity": null,
9
8
  "at-rule-no-unknown": [
10
9
  true,
11
10
  {
12
11
  "ignoreAtRules": ["tailwind", "apply", "use"]
13
12
  }
14
13
  ],
14
+ "declaration-block-no-redundant-longhand-properties": null,
15
15
  "selector-pseudo-class-no-unknown": [
16
16
  true,
17
17
  {
18
18
  "ignorePseudoClasses": ["global"]
19
19
  }
20
20
  ],
21
- "selector-class-pattern": null
21
+ "selector-class-pattern": null,
22
+ "scss/at-rule-no-unknown": [
23
+ true,
24
+ {
25
+ "ignoreAtRules": ["tailwind", "a pply"]
26
+ }
27
+ ]
22
28
  }
23
29
  }
@@ -10,7 +10,7 @@
10
10
  "dev": "webpack serve --env mode=dev",
11
11
  "build": "webpack --env mode=prod",
12
12
  "build:analyzer": "webpack --env mode=analyzer",
13
- "up:vite": "pnpm up vite @vitejs/* -L",
13
+ "up:webpack": "pnpm up webpackbar webpackbar-* -L",
14
14
  "format": "prettier --write \"**/*.{ts,js,tsx,jsx,json,css,scss,less}\"",
15
15
  "lint": "tsc --noEmit && eslint **/*.{tsx,ts,jsx,js} --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
16
16
  "lint:fix": "eslint **/*.{tsx,ts,jsx,js} --fix && stylelint **/*.{css,scss,less} --fix",
@@ -20,66 +20,66 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "1k-types": "1.1.2",
23
- "axios": "1.5.0",
23
+ "axios": "1.6.7",
24
24
  "define-zustand": "3.1.0",
25
- "immer": "10.0.2",
25
+ "immer": "10.0.3",
26
26
  "lodash-es": "4.17.21",
27
27
  "qs": "6.11.2",
28
28
  "react": "18.2.0",
29
29
  "react-dom": "18.2.0",
30
- "react-router-dom": "6.14.0",
31
- "react-use": "17.4.0",
32
- "tailwindcss": "3.3.3",
33
- "zustand": "4.4.1"
30
+ "react-router-dom": "6.22.1",
31
+ "react-use": "17.5.0",
32
+ "tailwindcss": "3.4.1",
33
+ "zustand": "4.5.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@commitlint/cli": "17.7.1",
37
- "@commitlint/config-conventional": "17.7.0",
38
- "@commitlint/cz-commitlint": "17.7.1",
36
+ "@commitlint/cli": "18.6.1",
37
+ "@commitlint/config-conventional": "18.6.2",
38
+ "@commitlint/cz-commitlint": "18.6.1",
39
39
  "@svgr/webpack": "8.1.0",
40
- "@types/lodash-es": "4.17.8",
41
- "@types/qs": "6.9.7",
42
- "@types/react": "18.2.21",
43
- "@types/react-dom": "18.2.7",
44
- "@types/react-redux": "7.1.26",
45
- "@types/react-router-config": "5.0.7",
40
+ "@types/lodash-es": "4.17.12",
41
+ "@types/qs": "6.9.11",
42
+ "@types/react": "18.2.57",
43
+ "@types/react-dom": "18.2.19",
44
+ "@types/react-redux": "7.1.33",
45
+ "@types/react-router-config": "5.0.11",
46
46
  "@types/react-router-dom": "5.3.3",
47
- "@typescript-eslint/eslint-plugin": "6.17.0",
48
- "@typescript-eslint/parser": "6.17.0",
49
- "autoprefixer": "10.4.15",
47
+ "@typescript-eslint/eslint-plugin": "7.0.2",
48
+ "@typescript-eslint/parser": "7.0.2",
49
+ "autoprefixer": "10.4.17",
50
50
  "commitizen": "4.3.0",
51
- "css-loader": "6.8.1",
52
- "cssnano": "6.0.1",
53
- "dotenv": "16.3.1",
54
- "esbuild-loader": "4.0.1",
55
- "eslint": "8.48.0",
56
- "eslint-import-resolver-typescript": "3.5.5",
57
- "eslint-plugin-import": "2.27.5",
58
- "eslint-plugin-prettier": "5.0.0",
59
- "eslint-plugin-react": "7.32.2",
51
+ "css-loader": "6.10.0",
52
+ "cssnano": "6.0.3",
53
+ "dotenv": "16.4.5",
54
+ "esbuild-loader": "4.0.3",
55
+ "eslint": "8.56.0",
56
+ "eslint-import-resolver-typescript": "3.6.1",
57
+ "eslint-plugin-import": "2.29.1",
58
+ "eslint-plugin-prettier": "5.1.3",
59
+ "eslint-plugin-react": "7.33.2",
60
60
  "eslint-plugin-react-hooks": "4.6.0",
61
61
  "eslint-webpack-plugin": "4.0.1",
62
- "fork-ts-checker-webpack-plugin": "8.0.0",
63
- "html-webpack-plugin": "5.5.3",
64
- "husky": "8.0.3",
65
- "mini-css-extract-plugin": "2.7.6",
66
- "postcss-import": "15.1.0",
67
- "postcss-loader": "7.3.3",
68
- "postcss-nesting": "12.0.1",
69
- "prettier": "3.0.2",
62
+ "fork-ts-checker-webpack-plugin": "9.0.2",
63
+ "html-webpack-plugin": "5.6.0",
64
+ "husky": "9.0.11",
65
+ "mini-css-extract-plugin": "2.8.0",
66
+ "postcss-import": "16.0.1",
67
+ "postcss-loader": "8.1.0",
68
+ "postcss-nesting": "12.0.3",
69
+ "prettier": "3.2.5",
70
70
  "react-css-modules": "4.7.11",
71
71
  "react-test-renderer": "18.2.0",
72
- "rimraf": "5.0.1",
73
- "style-loader": "3.3.3",
74
- "stylelint": "15.10.3",
75
- "stylelint-config-standard": "34.0.0",
76
- "stylelint-webpack-plugin": "4.1.1",
72
+ "rimraf": "5.0.5",
73
+ "style-loader": "3.3.4",
74
+ "stylelint": "16.2.1",
75
+ "stylelint-config-standard-scss": "13.0.0",
76
+ "stylelint-webpack-plugin": "5.0.0",
77
77
  "typescript": "5.3.3",
78
- "webpack": "5.88.2",
79
- "webpack-bundle-analyzer": "4.9.1",
78
+ "webpack": "5.90.3",
79
+ "webpack-bundle-analyzer": "4.10.1",
80
80
  "webpack-cli": "5.1.4",
81
- "webpack-dev-server": "4.15.1",
82
- "webpackbar": "5.0.2"
81
+ "webpack-dev-server": "5.0.2",
82
+ "webpackbar": "6.0.1"
83
83
  },
84
84
  "config": {
85
85
  "commitizen": {
@@ -1,23 +1,29 @@
1
1
  {
2
- "extends": "stylelint-config-standard",
2
+ "extends": "stylelint-config-standard-scss",
3
3
  "rules": {
4
4
  "comment-empty-line-before": "never",
5
5
  "no-empty-source": null,
6
6
  "alpha-value-notation": null,
7
7
  "color-function-notation": null,
8
- "no-descending-specificity": null,
9
8
  "at-rule-no-unknown": [
10
9
  true,
11
10
  {
12
11
  "ignoreAtRules": ["tailwind", "apply", "use"]
13
12
  }
14
13
  ],
14
+ "declaration-block-no-redundant-longhand-properties": null,
15
15
  "selector-pseudo-class-no-unknown": [
16
16
  true,
17
17
  {
18
18
  "ignorePseudoClasses": ["global"]
19
19
  }
20
20
  ],
21
- "selector-class-pattern": null
21
+ "selector-class-pattern": null,
22
+ "scss/at-rule-no-unknown": [
23
+ true,
24
+ {
25
+ "ignoreAtRules": ["tailwind", "a pply"]
26
+ }
27
+ ]
22
28
  }
23
29
  }