Skip to content

Commit ae221e3

Browse files
committed
fixup package.json scripts
1 parent 634d24c commit ae221e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
"astro": "npx astro",
77
"build": "npx astro build",
88
"postbuild": "npm run build:worker",
9-
"build:worker": "npx wrangler types -c wrangler-workers.toml --experimental-include-runtime && npx wrangler pages functions build --outdir worker/functions",
10-
"check": "npm run check:functions && npm run check:astro",
9+
"build:worker": "npx wrangler types -c wrangler-workers.toml --experimental-include-runtime",
10+
"check": "npm run check:astro && npm run check:worker",
1111
"check:astro": "npm run sync && astro check",
12-
"check:functions": "npx tsc --noEmit -p ./functions/tsconfig.json",
13-
"check:worker": "npx tsc --noEmit -p ./worker/tsconfig.json",
12+
"check:worker": "npm run build:worker && npx tsc --noEmit -p ./worker/tsconfig.json",
1413
"dev": "npx astro dev",
1514
"format": "npm run format:core && npm run format:data",
1615
"format:core": "npx prettier --write \"**/*.{js,jsx,ts,tsx,mjs,css}\"",

0 commit comments

Comments
 (0)