@gradientedge/cdk-utils 10.4.0 → 10.6.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.
- package/app/api-destined-function/node_modules/.bin/mkdirp +2 -2
- package/app/api-destined-function/node_modules/.bin/rimraf +2 -2
- package/app/api-destined-function/node_modules/.bin/uuid +2 -2
- package/app/api-destined-function/package.json +1 -1
- package/dist/src/lib/azure/services/storage/main.js +0 -8
- package/package.json +32 -33
- package/src/lib/azure/services/storage/main.ts +0 -9
- package/vitest.config.ts +3 -3
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/
|
|
13
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/
|
|
15
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/mkdirp@3.0.1/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../mkdirp/dist/cjs/src/bin.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.
|
|
13
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.3/node_modules/rimraf/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.3/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.
|
|
15
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.3/node_modules/rimraf/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/rimraf@6.1.3/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../rimraf/dist/esm/bin.mjs" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/
|
|
13
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/
|
|
15
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@13.0.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../uuid/dist-node/bin/uuid" "$@"
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as azure from '@pulumi/azure';
|
|
2
1
|
import { Blob, BlobContainer, HttpProtocol, Kind, listStorageAccountSAS, Permissions, Services, SignedResourceTypes, SkuName, StorageAccount, } from '@pulumi/azure-native/storage/index.js';
|
|
3
2
|
import * as pulumi from '@pulumi/pulumi';
|
|
4
3
|
/**
|
|
@@ -79,13 +78,6 @@ export class AzureStorageManager {
|
|
|
79
78
|
createStorageBlob(id, scope, props) {
|
|
80
79
|
if (!props)
|
|
81
80
|
throw `Props undefined for ${id}`;
|
|
82
|
-
const resourceGroup = azure.core.getResourceGroupOutput({
|
|
83
|
-
name: scope.props.resourceGroupName
|
|
84
|
-
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
85
|
-
: `${props.resourceGroupName}`,
|
|
86
|
-
});
|
|
87
|
-
if (!resourceGroup)
|
|
88
|
-
throw `Resource group undefined for ${id}`;
|
|
89
81
|
const resourceGroupName = scope.props.resourceGroupName
|
|
90
82
|
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
91
83
|
: `${props.resourceGroupName}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.6.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=22 <=24",
|
|
15
15
|
"pnpm": "=10"
|
|
16
16
|
},
|
|
17
|
-
"packageManager": "pnpm@10.
|
|
17
|
+
"packageManager": "pnpm@10.32.1",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "git+https://github.com/gradientedge/cdk-utils.git"
|
|
@@ -55,21 +55,20 @@
|
|
|
55
55
|
"prepare": "husky"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
59
|
-
"@aws-sdk/credential-providers": "^3.
|
|
60
|
-
"@aws-sdk/types": "^3.973.
|
|
61
|
-
"@pulumi/aws": "^7.
|
|
62
|
-
"@pulumi/azure": "^
|
|
63
|
-
"@pulumi/azure-native": "^3.13.0",
|
|
58
|
+
"@aws-sdk/client-secrets-manager": "^3.1010.0",
|
|
59
|
+
"@aws-sdk/credential-providers": "^3.1010.0",
|
|
60
|
+
"@aws-sdk/types": "^3.973.6",
|
|
61
|
+
"@pulumi/aws": "^7.23.0",
|
|
62
|
+
"@pulumi/azure-native": "^3.15.0",
|
|
64
63
|
"@pulumi/cloudflare": "^6.13.0",
|
|
65
|
-
"@pulumi/command": "^1.1
|
|
66
|
-
"@pulumi/pulumi": "^3.
|
|
67
|
-
"@pulumi/std": "^2.2
|
|
68
|
-
"@types/lodash": "^4.17.
|
|
69
|
-
"@types/node": "^25.
|
|
64
|
+
"@pulumi/command": "^1.2.1",
|
|
65
|
+
"@pulumi/pulumi": "^3.226.0",
|
|
66
|
+
"@pulumi/std": "^2.3.2",
|
|
67
|
+
"@types/lodash": "^4.17.24",
|
|
68
|
+
"@types/node": "^25.5.0",
|
|
70
69
|
"app-root-path": "^3.1.0",
|
|
71
|
-
"aws-cdk-lib": "^2.
|
|
72
|
-
"constructs": "^10.
|
|
70
|
+
"aws-cdk-lib": "^2.243.0",
|
|
71
|
+
"constructs": "^10.5.1",
|
|
73
72
|
"lodash": "^4.17.23",
|
|
74
73
|
"moment": "^2.30.1",
|
|
75
74
|
"nconf": "^0.13.0",
|
|
@@ -78,24 +77,24 @@
|
|
|
78
77
|
"uuid": "^13.0.0"
|
|
79
78
|
},
|
|
80
79
|
"devDependencies": {
|
|
81
|
-
"@babel/core": "^7.
|
|
80
|
+
"@babel/core": "^7.29.0",
|
|
82
81
|
"@babel/eslint-parser": "^7.28.6",
|
|
83
|
-
"@eslint/config-array": "^0.23.
|
|
84
|
-
"@eslint/object-schema": "^3.0.
|
|
85
|
-
"@types/node": "^25.
|
|
86
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
87
|
-
"@typescript-eslint/parser": "^8.
|
|
88
|
-
"@vitest/coverage-v8": "^4.0
|
|
89
|
-
"aws-cdk": "^2.
|
|
82
|
+
"@eslint/config-array": "^0.23.3",
|
|
83
|
+
"@eslint/object-schema": "^3.0.3",
|
|
84
|
+
"@types/node": "^25.5.0",
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
|
86
|
+
"@typescript-eslint/parser": "^8.57.1",
|
|
87
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
88
|
+
"aws-cdk": "^2.1111.0",
|
|
90
89
|
"better-docs": "^2.7.3",
|
|
91
90
|
"commitizen": "^4.3.1",
|
|
92
91
|
"docdash": "^2.0.2",
|
|
93
|
-
"dotenv": "^17.
|
|
94
|
-
"esbuild": "^0.27.
|
|
95
|
-
"eslint": "^
|
|
92
|
+
"dotenv": "^17.3.1",
|
|
93
|
+
"esbuild": "^0.27.4",
|
|
94
|
+
"eslint": "^10.0.3",
|
|
96
95
|
"eslint-config-prettier": "^10.1.8",
|
|
97
96
|
"eslint-plugin-import": "^2.32.0",
|
|
98
|
-
"eslint-plugin-jsdoc": "^62.
|
|
97
|
+
"eslint-plugin-jsdoc": "^62.8.0",
|
|
99
98
|
"husky": "^9.1.7",
|
|
100
99
|
"jsdoc": "^4.0.5",
|
|
101
100
|
"jsdoc-babel": "^0.5.0",
|
|
@@ -104,16 +103,16 @@
|
|
|
104
103
|
"jsdoc-to-markdown": "^9.1.3",
|
|
105
104
|
"prettier": "^3.8.1",
|
|
106
105
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
107
|
-
"rimraf": "^6.1.
|
|
108
|
-
"rollup": "^4.
|
|
109
|
-
"semantic-release": "^25.0.
|
|
106
|
+
"rimraf": "^6.1.3",
|
|
107
|
+
"rollup": "^4.59.0",
|
|
108
|
+
"semantic-release": "^25.0.3",
|
|
110
109
|
"@semantic-release/changelog": "^6.0.3",
|
|
111
|
-
"@semantic-release/github": "^12.0.
|
|
112
|
-
"@semantic-release/npm": "^13.1.
|
|
110
|
+
"@semantic-release/github": "^12.0.6",
|
|
111
|
+
"@semantic-release/npm": "^13.1.5",
|
|
113
112
|
"taffydb": "^2.7.3",
|
|
114
113
|
"ts-node": "^10.9.2",
|
|
115
114
|
"typescript": "5.9.3",
|
|
116
|
-
"vitest": "^4.0
|
|
115
|
+
"vitest": "^4.1.0",
|
|
117
116
|
"yaml": "^2.8.2"
|
|
118
117
|
},
|
|
119
118
|
"optionalDependencies": {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as azure from '@pulumi/azure'
|
|
2
1
|
import {
|
|
3
2
|
Blob,
|
|
4
3
|
BlobContainer,
|
|
@@ -108,14 +107,6 @@ export class AzureStorageManager {
|
|
|
108
107
|
public createStorageBlob(id: string, scope: CommonAzureConstruct, props: StorageBlobProps) {
|
|
109
108
|
if (!props) throw `Props undefined for ${id}`
|
|
110
109
|
|
|
111
|
-
const resourceGroup = azure.core.getResourceGroupOutput({
|
|
112
|
-
name: scope.props.resourceGroupName
|
|
113
|
-
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
114
|
-
: `${props.resourceGroupName}`,
|
|
115
|
-
})
|
|
116
|
-
|
|
117
|
-
if (!resourceGroup) throw `Resource group undefined for ${id}`
|
|
118
|
-
|
|
119
110
|
const resourceGroupName = scope.props.resourceGroupName
|
|
120
111
|
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
121
112
|
: `${props.resourceGroupName}`
|