From 814c7bf237a75cd65cb46d635a2af2aee170c6b0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 25 Jan 2024 04:05:00 +0000 Subject: [PATCH] chore: fixpnpm run path problem --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f6652c0..fe5a880 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,13 @@ "scripts": { "dev": "concurrently --kill-others npm:dev:server npm:dev:web", "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:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start", "test": "vitest", "build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo", "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:geo": "ts-node scripts/build-geo.ts", "build:openapi": "ts-node scripts/build-openapi-schema.ts",