create-pubinfo-pr 0.222.4 → 0.223.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-pubinfo-pr",
3
3
  "type": "module",
4
- "version": "0.222.4",
4
+ "version": "0.223.1",
5
5
  "description": "初始化项目框架",
6
6
  "author": "Werheng <werheng.zhang@gmail.com>",
7
7
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@inquirer/prompts": "^8.2.0",
30
- "@pubinfo-pr/shared": "0.222.4",
30
+ "@pubinfo-pr/shared": "0.223.1",
31
31
  "ansi-colors": "^4.1.3",
32
32
  "cfonts": "^3.3.1",
33
33
  "commander": "^14.0.3",
@@ -43,7 +43,7 @@
43
43
  "typescript": "^5.8.3"
44
44
  },
45
45
  "simple-git-hooks": {
46
- "pre-commit": "pnpm lint-staged",
46
+ "pre-commit": "pnpm lint-staged --no-stash",
47
47
  "commit-msg": "pnpm exec pubinfo-pr commit --edit $1"
48
48
  },
49
49
  "lint-staged": {
@@ -51,7 +51,7 @@
51
51
  "typescript": "^5.8.3"
52
52
  },
53
53
  "simple-git-hooks": {
54
- "pre-commit": "pnpm lint-staged",
54
+ "pre-commit": "pnpm lint-staged --no-stash",
55
55
  "commit-msg": "pnpm exec pubinfo-pr commit --edit $1"
56
56
  },
57
57
  "lint-staged": {
@@ -1,4 +1,5 @@
1
1
  import { defineAsyncRoutes, defineSystemRoutes } from 'pubinfo-pr';
2
+ import Login from '@/views/system/login/index.vue';
2
3
 
3
4
  import Breadcrumb from './modules/demo/breadcrumb.example';
4
5
  import Link from './modules/demo/link';
@@ -61,7 +62,7 @@ export const constantRoutes = [
61
62
  {
62
63
  path: '/login',
63
64
  name: 'Login',
64
- component: () => import('@/views/system/login/index.vue'),
65
+ component: Login,
65
66
  meta: {
66
67
  whiteList: true,
67
68
  title: '登录',
@@ -30,7 +30,7 @@
30
30
  "typescript": "^5.9.3"
31
31
  },
32
32
  "simple-git-hooks": {
33
- "pre-commit": "pnpm lint-staged && pnpm run lint",
33
+ "pre-commit": "pnpm lint-staged --no-stash && pnpm run lint",
34
34
  "commit-msg": "pnpm exec pubinfo-commit --edit $1"
35
35
  },
36
36
  "lint-staged": {