mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
chore(build): support rush build on windows (#397)
This commit is contained in:
parent
082321bcdb
commit
b211d0774f
@ -3,8 +3,8 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_OPTIONS='--max-old-space-size=8192' && rm -rf ./doc_build && rspress build && shx cp -r llms/* doc_build/",
|
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 && shx rm -rf ./doc_build && rspress build && shx cp -r llms/* doc_build/",
|
||||||
"docs": "NODE_OPTIONS='--max-old-space-size=8192' tsx ./scripts/auto-generate.ts",
|
"docs": "cross-env NODE_OPTIONS=--max-old-space-size=8192 && tsx ./scripts/auto-generate.ts",
|
||||||
"dev": "rspress dev",
|
"dev": "rspress dev",
|
||||||
"lint": "eslint ./components --cache",
|
"lint": "eslint ./components --cache",
|
||||||
"preview": "rspress preview",
|
"preview": "rspress preview",
|
||||||
@ -62,7 +62,8 @@
|
|||||||
"openai": "~4.98.0",
|
"openai": "~4.98.0",
|
||||||
"dotenv": "~16.5.0",
|
"dotenv": "~16.5.0",
|
||||||
"tsx": "~4.19.4",
|
"tsx": "~4.19.4",
|
||||||
"shx": "0.4.0"
|
"shx": "0.4.0",
|
||||||
|
"cross-env": "~7.0.3"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/bytedance/flowgram.ai/"
|
"homepage": "https://github.com/bytedance/flowgram.ai/"
|
||||||
}
|
}
|
||||||
|
|||||||
3
common/config/rush/pnpm-lock.yaml
generated
3
common/config/rush/pnpm-lock.yaml
generated
@ -871,6 +871,9 @@ importers:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^18
|
specifier: ^18
|
||||||
version: 18.19.68
|
version: 18.19.68
|
||||||
|
cross-env:
|
||||||
|
specifier: ~7.0.3
|
||||||
|
version: 7.0.3
|
||||||
dotenv:
|
dotenv:
|
||||||
specifier: ~16.5.0
|
specifier: ~16.5.0
|
||||||
version: 16.5.0
|
version: 16.5.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user