@cdktn/hcl2cdk 0.24.0-pre.12 → 0.24.0-pre.24
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/.spec.swcrc +22 -0
- package/build/index.d.ts +20 -20
- package/build/schema.d.ts +60 -60
- package/jest.config.js +18 -11
- package/package.json +20 -12
package/.spec.swcrc
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"jsc": {
|
|
3
|
+
"target": "es2017",
|
|
4
|
+
"parser": {
|
|
5
|
+
"syntax": "typescript",
|
|
6
|
+
"decorators": true,
|
|
7
|
+
"dynamicImport": true
|
|
8
|
+
},
|
|
9
|
+
"transform": {
|
|
10
|
+
"decoratorMetadata": true,
|
|
11
|
+
"legacyDecorator": true
|
|
12
|
+
},
|
|
13
|
+
"keepClassNames": true,
|
|
14
|
+
"externalHelpers": true,
|
|
15
|
+
"loose": true
|
|
16
|
+
},
|
|
17
|
+
"module": {
|
|
18
|
+
"type": "commonjs"
|
|
19
|
+
},
|
|
20
|
+
"sourceMaps": true,
|
|
21
|
+
"exclude": []
|
|
22
|
+
}
|
package/build/index.d.ts
CHANGED
|
@@ -6,43 +6,43 @@ import { replaceCsharpImports, replaceGoImports, replaceJavaImports, replacePyth
|
|
|
6
6
|
import { ProviderSchema } from "@cdktn/commons";
|
|
7
7
|
export declare const CODE_MARKER = "// define resources here";
|
|
8
8
|
export declare function getParsedHcl(hcl: string): Promise<{
|
|
9
|
-
terraform?: {
|
|
10
|
-
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
11
|
-
required_providers?: Record<string, string | {
|
|
12
|
-
source?: string | undefined;
|
|
13
|
-
version?: string | undefined;
|
|
14
|
-
}>[] | undefined;
|
|
15
|
-
required_version?: string | undefined;
|
|
16
|
-
}[] | undefined;
|
|
17
9
|
provider?: Record<string, Record<string, any>[]> | undefined;
|
|
10
|
+
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
11
|
+
import?: {
|
|
12
|
+
to: string;
|
|
13
|
+
id: string;
|
|
14
|
+
provider?: any;
|
|
15
|
+
}[] | undefined;
|
|
16
|
+
locals?: Record<string, any>[] | undefined;
|
|
18
17
|
module?: Record<string, z.objectOutputType<{
|
|
19
18
|
source: z.ZodString;
|
|
20
19
|
}, z.ZodTypeAny, "passthrough">[]> | undefined;
|
|
21
|
-
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
22
|
-
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
23
20
|
output?: Record<string, {
|
|
21
|
+
sensitive?: boolean | undefined;
|
|
24
22
|
value?: any;
|
|
25
23
|
description?: string | undefined;
|
|
26
|
-
sensitive?: boolean | undefined;
|
|
27
24
|
depends_on?: string | undefined;
|
|
28
25
|
}[]> | undefined;
|
|
26
|
+
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
27
|
+
terraform?: {
|
|
28
|
+
required_version?: string | undefined;
|
|
29
|
+
required_providers?: Record<string, string | {
|
|
30
|
+
source?: string | undefined;
|
|
31
|
+
version?: string | undefined;
|
|
32
|
+
}>[] | undefined;
|
|
33
|
+
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
34
|
+
}[] | undefined;
|
|
29
35
|
variable?: Record<string, {
|
|
36
|
+
sensitive?: boolean | undefined;
|
|
30
37
|
type?: string | undefined;
|
|
31
|
-
default?: any;
|
|
32
38
|
description?: string | undefined;
|
|
33
|
-
sensitive?: boolean | undefined;
|
|
34
|
-
nullable?: boolean | undefined;
|
|
35
39
|
validation?: {
|
|
36
40
|
error_message: string;
|
|
37
41
|
condition?: any;
|
|
38
42
|
}[] | undefined;
|
|
43
|
+
default?: any;
|
|
44
|
+
nullable?: boolean | undefined;
|
|
39
45
|
}[]> | undefined;
|
|
40
|
-
import?: {
|
|
41
|
-
to: string;
|
|
42
|
-
id: string;
|
|
43
|
-
provider?: any;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
locals?: Record<string, any>[] | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export declare function parseProviderRequirements(hcl: string): Promise<Record<string, string>>;
|
|
48
48
|
export declare function convertToTypescript(hcl: string, providerSchema: ProviderSchema, codeContainer: string): Promise<{
|
package/build/schema.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ declare const outputConfig: z.ZodArray<z.ZodObject<{
|
|
|
5
5
|
sensitive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6
6
|
depends_on: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
sensitive?: boolean | undefined;
|
|
8
9
|
value?: any;
|
|
9
10
|
description?: string | undefined;
|
|
10
|
-
sensitive?: boolean | undefined;
|
|
11
11
|
depends_on?: string | undefined;
|
|
12
12
|
}, {
|
|
13
|
+
sensitive?: boolean | undefined;
|
|
13
14
|
value?: any;
|
|
14
15
|
description?: string | undefined;
|
|
15
|
-
sensitive?: boolean | undefined;
|
|
16
16
|
depends_on?: string | undefined;
|
|
17
17
|
}>, "many">;
|
|
18
18
|
export type Output = z.infer<typeof outputConfig>;
|
|
@@ -33,25 +33,25 @@ declare const variableConfig: z.ZodArray<z.ZodObject<{
|
|
|
33
33
|
condition?: any;
|
|
34
34
|
}>, "many">>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
sensitive?: boolean | undefined;
|
|
36
37
|
type?: string | undefined;
|
|
37
|
-
default?: any;
|
|
38
38
|
description?: string | undefined;
|
|
39
|
-
sensitive?: boolean | undefined;
|
|
40
|
-
nullable?: boolean | undefined;
|
|
41
39
|
validation?: {
|
|
42
40
|
error_message: string;
|
|
43
41
|
condition?: any;
|
|
44
42
|
}[] | undefined;
|
|
43
|
+
default?: any;
|
|
44
|
+
nullable?: boolean | undefined;
|
|
45
45
|
}, {
|
|
46
|
+
sensitive?: boolean | undefined;
|
|
46
47
|
type?: string | undefined;
|
|
47
|
-
default?: any;
|
|
48
48
|
description?: string | undefined;
|
|
49
|
-
sensitive?: boolean | undefined;
|
|
50
|
-
nullable?: boolean | undefined;
|
|
51
49
|
validation?: {
|
|
52
50
|
error_message: string;
|
|
53
51
|
condition?: any;
|
|
54
52
|
}[] | undefined;
|
|
53
|
+
default?: any;
|
|
54
|
+
nullable?: boolean | undefined;
|
|
55
55
|
}>, "many">;
|
|
56
56
|
export type Variable = z.infer<typeof variableConfig>;
|
|
57
57
|
declare const providerConfig: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
@@ -95,19 +95,19 @@ declare const terraformConfig: z.ZodObject<{
|
|
|
95
95
|
}>, z.ZodString]>>, "many">>;
|
|
96
96
|
backend: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
|
|
98
|
+
required_version?: string | undefined;
|
|
99
99
|
required_providers?: Record<string, string | {
|
|
100
100
|
source?: string | undefined;
|
|
101
101
|
version?: string | undefined;
|
|
102
102
|
}>[] | undefined;
|
|
103
|
-
required_version?: string | undefined;
|
|
104
|
-
}, {
|
|
105
103
|
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
required_version?: string | undefined;
|
|
106
106
|
required_providers?: Record<string, string | {
|
|
107
107
|
source?: string | undefined;
|
|
108
108
|
version?: string | undefined;
|
|
109
109
|
}>[] | undefined;
|
|
110
|
-
|
|
110
|
+
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
export type TerraformConfig = z.infer<typeof terraformConfig>;
|
|
113
113
|
export declare const schema: z.ZodObject<{
|
|
@@ -139,14 +139,14 @@ export declare const schema: z.ZodObject<{
|
|
|
139
139
|
sensitive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
140
140
|
depends_on: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
sensitive?: boolean | undefined;
|
|
142
143
|
value?: any;
|
|
143
144
|
description?: string | undefined;
|
|
144
|
-
sensitive?: boolean | undefined;
|
|
145
145
|
depends_on?: string | undefined;
|
|
146
146
|
}, {
|
|
147
|
+
sensitive?: boolean | undefined;
|
|
147
148
|
value?: any;
|
|
148
149
|
description?: string | undefined;
|
|
149
|
-
sensitive?: boolean | undefined;
|
|
150
150
|
depends_on?: string | undefined;
|
|
151
151
|
}>, "many">>>;
|
|
152
152
|
provider: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
@@ -165,19 +165,19 @@ export declare const schema: z.ZodObject<{
|
|
|
165
165
|
}>, z.ZodString]>>, "many">>;
|
|
166
166
|
backend: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
|
|
168
|
+
required_version?: string | undefined;
|
|
169
169
|
required_providers?: Record<string, string | {
|
|
170
170
|
source?: string | undefined;
|
|
171
171
|
version?: string | undefined;
|
|
172
172
|
}>[] | undefined;
|
|
173
|
-
required_version?: string | undefined;
|
|
174
|
-
}, {
|
|
175
173
|
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
required_version?: string | undefined;
|
|
176
176
|
required_providers?: Record<string, string | {
|
|
177
177
|
source?: string | undefined;
|
|
178
178
|
version?: string | undefined;
|
|
179
179
|
}>[] | undefined;
|
|
180
|
-
|
|
180
|
+
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
181
181
|
}>, "many">>;
|
|
182
182
|
variable: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
183
183
|
type: z.ZodOptional<z.ZodString>;
|
|
@@ -196,102 +196,102 @@ export declare const schema: z.ZodObject<{
|
|
|
196
196
|
condition?: any;
|
|
197
197
|
}>, "many">>>;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
sensitive?: boolean | undefined;
|
|
199
200
|
type?: string | undefined;
|
|
200
|
-
default?: any;
|
|
201
201
|
description?: string | undefined;
|
|
202
|
-
sensitive?: boolean | undefined;
|
|
203
|
-
nullable?: boolean | undefined;
|
|
204
202
|
validation?: {
|
|
205
203
|
error_message: string;
|
|
206
204
|
condition?: any;
|
|
207
205
|
}[] | undefined;
|
|
206
|
+
default?: any;
|
|
207
|
+
nullable?: boolean | undefined;
|
|
208
208
|
}, {
|
|
209
|
+
sensitive?: boolean | undefined;
|
|
209
210
|
type?: string | undefined;
|
|
210
|
-
default?: any;
|
|
211
211
|
description?: string | undefined;
|
|
212
|
-
sensitive?: boolean | undefined;
|
|
213
|
-
nullable?: boolean | undefined;
|
|
214
212
|
validation?: {
|
|
215
213
|
error_message: string;
|
|
216
214
|
condition?: any;
|
|
217
215
|
}[] | undefined;
|
|
216
|
+
default?: any;
|
|
217
|
+
nullable?: boolean | undefined;
|
|
218
218
|
}>, "many">>>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
terraform?: {
|
|
221
|
-
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
222
|
-
required_providers?: Record<string, string | {
|
|
223
|
-
source?: string | undefined;
|
|
224
|
-
version?: string | undefined;
|
|
225
|
-
}>[] | undefined;
|
|
226
|
-
required_version?: string | undefined;
|
|
227
|
-
}[] | undefined;
|
|
228
220
|
provider?: Record<string, Record<string, any>[]> | undefined;
|
|
221
|
+
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
222
|
+
import?: {
|
|
223
|
+
to: string;
|
|
224
|
+
id: string;
|
|
225
|
+
provider?: any;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
locals?: Record<string, any>[] | undefined;
|
|
229
228
|
module?: Record<string, z.objectOutputType<{
|
|
230
229
|
source: z.ZodString;
|
|
231
230
|
}, z.ZodTypeAny, "passthrough">[]> | undefined;
|
|
232
|
-
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
233
|
-
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
234
231
|
output?: Record<string, {
|
|
232
|
+
sensitive?: boolean | undefined;
|
|
235
233
|
value?: any;
|
|
236
234
|
description?: string | undefined;
|
|
237
|
-
sensitive?: boolean | undefined;
|
|
238
235
|
depends_on?: string | undefined;
|
|
239
236
|
}[]> | undefined;
|
|
237
|
+
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
238
|
+
terraform?: {
|
|
239
|
+
required_version?: string | undefined;
|
|
240
|
+
required_providers?: Record<string, string | {
|
|
241
|
+
source?: string | undefined;
|
|
242
|
+
version?: string | undefined;
|
|
243
|
+
}>[] | undefined;
|
|
244
|
+
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
245
|
+
}[] | undefined;
|
|
240
246
|
variable?: Record<string, {
|
|
247
|
+
sensitive?: boolean | undefined;
|
|
241
248
|
type?: string | undefined;
|
|
242
|
-
default?: any;
|
|
243
249
|
description?: string | undefined;
|
|
244
|
-
sensitive?: boolean | undefined;
|
|
245
|
-
nullable?: boolean | undefined;
|
|
246
250
|
validation?: {
|
|
247
251
|
error_message: string;
|
|
248
252
|
condition?: any;
|
|
249
253
|
}[] | undefined;
|
|
254
|
+
default?: any;
|
|
255
|
+
nullable?: boolean | undefined;
|
|
250
256
|
}[]> | undefined;
|
|
257
|
+
}, {
|
|
258
|
+
provider?: Record<string, Record<string, any>[]> | undefined;
|
|
259
|
+
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
251
260
|
import?: {
|
|
252
261
|
to: string;
|
|
253
262
|
id: string;
|
|
254
263
|
provider?: any;
|
|
255
264
|
}[] | undefined;
|
|
256
265
|
locals?: Record<string, any>[] | undefined;
|
|
257
|
-
}, {
|
|
258
|
-
terraform?: {
|
|
259
|
-
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
260
|
-
required_providers?: Record<string, string | {
|
|
261
|
-
source?: string | undefined;
|
|
262
|
-
version?: string | undefined;
|
|
263
|
-
}>[] | undefined;
|
|
264
|
-
required_version?: string | undefined;
|
|
265
|
-
}[] | undefined;
|
|
266
|
-
provider?: Record<string, Record<string, any>[]> | undefined;
|
|
267
266
|
module?: Record<string, z.objectInputType<{
|
|
268
267
|
source: z.ZodString;
|
|
269
268
|
}, z.ZodTypeAny, "passthrough">[]> | undefined;
|
|
270
|
-
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
271
|
-
data?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
272
269
|
output?: Record<string, {
|
|
270
|
+
sensitive?: boolean | undefined;
|
|
273
271
|
value?: any;
|
|
274
272
|
description?: string | undefined;
|
|
275
|
-
sensitive?: boolean | undefined;
|
|
276
273
|
depends_on?: string | undefined;
|
|
277
274
|
}[]> | undefined;
|
|
275
|
+
resource?: Record<string, Record<string, Record<string, any>[]>> | undefined;
|
|
276
|
+
terraform?: {
|
|
277
|
+
required_version?: string | undefined;
|
|
278
|
+
required_providers?: Record<string, string | {
|
|
279
|
+
source?: string | undefined;
|
|
280
|
+
version?: string | undefined;
|
|
281
|
+
}>[] | undefined;
|
|
282
|
+
backend?: Record<string, Record<string, any>[]> | undefined;
|
|
283
|
+
}[] | undefined;
|
|
278
284
|
variable?: Record<string, {
|
|
285
|
+
sensitive?: boolean | undefined;
|
|
279
286
|
type?: string | undefined;
|
|
280
|
-
default?: any;
|
|
281
287
|
description?: string | undefined;
|
|
282
|
-
sensitive?: boolean | undefined;
|
|
283
|
-
nullable?: boolean | undefined;
|
|
284
288
|
validation?: {
|
|
285
289
|
error_message: string;
|
|
286
290
|
condition?: any;
|
|
287
291
|
}[] | undefined;
|
|
292
|
+
default?: any;
|
|
293
|
+
nullable?: boolean | undefined;
|
|
288
294
|
}[]> | undefined;
|
|
289
|
-
import?: {
|
|
290
|
-
to: string;
|
|
291
|
-
id: string;
|
|
292
|
-
provider?: any;
|
|
293
|
-
}[] | undefined;
|
|
294
|
-
locals?: Record<string, any>[] | undefined;
|
|
295
295
|
}>;
|
|
296
296
|
export {};
|
|
297
297
|
//# sourceMappingURL=schema.d.ts.map
|
package/jest.config.js
CHANGED
|
@@ -2,17 +2,24 @@
|
|
|
2
2
|
* Copyright (c) HashiCorp, Inc.
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
const { readFileSync } = require('fs');
|
|
7
|
+
|
|
8
|
+
const swcJestConfig = JSON.parse(
|
|
9
|
+
readFileSync(`${__dirname}/.spec.swcrc`, 'utf-8'),
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
swcJestConfig.swcrc = false;
|
|
5
13
|
|
|
6
14
|
module.exports = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
displayName: '@cdktn/hcl2cdk',
|
|
16
|
+
preset: '../../../jest.preset.js',
|
|
17
|
+
rootDir: '.',
|
|
18
|
+
roots: ['<rootDir>'],
|
|
19
|
+
transform: {
|
|
20
|
+
'^.+\\.[tj]sx?$': ['@swc/jest', swcJestConfig],
|
|
10
21
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
],
|
|
16
|
-
globalSetup: "./test/globalSetup.ts",
|
|
17
|
-
globalTeardown: "./test/globalTeardown.ts",
|
|
18
|
-
}
|
|
22
|
+
globalSetup: './test/globalSetup.ts',
|
|
23
|
+
globalTeardown: './test/globalTeardown.ts',
|
|
24
|
+
coverageDirectory: 'test-output/jest/coverage',
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdktn/hcl2cdk",
|
|
3
|
-
"version": "0.24.0-pre.
|
|
3
|
+
"version": "0.24.0-pre.24",
|
|
4
4
|
"description": "Transform HCL into CDK",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
"build": "tsc",
|
|
12
12
|
"watch": "tsc -w",
|
|
13
13
|
"watch-preserve-output": "tsc -w --preserveWatchOutput",
|
|
14
|
-
"test": "jest",
|
|
15
|
-
"test:ci": "jest --ci",
|
|
16
14
|
"test:update": "jest -u",
|
|
17
|
-
"jest-watch": "jest --watch",
|
|
18
15
|
"package": "./package.sh",
|
|
19
16
|
"dist-clean": "rm -rf dist",
|
|
20
17
|
"package:js": "./package.sh"
|
|
@@ -40,12 +37,12 @@
|
|
|
40
37
|
"@babel/generator": "7.29.1",
|
|
41
38
|
"@babel/template": "7.28.6",
|
|
42
39
|
"@babel/types": "7.29.0",
|
|
43
|
-
"@cdktn/commons": "0.24.0-pre.
|
|
44
|
-
"@cdktn/hcl2json": "0.24.0-pre.
|
|
45
|
-
"@cdktn/provider-generator": "0.24.0-pre.
|
|
46
|
-
"@cdktn/provider-schema": "0.24.0-pre.
|
|
40
|
+
"@cdktn/commons": "0.24.0-pre.24",
|
|
41
|
+
"@cdktn/hcl2json": "0.24.0-pre.24",
|
|
42
|
+
"@cdktn/provider-generator": "0.24.0-pre.24",
|
|
43
|
+
"@cdktn/provider-schema": "0.24.0-pre.24",
|
|
47
44
|
"camelcase": "6.3.0",
|
|
48
|
-
"cdktn": "0.24.0-pre.
|
|
45
|
+
"cdktn": "0.24.0-pre.24",
|
|
49
46
|
"codemaker": "1.128.0",
|
|
50
47
|
"deep-equal": "2.2.3",
|
|
51
48
|
"glob": "10.5.0",
|
|
@@ -58,15 +55,26 @@
|
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
57
|
"@types/deep-equal": "1.0.4",
|
|
61
|
-
"@types/jest": "30.0.0",
|
|
62
58
|
"@types/node": "20.19.37",
|
|
63
59
|
"@types/prettier": "2.7.3",
|
|
64
60
|
"@types/reserved-words": "0.1.4",
|
|
65
61
|
"execa": "5.1.1",
|
|
66
62
|
"fs-extra": "11.3.4",
|
|
67
|
-
"jest": "^30.3.0",
|
|
68
|
-
"ts-jest": "29.4.9",
|
|
69
63
|
"tsx": "4.6.1",
|
|
70
64
|
"typescript": "5.4.5"
|
|
65
|
+
},
|
|
66
|
+
"nx": {
|
|
67
|
+
"tags": [
|
|
68
|
+
"unit-test"
|
|
69
|
+
],
|
|
70
|
+
"targets": {
|
|
71
|
+
"test": {
|
|
72
|
+
"dependsOn": [
|
|
73
|
+
"build",
|
|
74
|
+
"^build",
|
|
75
|
+
"cdktn-cli:build"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
71
79
|
}
|
|
72
80
|
}
|