takomo 7.1.4 → 7.2.0

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 (63) hide show
  1. package/dist/cli/common.js +4 -11
  2. package/dist/cli/common.js.map +1 -1
  3. package/dist/cli/constants.d.ts +30 -0
  4. package/dist/cli/constants.js +30 -0
  5. package/dist/cli/constants.js.map +1 -1
  6. package/dist/cli/index.js +1 -0
  7. package/dist/cli/index.js.map +1 -1
  8. package/dist/cli/stacks/deploy.js +3 -0
  9. package/dist/cli/stacks/deploy.js.map +1 -1
  10. package/dist/cli/stacks/emit.d.ts +14 -0
  11. package/dist/cli/stacks/emit.js +54 -0
  12. package/dist/cli/stacks/emit.js.map +1 -0
  13. package/dist/cli/stacks/index.js +3 -0
  14. package/dist/cli/stacks/index.js.map +1 -1
  15. package/dist/cli-io/config-set/target-listener.d.ts +1 -1
  16. package/dist/cli-io/stacks/common.d.ts +1 -1
  17. package/dist/cli-io/stacks/common.js +1 -1
  18. package/dist/cli-io/stacks/common.js.map +1 -1
  19. package/dist/cli-io/stacks/deploy-stacks/emit-stack-templates-io.d.ts +4 -0
  20. package/dist/cli-io/stacks/deploy-stacks/emit-stack-templates-io.js +32 -0
  21. package/dist/cli-io/stacks/deploy-stacks/emit-stack-templates-io.js.map +1 -0
  22. package/dist/cli-io/user-actions.d.ts +1 -7
  23. package/dist/cli-io/user-actions.js +17 -61
  24. package/dist/cli-io/user-actions.js.map +1 -1
  25. package/dist/command/command-model.d.ts +1 -0
  26. package/dist/command/stacks/deploy/deploy-stack.d.ts +1 -1
  27. package/dist/command/stacks/deploy/deploy-stack.js +5 -1
  28. package/dist/command/stacks/deploy/deploy-stack.js.map +1 -1
  29. package/dist/command/stacks/deploy/execute-deploy-context.js +6 -6
  30. package/dist/command/stacks/deploy/execute-deploy-context.js.map +1 -1
  31. package/dist/command/stacks/deploy/states.d.ts +4 -0
  32. package/dist/command/stacks/deploy/steps/emit-stack-template.d.ts +3 -0
  33. package/dist/command/stacks/deploy/steps/emit-stack-template.js +46 -0
  34. package/dist/command/stacks/deploy/steps/emit-stack-template.js.map +1 -0
  35. package/dist/command/stacks/deploy/steps/execute-after-deploy-hooks.js +5 -1
  36. package/dist/command/stacks/deploy/steps/execute-after-deploy-hooks.js.map +1 -1
  37. package/dist/command/stacks/deploy/steps/execute-before-deploy-hooks.js +5 -1
  38. package/dist/command/stacks/deploy/steps/execute-before-deploy-hooks.js.map +1 -1
  39. package/dist/command/stacks/deploy/steps/prepare-parameters.js +5 -1
  40. package/dist/command/stacks/deploy/steps/prepare-parameters.js.map +1 -1
  41. package/dist/command/stacks/deploy/steps/validate-parameters.js +41 -36
  42. package/dist/command/stacks/deploy/steps/validate-parameters.js.map +1 -1
  43. package/dist/command/stacks/deploy/transitions.d.ts +1 -0
  44. package/dist/command/stacks/deploy/transitions.js +3 -0
  45. package/dist/command/stacks/deploy/transitions.js.map +1 -1
  46. package/dist/command/stacks/model.d.ts +4 -0
  47. package/dist/command/targets/common/plan/config-set-execution-plan.d.ts +1 -1
  48. package/dist/command/targets/common/plan/config-set-execution-plan.js.map +1 -1
  49. package/dist/command/targets/common/plan/create-config-set-execution-plan.d.ts +1 -1
  50. package/dist/command/targets/common/plan/create-config-set-execution-plan.js.map +1 -1
  51. package/dist/command/targets/operation/create-deployment-target-variables.d.ts +6 -2
  52. package/dist/command/targets/operation/create-deployment-target-variables.js.map +1 -1
  53. package/dist/command/targets/operation/execute.js +4 -1
  54. package/dist/command/targets/operation/execute.js.map +1 -1
  55. package/dist/command/targets/operation/model.d.ts +1 -1
  56. package/dist/utils/errors.d.ts +6 -0
  57. package/dist/utils/errors.js +1 -1
  58. package/dist/utils/errors.js.map +1 -1
  59. package/dist/utils/strings.d.ts +2 -1
  60. package/package.json +27 -28
  61. package/dist/takomo-execution-plans/index.d.ts +0 -2
  62. package/dist/takomo-execution-plans/index.js +0 -2
  63. package/dist/takomo-execution-plans/index.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "takomo",
3
- "version": "7.1.4",
3
+ "version": "7.2.0",
4
4
  "description": "Organize, configure and deploy CloudFormation stacks.",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,6 +45,7 @@
45
45
  "build": "tsc",
46
46
  "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --selectProjects test --maxWorkers=2 --ci --verbose",
47
47
  "integration-test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --selectProjects integration-test --maxWorkers=5 --ci --verbose",
48
+ "single-integration-test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --selectProjects integration-test --ci --verbose -i integration-test/test/emit/emit-multiple.test.ts",
48
49
  "clean": "rm -f package-lock.json && rm -rf node_modules && rm -rf dist",
49
50
  "clean-build": "npm run clean && npm install && npm run build",
50
51
  "depcheck": "depcheck"
@@ -80,7 +81,7 @@
80
81
  "devDependencies": {
81
82
  "ts-jest": "29.2.5",
82
83
  "@jest/globals": "29.7.0",
83
- "@aws-sdk/client-ec2": "3.670.0",
84
+ "@aws-sdk/client-ec2": "3.694.0",
84
85
  "@commitlint/cli": "19.5.0",
85
86
  "@commitlint/config-conventional": "19.5.0",
86
87
  "@jest/console": "29.7.0",
@@ -88,28 +89,27 @@
88
89
  "@takomo/test-custom-helper-uppercase": "0.0.1",
89
90
  "@takomo/test-custom-resolver-code": "0.0.1",
90
91
  "@takomo/test-custom-resolver-name": "0.0.1",
91
- "@types/date-and-time": "0.13.0",
92
92
  "@types/diff": "5.2.3",
93
93
  "@types/folder-hash": "4.0.4",
94
- "@types/inquirer": "9.0.7",
95
- "@types/jest": "29.5.13",
94
+ "@types/jest": "29.5.14",
96
95
  "@types/jmespath": "0.15.2",
97
96
  "@types/js-yaml": "4.0.9",
98
- "@types/json-stable-stringify": "1.0.36",
97
+ "@types/json-stable-stringify": "1.1.0",
99
98
  "@types/node": "20.14.9",
100
99
  "@types/ramda": "0.29.11",
101
100
  "@types/semver": "7.5.8",
102
101
  "@types/uuid": "10.0.0",
103
102
  "@types/yargs": "17.0.33",
104
103
  "@types/ejs": "3.1.5",
105
- "@types/lodash": "4.17.10",
106
- "@typescript-eslint/eslint-plugin": "8.9.0",
107
- "@typescript-eslint/parser": "8.9.0",
108
- "@types/inquirer-autocomplete-prompt": "3.0.3",
104
+ "@types/lodash": "4.17.13",
105
+ "@typescript-eslint/eslint-plugin": "8.14.0",
106
+ "@typescript-eslint/parser": "8.14.0",
109
107
  "depcheck": "1.4.7",
110
- "eslint": "9.12.0",
108
+ "eslint": "9.15.0",
111
109
  "eslint-config-prettier": "9.1.0",
112
110
  "eslint-plugin-prettier": "5.2.1",
111
+ "@eslint/js": "9.15.0",
112
+ "@eslint/eslintrc": "3.2.0",
113
113
  "husky": "9.1.6",
114
114
  "jest": "29.7.0",
115
115
  "jest-environment-testenv-recycler": "0.0.21",
@@ -118,23 +118,23 @@
118
118
  "prettier-plugin-organize-imports": "4.1.0",
119
119
  "lint-staged": "15.2.10",
120
120
  "ts-node": "10.9.2",
121
- "typedoc": "0.26.10",
121
+ "typedoc": "0.26.11",
122
122
  "typescript": "5.6.3",
123
- "semantic-release": "24.1.2",
124
- "npm-check-updates": "17.1.4"
123
+ "semantic-release": "24.2.0",
124
+ "npm-check-updates": "17.1.11"
125
125
  },
126
126
  "dependencies": {
127
- "@aws-sdk/client-cloudformation": "3.672.0",
128
- "@aws-sdk/client-cloudtrail": "3.670.0",
129
- "@aws-sdk/client-organizations": "3.670.0",
130
- "@aws-sdk/client-s3": "3.673.0",
131
- "@aws-sdk/client-secrets-manager": "3.670.0",
132
- "@aws-sdk/client-ssm": "3.670.0",
133
- "@aws-sdk/client-sts": "3.670.0",
134
- "@aws-sdk/credential-providers": "3.670.0",
127
+ "@aws-sdk/client-cloudformation": "3.693.0",
128
+ "@aws-sdk/client-cloudtrail": "3.693.0",
129
+ "@aws-sdk/client-organizations": "3.693.0",
130
+ "@aws-sdk/client-s3": "3.693.0",
131
+ "@aws-sdk/client-secrets-manager": "3.693.0",
132
+ "@aws-sdk/client-ssm": "3.693.0",
133
+ "@aws-sdk/client-sts": "3.693.0",
134
+ "@aws-sdk/credential-providers": "3.693.0",
135
135
  "@smithy/middleware-retry": "2.3.1",
136
136
  "@smithy/node-http-handler": "2.5.0",
137
- "@aws-sdk/types": "3.664.0",
137
+ "@aws-sdk/types": "3.692.0",
138
138
  "chalk": "5.3.0",
139
139
  "cockatiel": "3.2.1",
140
140
  "date-and-time": "3.6.0",
@@ -144,21 +144,20 @@
144
144
  "easy-table": "1.2.0",
145
145
  "folder-hash": "4.0.4",
146
146
  "handlebars": "4.7.8",
147
- "inquirer": "9.3.1",
148
- "inquirer-autocomplete-prompt": "3.0.1",
147
+ "@inquirer/prompts": "7.1.0",
149
148
  "jmespath": "0.16.0",
150
149
  "joi": "17.13.3",
151
150
  "js-yaml": "4.1.0",
152
151
  "json-stable-stringify": "1.1.1",
153
- "neverthrow": "8.0.0",
152
+ "neverthrow": "8.1.1",
154
153
  "p-queue": "8.0.1",
155
- "pretty-ms": "9.1.0",
154
+ "pretty-ms": "9.2.0",
156
155
  "ramda": "0.30.1",
157
156
  "readdirp": "3.6.0",
158
157
  "semver": "7.6.3",
159
158
  "source-map-support": "0.5.21",
160
159
  "ts-dedent": "2.2.0",
161
- "uuid": "10.0.0",
160
+ "uuid": "11.0.3",
162
161
  "yargs": "17.7.2",
163
162
  "esbuild": "0.24.0",
164
163
  "ejs": "3.1.10",
@@ -1,2 +0,0 @@
1
- export { executeConfigSetPlan } from "./config-set/execute/plan.js";
2
- export { CommandPathExecutionResult, ConfigSetExecutionGroup, ConfigSetExecutionPlan, ConfigSetExecutionResult, ConfigSetExecutionStage, ConfigSetExecutionTarget, ConfigSetGroupExecutionResult, ConfigSetPlanExecutionResult, ConfigSetStageExecutionResult, ConfigSetTargetExecutionResult, ConfigSetTargetExecutorProps, ConfigSetTargetListener, CreateConfigSetTargetListenerProps, } from "./config-set/model.js";
@@ -1,2 +0,0 @@
1
- export { executeConfigSetPlan } from "./config-set/execute/plan.js";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/takomo-execution-plans/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA"}