|
19 | 19 | "author": "freeCodeCamp <team@freecodecamp.org>", |
20 | 20 | "main": "none", |
21 | 21 | "scripts": { |
22 | | - "prebuild": "pnpm run common-setup && pnpm run build:scripts --env production", |
23 | 22 | "build": "NODE_OPTIONS=\"--max-old-space-size=7168 --no-deprecation\" gatsby build --prefix-paths", |
24 | | - "build:scripts": "pnpm run -F=browser-scripts compile && tsx ./tools/copy-browser-scripts.ts", |
25 | | - "build:external-curriculum": "tsx ./tools/external-curriculum/build", |
26 | 23 | "clean": "gatsby clean", |
27 | | - "common-setup": "pnpm -w turbo compile && pnpm run create:env && pnpm run create:trending && pnpm run create:search-placeholder", |
| 24 | + "copy:scripts": "tsx ./tools/copy-browser-scripts.ts", |
28 | 25 | "create:env": "DEBUG=fcc:* tsx ./tools/create-env.ts", |
| 26 | + "create:external-curriculum": "tsx ./tools/external-curriculum/build", |
29 | 27 | "create:trending": "tsx ./tools/download-trending.ts", |
30 | 28 | "create:search-placeholder": "tsx ./tools/generate-search-placeholder", |
31 | | - "predevelop": "pnpm run common-setup && pnpm run build:scripts --env development", |
32 | 29 | "develop": "NODE_OPTIONS=\"--max-old-space-size=7168 --no-deprecation\" gatsby develop --inspect=9230", |
33 | 30 | "lint": "eslint --max-warnings 0", |
| 31 | + "setup": "pnpm create:env && pnpm create:trending && pnpm create:search-placeholder && pnpm create:external-curriculum && pnpm copy:scripts", |
34 | 32 | "serve": "gatsby serve -p 8000", |
35 | 33 | "serve-ci": "serve -l 8000 -c serve.json public", |
36 | 34 | "prestand-alone": "pnpm run prebuild", |
|
0 commit comments