@gradientedge/cdk-utils 9.3.0 → 9.4.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.
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@
|
|
9
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@
|
|
11
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@10.0.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@"
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"test": "npx jest --ci --runInBand --passWithNoTests"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@types/uuid": "^
|
|
20
|
-
"uuid": "^
|
|
19
|
+
"@types/uuid": "^10.0.0",
|
|
20
|
+
"uuid": "^10.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"mkdirp": "^3.0.1",
|
|
24
|
-
"rimraf": "^5.0.
|
|
24
|
+
"rimraf": "^5.0.7"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -3,7 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.createCfnOutput = createCfnOutput;
|
|
7
|
+
exports.determineCredentials = determineCredentials;
|
|
8
|
+
exports.redirectError = redirectError;
|
|
9
|
+
exports.redirectSuccess = redirectSuccess;
|
|
7
10
|
const credential_providers_1 = require("@aws-sdk/credential-providers");
|
|
8
11
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
9
12
|
const lodash_1 = __importDefault(require("lodash"));
|
|
@@ -28,7 +31,6 @@ function createCfnOutput(id, scope, value, description, overrideId = true) {
|
|
|
28
31
|
}
|
|
29
32
|
return output;
|
|
30
33
|
}
|
|
31
|
-
exports.createCfnOutput = createCfnOutput;
|
|
32
34
|
/**
|
|
33
35
|
*
|
|
34
36
|
*/
|
|
@@ -37,7 +39,6 @@ function determineCredentials() {
|
|
|
37
39
|
return (0, credential_providers_1.fromIni)();
|
|
38
40
|
return (0, credential_providers_1.fromEnv)();
|
|
39
41
|
}
|
|
40
|
-
exports.determineCredentials = determineCredentials;
|
|
41
42
|
/**
|
|
42
43
|
*/
|
|
43
44
|
const defaultResponseObject = {
|
|
@@ -58,7 +59,6 @@ function redirectError(error) {
|
|
|
58
59
|
statusCode: 500,
|
|
59
60
|
});
|
|
60
61
|
}
|
|
61
|
-
exports.redirectError = redirectError;
|
|
62
62
|
/**
|
|
63
63
|
* @param message
|
|
64
64
|
*/
|
|
@@ -68,4 +68,3 @@ function redirectSuccess(message) {
|
|
|
68
68
|
statusCode: 200,
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
exports.redirectSuccess = redirectSuccess;
|
|
@@ -11,16 +11,16 @@ export declare enum LogLevel {
|
|
|
11
11
|
/**
|
|
12
12
|
* @param stage
|
|
13
13
|
*/
|
|
14
|
-
export declare const isDevStage: (stage: string) =>
|
|
14
|
+
export declare const isDevStage: (stage: string) => stage is "dev";
|
|
15
15
|
/**
|
|
16
16
|
* @param stage
|
|
17
17
|
*/
|
|
18
|
-
export declare const isTestStage: (stage: string) =>
|
|
18
|
+
export declare const isTestStage: (stage: string) => stage is "tst";
|
|
19
19
|
/**
|
|
20
20
|
* @param stage
|
|
21
21
|
*/
|
|
22
|
-
export declare const isUatStage: (stage: string) =>
|
|
22
|
+
export declare const isUatStage: (stage: string) => stage is "uat";
|
|
23
23
|
/**
|
|
24
24
|
* @param stage
|
|
25
25
|
*/
|
|
26
|
-
export declare const isPrdStage: (stage: string) =>
|
|
26
|
+
export declare const isPrdStage: (stage: string) => stage is "prd";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -50,62 +50,62 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
54
|
-
"@aws-sdk/credential-providers": "^3.
|
|
55
|
-
"@aws-sdk/types": "^3.
|
|
56
|
-
"@cdktf/provider-aws": "^19.
|
|
57
|
-
"@cdktf/provider-azurerm": "^12.
|
|
58
|
-
"@cdktf/provider-cloudflare": "^11.
|
|
59
|
-
"@types/lodash": "^4.17.
|
|
60
|
-
"@types/node": "^20.
|
|
61
|
-
"@types/uuid": "^
|
|
53
|
+
"@aws-sdk/client-secrets-manager": "^3.600.0",
|
|
54
|
+
"@aws-sdk/credential-providers": "^3.600.0",
|
|
55
|
+
"@aws-sdk/types": "^3.598.0",
|
|
56
|
+
"@cdktf/provider-aws": "^19.23.0",
|
|
57
|
+
"@cdktf/provider-azurerm": "^12.21.0",
|
|
58
|
+
"@cdktf/provider-cloudflare": "^11.13.0",
|
|
59
|
+
"@types/lodash": "^4.17.5",
|
|
60
|
+
"@types/node": "^20.14.8",
|
|
61
|
+
"@types/uuid": "^10.0.0",
|
|
62
62
|
"app-root-path": "^3.1.0",
|
|
63
|
-
"aws-cdk-lib": "^2.
|
|
63
|
+
"aws-cdk-lib": "^2.147.1",
|
|
64
64
|
"cdktf": "^0.20.7",
|
|
65
|
-
"cdktf-local-exec": "^0.5.
|
|
65
|
+
"cdktf-local-exec": "^0.5.23",
|
|
66
66
|
"constructs": "^10.3.0",
|
|
67
67
|
"lodash": "^4.17.21",
|
|
68
68
|
"moment": "^2.30.1",
|
|
69
69
|
"nconf": "^0.12.1",
|
|
70
70
|
"pluralize": "^8.0.0",
|
|
71
71
|
"ts-node": "^10.9.2",
|
|
72
|
-
"uuid": "^
|
|
72
|
+
"uuid": "^10.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@babel/core": "^7.24.
|
|
76
|
-
"@babel/eslint-parser": "^7.24.
|
|
75
|
+
"@babel/core": "^7.24.7",
|
|
76
|
+
"@babel/eslint-parser": "^7.24.7",
|
|
77
77
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
78
78
|
"@types/jest": "^29.5.12",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
80
|
-
"@typescript-eslint/parser": "^7.
|
|
81
|
-
"aws-cdk": "^2.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
80
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
81
|
+
"aws-cdk": "^2.147.1",
|
|
82
82
|
"better-docs": "^2.7.3",
|
|
83
83
|
"codecov": "^3.8.3",
|
|
84
84
|
"commitizen": "^4.3.0",
|
|
85
85
|
"docdash": "^2.0.2",
|
|
86
86
|
"dotenv": "^16.4.5",
|
|
87
|
-
"eslint": "^9.
|
|
87
|
+
"eslint": "^9.5.0",
|
|
88
88
|
"eslint-config-prettier": "^9.1.0",
|
|
89
89
|
"eslint-plugin-import": "^2.29.1",
|
|
90
|
-
"eslint-plugin-jsdoc": "^48.
|
|
90
|
+
"eslint-plugin-jsdoc": "^48.4.0",
|
|
91
91
|
"husky": "^9.0.11",
|
|
92
92
|
"jest": "^29.7.0",
|
|
93
93
|
"jest-extended": "^4.0.2",
|
|
94
94
|
"jest-junit": "^16.0.0",
|
|
95
|
-
"jsdoc": "^4.0.
|
|
95
|
+
"jsdoc": "^4.0.3",
|
|
96
96
|
"jsdoc-babel": "^0.5.0",
|
|
97
97
|
"jsdoc-mermaid": "^1.0.0",
|
|
98
98
|
"jsdoc-plugin-typescript": "^2.2.1",
|
|
99
99
|
"jsdoc-to-markdown": "^8.0.1",
|
|
100
|
-
"prettier": "^3.2
|
|
100
|
+
"prettier": "^3.3.2",
|
|
101
101
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
102
|
-
"rimraf": "^5.0.
|
|
103
|
-
"semantic-release": "^
|
|
102
|
+
"rimraf": "^5.0.7",
|
|
103
|
+
"semantic-release": "^24.0.0",
|
|
104
104
|
"taffydb": "^2.7.3",
|
|
105
|
-
"ts-jest": "^29.1.
|
|
105
|
+
"ts-jest": "^29.1.5",
|
|
106
106
|
"ts-node": "^10.9.2",
|
|
107
|
-
"typescript": "5.
|
|
108
|
-
"yaml": "^2.4.
|
|
107
|
+
"typescript": "5.5.2",
|
|
108
|
+
"yaml": "^2.4.5"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
111
|
"prop-types": "^15.8.1",
|