@aws/nx-plugin 0.22.0 → 0.23.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/LICENSE-THIRD-PARTY +1 -4374
- package/package.json +2 -2
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +44 -2
- package/src/infra/app/generator.js +14 -0
- package/src/infra/app/generator.js.map +1 -1
- package/src/preset/schema.json +1 -1
- package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +2 -15
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +2 -15
- package/src/utils/api-constructs/files/core/api/rest/rest-api.ts.template +2 -15
- package/src/utils/versions.d.ts +2 -2
- package/src/utils/versions.js +1 -1
- package/src/utils/versions.js.map +1 -1
- package/src/setup-tests.d.ts +0 -2
- package/src/setup-tests.js +0 -14
- package/src/setup-tests.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/nx-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/awslabs/nx-plugin-for-aws.git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@nx/js": "~21.0.3",
|
|
29
29
|
"@nx/react": "~21.0.3",
|
|
30
30
|
"@nx/vite": "~21.0.3",
|
|
31
|
-
"@nxlv/python": "^
|
|
31
|
+
"@nxlv/python": "^21.0.0",
|
|
32
32
|
"@phenomnomnominal/tsquery": "6.1.3",
|
|
33
33
|
"fast-glob": "^3.3.3",
|
|
34
34
|
"lodash.camelcase": "^4.3.0",
|
|
@@ -96,7 +96,7 @@ exports[`infra generator > should configure project.json with correct targets >
|
|
|
96
96
|
{
|
|
97
97
|
"executor": "nx:run-commands",
|
|
98
98
|
"options": {
|
|
99
|
-
"command": "cdk deploy --require-approval=never
|
|
99
|
+
"command": "cdk deploy --require-approval=never",
|
|
100
100
|
"cwd": "packages/test",
|
|
101
101
|
},
|
|
102
102
|
}
|
|
@@ -106,7 +106,7 @@ exports[`infra generator > should configure project.json with correct targets >
|
|
|
106
106
|
{
|
|
107
107
|
"executor": "nx:run-commands",
|
|
108
108
|
"options": {
|
|
109
|
-
"command": "cdk destroy --require-approval=never
|
|
109
|
+
"command": "cdk destroy --require-approval=never",
|
|
110
110
|
"cwd": "packages/test",
|
|
111
111
|
},
|
|
112
112
|
}
|
|
@@ -154,6 +154,13 @@ exports[`infra generator > should configure project.json with correct targets >
|
|
|
154
154
|
],
|
|
155
155
|
},
|
|
156
156
|
"deploy": {
|
|
157
|
+
"executor": "nx:run-commands",
|
|
158
|
+
"options": {
|
|
159
|
+
"command": "cdk deploy --require-approval=never",
|
|
160
|
+
"cwd": "packages/test",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
"deploy-ci": {
|
|
157
164
|
"executor": "nx:run-commands",
|
|
158
165
|
"options": {
|
|
159
166
|
"command": "cdk deploy --require-approval=never --app ../../dist/packages/test/cdk.out",
|
|
@@ -161,6 +168,13 @@ exports[`infra generator > should configure project.json with correct targets >
|
|
|
161
168
|
},
|
|
162
169
|
},
|
|
163
170
|
"destroy": {
|
|
171
|
+
"executor": "nx:run-commands",
|
|
172
|
+
"options": {
|
|
173
|
+
"command": "cdk destroy --require-approval=never",
|
|
174
|
+
"cwd": "packages/test",
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
"destroy-ci": {
|
|
164
178
|
"executor": "nx:run-commands",
|
|
165
179
|
"options": {
|
|
166
180
|
"command": "cdk destroy --require-approval=never --app ../../dist/packages/test/cdk.out",
|
|
@@ -509,6 +523,13 @@ exports[`infra generator > should generate files with correct content > project-
|
|
|
509
523
|
}
|
|
510
524
|
},
|
|
511
525
|
"deploy": {
|
|
526
|
+
"executor": "nx:run-commands",
|
|
527
|
+
"options": {
|
|
528
|
+
"cwd": "packages/test",
|
|
529
|
+
"command": "cdk deploy --require-approval=never"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"deploy-ci": {
|
|
512
533
|
"executor": "nx:run-commands",
|
|
513
534
|
"options": {
|
|
514
535
|
"cwd": "packages/test",
|
|
@@ -516,6 +537,13 @@ exports[`infra generator > should generate files with correct content > project-
|
|
|
516
537
|
}
|
|
517
538
|
},
|
|
518
539
|
"destroy": {
|
|
540
|
+
"executor": "nx:run-commands",
|
|
541
|
+
"options": {
|
|
542
|
+
"cwd": "packages/test",
|
|
543
|
+
"command": "cdk destroy --require-approval=never"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"destroy-ci": {
|
|
519
547
|
"executor": "nx:run-commands",
|
|
520
548
|
"options": {
|
|
521
549
|
"cwd": "packages/test",
|
|
@@ -829,6 +857,13 @@ exports[`infra generator > should handle custom project names correctly > custom
|
|
|
829
857
|
],
|
|
830
858
|
},
|
|
831
859
|
"deploy": {
|
|
860
|
+
"executor": "nx:run-commands",
|
|
861
|
+
"options": {
|
|
862
|
+
"command": "cdk deploy --require-approval=never",
|
|
863
|
+
"cwd": "packages/custom-infra",
|
|
864
|
+
},
|
|
865
|
+
},
|
|
866
|
+
"deploy-ci": {
|
|
832
867
|
"executor": "nx:run-commands",
|
|
833
868
|
"options": {
|
|
834
869
|
"command": "cdk deploy --require-approval=never --app ../../dist/packages/custom-infra/cdk.out",
|
|
@@ -836,6 +871,13 @@ exports[`infra generator > should handle custom project names correctly > custom
|
|
|
836
871
|
},
|
|
837
872
|
},
|
|
838
873
|
"destroy": {
|
|
874
|
+
"executor": "nx:run-commands",
|
|
875
|
+
"options": {
|
|
876
|
+
"command": "cdk destroy --require-approval=never",
|
|
877
|
+
"cwd": "packages/custom-infra",
|
|
878
|
+
},
|
|
879
|
+
},
|
|
880
|
+
"destroy-ci": {
|
|
839
881
|
"executor": "nx:run-commands",
|
|
840
882
|
"options": {
|
|
841
883
|
"command": "cdk destroy --require-approval=never --app ../../dist/packages/custom-infra/cdk.out",
|
|
@@ -65,6 +65,13 @@ function infraGenerator(tree, schema) {
|
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
config.targets.deploy = {
|
|
68
|
+
executor: 'nx:run-commands',
|
|
69
|
+
options: {
|
|
70
|
+
cwd: libraryRoot,
|
|
71
|
+
command: `cdk deploy --require-approval=never`,
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
config.targets['deploy-ci'] = {
|
|
68
75
|
executor: 'nx:run-commands',
|
|
69
76
|
options: {
|
|
70
77
|
cwd: libraryRoot,
|
|
@@ -72,6 +79,13 @@ function infraGenerator(tree, schema) {
|
|
|
72
79
|
},
|
|
73
80
|
};
|
|
74
81
|
config.targets.destroy = {
|
|
82
|
+
executor: 'nx:run-commands',
|
|
83
|
+
options: {
|
|
84
|
+
cwd: libraryRoot,
|
|
85
|
+
command: `cdk destroy --require-approval=never`,
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
config.targets['destroy-ci'] = {
|
|
75
89
|
executor: 'nx:run-commands',
|
|
76
90
|
options: {
|
|
77
91
|
cwd: libraryRoot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/infra/app/generator.ts"],"names":[],"mappings":";;;AAqCA,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/infra/app/generator.ts"],"names":[],"mappings":";;;AAqCA,wCAgKC;;AArMD;;;GAGG;AACH,uCAYoB;AAEpB,4EAAyE;AACzE,mDAAoD;AACpD,qDAAwE;AACxE,qEAA0E;AAC1E,yFAGiD;AACjD,yCAAgD;AAChD,wDAAwB;AACxB,+CAA0D;AAC1D,gFAAyC;AACzC,+CAAoD;AACpD,uCAAmE;AACnE,iDAAsE;AAEzD,QAAA,wBAAwB,GACnC,IAAA,qBAAgB,EAAC,UAAU,CAAC,CAAC;AAE/B,SAAsB,cAAc,CAClC,IAAU,EACV,MAA4B;;QA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B,CAAC,EACF,IAAA,uBAAY,EAAC,CAAC,KAAK,CAAC,CAAC,CACtB,CAAC;QAEF,IAAA,mBAAU,EAAC,IAAI,EAAE,GAAG,WAAW,gBAAgB,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,iCAC1D,QAAQ,KACX,UAAU,EAAE;gBACV,GAAG,CAAC,QAAQ,CAAC,UAAU,IAAI,EAAE,CAAC;gBAC9B;oBACE,IAAI,EAAE,GAAG,cAAI,CAAC,QAAQ,CACpB,WAAW,EACX,GAAG,IAAI,CAAC,IAAI,IAAI,0CAAY,EAAE,CAC/B,IAAI,mDAAqB,gBAAgB;iBAC3C;aACF,IACD,CAAC,CAAC;QAEJ,MAAM,IAAA,yCAA+B,EAAC,IAAI,EAAE,CAAC,gCAAwB,CAAC,CAAC,CAAC;QAExE,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;QACjC,OAAO,GAAG,EAAE;YACV,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC;CAAA;AACD,kBAAe,cAAc,CAAC"}
|
package/src/preset/schema.json
CHANGED
|
@@ -628,12 +628,8 @@ exports[`fastapi project generator > should set up shared constructs for rest >
|
|
|
628
628
|
import {
|
|
629
629
|
RestApi as _RestApi,
|
|
630
630
|
RestApiProps as _RestApiProps,
|
|
631
|
-
AccessLogFormat,
|
|
632
631
|
IResource,
|
|
633
|
-
LogGroupLogDestination,
|
|
634
|
-
MethodLoggingLevel,
|
|
635
632
|
} from 'aws-cdk-lib/aws-apigateway';
|
|
636
|
-
import { LogGroup } from 'aws-cdk-lib/aws-logs';
|
|
637
633
|
import { RuntimeConfig } from '../runtime-config.js';
|
|
638
634
|
import { Grant, IGrantable } from 'aws-cdk-lib/aws-iam';
|
|
639
635
|
import { OperationDetails, RestApiIntegration } from './utils.js';
|
|
@@ -696,17 +692,8 @@ export class RestApi<
|
|
|
696
692
|
super(scope, id);
|
|
697
693
|
this.integrations = integrations;
|
|
698
694
|
|
|
699
|
-
// Create the API Gateway REST API
|
|
700
|
-
this.api = new _RestApi(this, 'Api',
|
|
701
|
-
deployOptions: {
|
|
702
|
-
accessLogDestination: new LogGroupLogDestination(
|
|
703
|
-
new LogGroup(this, 'AccessLogs'),
|
|
704
|
-
),
|
|
705
|
-
accessLogFormat: AccessLogFormat.clf(),
|
|
706
|
-
loggingLevel: MethodLoggingLevel.INFO,
|
|
707
|
-
},
|
|
708
|
-
...props,
|
|
709
|
-
});
|
|
695
|
+
// Create the API Gateway REST API
|
|
696
|
+
this.api = new _RestApi(this, 'Api', props);
|
|
710
697
|
|
|
711
698
|
// Create API resources and methods for each operation
|
|
712
699
|
(Object.entries(operations) as [TOperation, OperationDetails][]).map(
|
|
@@ -855,12 +855,8 @@ exports[`trpc backend generator > should set up shared constructs for rest > res
|
|
|
855
855
|
import {
|
|
856
856
|
RestApi as _RestApi,
|
|
857
857
|
RestApiProps as _RestApiProps,
|
|
858
|
-
AccessLogFormat,
|
|
859
858
|
IResource,
|
|
860
|
-
LogGroupLogDestination,
|
|
861
|
-
MethodLoggingLevel,
|
|
862
859
|
} from 'aws-cdk-lib/aws-apigateway';
|
|
863
|
-
import { LogGroup } from 'aws-cdk-lib/aws-logs';
|
|
864
860
|
import { RuntimeConfig } from '../runtime-config.js';
|
|
865
861
|
import { Grant, IGrantable } from 'aws-cdk-lib/aws-iam';
|
|
866
862
|
import { OperationDetails, RestApiIntegration } from './utils.js';
|
|
@@ -923,17 +919,8 @@ export class RestApi<
|
|
|
923
919
|
super(scope, id);
|
|
924
920
|
this.integrations = integrations;
|
|
925
921
|
|
|
926
|
-
// Create the API Gateway REST API
|
|
927
|
-
this.api = new _RestApi(this, 'Api',
|
|
928
|
-
deployOptions: {
|
|
929
|
-
accessLogDestination: new LogGroupLogDestination(
|
|
930
|
-
new LogGroup(this, 'AccessLogs'),
|
|
931
|
-
),
|
|
932
|
-
accessLogFormat: AccessLogFormat.clf(),
|
|
933
|
-
loggingLevel: MethodLoggingLevel.INFO,
|
|
934
|
-
},
|
|
935
|
-
...props,
|
|
936
|
-
});
|
|
922
|
+
// Create the API Gateway REST API
|
|
923
|
+
this.api = new _RestApi(this, 'Api', props);
|
|
937
924
|
|
|
938
925
|
// Create API resources and methods for each operation
|
|
939
926
|
(Object.entries(operations) as [TOperation, OperationDetails][]).map(
|
|
@@ -2,12 +2,8 @@ import { Construct } from 'constructs';
|
|
|
2
2
|
import {
|
|
3
3
|
RestApi as _RestApi,
|
|
4
4
|
RestApiProps as _RestApiProps,
|
|
5
|
-
AccessLogFormat,
|
|
6
5
|
IResource,
|
|
7
|
-
LogGroupLogDestination,
|
|
8
|
-
MethodLoggingLevel,
|
|
9
6
|
} from 'aws-cdk-lib/aws-apigateway';
|
|
10
|
-
import { LogGroup } from 'aws-cdk-lib/aws-logs';
|
|
11
7
|
import { RuntimeConfig } from '../runtime-config.js';
|
|
12
8
|
import { Grant, IGrantable } from 'aws-cdk-lib/aws-iam';
|
|
13
9
|
import { OperationDetails, RestApiIntegration } from './utils.js';
|
|
@@ -70,17 +66,8 @@ export class RestApi<
|
|
|
70
66
|
super(scope, id);
|
|
71
67
|
this.integrations = integrations;
|
|
72
68
|
|
|
73
|
-
// Create the API Gateway REST API
|
|
74
|
-
this.api = new _RestApi(this, 'Api',
|
|
75
|
-
deployOptions: {
|
|
76
|
-
accessLogDestination: new LogGroupLogDestination(
|
|
77
|
-
new LogGroup(this, 'AccessLogs'),
|
|
78
|
-
),
|
|
79
|
-
accessLogFormat: AccessLogFormat.clf(),
|
|
80
|
-
loggingLevel: MethodLoggingLevel.INFO,
|
|
81
|
-
},
|
|
82
|
-
...props,
|
|
83
|
-
});
|
|
69
|
+
// Create the API Gateway REST API
|
|
70
|
+
this.api = new _RestApi(this, 'Api', props);
|
|
84
71
|
|
|
85
72
|
// Create API resources and methods for each operation
|
|
86
73
|
(Object.entries(operations) as [TOperation, OperationDetails][]).map(
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const VERSIONS: {
|
|
|
11
11
|
readonly '@aws-lambda-powertools/logger': "^2.17.0";
|
|
12
12
|
readonly '@aws-lambda-powertools/metrics': "^2.17.0";
|
|
13
13
|
readonly '@aws-lambda-powertools/tracer': "^2.17.0";
|
|
14
|
-
readonly '@nxlv/python': "^
|
|
14
|
+
readonly '@nxlv/python': "^21.0.0";
|
|
15
15
|
readonly '@nx/devkit': "~21.0.3";
|
|
16
16
|
readonly '@modelcontextprotocol/sdk': "^1.10.2";
|
|
17
17
|
readonly '@tanstack/react-router': "^1.114.27";
|
|
@@ -46,5 +46,5 @@ export declare const VERSIONS: {
|
|
|
46
46
|
* Add versions to the given dependencies
|
|
47
47
|
*/
|
|
48
48
|
export declare const withVersions: (deps: (keyof typeof VERSIONS)[]) => {
|
|
49
|
-
[k: string]: "^0.0.60" | "^2.185.0-alpha.0" | "^3.775.0" | "^2.17.0" | "^
|
|
49
|
+
[k: string]: "^0.0.60" | "^2.185.0-alpha.0" | "^3.775.0" | "^2.17.0" | "^21.0.0" | "~21.0.3" | "^1.10.2" | "^1.114.27" | "^3.0.94" | "^3.0.928" | "^1.0.38" | "^5.74.3" | "11.0.0" | "^22.13.13" | "^8.10.148" | "^4.2.0" | "^1.0.20" | "^2.1006.0" | "^2.185.0" | "^3.10.3" | "^10.4.2" | "^0.25.1" | "^5.2.5" | "^2.4.0" | "^3.2.0" | "^3.5.3" | "^0.5.21" | "^4.19.3" | "^5.1.4" | "^3.24.2";
|
|
50
50
|
};
|
package/src/utils/versions.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.VERSIONS = {
|
|
|
14
14
|
'@aws-lambda-powertools/logger': '^2.17.0',
|
|
15
15
|
'@aws-lambda-powertools/metrics': '^2.17.0',
|
|
16
16
|
'@aws-lambda-powertools/tracer': '^2.17.0',
|
|
17
|
-
'@nxlv/python': '^
|
|
17
|
+
'@nxlv/python': '^21.0.0',
|
|
18
18
|
'@nx/devkit': '~21.0.3',
|
|
19
19
|
'@modelcontextprotocol/sdk': '^1.10.2',
|
|
20
20
|
'@tanstack/react-router': '^1.114.27',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,QAAQ,GAAG;IACtB,iCAAiC,EAAE,SAAS;IAC5C,yCAAyC,EAAE,kBAAkB;IAC7D,kCAAkC,EAAE,UAAU;IAC9C,+BAA+B,EAAE,UAAU;IAC3C,+CAA+C,EAAE,UAAU;IAC3D,+BAA+B,EAAE,SAAS;IAC1C,gCAAgC,EAAE,SAAS;IAC3C,+BAA+B,EAAE,SAAS;IAC1C,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,QAAQ,GAAG;IACtB,iCAAiC,EAAE,SAAS;IAC5C,yCAAyC,EAAE,kBAAkB;IAC7D,kCAAkC,EAAE,UAAU;IAC9C,+BAA+B,EAAE,UAAU;IAC3C,+CAA+C,EAAE,UAAU;IAC3D,+BAA+B,EAAE,SAAS;IAC1C,gCAAgC,EAAE,SAAS;IAC3C,+BAA+B,EAAE,SAAS;IAC1C,cAAc,EAAE,SAAS;IACzB,YAAY,EAAE,SAAS;IACvB,2BAA2B,EAAE,SAAS;IACtC,wBAAwB,EAAE,WAAW;IACrC,yBAAyB,EAAE,WAAW;IACtC,qCAAqC,EAAE,SAAS;IAChD,+BAA+B,EAAE,UAAU;IAC3C,kCAAkC,EAAE,SAAS;IAC7C,uBAAuB,EAAE,SAAS;IAClC,4BAA4B,EAAE,QAAQ;IACtC,cAAc,EAAE,QAAQ;IACxB,cAAc,EAAE,QAAQ;IACxB,aAAa,EAAE,WAAW;IAC1B,mBAAmB,EAAE,WAAW;IAChC,eAAe,EAAE,QAAQ;IACzB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,UAAU;IACzB,mBAAmB,EAAE,SAAS;IAC9B,UAAU,EAAE,SAAS;IACrB,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,QAAQ;IAClC,qBAAqB,EAAE,QAAQ;IAC/B,gBAAgB,EAAE,QAAQ;IAC1B,QAAQ,EAAE,QAAQ;IAClB,oBAAoB,EAAE,QAAQ;IAC9B,oBAAoB,EAAE,SAAS;IAC/B,GAAG,EAAE,SAAS;IACd,qBAAqB,EAAE,QAAQ;IAC/B,GAAG,EAAE,SAAS;CACN,CAAC;AAEX;;GAEG;AACI,MAAM,YAAY,GAAG,CAAC,IAA+B,EAAE,EAAE,CAC9D,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,gBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AADjD,QAAA,YAAY,gBACqC"}
|
package/src/setup-tests.d.ts
DELETED
package/src/setup-tests.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
6
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
7
|
-
*/
|
|
8
|
-
const devkit_1 = require("@nx/devkit");
|
|
9
|
-
// Global Setup https://vitest.dev/config/#globalsetup
|
|
10
|
-
exports.default = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
11
|
-
// Create the project graph in global setup to ensure it's cached in the daemon
|
|
12
|
-
yield (0, devkit_1.createProjectGraphAsync)();
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=setup-tests.js.map
|
package/src/setup-tests.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-tests.js","sourceRoot":"","sources":["../../../../packages/nx-plugin/src/setup-tests.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,uCAAqD;AAErD,sDAAsD;AACtD,kBAAe,GAAS,EAAE;IACxB,+EAA+E;IAC/E,MAAM,IAAA,gCAAuB,GAAE,CAAC;AAClC,CAAC,CAAA,CAAC"}
|