chore: fixpnpm run path problem

This commit is contained in:
moonrailgun 2024-01-25 04:05:00 +00:00
parent 39550ece83
commit 814c7bf237

View File

@ -5,13 +5,13 @@
"scripts": { "scripts": {
"dev": "concurrently --kill-others npm:dev:server npm:dev:web", "dev": "concurrently --kill-others npm:dev:server npm:dev:web",
"dev:web": "cd src/client && pnpm dev", "dev:web": "cd src/client && pnpm dev",
"dev:server": "pnpm run dev --filer ./src/server", "dev:server": "pnpm run --filter @tianji/server dev",
"start": "cross-env NODE_ENV=production node ./dist/src/server/main.js", "start": "cross-env NODE_ENV=production node ./dist/src/server/main.js",
"start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start", "start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start",
"test": "vitest", "test": "vitest",
"build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo", "build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo",
"build:client": "cd src/client && pnpm build", "build:client": "cd src/client && pnpm build",
"build:server": "pnpm run build --filer ./src/server", "build:server": "pnpm run --filter @tianji/server build",
"build:tracker": "ts-node scripts/build-tracker.ts", "build:tracker": "ts-node scripts/build-tracker.ts",
"build:geo": "ts-node scripts/build-geo.ts", "build:geo": "ts-node scripts/build-geo.ts",
"build:openapi": "ts-node scripts/build-openapi-schema.ts", "build:openapi": "ts-node scripts/build-openapi-schema.ts",