@gadmin2n/schematics 0.0.132 → 0.0.133
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.
|
@@ -13,7 +13,9 @@ module.exports = {
|
|
|
13
13
|
// NODE_OPTIONS 保留原 package.json 里的 4GB 上限设置。
|
|
14
14
|
node_args: '--max-old-space-size=4096',
|
|
15
15
|
env: {
|
|
16
|
-
...(process.env.VITE_BRANCH_OWNER
|
|
16
|
+
...(process.env.VITE_BRANCH_OWNER
|
|
17
|
+
? { VITE_BRANCH_OWNER: process.env.VITE_BRANCH_OWNER }
|
|
18
|
+
: {}),
|
|
17
19
|
},
|
|
18
20
|
},
|
|
19
21
|
],
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"dev": "NODE_OPTIONS='--max-old-space-size=4096' vite --port 3000",
|
|
82
82
|
"build": "tsc && vite build",
|
|
83
83
|
"preview": "vite preview",
|
|
84
|
+
"typecheck": "tsc --noEmit",
|
|
84
85
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
|
|
85
86
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
86
87
|
"prepare": "cd .. && husky install || true"
|