@gradientedge/cdk-utils 8.42.0 → 8.43.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.
|
@@ -51,7 +51,7 @@ export declare class S3Manager {
|
|
|
51
51
|
* @param {string} bucketName the bucket name
|
|
52
52
|
* @private
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
static determineBucketName(scope: common.CommonConstruct, bucketName: string): string;
|
|
55
55
|
/**
|
|
56
56
|
* @summary Method to create a s3 bucket
|
|
57
57
|
* @param {string} id scoped id of the resource
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.43.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"prettier": "npx prettier --cache --check \"**/*.{ts,json,md}\"",
|
|
37
37
|
"prettify": "npx prettier --cache --write \"**/*.{ts,json,md}\"",
|
|
38
38
|
"test": "npx rimraf coverage && npx jest --ci --maxWorkers=100%",
|
|
39
|
-
"update:deps": "ncu -u --deep",
|
|
39
|
+
"update:deps": "ncu -u --deep --reject react,react-dom",
|
|
40
40
|
"validate": "pnpm prettier && pnpm test"
|
|
41
41
|
},
|
|
42
42
|
"husky": {
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@types/lodash": "^4.14.192",
|
|
49
49
|
"@types/node": "^18.15.11",
|
|
50
50
|
"app-root-path": "^3.1.0",
|
|
51
|
-
"aws-cdk-lib": "^2.72.
|
|
52
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
53
|
-
"constructs": "^10.1.
|
|
51
|
+
"aws-cdk-lib": "^2.72.1",
|
|
52
|
+
"@aws-sdk/client-secrets-manager": "^3.303.0",
|
|
53
|
+
"constructs": "^10.1.300",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"moment": "^2.29.4",
|
|
56
56
|
"nconf": "^0.12.0",
|
|
@@ -58,12 +58,13 @@
|
|
|
58
58
|
"ts-node": "^10.9.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
+
"@babel/core": "^7.21.4",
|
|
62
|
+
"@babel/eslint-parser": "^7.21.3",
|
|
61
63
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
62
64
|
"@types/jest": "^29.5.0",
|
|
63
65
|
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
|
64
66
|
"@typescript-eslint/parser": "^5.57.0",
|
|
65
|
-
"aws-cdk": "^2.72.
|
|
66
|
-
"babel-eslint": "^10.1.0",
|
|
67
|
+
"aws-cdk": "^2.72.1",
|
|
67
68
|
"better-docs": "^2.7.2",
|
|
68
69
|
"codecov": "^3.8.3",
|
|
69
70
|
"commitizen": "^4.3.0",
|
|
@@ -81,14 +82,13 @@
|
|
|
81
82
|
"prettier": "^2.8.7",
|
|
82
83
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
83
84
|
"rimraf": "^4.4.1",
|
|
84
|
-
"semantic-release": "^21.0.
|
|
85
|
+
"semantic-release": "^21.0.1",
|
|
85
86
|
"taffydb": "^2.7.3",
|
|
86
|
-
"ts-jest": "^29.0
|
|
87
|
+
"ts-jest": "^29.1.0",
|
|
87
88
|
"ts-node": "^10.9.1",
|
|
88
|
-
"typescript": "5.0.
|
|
89
|
+
"typescript": "5.0.3"
|
|
89
90
|
},
|
|
90
91
|
"optionalDependencies": {
|
|
91
|
-
"@babel/core": "^7.21.00",
|
|
92
92
|
"prop-types": "^15.8.1",
|
|
93
93
|
"react": "^17.0.0",
|
|
94
94
|
"react-dom": "^17.0.0"
|
|
@@ -86,7 +86,7 @@ export class S3Manager {
|
|
|
86
86
|
* @param {string} bucketName the bucket name
|
|
87
87
|
* @private
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
public static determineBucketName(scope: common.CommonConstruct, bucketName: string) {
|
|
90
90
|
const sanitisedBucketName = scope.props.excludeDomainNameForBuckets
|
|
91
91
|
? S3Manager.determineBucketNameByAccountAndRegion(scope, bucketName)
|
|
92
92
|
: S3Manager.determineBucketNameByDomainName(scope, bucketName)
|