diff --git a/.changeset/pretty-flies-smell.md b/.changeset/pretty-flies-smell.md new file mode 100644 index 00000000..c5452a1f --- /dev/null +++ b/.changeset/pretty-flies-smell.md @@ -0,0 +1,5 @@ +--- +"gboost": patch +--- + +infra: cdk destroy command correction diff --git a/examples/widgets-dynamo/infra/package.json b/examples/widgets-dynamo/infra/package.json index 60a81885..1e1bcc53 100644 --- a/examples/widgets-dynamo/infra/package.json +++ b/examples/widgets-dynamo/infra/package.json @@ -7,7 +7,7 @@ "deploy:local": "cdk deploy \"**\" --require-approval never", "deploy:pipeline": "cdk --app \"./node_modules/.bin/ts-node src/pipeline/pipeline-app.ts\" deploy \"*\"", "destroy:local": "cdk destroy --force \"**\"", - "destroy:pipeline": "cdk --app \"./node_modules/.bin/ts-node src/pipeline/pipeline-app.ts\" --force destroy \"*\"", + "destroy:pipeline": "cdk --app \"./node_modules/.bin/ts-node src/pipeline/pipeline-app.ts\" destroy --force \"*\"", "lint": "eslint \"src/**/*.ts\"", "test": "vitest run --passWithNoTests", "watch:api": "cdk watch \"*/api\" --hotswap-fallback --exclusively", diff --git a/packages/gboost/templates/crud-core/infra/package.json.t b/packages/gboost/templates/crud-core/infra/package.json.t index 0677999e..d08b3f06 100644 --- a/packages/gboost/templates/crud-core/infra/package.json.t +++ b/packages/gboost/templates/crud-core/infra/package.json.t @@ -7,7 +7,7 @@ "deploy:local": "cdk deploy \"**\" --require-approval never --no-rollback", "deploy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" deploy \"*\" --no-rollback", "destroy:local": "cdk destroy --force \"**\"", - "destroy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" --force destroy \"*\"", + "destroy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" destroy --force \"*\"", "lint": "eslint \"src/**/*.ts\"", "test": "vitest run", "watch": "cdk watch --hotswap-fallback --exclusively", diff --git a/packages/gboost/templates/minimal/infra/package.json.t b/packages/gboost/templates/minimal/infra/package.json.t index 78ab367c..b7c73d8d 100644 --- a/packages/gboost/templates/minimal/infra/package.json.t +++ b/packages/gboost/templates/minimal/infra/package.json.t @@ -7,7 +7,7 @@ "deploy:local": "cdk deploy \"**\" --require-approval never --no-rollback", "deploy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" deploy \"*\" --no-rollback", "destroy:local": "cdk destroy --force \"**\"", - "destroy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" --force destroy \"*\"", + "destroy:pipeline": "cdk --app \"./node_modules/.bin/tsx src/pipeline/pipeline-app.ts\" destroy --force \"*\"", "lint": "eslint \"src/**/*.ts\"", "test": "vitest run", "watch": "cdk --watch",