From 1754cf2d28b88fdcd3f3b94264a75eb9997fec20 Mon Sep 17 00:00:00 2001 From: Ben Vinegar <2153+benvinegar@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:09:21 -0500 Subject: [PATCH] Typecheck needs to build first --- packages/server/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index cf15e5ef..d8fd17ba 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -11,12 +11,13 @@ "build": "remix vite:build", "prepreview": "remix vite:build", "preview": "wrangler pages dev ./build/client", - "predeploy": "remix vite:build", + "predeploy": "npm run build", "deploy": "wrangler pages deploy ./build/client", - "prelint": "remix vite:build", + "prelint": "npm run build", "lint": "eslint --ignore-path ../../.gitignore --cache --cache-location ./node_modules/.cache/eslint .", "test": "TZ=EST vitest run", "test-ci": "TZ=EST vitest run --coverage", + "pretypecheck": "npm run build", "typecheck": "tsc", "prepare": "husky", "types:gen": "wrangler types",