@wolsok/nx-aws-cdk-v2 2.2.0 → 2.3.2

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/README.md CHANGED
@@ -1,96 +1,96 @@
1
- [![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
2
- [![@wolsok/nx-aws-cdk-v2](https://img.shields.io/badge/%40adrian--goe-nx--aws--cdk-green)](https://github.com/WolfSoko/nx-aws-cdk-v2/tree/main/packages/aws-cdk-v2)
3
- [![Typescript](https://badgen.net/badge/icon/typescript?icon=typescript&label)](https://www.typescriptlang.org/)
4
- [![LICENSE](https://img.shields.io/npm/l/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
5
- [![npm version](https://img.shields.io/npm/v/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
6
- [![Downloads](https://img.shields.io/npm/dm/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
7
-
8
- <hr>
9
-
10
- # @wolsok/nx-aws-cdk-v2
11
-
12
- An Nx plugin for developing [aws-cdk](https://docs.aws.amazon.com/cdk/latest/guide/home.html)
13
-
14
- ## Table of Contents
15
-
16
- - [Install](#install)
17
- - [Usage](#usage)
18
- - [Generate Application](#generate-application)
19
- - [Targets](#targets)
20
- - [Maintainers](#maintainers)
21
- - [Contributing](#contributing)
22
- - [License](#license)
23
-
24
- ## Install
25
-
26
- ```shell
27
- # npm
28
- npm install --save-dev @wolsok/nx-aws-cdk-v2
29
-
30
- # yarn
31
- yarn add --dev @wolsok/nx-aws-cdk-v2
32
- ```
33
-
34
- ## Usage
35
-
36
- ### Generate Application
37
-
38
- Create AWS CDK v2 Application
39
-
40
- More details on AWS CDK v2 can be found on https://docs.aws.amazon.com/cdk/v2/guide/home.html
41
-
42
- ```shell
43
- nx generate @wolsok/nx-aws-cdk-v2:application myApp
44
- ```
45
-
46
- you can customize it further by passing these options:
47
-
48
- ```
49
- nx generate @wolsok/nx-aws-cdk-v2:application [name] [options,...]
50
-
51
- Options:
52
- --name
53
- --tags Add tags to the project (used for linting)
54
- --directory A directory where the project is placed
55
- --skipFormat Skip formatting files
56
- --unitTestRunner Adds the specified unit test runner (default: jest)
57
- --setParserOptionsProject Whether or not to configure the ESLint "parserOptions.project" option. We do not do this by default for lint performance reasons.
58
- --dryRun Runs through and reports activity without writing to disk.
59
- --skip-nx-cache Skip the use of Nx cache.
60
- --help Show available options for project target.
61
- ```
62
-
63
- ### Targets
64
-
65
- Generated applications expose several functions to the CLI that allow users to deploy, destroy and bootstrap.
66
-
67
- ```shell
68
- nx deploy myApp
69
- nx destroy myApp
70
- nx bootstrap myApp --profile=profile
71
- #see how to use aws environments https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-howto-cli
72
- nx bootstrap myApp aws://123456789012/us-east-1
73
- ```
74
-
75
- ## Maintainers
76
-
77
- [@WolfSoko](https://github.com/WolfSoko)
78
-
79
- ## Contributing
80
-
81
- See [the contributing file](../../CONTRIBUTING.md)!
82
-
83
- PRs accepted.
84
-
85
- If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
86
-
87
- ## License
88
-
89
- This project is MIT licensed 2022 Wolfram Sokollek
90
-
91
- ## Special thanks
92
-
93
- This Project is based on [@tienne](https://github.com/tienne)'s
94
- [nx-plugins](https://github.com/codebrewlab/nx-plugins).
95
-
96
- Also thanks to [@therk](https://github.com/therk) for his work on migrating to cdk v2.
1
+ [![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
2
+ [![@wolsok/nx-aws-cdk-v2](https://img.shields.io/badge/%40adrian--goe-nx--aws--cdk-green)](https://github.com/WolfSoko/nx-aws-cdk-v2/tree/main/packages/aws-cdk-v2)
3
+ [![Typescript](https://badgen.net/badge/icon/typescript?icon=typescript&label)](https://www.typescriptlang.org/)
4
+ [![LICENSE](https://img.shields.io/npm/l/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
5
+ [![npm version](https://img.shields.io/npm/v/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
6
+ [![Downloads](https://img.shields.io/npm/dm/@wolsok/nx-aws-cdk-v2.svg)](https://www.npmjs.com/package/@wolsok/nx-aws-cdk-v2)
7
+
8
+ <hr>
9
+
10
+ # @wolsok/nx-aws-cdk-v2
11
+
12
+ An Nx plugin for developing [aws-cdk](https://docs.aws.amazon.com/cdk/latest/guide/home.html)
13
+
14
+ ## Table of Contents
15
+
16
+ - [Install](#install)
17
+ - [Usage](#usage)
18
+ - [Generate Application](#generate-application)
19
+ - [Targets](#targets)
20
+ - [Maintainers](#maintainers)
21
+ - [Contributing](#contributing)
22
+ - [License](#license)
23
+
24
+ ## Install
25
+
26
+ ```shell
27
+ # npm
28
+ npm install --save-dev @wolsok/nx-aws-cdk-v2
29
+
30
+ # yarn
31
+ yarn add --dev @wolsok/nx-aws-cdk-v2
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ ### Generate Application
37
+
38
+ Create AWS CDK v2 Application
39
+
40
+ More details on AWS CDK v2 can be found on https://docs.aws.amazon.com/cdk/v2/guide/home.html
41
+
42
+ ```shell
43
+ nx generate @wolsok/nx-aws-cdk-v2:application myApp
44
+ ```
45
+
46
+ you can customize it further by passing these options:
47
+
48
+ ```
49
+ nx generate @wolsok/nx-aws-cdk-v2:application [name] [options,...]
50
+
51
+ Options:
52
+ --name
53
+ --tags Add tags to the project (used for linting)
54
+ --directory A directory where the project is placed
55
+ --skipFormat Skip formatting files
56
+ --unitTestRunner Adds the specified unit test runner (default: jest)
57
+ --setParserOptionsProject Whether or not to configure the ESLint "parserOptions.project" option. We do not do this by default for lint performance reasons.
58
+ --dryRun Runs through and reports activity without writing to disk.
59
+ --skip-nx-cache Skip the use of Nx cache.
60
+ --help Show available options for project target.
61
+ ```
62
+
63
+ ### Targets
64
+
65
+ Generated applications expose several functions to the CLI that allow users to deploy, destroy and bootstrap.
66
+
67
+ ```shell
68
+ nx deploy myApp
69
+ nx destroy myApp
70
+ nx bootstrap myApp --profile=profile
71
+ #see how to use aws environments https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-howto-cli
72
+ nx bootstrap myApp aws://123456789012/us-east-1
73
+ ```
74
+
75
+ ## Maintainers
76
+
77
+ [@WolfSoko](https://github.com/WolfSoko)
78
+
79
+ ## Contributing
80
+
81
+ See [the contributing file](../../CONTRIBUTING.md)!
82
+
83
+ PRs accepted.
84
+
85
+ If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
86
+
87
+ ## License
88
+
89
+ This project is MIT licensed 2022 Wolfram Sokollek
90
+
91
+ ## Special thanks
92
+
93
+ This Project is based on [@tienne](https://github.com/tienne)'s
94
+ [nx-plugins](https://github.com/codebrewlab/nx-plugins).
95
+
96
+ Also thanks to [@therk](https://github.com/therk) for his work on migrating to cdk v2.
package/executors.json CHANGED
@@ -1,20 +1,20 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "executors": {
4
- "deploy": {
5
- "implementation": "./src/executors/deploy/deploy",
6
- "schema": "./src/executors/deploy/schema.json",
7
- "description": "build executor"
8
- },
9
- "destroy": {
10
- "implementation": "./src/executors/destroy/destroy",
11
- "schema": "./src/executors/destroy/schema.json",
12
- "description": "destroy executor"
13
- },
14
- "bootstrap": {
15
- "implementation": "./src/executors/bootstrap/bootstrap",
16
- "schema": "./src/executors/bootstrap/schema.json",
17
- "description": "bootstrap executor"
18
- }
19
- }
20
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "executors": {
4
+ "deploy": {
5
+ "implementation": "./src/executors/deploy/deploy",
6
+ "schema": "./src/executors/deploy/schema.json",
7
+ "description": "build executor"
8
+ },
9
+ "destroy": {
10
+ "implementation": "./src/executors/destroy/destroy",
11
+ "schema": "./src/executors/destroy/schema.json",
12
+ "description": "destroy executor"
13
+ },
14
+ "bootstrap": {
15
+ "implementation": "./src/executors/bootstrap/bootstrap",
16
+ "schema": "./src/executors/bootstrap/schema.json",
17
+ "description": "bootstrap executor"
18
+ }
19
+ }
20
+ }
package/generators.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "name": "aws-cdk-v2",
4
- "version": "0.0.1",
5
- "generators": {
6
- "init": {
7
- "factory": "./src/generators/init/init",
8
- "schema": "./src/generators/init/schema.json",
9
- "description": "init generator",
10
- "aliases": ["ng-add"],
11
- "hidden": true
12
- },
13
- "application": {
14
- "factory": "./src/generators/application/application",
15
- "schema": "./src/generators/application/schema.json",
16
- "description": "create aws-cdk application"
17
- }
18
- }
19
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "name": "aws-cdk-v2",
4
+ "version": "0.0.1",
5
+ "generators": {
6
+ "init": {
7
+ "factory": "./src/generators/init/init",
8
+ "schema": "./src/generators/init/schema.json",
9
+ "description": "init generator",
10
+ "aliases": ["ng-add"],
11
+ "hidden": true
12
+ },
13
+ "application": {
14
+ "factory": "./src/generators/application/application",
15
+ "schema": "./src/generators/application/schema.json",
16
+ "description": "create aws-cdk application"
17
+ }
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolsok/nx-aws-cdk-v2",
3
- "version": "2.2.0",
3
+ "version": "2.3.2",
4
4
  "main": "src/index.js",
5
5
  "generators": "./generators.json",
6
6
  "executors": "./executors.json",
@@ -1,3 +1,3 @@
1
- export interface BootstrapExecutorSchema {
2
- profile?: string;
3
- }
1
+ export interface BootstrapExecutorSchema {
2
+ profile?: string;
3
+ }
@@ -1,8 +1,8 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "title": "Bootstrap executor",
4
- "description": "",
5
- "type": "object",
6
- "properties": {},
7
- "required": []
8
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "title": "Bootstrap executor",
4
+ "description": "",
5
+ "type": "object",
6
+ "properties": {},
7
+ "required": []
8
+ }
@@ -1,3 +1,3 @@
1
- export interface DeployExecutorSchema {
2
- stacks?: string;
3
- }
1
+ export interface DeployExecutorSchema {
2
+ stacks?: string;
3
+ }
@@ -1,13 +1,13 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "title": "deploy executor",
4
- "description": "",
5
- "type": "object",
6
- "properties": {
7
- "stacks": {
8
- "type": "string",
9
- "description": "use deploy named STACKS"
10
- }
11
- },
12
- "required": []
13
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "title": "deploy executor",
4
+ "description": "",
5
+ "type": "object",
6
+ "properties": {
7
+ "stacks": {
8
+ "type": "string",
9
+ "description": "use deploy named STACKS"
10
+ }
11
+ },
12
+ "required": []
13
+ }
@@ -1,3 +1,3 @@
1
- export interface DestroyExecutorSchema {
2
- stacks?: string;
3
- }
1
+ export interface DestroyExecutorSchema {
2
+ stacks?: string;
3
+ }
@@ -1,13 +1,13 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "title": "Destroy executor",
4
- "description": "",
5
- "type": "object",
6
- "properties": {
7
- "stacks": {
8
- "type": "string",
9
- "description": "use destroy named STACKS"
10
- }
11
- },
12
- "required": []
13
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "title": "Destroy executor",
4
+ "description": "",
5
+ "type": "object",
6
+ "properties": {
7
+ "stacks": {
8
+ "type": "string",
9
+ "description": "use destroy named STACKS"
10
+ }
11
+ },
12
+ "required": []
13
+ }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.applicationSchematic = void 0;
4
4
  exports.applicationGenerator = applicationGenerator;
5
5
  const tslib_1 = require("tslib");
6
- const path = require("path");
6
+ const path = tslib_1.__importStar(require("path"));
7
7
  const devkit_1 = require("@nx/devkit");
8
8
  const jest_1 = require("@nx/jest");
9
9
  const init_1 = require("../init/init");
@@ -1 +1 @@
1
- {"version":3,"file":"application.js","sourceRoot":"","sources":["../../../../../../packages/aws-cdk-v2/src/generators/application/application.ts"],"names":[],"mappings":";;;AAkEA,oDAuDC;;AAzHD,6BAA6B;AAC7B,uCAcoB;AACpB,mCAAkD;AAGlD,uCAA6C;AAS7C,SAAS,gBAAgB,CAAC,IAAU,EAAE,OAA0B;;IAC9D,MAAM,IAAI,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;IAC1C,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACnG,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;IACxE,MAAM,WAAW,GAAG,GAAG,IAAA,2BAAkB,EAAC,IAAI,CAAC,CAAC,OAAO,IAAI,gBAAgB,EAAE,CAAC;IAC9E,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEpF,uCACK,OAAO,KACV,WAAW;QACX,WAAW;QACX,gBAAgB;QAChB,UAAU,EACV,cAAc,EAAE,MAAA,OAAO,CAAC,cAAc,mCAAI,MAAM,IAChD;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,IAAU,EAAE,OAAyB;IACrD,MAAM,eAAe,iDAChB,OAA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BACZ;aACF;YACD,IAAI,EAAE,iBAAiB,CAAC,UAAU;SACnC,CAAC;QACF,IAAA,gCAAuB,EAAC,IAAI,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QACtE,MAAM,SAAS,GAAG,IAAA,iCAAwB,EAAC,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;QAEhF,IAAA,mCAA0B,EAAC,IAAI,EAAE,iBAAiB,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC3E,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;QAElC,IAAI,iBAAiB,CAAC,cAAc,KAAK,MAAM,EAAE,CAAC;YAChD,MAAM,QAAQ,GAAG,MAAM,IAAA,6BAAsB,EAAC,IAAI,EAAE;gBAClD,OAAO,EAAE,iBAAiB,CAAC,WAAW;gBACtC,SAAS,EAAE,MAAM;gBACjB,eAAe,EAAE,IAAI;gBACrB,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,KAAK;gBAChB,eAAe,EAAE,MAAM;gBACvB,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;YACH,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACrB,YAAY,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;QACxC,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;YACxB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAC1B,CAAC;QAED,OAAO,IAAA,yBAAgB,EAAC,GAAG,KAAK,CAAC,CAAC;IACpC,CAAC;CAAA;AAED,kBAAe,oBAAoB,CAAC;AACvB,QAAA,oBAAoB,GAAG,IAAA,2BAAkB,EAAC,oBAAoB,CAAC,CAAC"}
@@ -1,36 +1,36 @@
1
- {
2
- "app": "npx ts-node src/main.ts",
3
- "output": "<%= offsetFromRoot %>dist/apps/<%= projectName %>",
4
- "requireApproval": "never",
5
- "watch": {
6
- "include": [
7
- "**"
8
- ],
9
- "exclude": [
10
- "README.md",
11
- "cdk*.json",
12
- "**/*.d.ts",
13
- "**/*.js",
14
- "tsconfig.json",
15
- "package*.json",
16
- "yarn.lock",
17
- "node_modules",
18
- "test"
19
- ]
20
- },
21
- "context": {
22
- "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
23
- "@aws-cdk/core:stackRelativeExports": true,
24
- "@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
25
- "@aws-cdk/aws-lambda:recognizeVersionProps": true,
26
- "@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": true,
27
- "@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
28
- "@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
29
- "@aws-cdk/core:checkSecretUsage": true,
30
- "@aws-cdk/aws-iam:minimizePolicies": true,
31
- "@aws-cdk/core:target-partitions": [
32
- "aws",
33
- "aws-cn"
34
- ]
35
- }
36
- }
1
+ {
2
+ "app": "npx ts-node src/main.ts",
3
+ "output": "<%= offsetFromRoot %>dist/apps/<%= projectName %>",
4
+ "requireApproval": "never",
5
+ "watch": {
6
+ "include": [
7
+ "**"
8
+ ],
9
+ "exclude": [
10
+ "README.md",
11
+ "cdk*.json",
12
+ "**/*.d.ts",
13
+ "**/*.js",
14
+ "tsconfig.json",
15
+ "package*.json",
16
+ "yarn.lock",
17
+ "node_modules",
18
+ "test"
19
+ ]
20
+ },
21
+ "context": {
22
+ "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
23
+ "@aws-cdk/core:stackRelativeExports": true,
24
+ "@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
25
+ "@aws-cdk/aws-lambda:recognizeVersionProps": true,
26
+ "@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": true,
27
+ "@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
28
+ "@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
29
+ "@aws-cdk/core:checkSecretUsage": true,
30
+ "@aws-cdk/aws-iam:minimizePolicies": true,
31
+ "@aws-cdk/core:target-partitions": [
32
+ "aws",
33
+ "aws-cn"
34
+ ]
35
+ }
36
+ }
@@ -1,5 +1,5 @@
1
- import { App } from 'aws-cdk-lib';
2
- import { AppStack } from './stacks/app-stack';
3
-
4
- const app = new App();
1
+ import { App } from 'aws-cdk-lib';
2
+ import { AppStack } from './stacks/app-stack';
3
+
4
+ const app = new App();
5
5
  new AppStack(app, '<%= projectName %>');
@@ -1,9 +1,9 @@
1
- import { Stack, App, StackProps } from 'aws-cdk-lib';
2
-
3
- export class AppStack extends Stack {
4
- constructor(scope: App, id: string, props?: StackProps) {
5
- super(scope, id, props);
6
-
7
- // defines your stack here
8
- }
9
- }
1
+ import { Stack, App, StackProps } from 'aws-cdk-lib';
2
+
3
+ export class AppStack extends Stack {
4
+ constructor(scope: App, id: string, props?: StackProps) {
5
+ super(scope, id, props);
6
+
7
+ // defines your stack here
8
+ }
9
+ }
@@ -1,9 +1,9 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "<%= offsetFromRoot %>dist/out-tsc",
5
- "types": ["node"]
6
- },
7
- "exclude": ["**/*.spec.ts", "**/*.test.ts"],
8
- "include": ["**/*.ts"]
9
- }
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "<%= offsetFromRoot %>dist/out-tsc",
5
+ "types": ["node"]
6
+ },
7
+ "exclude": ["**/*.spec.ts", "**/*.test.ts"],
8
+ "include": ["**/*.ts"]
9
+ }
@@ -1,15 +1,15 @@
1
- {
2
- "extends": "<%= offsetFromRoot %>tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "outDir": "<%= offsetFromRoot %>dist/out-tsc",
6
- "types": ["node", "jest"]
7
- },
8
- "include": [],
9
- "files": [],
10
- "references": [
11
- {
12
- "path": "./tsconfig.app.json"
13
- }
14
- ]
15
- }
1
+ {
2
+ "extends": "<%= offsetFromRoot %>tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "outDir": "<%= offsetFromRoot %>dist/out-tsc",
6
+ "types": ["node", "jest"]
7
+ },
8
+ "include": [],
9
+ "files": [],
10
+ "references": [
11
+ {
12
+ "path": "./tsconfig.app.json"
13
+ }
14
+ ]
15
+ }
@@ -1,13 +1,13 @@
1
- import { Stack, App } from 'aws-cdk-lib';
2
- import { Template } from 'aws-cdk-lib/assertions';
3
- import { AppStack } from './stacks/app-stack';
4
-
5
- test('Empty Stack', () => {
6
- const app = new App();
7
- // WHEN
8
- const stack = new AppStack(app, '<%= projectName %>TestStack');
9
- // THEN
10
- Template.fromStack(stack as Stack).templateMatches({
11
- Resources: {}
12
- });
13
- });
1
+ import { Stack, App } from 'aws-cdk-lib';
2
+ import { Template } from 'aws-cdk-lib/assertions';
3
+ import { AppStack } from './stacks/app-stack';
4
+
5
+ test('Empty Stack', () => {
6
+ const app = new App();
7
+ // WHEN
8
+ const stack = new AppStack(app, '<%= projectName %>TestStack');
9
+ // THEN
10
+ Template.fromStack(stack as Stack).templateMatches({
11
+ Resources: {}
12
+ });
13
+ });
@@ -1,8 +1,8 @@
1
- export interface ApplicationSchema {
2
- name: string;
3
- tags?: string;
4
- directory?: string;
5
- skipFormat?: boolean;
6
- unitTestRunner?: 'jest' | 'none';
7
- setParserOptionsProject?: boolean;
8
- }
1
+ export interface ApplicationSchema {
2
+ name: string;
3
+ tags?: string;
4
+ directory?: string;
5
+ skipFormat?: boolean;
6
+ unitTestRunner?: 'jest' | 'none';
7
+ setParserOptionsProject?: boolean;
8
+ }
@@ -1,44 +1,44 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "id": "AwsCdk",
4
- "title": "",
5
- "type": "object",
6
- "properties": {
7
- "name": {
8
- "type": "string",
9
- "description": "",
10
- "$default": {
11
- "$source": "argv",
12
- "index": 0
13
- },
14
- "x-prompt": "What name would you like to use?"
15
- },
16
- "tags": {
17
- "type": "string",
18
- "description": "Add tags to the project (used for linting)",
19
- "alias": "t"
20
- },
21
- "directory": {
22
- "type": "string",
23
- "description": "A directory where the project is placed",
24
- "alias": "d"
25
- },
26
- "skipFormat": {
27
- "description": "Skip formatting files",
28
- "type": "boolean",
29
- "default": false
30
- },
31
- "unitTestRunner": {
32
- "description": "Adds the specified unit test runner",
33
- "type": "string",
34
- "enum": ["jest", "none"],
35
- "default": "jest"
36
- },
37
- "setParserOptionsProject": {
38
- "type": "boolean",
39
- "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
40
- "default": false
41
- }
42
- },
43
- "required": ["name"]
44
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "id": "AwsCdk",
4
+ "title": "",
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "description": "",
10
+ "$default": {
11
+ "$source": "argv",
12
+ "index": 0
13
+ },
14
+ "x-prompt": "What name would you like to use?"
15
+ },
16
+ "tags": {
17
+ "type": "string",
18
+ "description": "Add tags to the project (used for linting)",
19
+ "alias": "t"
20
+ },
21
+ "directory": {
22
+ "type": "string",
23
+ "description": "A directory where the project is placed",
24
+ "alias": "d"
25
+ },
26
+ "skipFormat": {
27
+ "description": "Skip formatting files",
28
+ "type": "boolean",
29
+ "default": false
30
+ },
31
+ "unitTestRunner": {
32
+ "description": "Adds the specified unit test runner",
33
+ "type": "string",
34
+ "enum": ["jest", "none"],
35
+ "default": "jest"
36
+ },
37
+ "setParserOptionsProject": {
38
+ "type": "boolean",
39
+ "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
40
+ "default": false
41
+ }
42
+ },
43
+ "required": ["name"]
44
+ }
@@ -1,4 +1,4 @@
1
- export interface InitGeneratorSchema {
2
- unitTestRunner?: 'jest' | 'none';
3
- skipFormat?: boolean;
4
- }
1
+ export interface InitGeneratorSchema {
2
+ unitTestRunner?: 'jest' | 'none';
3
+ skipFormat?: boolean;
4
+ }
@@ -1,20 +1,20 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "id": "AwsCdkInit",
4
- "title": "Add AWS CDK Schematics",
5
- "type": "object",
6
- "properties": {
7
- "unitTestRunner": {
8
- "description": "Adds the specified unit test runner",
9
- "type": "string",
10
- "enum": ["jest", "none"],
11
- "default": "jest"
12
- },
13
- "skipFormat": {
14
- "description": "Skip formatting files",
15
- "type": "boolean",
16
- "default": false
17
- }
18
- },
19
- "required": []
20
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "id": "AwsCdkInit",
4
+ "title": "Add AWS CDK Schematics",
5
+ "type": "object",
6
+ "properties": {
7
+ "unitTestRunner": {
8
+ "description": "Adds the specified unit test runner",
9
+ "type": "string",
10
+ "enum": ["jest", "none"],
11
+ "default": "jest"
12
+ },
13
+ "skipFormat": {
14
+ "description": "Skip formatting files",
15
+ "type": "boolean",
16
+ "default": false
17
+ }
18
+ },
19
+ "required": []
20
+ }
@@ -6,10 +6,11 @@ exports.generateCommandString = generateCommandString;
6
6
  exports.parseArgs = parseArgs;
7
7
  exports.createCommand = createCommand;
8
8
  exports.runCommandProcess = runCommandProcess;
9
+ const tslib_1 = require("tslib");
9
10
  const child_process_1 = require("child_process");
10
11
  const devkit_1 = require("@nx/devkit");
11
12
  const package_json_utils_1 = require("@nx/eslint-plugin/src/utils/package-json-utils");
12
- const path = require("node:path");
13
+ const path = tslib_1.__importStar(require("node:path"));
13
14
  exports.executorPropKeys = ['stacks'];
14
15
  exports.LARGE_BUFFER = 1024 * 1000000;
15
16
  const NX_WORKSPACE_ROOT = (_a = process.env.NX_WORKSPACE_ROOT) !== null && _a !== void 0 ? _a : '';
@@ -22,8 +23,10 @@ function generateCommandString(command, appPath) {
22
23
  const projectPath = path.join(NX_WORKSPACE_ROOT, appPath);
23
24
  const moduleType = getModuleType(projectPath);
24
25
  const tsNodePart = moduleType === 'module' ? '--loader ts-node/esm' : 'ts-node';
25
- const generatePath = `"${packageManagerExecutor} ${tsNodePart} --require tsconfig-paths/register --project ${path.join(projectPath, 'tsconfig.app.json')} ${path.join(projectPath, '/src/main.ts')}"`;
26
- return `node --require ts-node/register ${path.join(NX_WORKSPACE_ROOT, 'node_modules/aws-cdk/bin/cdk')} -a ${generatePath} ${command}`;
26
+ const mainTsPath = path.join(projectPath, 'src', 'main.ts');
27
+ const generatePath = `${packageManagerExecutor} ${tsNodePart} --require tsconfig-paths/register --project ${path.join(projectPath, 'tsconfig.app.json')} ${mainTsPath}`;
28
+ // Entferne doppelte ts-node-Initialisierung
29
+ return `${path.join(NX_WORKSPACE_ROOT, 'node_modules', 'aws-cdk', 'bin', 'cdk')} -a "${generatePath}" ${command}`;
27
30
  }
28
31
  function parseArgs(options) {
29
32
  const keys = Object.keys(options);
@@ -1 +1 @@
1
- {"version":3,"file":"executor.util.js","sourceRoot":"","sources":["../../../../../packages/aws-cdk-v2/src/utils/executor.util.ts"],"names":[],"mappings":";;;;AAiBA,sDAUC;AAED,8BAQC;AAED,sCAuBC;AAED,8CA2CC;AA3GD,iDAAqC;AAIrC,uCAA0D;AAE1D,uFAAgF;AAChF,kCAAkC;AAErB,QAAA,gBAAgB,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC9B,QAAA,YAAY,GAAG,IAAI,GAAG,OAAO,CAAC;AAE3C,MAAM,iBAAiB,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,iBAAiB,mCAAI,EAAE,CAAC;AAC9D,IAAI,CAAC,iBAAiB,EAAE,CAAC;IACvB,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;AACnC,CAAC;AAED,SAAgB,qBAAqB,CAAC,OAAe,EAAE,OAAe;IACpE,MAAM,cAAc,GAAG,IAAA,6BAAoB,GAAE,CAAC;IAC9C,MAAM,sBAAsB,GAAG,cAAc,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC;IAEjF,MAAM,WAAW,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