projen 0.51.17 → 0.52.3
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/.jsii +332 -241
- package/README.md +19 -20
- package/changelog.md +1 -6
- package/docs/README.md +25 -0
- package/{API.md → docs/api/API.md} +68 -19
- package/docs/eject.md +30 -0
- package/lib/awscdk/auto-discover.js +1 -1
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +1 -1
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-function.js +6 -5
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/jsii-docgen.d.ts +16 -2
- package/lib/cdk/jsii-docgen.js +8 -6
- package/lib/cdk/jsii-project.d.ts +7 -0
- package/lib/cdk/jsii-project.js +3 -3
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +8 -6
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose.js +2 -2
- package/lib/file.d.ts +22 -8
- package/lib/file.js +32 -12
- package/lib/gitattributes.js +3 -3
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +3 -2
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +6 -3
- package/lib/ini.js +3 -3
- package/lib/inventory.js +2 -2
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +1 -1
- package/lib/java/projenrc.js +5 -5
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +1 -1
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +6 -4
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +4 -4
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/json.js +3 -3
- package/lib/license.js +3 -3
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.d.ts +0 -13
- package/lib/object-file.js +4 -5
- package/lib/project-build.js +3 -3
- package/lib/project.d.ts +18 -1
- package/lib/project.js +54 -15
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +5 -5
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +4 -4
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +3 -3
- package/lib/python/setuppy.js +3 -3
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/bump-version.task.js +2 -2
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/run-task.js +1823 -0
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.d.ts +4 -0
- package/lib/source-code.js +8 -2
- package/lib/task-runtime.d.ts +6 -0
- package/lib/task-runtime.js +13 -6
- package/lib/task.js +1 -1
- package/lib/tasks.d.ts +6 -6
- package/lib/tasks.js +18 -11
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +3 -3
- package/lib/typescript/projenrc.js +4 -4
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +7 -5
- package/lib/util.d.ts +2 -0
- package/lib/util.js +22 -2
- package/lib/version.js +1 -1
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +8 -11
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +3 -3
- package/lib/yaml.js +3 -3
- package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
- package/node_modules/xmlbuilder2/node_modules/@types/node/events.d.ts +31 -3
- package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
- package/node_modules/xmlbuilder2/node_modules/@types/node/util.d.ts +1 -1
- package/package.json +4 -1
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/docs/mutable-builds.md +0 -0
package/README.md
CHANGED
|
@@ -46,23 +46,23 @@ Currently supported project types (use `npx projen new` without a type for a
|
|
|
46
46
|
list):
|
|
47
47
|
|
|
48
48
|
<!-- <macro exec="node ./scripts/readme-projects.js"> -->
|
|
49
|
-
* [awscdk-app-java](https://github.
|
|
50
|
-
* [awscdk-app-ts](https://github.
|
|
51
|
-
* [awscdk-construct](https://github.
|
|
52
|
-
* [cdk8s-app-ts](https://github.
|
|
53
|
-
* [cdk8s-construct](https://github.
|
|
54
|
-
* [cdktf-construct](https://github.
|
|
55
|
-
* [java](https://github.
|
|
56
|
-
* [jsii](https://github.
|
|
57
|
-
* [nextjs](https://github.
|
|
58
|
-
* [nextjs-ts](https://github.
|
|
59
|
-
* [node](https://github.
|
|
60
|
-
* [project](https://github.
|
|
61
|
-
* [python](https://github.
|
|
62
|
-
* [react](https://github.
|
|
63
|
-
* [react-ts](https://github.
|
|
64
|
-
* [typescript](https://github.
|
|
65
|
-
* [typescript-app](https://github.
|
|
49
|
+
* [awscdk-app-java](https://projen.github.io/projen/api/API.html#projen-awscdk-awscdkjavaapp) - AWS CDK app in Java.
|
|
50
|
+
* [awscdk-app-ts](https://projen.github.io/projen/api/API.html#projen-awscdk-awscdktypescriptapp) - AWS CDK app in TypeScript.
|
|
51
|
+
* [awscdk-construct](https://projen.github.io/projen/api/API.html#projen-awscdk-awscdkconstructlibrary) - AWS CDK construct library project.
|
|
52
|
+
* [cdk8s-app-ts](https://projen.github.io/projen/api/API.html#projen-cdk8s-cdk8stypescriptapp) - CDK8s app in TypeScript.
|
|
53
|
+
* [cdk8s-construct](https://projen.github.io/projen/api/API.html#projen-cdk8s-constructlibrarycdk8s) - CDK8s construct library project.
|
|
54
|
+
* [cdktf-construct](https://projen.github.io/projen/api/API.html#projen-cdktf-constructlibrarycdktf) - CDKTF construct library project.
|
|
55
|
+
* [java](https://projen.github.io/projen/api/API.html#projen-java-javaproject) - Java project.
|
|
56
|
+
* [jsii](https://projen.github.io/projen/api/API.html#projen-cdk-jsiiproject) - Multi-language jsii library project.
|
|
57
|
+
* [nextjs](https://projen.github.io/projen/api/API.html#projen-web-nextjsproject) - Next.js project without TypeScript.
|
|
58
|
+
* [nextjs-ts](https://projen.github.io/projen/api/API.html#projen-web-nextjstypescriptproject) - Next.js project with TypeScript.
|
|
59
|
+
* [node](https://projen.github.io/projen/api/API.html#projen-javascript-nodeproject) - Node.js project.
|
|
60
|
+
* [project](https://projen.github.io/projen/api/API.html#projen-project) - Base project.
|
|
61
|
+
* [python](https://projen.github.io/projen/api/API.html#projen-python-pythonproject) - Python project.
|
|
62
|
+
* [react](https://projen.github.io/projen/api/API.html#projen-web-reactproject) - React project without TypeScript.
|
|
63
|
+
* [react-ts](https://projen.github.io/projen/api/API.html#projen-web-reacttypescriptproject) - React project with TypeScript.
|
|
64
|
+
* [typescript](https://projen.github.io/projen/api/API.html#projen-typescript-typescriptproject) - TypeScript project.
|
|
65
|
+
* [typescript-app](https://projen.github.io/projen/api/API.html#projen-typescript-typescriptappproject) - TypeScript app.
|
|
66
66
|
<!-- </macro> -->
|
|
67
67
|
|
|
68
68
|
> Use `npx projen new PROJECT-TYPE --help` to view a list of command line
|
|
@@ -180,9 +180,9 @@ Some examples for features built-in to project types:
|
|
|
180
180
|
|
|
181
181
|
## API Reference
|
|
182
182
|
|
|
183
|
-
See [API Reference](
|
|
183
|
+
See [API Reference](https://projen.github.io/projen/api/API.html) for API details.
|
|
184
184
|
|
|
185
|
-
In addition, several projen components and project types are explained with examples
|
|
185
|
+
In addition, several projen components and project types are explained with examples at <https://projen.github.io/projen/> (currently a work in progress!).
|
|
186
186
|
|
|
187
187
|
## Ecosystem
|
|
188
188
|
|
|
@@ -370,4 +370,3 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
370
370
|
## License
|
|
371
371
|
|
|
372
372
|
Distributed under the [Apache-2.0](./LICENSE) license.
|
|
373
|
-
|
package/changelog.md
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
### [0.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
### Features
|
|
6
|
-
|
|
7
|
-
* customise build workflow trigger in NodeProject ([#1562](https://github.com/projen/projen/issues/1562)) ([d728adc](https://github.com/projen/projen/commit/d728adcad59e723786c7e850a2cca9070da16c84))
|
|
2
|
+
### [0.52.3](https://github.com/projen/projen/compare/v0.52.2...v0.52.3) (2022-01-26)
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Documentation
|
|
2
|
+
|
|
3
|
+
* [AWS CDK Applications](awscdk-apps.md)
|
|
4
|
+
* [AWS CDK Construct Library](awscdk-construct.md)
|
|
5
|
+
* [AWS Cloud Projects](awscdk.md)
|
|
6
|
+
* [Build](build.md)
|
|
7
|
+
* [Bundling](bundling.md)
|
|
8
|
+
* [Components](components.md)
|
|
9
|
+
* [Dependencies](deps.md)
|
|
10
|
+
* [Escape hatches](escape-hatches.md)
|
|
11
|
+
* [Ejecting](eject.md)
|
|
12
|
+
* [GitLab](gitlab.md)
|
|
13
|
+
* [Java Projects](java.md)
|
|
14
|
+
* [Node.js Projects](node.md)
|
|
15
|
+
* [Programmatic API](programmatic-api.md)
|
|
16
|
+
* [Publishing Modules](publisher.md)
|
|
17
|
+
* [Python Projects](python.md)
|
|
18
|
+
* [Releases and Versioning](releases.md)
|
|
19
|
+
* [Subprojects](subproject.md)
|
|
20
|
+
* [Tasks](tasks.md)
|
|
21
|
+
* [TypeScript Projects](typescript.md)
|
|
22
|
+
|
|
23
|
+
## API Reference
|
|
24
|
+
|
|
25
|
+
* [TypeScript](api/API.md)
|
|
@@ -52,7 +52,7 @@ Name|Description
|
|
|
52
52
|
[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)|The runtime for the AWS Lambda function.
|
|
53
53
|
[build.BuildWorkflow](#projen-build-buildworkflow)|*No description*
|
|
54
54
|
[cdk.ConstructLibrary](#projen-cdk-constructlibrary)|A multi-language library for CDK constructs.
|
|
55
|
-
[cdk.JsiiDocgen](#projen-cdk-jsiidocgen)|Creates
|
|
55
|
+
[cdk.JsiiDocgen](#projen-cdk-jsiidocgen)|Creates a markdown file based on the jsii manifest: - Adds a `docgen` script to package.json - Runs `jsii-docgen` after compilation - Enforces that markdown file is checked in.
|
|
56
56
|
[cdk.JsiiProject](#projen-cdk-jsiiproject)|Multi-language jsii library project.
|
|
57
57
|
[cdk8s.Cdk8sTypeScriptApp](#projen-cdk8s-cdk8stypescriptapp)|CDK8s app in TypeScript.
|
|
58
58
|
[cdk8s.ConstructLibraryCdk8s](#projen-cdk8s-constructlibrarycdk8s)|CDK8s construct library project.
|
|
@@ -188,6 +188,7 @@ Name|Description
|
|
|
188
188
|
[build.BuildWorkflowOptions](#projen-build-buildworkflowoptions)|*No description*
|
|
189
189
|
[cdk.Catalog](#projen-cdk-catalog)|*No description*
|
|
190
190
|
[cdk.ConstructLibraryOptions](#projen-cdk-constructlibraryoptions)|*No description*
|
|
191
|
+
[cdk.JsiiDocgenOptions](#projen-cdk-jsiidocgenoptions)|Options for `JsiiDocgen`.
|
|
191
192
|
[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)|*No description*
|
|
192
193
|
[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)|Go target configuration.
|
|
193
194
|
[cdk.JsiiJavaTarget](#projen-cdk-jsiijavatarget)|*No description*
|
|
@@ -856,6 +857,7 @@ new FileBase(project: Project, filePath: string, options?: FileBaseOptions)
|
|
|
856
857
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
857
858
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
858
859
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
860
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
859
861
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
860
862
|
|
|
861
863
|
|
|
@@ -870,7 +872,7 @@ Name | Type | Description
|
|
|
870
872
|
**path**🔹 | <code>string</code> | The file path, relative to the project root.
|
|
871
873
|
**readonly**🔹 | <code>boolean</code> | Indicates if the file should be read-only or read-write.
|
|
872
874
|
**changed**?🔹 | <code>boolean</code> | Indicates if the file has been changed during synthesis.<br/>__*Optional*__
|
|
873
|
-
|
|
875
|
+
**marker**?🔹 | <code>string</code> | The projen marker, used to identify files as projen-generated.<br/>__*Optional*__
|
|
874
876
|
|
|
875
877
|
### Methods
|
|
876
878
|
|
|
@@ -1209,8 +1211,8 @@ new IniFile(project: Project, filePath: string, options: IniFileOptions)
|
|
|
1209
1211
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
1210
1212
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
1211
1213
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
1214
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
1212
1215
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
1213
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
1214
1216
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
1215
1217
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
1216
1218
|
|
|
@@ -1254,8 +1256,8 @@ new JsonFile(project: Project, filePath: string, options: JsonFileOptions)
|
|
|
1254
1256
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
1255
1257
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
1256
1258
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
1259
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
1257
1260
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
1258
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
1259
1261
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
1260
1262
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
1261
1263
|
* **newline** (<code>boolean</code>) Adds a newline at the end of the file. __*Default*__: true
|
|
@@ -1448,6 +1450,7 @@ new Makefile(project: Project, filePath: string, options?: MakefileOptions)
|
|
|
1448
1450
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
1449
1451
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
1450
1452
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
1453
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
1451
1454
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
1452
1455
|
* **all** (<code>Array<string></code>) List of targets to build when Make is invoked without specifying any targets. __*Default*__: []
|
|
1453
1456
|
* **rules** (<code>Array<[Rule](#projen-rule)></code>) Rules to include in the Makefile. __*Default*__: []
|
|
@@ -1562,8 +1565,8 @@ new ObjectFile(project: Project, filePath: string, options: ObjectFileOptions)
|
|
|
1562
1565
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
1563
1566
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
1564
1567
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
1568
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
1565
1569
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
1566
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
1567
1570
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
1568
1571
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
1569
1572
|
|
|
@@ -1574,7 +1577,6 @@ new ObjectFile(project: Project, filePath: string, options: ObjectFileOptions)
|
|
|
1574
1577
|
|
|
1575
1578
|
Name | Type | Description
|
|
1576
1579
|
-----|------|-------------
|
|
1577
|
-
**marker**🔹 | <code>boolean</code> | Indicates if the projen marker JSON-comment will be added to the output object.
|
|
1578
1580
|
**omitEmpty**🔹 | <code>boolean</code> | Indicates if empty objects and arrays are omitted from the output object.
|
|
1579
1581
|
|
|
1580
1582
|
### Methods
|
|
@@ -1681,8 +1683,8 @@ Name | Type | Description
|
|
|
1681
1683
|
**buildTask**🔹 | <code>[Task](#projen-task)</code> | <span></span>
|
|
1682
1684
|
**compileTask**🔹 | <code>[Task](#projen-task)</code> | <span></span>
|
|
1683
1685
|
**components**🔹 | <code>Array<[Component](#projen-component)></code> | Returns all the components within this project.
|
|
1684
|
-
**defaultTask**🔹 | <code>[Task](#projen-task)</code> | This is the "default" task, the one that executes "projen".
|
|
1685
1686
|
**deps**🔹 | <code>[Dependencies](#projen-dependencies)</code> | Project dependencies.
|
|
1687
|
+
**ejected**🔹 | <code>boolean</code> | Whether or not the project is being ejected.
|
|
1686
1688
|
**files**🔹 | <code>Array<[FileBase](#projen-filebase)></code> | All files in this project.
|
|
1687
1689
|
**gitattributes**🔹 | <code>[GitAttributesFile](#projen-gitattributesfile)</code> | The .gitattributes file for this repository.
|
|
1688
1690
|
**gitignore**🔹 | <code>[IgnoreFile](#projen-ignorefile)</code> | .gitignore.
|
|
@@ -1697,6 +1699,7 @@ Name | Type | Description
|
|
|
1697
1699
|
**root**🔹 | <code>[Project](#projen-project)</code> | The root project.
|
|
1698
1700
|
**tasks**🔹 | <code>[Tasks](#projen-tasks)</code> | Project tasks.
|
|
1699
1701
|
**testTask**🔹 | <code>[Task](#projen-task)</code> | <span></span>
|
|
1702
|
+
**defaultTask**?🔹 | <code>[Task](#projen-task)</code> | This is the "default" task, the one that executes "projen".<br/>__*Optional*__
|
|
1700
1703
|
**initProject**?🔹 | <code>[InitProject](#projen-initproject)</code> | The options used when this project is bootstrapped via `projen new`.<br/>__*Optional*__
|
|
1701
1704
|
**parent**?🔹 | <code>[Project](#projen-project)</code> | A parent project.<br/>__*Optional*__
|
|
1702
1705
|
*static* **DEFAULT_TASK**🔹 | <code>string</code> | The name of the default task (the task executed when `projen` is run without arguments).
|
|
@@ -2238,6 +2241,7 @@ new SourceCode(project: Project, filePath: string, options?: SourceCodeOptions)
|
|
|
2238
2241
|
Name | Type | Description
|
|
2239
2242
|
-----|------|-------------
|
|
2240
2243
|
**filePath**🔹 | <code>string</code> | <span></span>
|
|
2244
|
+
**marker**?🔹 | <code>string</code> | __*Optional*__
|
|
2241
2245
|
|
|
2242
2246
|
### Methods
|
|
2243
2247
|
|
|
@@ -2524,6 +2528,7 @@ Name | Type | Description
|
|
|
2524
2528
|
**manifest**🔹 | <code>[TasksManifest](#projen-tasksmanifest)</code> | The contents of tasks.json.
|
|
2525
2529
|
**tasks**🔹 | <code>Array<[TaskSpec](#projen-taskspec)></code> | The tasks in this project.
|
|
2526
2530
|
**workdir**🔹 | <code>string</code> | The root directory of the project and the cwd for executing tasks.
|
|
2531
|
+
*static* **MANIFEST_FILE**🔹 | <code>string</code> | The project-relative path of the tasks manifest file.
|
|
2527
2532
|
|
|
2528
2533
|
### Methods
|
|
2529
2534
|
|
|
@@ -2586,7 +2591,6 @@ Name | Type | Description
|
|
|
2586
2591
|
-----|------|-------------
|
|
2587
2592
|
**all**🔹 | <code>Array<[Task](#projen-task)></code> | All tasks.
|
|
2588
2593
|
**env**🔹 | <code>Map<string, string></code> | Returns a copy of the currently global environment for this project.
|
|
2589
|
-
*static* **MANIFEST_FILE**🔹 | <code>string</code> | The project-relative path of the tasks manifest file.
|
|
2590
2594
|
|
|
2591
2595
|
### Methods
|
|
2592
2596
|
|
|
@@ -2638,6 +2642,18 @@ removeTask(name: string): Task
|
|
|
2638
2642
|
__Returns__:
|
|
2639
2643
|
* <code>[Task](#projen-task)</code>
|
|
2640
2644
|
|
|
2645
|
+
#### synthesize()🔹 <a id="projen-tasks-synthesize"></a>
|
|
2646
|
+
|
|
2647
|
+
Synthesizes files to the project output directory.
|
|
2648
|
+
|
|
2649
|
+
```ts
|
|
2650
|
+
synthesize(): void
|
|
2651
|
+
```
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
|
|
2641
2657
|
#### tryFind(name)🔹 <a id="projen-tasks-tryfind"></a>
|
|
2642
2658
|
|
|
2643
2659
|
Finds a task by name.
|
|
@@ -2699,6 +2715,7 @@ new TextFile(project: Project, filePath: string, options?: TextFileOptions)
|
|
|
2699
2715
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
2700
2716
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
2701
2717
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
2718
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
2702
2719
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
2703
2720
|
* **lines** (<code>Array<string></code>) The contents of the text file. __*Default*__: [] empty file
|
|
2704
2721
|
|
|
@@ -2755,8 +2772,8 @@ new TomlFile(project: Project, filePath: string, options: TomlFileOptions)
|
|
|
2755
2772
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
2756
2773
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
2757
2774
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
2775
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
2758
2776
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
2759
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
2760
2777
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
2761
2778
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
2762
2779
|
|
|
@@ -2839,8 +2856,8 @@ new XmlFile(project: Project, filePath: string, options?: XmlFileOptions)
|
|
|
2839
2856
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
2840
2857
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
2841
2858
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
2859
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
2842
2860
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
2843
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
2844
2861
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
2845
2862
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
2846
2863
|
|
|
@@ -2884,8 +2901,8 @@ new YamlFile(project: Project, filePath: string, options: YamlFileOptions)
|
|
|
2884
2901
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
2885
2902
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
2886
2903
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
2904
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
2887
2905
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
2888
|
-
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: true
|
|
2889
2906
|
* **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
2890
2907
|
* **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
|
|
2891
2908
|
* **lineWidth** (<code>number</code>) Maximum line width (set to 0 to disable folding). __*Default*__: 0
|
|
@@ -3101,6 +3118,7 @@ new awscdk.AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions)
|
|
|
3101
3118
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
3102
3119
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
3103
3120
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
3121
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
3104
3122
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
3105
3123
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
3106
3124
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -3882,6 +3900,7 @@ new awscdk.ConstructLibraryAws(options: AwsCdkConstructLibraryOptions)
|
|
|
3882
3900
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
3883
3901
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
3884
3902
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
3903
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
3885
3904
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
3886
3905
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
3887
3906
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -4307,6 +4326,7 @@ new cdk.ConstructLibrary(options: ConstructLibraryOptions)
|
|
|
4307
4326
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
4308
4327
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
4309
4328
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
4329
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
4310
4330
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
4311
4331
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
4312
4332
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -4322,7 +4342,7 @@ new cdk.ConstructLibrary(options: ConstructLibraryOptions)
|
|
|
4322
4342
|
|
|
4323
4343
|
## class JsiiDocgen 🔹 <a id="projen-cdk-jsiidocgen"></a>
|
|
4324
4344
|
|
|
4325
|
-
Creates
|
|
4345
|
+
Creates a markdown file based on the jsii manifest: - Adds a `docgen` script to package.json - Runs `jsii-docgen` after compilation - Enforces that markdown file is checked in.
|
|
4326
4346
|
|
|
4327
4347
|
__Submodule__: cdk
|
|
4328
4348
|
|
|
@@ -4333,10 +4353,12 @@ __Submodule__: cdk
|
|
|
4333
4353
|
|
|
4334
4354
|
|
|
4335
4355
|
```ts
|
|
4336
|
-
new cdk.JsiiDocgen(project: JsiiProject)
|
|
4356
|
+
new cdk.JsiiDocgen(project: JsiiProject, options?: JsiiDocgenOptions)
|
|
4337
4357
|
```
|
|
4338
4358
|
|
|
4339
4359
|
* **project** (<code>[cdk.JsiiProject](#projen-cdk-jsiiproject)</code>) *No description*
|
|
4360
|
+
* **options** (<code>[cdk.JsiiDocgenOptions](#projen-cdk-jsiidocgenoptions)</code>) *No description*
|
|
4361
|
+
* **filePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
4340
4362
|
|
|
4341
4363
|
|
|
4342
4364
|
|
|
@@ -4493,6 +4515,7 @@ new cdk.JsiiProject(options: JsiiProjectOptions)
|
|
|
4493
4515
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
4494
4516
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
4495
4517
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
4518
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
4496
4519
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
4497
4520
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
4498
4521
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -4841,6 +4864,7 @@ new cdk8s.ConstructLibraryCdk8s(options: ConstructLibraryCdk8sOptions)
|
|
|
4841
4864
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
4842
4865
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
4843
4866
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
4867
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
4844
4868
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
4845
4869
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
4846
4870
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -5024,6 +5048,7 @@ new cdktf.ConstructLibraryCdktf(options: ConstructLibraryCdktfOptions)
|
|
|
5024
5048
|
* **repositoryUrl** (<code>string</code>) Git repository URL.
|
|
5025
5049
|
* **compat** (<code>boolean</code>) Automatically run API compatibility test against the latest version published to npm after compilation. __*Default*__: false
|
|
5026
5050
|
* **compatIgnore** (<code>string</code>) Name of the ignore file for API compatibility tests. __*Default*__: ".compatignore"
|
|
5051
|
+
* **docgenFilePath** (<code>string</code>) File path for generated docs. __*Default*__: "API.md"
|
|
5027
5052
|
* **dotnet** (<code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code>) *No description* __*Optional*__
|
|
5028
5053
|
* **excludeTypescript** (<code>Array<string></code>) Accepts a list of glob patterns. __*Optional*__
|
|
5029
5054
|
* **publishToGo** (<code>[cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)</code>) Publish Go bindings to a git repository. __*Default*__: no publishing
|
|
@@ -9929,6 +9954,7 @@ new web.ReactTypeDef(project: ReactTypeScriptProject, filePath: string, options?
|
|
|
9929
9954
|
* **committed** (<code>boolean</code>) Indicates whether this file should be committed to git or ignored. __*Default*__: true
|
|
9930
9955
|
* **editGitignore** (<code>boolean</code>) Update the project's .gitignore file. __*Default*__: true
|
|
9931
9956
|
* **executable** (<code>boolean</code>) Whether the generated file should be marked as executable. __*Default*__: false
|
|
9957
|
+
* **marker** (<code>boolean</code>) Adds the projen marker to the file. __*Default*__: marker will be included as long as the project is not ejected
|
|
9932
9958
|
* **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
|
|
9933
9959
|
|
|
9934
9960
|
|
|
@@ -10347,6 +10373,7 @@ Name | Type | Description
|
|
|
10347
10373
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10348
10374
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10349
10375
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10376
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10350
10377
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
10351
10378
|
|
|
10352
10379
|
|
|
@@ -10618,7 +10645,7 @@ Name | Type | Description
|
|
|
10618
10645
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10619
10646
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10620
10647
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10621
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
10648
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10622
10649
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
10623
10650
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
10624
10651
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
@@ -10655,7 +10682,7 @@ Name | Type | Description
|
|
|
10655
10682
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10656
10683
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10657
10684
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10658
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
10685
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10659
10686
|
**newline**?🔹 | <code>boolean</code> | Adds a newline at the end of the file.<br/>__*Default*__: true
|
|
10660
10687
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
10661
10688
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
@@ -10705,6 +10732,7 @@ Name | Type | Description
|
|
|
10705
10732
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10706
10733
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10707
10734
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10735
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10708
10736
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
10709
10737
|
**rules**?🔹 | <code>Array<[Rule](#projen-rule)></code> | Rules to include in the Makefile.<br/>__*Default*__: []
|
|
10710
10738
|
|
|
@@ -10722,7 +10750,7 @@ Name | Type | Description
|
|
|
10722
10750
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10723
10751
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10724
10752
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10725
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
10753
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10726
10754
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
10727
10755
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
10728
10756
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
@@ -10963,6 +10991,7 @@ Name | Type | Description
|
|
|
10963
10991
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10964
10992
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10965
10993
|
**lines**?🔹 | <code>Array<string></code> | The contents of the text file.<br/>__*Default*__: [] empty file
|
|
10994
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10966
10995
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
10967
10996
|
|
|
10968
10997
|
|
|
@@ -10979,7 +11008,7 @@ Name | Type | Description
|
|
|
10979
11008
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
10980
11009
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
10981
11010
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
10982
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
11011
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
10983
11012
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
10984
11013
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
10985
11014
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
@@ -11013,7 +11042,7 @@ Name | Type | Description
|
|
|
11013
11042
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
11014
11043
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
11015
11044
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
11016
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
11045
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
11017
11046
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
11018
11047
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
11019
11048
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
@@ -11033,7 +11062,7 @@ Name | Type | Description
|
|
|
11033
11062
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
11034
11063
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
11035
11064
|
**lineWidth**?🔹 | <code>number</code> | Maximum line width (set to 0 to disable folding).<br/>__*Default*__: 0
|
|
11036
|
-
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__:
|
|
11065
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
11037
11066
|
**obj**?🔹 | <code>any</code> | The object that will be serialized.<br/>__*Default*__: {} an empty object (use `file.obj` to mutate).
|
|
11038
11067
|
**omitEmpty**?🔹 | <code>boolean</code> | Omits empty objects and arrays.<br/>__*Default*__: false
|
|
11039
11068
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
@@ -11116,6 +11145,7 @@ Name | Type | Description
|
|
|
11116
11145
|
**devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
11117
11146
|
**disableTsconfig**?🔹 | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
11118
11147
|
**docgen**?🔹 | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
11148
|
+
**docgenFilePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
11119
11149
|
**docsDirectory**?🔹 | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
11120
11150
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
11121
11151
|
**entrypoint**?🔹 | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -11605,6 +11635,7 @@ Name | Type | Description
|
|
|
11605
11635
|
**devDeps**?⚠️ | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
11606
11636
|
**disableTsconfig**?⚠️ | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
11607
11637
|
**docgen**?⚠️ | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
11638
|
+
**docgenFilePath**?⚠️ | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
11608
11639
|
**docsDirectory**?⚠️ | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
11609
11640
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
11610
11641
|
**entrypoint**?⚠️ | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -11894,6 +11925,7 @@ Name | Type | Description
|
|
|
11894
11925
|
**devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
11895
11926
|
**disableTsconfig**?🔹 | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
11896
11927
|
**docgen**?🔹 | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
11928
|
+
**docgenFilePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
11897
11929
|
**docsDirectory**?🔹 | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
11898
11930
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
11899
11931
|
**entrypoint**?🔹 | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -11998,6 +12030,19 @@ Name | Type | Description
|
|
|
11998
12030
|
|
|
11999
12031
|
|
|
12000
12032
|
|
|
12033
|
+
## struct JsiiDocgenOptions 🔹 <a id="projen-cdk-jsiidocgenoptions"></a>
|
|
12034
|
+
|
|
12035
|
+
|
|
12036
|
+
Options for `JsiiDocgen`.
|
|
12037
|
+
|
|
12038
|
+
|
|
12039
|
+
|
|
12040
|
+
Name | Type | Description
|
|
12041
|
+
-----|------|-------------
|
|
12042
|
+
**filePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
12043
|
+
|
|
12044
|
+
|
|
12045
|
+
|
|
12001
12046
|
## struct JsiiDotNetTarget 🔹 <a id="projen-cdk-jsiidotnettarget"></a>
|
|
12002
12047
|
|
|
12003
12048
|
|
|
@@ -12111,6 +12156,7 @@ Name | Type | Description
|
|
|
12111
12156
|
**devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
12112
12157
|
**disableTsconfig**?🔹 | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
12113
12158
|
**docgen**?🔹 | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
12159
|
+
**docgenFilePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
12114
12160
|
**docsDirectory**?🔹 | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
12115
12161
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
12116
12162
|
**entrypoint**?🔹 | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -12441,6 +12487,7 @@ Name | Type | Description
|
|
|
12441
12487
|
**devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
12442
12488
|
**disableTsconfig**?🔹 | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
12443
12489
|
**docgen**?🔹 | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
12490
|
+
**docgenFilePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
12444
12491
|
**docsDirectory**?🔹 | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
12445
12492
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
12446
12493
|
**entrypoint**?🔹 | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -12597,6 +12644,7 @@ Name | Type | Description
|
|
|
12597
12644
|
**devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
|
|
12598
12645
|
**disableTsconfig**?🔹 | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).<br/>__*Default*__: false
|
|
12599
12646
|
**docgen**?🔹 | <code>boolean</code> | Docgen by Typedoc.<br/>__*Default*__: false
|
|
12647
|
+
**docgenFilePath**?🔹 | <code>string</code> | File path for generated docs.<br/>__*Default*__: "API.md"
|
|
12600
12648
|
**docsDirectory**?🔹 | <code>string</code> | Docs directory.<br/>__*Default*__: "docs"
|
|
12601
12649
|
**dotnet**?⚠️ | <code>[cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)</code> | __*Optional*__
|
|
12602
12650
|
**entrypoint**?🔹 | <code>string</code> | Module entrypoint (`main` in `package.json`).<br/>__*Default*__: "lib/index.js"
|
|
@@ -16004,6 +16052,7 @@ Name | Type | Description
|
|
|
16004
16052
|
**committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
|
|
16005
16053
|
**editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
|
|
16006
16054
|
**executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
|
|
16055
|
+
**marker**?🔹 | <code>boolean</code> | Adds the projen marker to the file.<br/>__*Default*__: marker will be included as long as the project is not ejected
|
|
16007
16056
|
**readonly**?🔹 | <code>boolean</code> | Whether the generated file should be readonly.<br/>__*Default*__: true
|
|
16008
16057
|
|
|
16009
16058
|
|
package/docs/eject.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Ejecting
|
|
2
|
+
|
|
3
|
+
To stop from using projen to manage your project configuration,
|
|
4
|
+
you can `eject` at any time and continue to manage your configuration manually.
|
|
5
|
+
|
|
6
|
+
Running `projen eject` will do the following:
|
|
7
|
+
|
|
8
|
+
- uninstall projen as a project dependency
|
|
9
|
+
- change projen-managed files from readonly to user-writeable
|
|
10
|
+
- remove "Generated by projen" markers from projen-generated files
|
|
11
|
+
- remove projen metadata files
|
|
12
|
+
- remove the projen synthesis step from the `build` task
|
|
13
|
+
- remove the `default` and `eject` tasks
|
|
14
|
+
- "backup" projenrc files to `.projenrc.xyz.bak`
|
|
15
|
+
- a separate task runner file is added to the root directory (see Tasks below
|
|
16
|
+
for more information)
|
|
17
|
+
|
|
18
|
+
You do not need to ever use `eject`, but the option is available if the means of
|
|
19
|
+
customization provided by projen are no longer suitable your project.
|
|
20
|
+
|
|
21
|
+
## Tasks
|
|
22
|
+
|
|
23
|
+
A script will be added to your project so that you can continue using existing
|
|
24
|
+
tasks by running `scripts/run-task <task>` in your command line (or running `npm
|
|
25
|
+
run <task>` in node-based projects) if you so choose. You must retain the
|
|
26
|
+
`tasks.json` file found in the `.projen/` folder to use the task runner.
|
|
27
|
+
|
|
28
|
+
> Note: it is possible some tasks may not work after projen is ejected due to
|
|
29
|
+
the use of projen "builtin" steps. See
|
|
30
|
+
https://github.com/projen/projen/issues/1563 for more information.
|
|
@@ -50,5 +50,5 @@ class AutoDiscover extends component_1.Component {
|
|
|
50
50
|
}
|
|
51
51
|
exports.AutoDiscover = AutoDiscover;
|
|
52
52
|
_a = JSII_RTTI_SYMBOL_1;
|
|
53
|
-
AutoDiscover[_a] = { fqn: "projen.awscdk.AutoDiscover", version: "0.
|
|
53
|
+
AutoDiscover[_a] = { fqn: "projen.awscdk.AutoDiscover", version: "0.52.3" };
|
|
54
54
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1kaXNjb3Zlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hd3NjZGsvYXV0by1kaXNjb3Zlci50cyJdLCJuYW1lc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gICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgaW50ZXJmYWNlIEF1dG9EaXNjb3Zlck9wdGlvbnMge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgbGFtYmRhT3B0aW9ucz86IExhbWJkYUZ1bmN0aW9uQ29tbW9uT3B0aW9ucztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBzcmNkaXI6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSB0ZXN0ZGlyOiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSB0c2NvbmZpZ1BhdGg6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgY2RrRGVwczogQXdzQ2RrRGVwcztcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGNsYXNzIEF1dG9EaXNjb3ZlciBleHRlbmRzIENvbXBvbmVudCB7XG4gIGNvbnN0cnVjdG9yKHByb2plY3Q6IFByb2plY3QsIG9wdGlvbnM6IEF1dG9EaXNjb3Zlck9wdGlvbnMpIHtcbiAgICBzdXBlcihwcm9qZWN0KTtcblxuICAgIHRoaXMuYXV0b0Rpc2NvdmVyTGFtYmRhRnVuY3Rpb25zKG9wdGlvbnMpO1xuICAgIHRoaXMuYXV0b0Rpc2NvdmVySW50ZWdyYXRpb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biAgICAgICAgY2RrRGVwczogb3B0aW9ucy5jZGtEZXBzLFxuICAgICAgICB0c2NvbmZpZ1BhdGg6IG9wdGlvbnMudHNjb25maWdQYXRoLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -87,5 +87,5 @@ class AwsCdkJavaApp extends java_1.JavaProject {
|
|
|
87
87
|
}
|
|
88
88
|
exports.AwsCdkJavaApp = AwsCdkJavaApp;
|
|
89
89
|
_a = JSII_RTTI_SYMBOL_1;
|
|
90
|
-
AwsCdkJavaApp[_a] = { fqn: "projen.awscdk.AwsCdkJavaApp", version: "0.
|
|
90
|
+
AwsCdkJavaApp[_a] = { fqn: "projen.awscdk.AwsCdkJavaApp", version: "0.52.3" };
|
|
91
91
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2RrLWFwcC1qYXZhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2F3c2Nkay9hd3NjZGstYXBwLWphdmEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSwrQkFBNEI7QUFDNUIsMEJBQStDO0FBQy9DLGtDQUEwRDtBQUUxRCx5REFBb0Q7QUFDcEQsNkNBQWlFO0FBQ2pFLDJDQUF1Qzs7Ozs7OztBQVd2QyxNQUFhLGFBQWMsU0FBUSxrQkFBVzs7OztJQW1CNUMsWUFBWSxPQUE2Qjs7UUFDdkMsTUFBTSxtQkFBbUIsR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUN6RCxNQUFNLFdBQVcsR0FBRyxtQkFBbUIsQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDckQsTUFBTSxhQUFhLEdBQUcsbUJBQW1CLENBQUMsbUJBQW1CLENBQUMsTUFBTSxHQUFHLENB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UNGLENBQUMsQ0FBQztJQUNMLENBQUM7O0FBckZILHNDQXNGQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGpvaW4gfSBmcm9tIFwicGF0aFwiO1xuaW1wb3J0IHsgRGVwZW5kZW5jeVR5cGUsIFNhbXBsZURpciB9IGZyb20gXCIuLlwiO1xuaW1wb3J0IHsgSmF2YVByb2plY3QsIEphdmFQcm9qZWN0T3B0aW9ucyB9IGZyb20gXCIuLi9qYXZhXCI7XG5pbXBvcnQgeyBBd3NDZGtEZXBzLCBBd3NDZGtEZXBzQ29tbW9uT3B0aW9ucyB9IGZyb20gXCIuL2F3c2Nkay1kZXBzXCI7XG5pbXBvcnQgeyBBd3NDZGtEZXBzSmF2YSB9IGZyb20gXCIuL2F3c2Nkay1kZXBzLWphdmFcIjtcbmltcG9ydCB7IENka0NvbmZpZywgQ2RrQ29uZmlnQ29tbW9uT3B0aW9ucyB9IGZyb20gXCIuL2Nkay1jb25maWdcIjtcbmltcG9ydCB7IENka1Rhc2tzIH0gZnJvbSBcIi4vY2RrLXRhc2tzXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQXdzQ2RrSmF2YUFwcE9wdGlvbnNcbiAgZXh0ZW5kcyBKYXZhUHJvamVjdE9wdGlvbnMsXG4gICAgQ2RrQ29uZmlnQ29tbW9uT3B0aW9ucyxcbiAgICBBd3NDZGtEZXBzQ29tbW9uT3B0aW9ucyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgbWFpbkNsYXNzOiBzdHJpbmc7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgQXdzQ2RrSmF2YUFwcCBleHRlbmRzIEphdmFQcm9qZWN0IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHJlYWRvbmx5IGNka0NvbmZpZzogQ2RrQ29uZmlnO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBjZGtEZXBzOiBBd3NDZGtEZXBzO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHJlYWRvbmx5IG1haW5DbGFzczogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHJlYWRvbmx5IGNka1Rhc2tzOiBDZGtUYXNrcztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBtYWluUGFja2FnZTogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyByZWFkb25seSBtYWluQ2xhc3NOYW1lOiBzdHJpbmc7XG5cbiAgY29uc3RydWN0b3Iob3B0aW9uczogQXdzQ2RrSmF2YUFwcE9wdGlvbnMpIHtcbiAgICBjb25zdCBtYWluQ2xhc3NDb21wb25lbnRzID0gb3B0aW9ucy5tYWluQ2xhc3Muc3BsaXQoXCIuXCIpO1xuICAgIGNvbnN0IG1haW5QYWNrYWdlID0gbWFpbkNsYXNzQ29tcG9uZW50cy5zbGljZSgwLCAtMSk7XG4gICAgY29uc3QgbWFpbkNsYXNzTmFtZSA9IG1haW5DbGFzc0NvbXBvbmVudHNbbWFpbkNsY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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBhZGRDZGtEZXBlbmRlbmN5KC4uLm1vZHVsZXM6IHN0cmluZ1tdKSB7XG4gICAgZm9yIChjb25zdCBtIG9mIG1vZHVsZXMpIHtcbiAgICAgIHRoaXMuY2RrRGVwcy5hZGRWMURlcGVuZGVuY2llcyhtKTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIGFkZFNhbXBsZSgpIHtcbiAgICBjb25zdCBwa2cgPSB0aGlzLm1haW5QYWNrYWdlLnNwbGl0KFwiLlwiKTtcbiAgICBjb25zdCBqYXZhRmlsZSA9IGAke3RoaXMubWFpbkNsYXNzTmFtZX0uamF2YWA7XG4gICAgbmV3IFNhbXBsZURpcih0aGlzLCBqb2luKFwic3JjXCIsIFwibWFpblwiLCBcImphdmFcIiwgLi4ucGtnKSwge1xuICAgICAgZmlsZXM6IHtcbiAgICAgICAgW2phdmFGaWxlXTogW1xuICAgICAgICAgIGBwYWNrYWdlICR7cGtnLmpvaW4oXCIuXCIpfTtgLFxuICAgICAgICAgIFwiXCIsXG4gICAgICAgICAgdGhpcy5jZGtEZXBzLmNka01ham9yVmVyc2lvbiA9PSAxXG4gICAgICAgICAgICA/IFwiaW1wb3J0IHNvZnR3YXJlLmFtYXpvbi5hd3NjZGsuY29yZS5BcHA7XCJcbiAgICAgICAgICAgIDogXCJpbXBvcnQgc29mdHdhcmUuYW1hem9uLmF3c2Nkay5BcHA7XCIsXG4gICAgICAgICAgdGhpcy5jZGtEZXBzLmNka01ham9yVmVyc2lvbiA9PSAxXG4gICAgICAgICAgICA/IFwiaW1wb3J0IHNvZnR3YXJlLmFtYXpvbi5hd3NjZGsuY29yZS5TdGFjaztcIlxuICAgICAgICAgICAgOiBcImltcG9ydCBzb2Z0d2FyZS5hbWF6b24uYXdzY2RrLlN0YWNrO1wiLFxuICAgICAgICAgIFwiXCIsXG4gICAgICAgICAgYHB1YmxpYyBjbGFzcyAke3RoaXMubWFpbkNsYXNzTmFtZX0ge2AsXG4gICAgICAgICAgXCIgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKGZpbmFsIFN0cmluZ1tdIGFyZ3MpIHtcIixcbiAgICAgICAgICBcIiAgICBBcHAgYXBwID0gbmV3IEFwcCgpO1wiLFxuICAgICAgICAgICcgICAgbmV3IFN0YWNrKGFwcCwgXCJNeVN0YWNrXCIpOycsXG4gICAgICAgICAgXCIgICAgYXBwLnN5bnRoKCk7XCIsXG4gICAgICAgICAgXCIgIH1cIixcbiAgICAgICAgICBcIn1cIixcbiAgICAgICAgXS5qb2luKFwiXFxuXCIpLFxuICAgICAgfSxcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -108,7 +108,7 @@ class AwsCdkTypeScriptApp extends typescript_1.TypeScriptAppProject {
|
|
|
108
108
|
}
|
|
109
109
|
exports.AwsCdkTypeScriptApp = AwsCdkTypeScriptApp;
|
|
110
110
|
_a = JSII_RTTI_SYMBOL_1;
|
|
111
|
-
AwsCdkTypeScriptApp[_a] = { fqn: "projen.awscdk.AwsCdkTypeScriptApp", version: "0.
|
|
111
|
+
AwsCdkTypeScriptApp[_a] = { fqn: "projen.awscdk.AwsCdkTypeScriptApp", version: "0.52.3" };
|
|
112
112
|
class SampleCode extends component_1.Component {
|
|
113
113
|
constructor(project, cdkMajorVersion) {
|
|
114
114
|
super(project);
|