mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: force devDeps install with npm ci --include=dev and use npx vite build
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
[build]
|
||||
command = "npm ci && npx convex deploy --cmd 'npm run build'"
|
||||
command = "npm ci --include=dev && npx convex deploy --cmd 'npm run build'"
|
||||
publish = "dist"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "20"
|
||||
NPM_FLAGS = "--include=dev"
|
||||
|
||||
# Convex HTTP endpoints
|
||||
# RSS feeds
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev:convex": "convex dev",
|
||||
"build": "vite build",
|
||||
"build": "npx vite build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
|
||||
Reference in New Issue
Block a user