Skip to content

Commit de20c30

Browse files
committed
build: update prepare scripts in package.json for better build process
1 parent cb72e77 commit de20c30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint:es": "eslint .",
1010
"lint:markup": "markuplint \"**/*.{jsx,tsx}\"",
1111
"lint:ts": "tsc --noEmit",
12-
"prepare": "fumadocs-mdx && pnpm run build",
12+
"prepare": "fumadocs-mdx",
1313
"start": "next start"
1414
},
1515
"dependencies": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"lint:spell": "cspell lint --relative --no-progress \"**\"",
4646
"lint:ts": "pnpm m run lint:ts",
4747
"lint:website": "pnpm -F \"./apps/website\" run lint",
48-
"prepare": "lefthook install && pnpm run build && pnpm run update:website",
48+
"prepare": "lefthook install && pnpm run update:all && pnpm run build",
4949
"test": "vitest run --logHeapUsage",
5050
"update:all": "pnpm run update:version && pnpm run update:readme && pnpm run update:website",
5151
"update:readme": "tsx ./scripts/update-readme.ts",

0 commit comments

Comments
 (0)