diff --git a/apps/api/package.json b/apps/api/package.json index 1124139..eb55db4 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -8,6 +8,7 @@ "db:seed": "tsx ./src/db/seed.ts", "db:studio": "drizzle-kit studio", "deploy": "wrangler deploy --minify src/index.ts", + "workers:deploy": "wrangler deploy --minify src/index.ts", "dev": "wrangler dev src/index.ts", "dev:local": "tsx --watch src/index.ts", "test": "vitest", @@ -41,4 +42,4 @@ "vitest": "^2.1.4", "wrangler": "^3.86.0" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index dcc61ea..e319293 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "admin:build": "pnpm --filter admin build", "admin:dev": "pnpm --filter admin dev", - "api:deploy": "pnpm --filter api deploy", + "api:deploy": "pnpm --filter api workers:deploy", "api:dev": "pnpm --filter api dev", "build": "turbo build", "build-storybook": "storybook build",