luzhenxing 3 months ago
parent
commit
47469b72ed
2 changed files with 4 additions and 1 deletions
  1. 3 0
      .gitignore
  2. 1 1
      package.json

+ 3 - 0
.gitignore

@@ -1,5 +1,8 @@
 node_modules
 node-jiti
+internal/eslint-config/dist/
+internal/stylelint-config/dist/
+internal/vite-config/dist/
 .DS_Store
 .cache
 .turbo

+ 1 - 1
package.json

@@ -26,7 +26,7 @@
     "commit": "czg",
     "dev": "NODE_ENV=dev pnpm vite --config vite.config.dev.ts",
     "preinstall": "npx only-allow pnpm",
-    "postinstall": "turbo run stub",
+    "postinstall": "pnpm -r run stub --if-present",
     "lint": "turbo run lint",
     "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
     "lint:prettier": "prettier --write .",