create-packer 1.12.2 → 1.12.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.12.2",
3
+ "version": "1.12.4",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -0,0 +1 @@
1
+ *
@@ -0,0 +1 @@
1
+ *
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ npx --no -- commitlint --edit
@@ -0,0 +1 @@
1
+ module.exports = { extends: ['@commitlint/config-conventional'] }
@@ -20,51 +20,54 @@
20
20
  "commit": "git add . && npm run cz"
21
21
  },
22
22
  "dependencies": {
23
- "immer": "9.0.16",
23
+ "immer": "9.0.19",
24
24
  "lodash-es": "4.17.21",
25
25
  "react": "18.2.0",
26
26
  "react-dom": "18.2.0",
27
- "react-router-dom": "6.4.3",
28
- "zustand": "4.1.4"
27
+ "react-router-dom": "6.8.1",
28
+ "zustand": "4.3.3"
29
29
  },
30
30
  "devDependencies": {
31
- "@testing-library/dom": "8.19.0",
31
+ "@commitlint/cli": "17.4.2",
32
+ "@commitlint/config-conventional": "^17.4.2",
33
+ "@commitlint/cz-commitlint": "17.4.2",
34
+ "@testing-library/dom": "8.20.0",
32
35
  "@testing-library/jest-dom": "5.16.5",
33
36
  "@testing-library/react": "13.4.0",
34
37
  "@testing-library/user-event": "14.4.3",
35
- "@types/jest": "29.2.3",
38
+ "@types/jest": "29.4.0",
36
39
  "@types/lodash-es": "4.17.6",
37
- "@types/react": "18.0.25",
38
- "@types/react-dom": "18.0.9",
40
+ "@types/react": "18.0.27",
41
+ "@types/react-dom": "18.0.10",
39
42
  "@types/testing-library__jest-dom": "5.14.5",
40
- "@typescript-eslint/eslint-plugin": "5.44.0",
41
- "@typescript-eslint/parser": "5.44.0",
42
- "@vitejs/plugin-react": "2.2.0",
43
+ "@typescript-eslint/eslint-plugin": "5.51.0",
44
+ "@typescript-eslint/parser": "5.51.0",
45
+ "@vitejs/plugin-react": "3.1.0",
43
46
  "autoprefixer": "10.4.13",
44
- "commitizen": "4.2.5",
47
+ "commitizen": "4.3.0",
45
48
  "cssnano": "5.1.14",
46
- "cz-adapter-eslint": "0.3.0",
47
- "eslint": "8.28.0",
49
+ "eslint": "8.34.0",
48
50
  "eslint-plugin-prettier": "4.2.1",
49
- "eslint-plugin-react": "7.31.11",
51
+ "eslint-plugin-react": "7.32.2",
50
52
  "eslint-plugin-react-hooks": "4.6.0",
51
- "husky": "8.0.2",
52
- "jest": "29.3.1",
53
- "jest-environment-jsdom": "29.3.1",
54
- "postcss": "8.4.19",
55
- "postcss-import": "15.0.0",
56
- "postcss-nesting": "10.2.0",
57
- "prettier": "2.7.1",
58
- "stylelint": "14.15.0",
59
- "stylelint-config-standard": "29.0.0",
60
- "tailwindcss": "3.2.4",
61
- "typescript": "4.9.3",
62
- "vite": "3.2.4",
53
+ "husky": "8.0.3",
54
+ "inquirer": "8",
55
+ "jest": "29.4.2",
56
+ "jest-environment-jsdom": "29.4.2",
57
+ "postcss": "8.4.21",
58
+ "postcss-import": "15.1.0",
59
+ "postcss-nesting": "11.1.0",
60
+ "prettier": "2.8.4",
61
+ "stylelint": "15.0.0",
62
+ "stylelint-config-standard": "30.0.1",
63
+ "tailwindcss": "3.2.6",
64
+ "typescript": "4.9.5",
65
+ "vite": "4.1.1",
63
66
  "vite-plugin-eslint": "1.8.1"
64
67
  },
65
68
  "config": {
66
69
  "commitizen": {
67
- "path": "./node_modules/cz-adapter-eslint"
70
+ "path": "@commitlint/cz-commitlint"
68
71
  }
69
72
  }
70
73
  }
@@ -1 +1 @@
1
- export { default as Container } from './layout.container'
1
+ export { default } from './layout.container'
@@ -1 +1 @@
1
- export { default as Container } from './home.container'
1
+ export { default } from './home.container'
@@ -1 +1 @@
1
- export { default as Container } from './notFound.container'
1
+ export { default } from './notFound.container'
@@ -1,4 +1,4 @@
1
- import create from 'zustand'
1
+ import { create } from 'zustand'
2
2
  import { combine } from 'zustand/middleware'
3
3
  import produce from 'immer'
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { lazy } from 'react'
2
2
  import type { RouteObject } from 'react-router-dom'
3
3
 
4
- const Home = lazy(() => import('@/pages/home/home.container'))
4
+ const Home = lazy(() => import('@/pages/home'))
5
5
 
6
6
  const routes: RouteObject[] = [
7
7
  {
@@ -3,8 +3,8 @@ import { createBrowserRouter } from 'react-router-dom'
3
3
  import * as home from './home'
4
4
  import paths from './router.paths'
5
5
 
6
- const Layout = lazy(() => import('@/layout/layout.container'))
7
- const NotFound = lazy(() => import('@/pages/notFound/notFound.container'))
6
+ const Layout = lazy(() => import('@/layout'))
7
+ const NotFound = lazy(() => import('@/pages/notFound'))
8
8
 
9
9
  export default createBrowserRouter([
10
10
  {
@@ -0,0 +1 @@
1
+ *
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ npx --no -- commitlint --edit
@@ -0,0 +1 @@
1
+ module.exports = { extends: ['@commitlint/config-conventional'] }
@@ -17,38 +17,41 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "lodash-es": "4.17.21",
20
- "pinia": "2.0.25",
20
+ "pinia": "2.0.30",
21
21
  "vite-plugin-eslint": "1.8.1",
22
- "vue": "3.2.45",
22
+ "vue": "3.2.47",
23
23
  "vue-router": "4.1.6"
24
24
  },
25
25
  "devDependencies": {
26
+ "@commitlint/cli": "17.4.2",
27
+ "@commitlint/config-conventional": "^17.4.2",
28
+ "@commitlint/cz-commitlint": "17.4.2",
26
29
  "@types/lodash-es": "4.17.6",
27
- "@typescript-eslint/eslint-plugin": "5.44.0",
28
- "@typescript-eslint/parser": "5.44.0",
29
- "@vitejs/plugin-vue": "3.2.0",
30
+ "@typescript-eslint/eslint-plugin": "5.51.0",
31
+ "@typescript-eslint/parser": "5.51.0",
32
+ "@vitejs/plugin-vue": "4.0.0",
30
33
  "autoprefixer": "10.4.13",
31
- "commitizen": "4.2.5",
34
+ "commitizen": "4.3.0",
32
35
  "cssnano": "5.1.14",
33
- "cz-adapter-eslint": "0.3.0",
34
- "eslint": "8.28.0",
36
+ "eslint": "8.34.0",
35
37
  "eslint-plugin-prettier": "4.2.1",
36
- "eslint-plugin-vue": "9.7.0",
37
- "husky": "8.0.2",
38
- "postcss": "8.4.19",
39
- "postcss-import": "15.0.0",
40
- "postcss-nesting": "10.2.0",
41
- "prettier": "2.8.0",
42
- "stylelint": "14.15.0",
43
- "stylelint-config-standard": "29.0.0",
44
- "tailwindcss": "3.2.4",
45
- "typescript": "4.9.3",
46
- "vite": "3.2.4",
47
- "vue-tsc": "1.0.9"
38
+ "eslint-plugin-vue": "9.9.0",
39
+ "husky": "8.0.3",
40
+ "inquirer": "8",
41
+ "postcss": "8.4.21",
42
+ "postcss-import": "15.1.0",
43
+ "postcss-nesting": "11.1.0",
44
+ "prettier": "2.8.4",
45
+ "stylelint": "15.0.0",
46
+ "stylelint-config-standard": "30.0.1",
47
+ "tailwindcss": "3.2.6",
48
+ "typescript": "4.9.5",
49
+ "vite": "4.1.1",
50
+ "vue-tsc": "1.0.24"
48
51
  },
49
52
  "config": {
50
53
  "commitizen": {
51
- "path": "./node_modules/cz-adapter-eslint"
54
+ "path": "@commitlint/cz-commitlint"
52
55
  }
53
56
  }
54
57
  }