@newt-app/templates 0.21.4 → 0.21.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9750,7 +9750,6 @@ ARG API_HOST=localhost
9750
9750
  ENV API_HOST=$API_HOST
9751
9751
  RUN pnpm build --filter=web --filter=api --filter=@<%= projectName %>/auth
9752
9752
  RUN pnpm deploy --filter=api --prod /deploy/api
9753
- RUN pnpm deploy --filter=@<%= projectName %>/auth --prod /deploy/auth
9754
9753
 
9755
9754
  # --- web ---
9756
9755
  FROM base AS web
@@ -9771,10 +9770,9 @@ EXPOSE 3001
9771
9770
  CMD ["node", "dist/main"]
9772
9771
 
9773
9772
  # --- migrate ---
9774
- FROM base AS migrate
9775
- COPY --from=build /deploy/auth /app
9773
+ FROM build AS migrate
9776
9774
  WORKDIR /app
9777
- CMD ["/app/node_modules/.bin/auth", "migrate", "--config", "src/index.ts", "-y"]`
9775
+ CMD ["pnpm", "db:migrate"]`
9778
9776
  };
9779
9777
 
9780
9778
  // src/deployment-standalone/templates/docker-compose.ts
@@ -9802,7 +9800,6 @@ services:
9802
9800
  build:
9803
9801
  context: .
9804
9802
  target: migrate
9805
- command: ["/app/node_modules/.bin/auth", "migrate", "--config", "src/index.ts", "-y"]
9806
9803
  environment:
9807
9804
  <<: *app-env
9808
9805
  depends_on:
@@ -9894,8 +9891,8 @@ var turbo_json_default2 = {
9894
9891
  "persistent": true
9895
9892
  },
9896
9893
  "migrate": {
9897
- "cache": false,
9898
- "interactive": true
9894
+ "dependsOn": ["^migrate"],
9895
+ "cache": false
9899
9896
  },
9900
9897
  "generate": {
9901
9898
  "cache": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.21.4",
3
+ "version": "0.21.5",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",