projen 0.40.5 → 0.40.9
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 +101 -49
- package/API.md +11 -1
- package/docs/awscdk.md +38 -11
- package/lib/awscdk/auto-discover.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +20 -10
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/cdk-config.d.ts +11 -0
- package/lib/awscdk/cdk-config.js +3 -2
- package/lib/awscdk/cdk-tasks.d.ts +6 -0
- package/lib/awscdk/cdk-tasks.js +14 -3
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/java-app.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- 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 +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose.js +2 -2
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +7 -3
- 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 +1 -1
- 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/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- 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 +1 -1
- package/lib/javascript/bundler.d.ts +8 -0
- package/lib/javascript/bundler.js +8 -4
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +1 -1
- package/lib/javascript/node-package.d.ts +1 -1
- package/lib/javascript/node-package.js +2 -2
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +4 -4
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- 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 +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +1 -1
- package/lib/task.d.ts +17 -6
- package/lib/task.js +23 -3
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +3 -3
- 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 +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -7149,7 +7149,7 @@
|
|
|
7149
7149
|
},
|
|
7150
7150
|
"locationInModule": {
|
|
7151
7151
|
"filename": "src/task.ts",
|
|
7152
|
-
"line":
|
|
7152
|
+
"line": 34
|
|
7153
7153
|
},
|
|
7154
7154
|
"parameters": [
|
|
7155
7155
|
{
|
|
@@ -7181,7 +7181,7 @@
|
|
|
7181
7181
|
},
|
|
7182
7182
|
"locationInModule": {
|
|
7183
7183
|
"filename": "src/task.ts",
|
|
7184
|
-
"line":
|
|
7184
|
+
"line": 108
|
|
7185
7185
|
},
|
|
7186
7186
|
"name": "builtin",
|
|
7187
7187
|
"parameters": [
|
|
@@ -7203,7 +7203,7 @@
|
|
|
7203
7203
|
},
|
|
7204
7204
|
"locationInModule": {
|
|
7205
7205
|
"filename": "src/task.ts",
|
|
7206
|
-
"line":
|
|
7206
|
+
"line": 186
|
|
7207
7207
|
},
|
|
7208
7208
|
"name": "env",
|
|
7209
7209
|
"parameters": [
|
|
@@ -7235,7 +7235,7 @@
|
|
|
7235
7235
|
},
|
|
7236
7236
|
"locationInModule": {
|
|
7237
7237
|
"filename": "src/task.ts",
|
|
7238
|
-
"line":
|
|
7238
|
+
"line": 92
|
|
7239
7239
|
},
|
|
7240
7240
|
"name": "exec",
|
|
7241
7241
|
"parameters": [
|
|
@@ -7267,7 +7267,7 @@
|
|
|
7267
7267
|
},
|
|
7268
7268
|
"locationInModule": {
|
|
7269
7269
|
"filename": "src/task.ts",
|
|
7270
|
-
"line":
|
|
7270
|
+
"line": 53
|
|
7271
7271
|
},
|
|
7272
7272
|
"name": "lock"
|
|
7273
7273
|
},
|
|
@@ -7279,7 +7279,7 @@
|
|
|
7279
7279
|
},
|
|
7280
7280
|
"locationInModule": {
|
|
7281
7281
|
"filename": "src/task.ts",
|
|
7282
|
-
"line":
|
|
7282
|
+
"line": 129
|
|
7283
7283
|
},
|
|
7284
7284
|
"name": "prepend",
|
|
7285
7285
|
"parameters": [
|
|
@@ -7308,7 +7308,7 @@
|
|
|
7308
7308
|
},
|
|
7309
7309
|
"locationInModule": {
|
|
7310
7310
|
"filename": "src/task.ts",
|
|
7311
|
-
"line":
|
|
7311
|
+
"line": 147
|
|
7312
7312
|
},
|
|
7313
7313
|
"name": "prependExec",
|
|
7314
7314
|
"parameters": [
|
|
@@ -7337,7 +7337,7 @@
|
|
|
7337
7337
|
},
|
|
7338
7338
|
"locationInModule": {
|
|
7339
7339
|
"filename": "src/task.ts",
|
|
7340
|
-
"line":
|
|
7340
|
+
"line": 171
|
|
7341
7341
|
},
|
|
7342
7342
|
"name": "prependSay",
|
|
7343
7343
|
"parameters": [
|
|
@@ -7366,7 +7366,7 @@
|
|
|
7366
7366
|
},
|
|
7367
7367
|
"locationInModule": {
|
|
7368
7368
|
"filename": "src/task.ts",
|
|
7369
|
-
"line":
|
|
7369
|
+
"line": 159
|
|
7370
7370
|
},
|
|
7371
7371
|
"name": "prependSpawn",
|
|
7372
7372
|
"parameters": [
|
|
@@ -7395,7 +7395,7 @@
|
|
|
7395
7395
|
},
|
|
7396
7396
|
"locationInModule": {
|
|
7397
7397
|
"filename": "src/task.ts",
|
|
7398
|
-
"line":
|
|
7398
|
+
"line": 75
|
|
7399
7399
|
},
|
|
7400
7400
|
"name": "reset",
|
|
7401
7401
|
"parameters": [
|
|
@@ -7425,7 +7425,7 @@
|
|
|
7425
7425
|
},
|
|
7426
7426
|
"locationInModule": {
|
|
7427
7427
|
"filename": "src/task.ts",
|
|
7428
|
-
"line":
|
|
7428
|
+
"line": 118
|
|
7429
7429
|
},
|
|
7430
7430
|
"name": "say",
|
|
7431
7431
|
"parameters": [
|
|
@@ -7457,7 +7457,7 @@
|
|
|
7457
7457
|
},
|
|
7458
7458
|
"locationInModule": {
|
|
7459
7459
|
"filename": "src/task.ts",
|
|
7460
|
-
"line":
|
|
7460
|
+
"line": 138
|
|
7461
7461
|
},
|
|
7462
7462
|
"name": "spawn",
|
|
7463
7463
|
"parameters": [
|
|
@@ -7505,7 +7505,7 @@
|
|
|
7505
7505
|
"immutable": true,
|
|
7506
7506
|
"locationInModule": {
|
|
7507
7507
|
"filename": "src/task.ts",
|
|
7508
|
-
"line":
|
|
7508
|
+
"line": 194
|
|
7509
7509
|
},
|
|
7510
7510
|
"name": "steps",
|
|
7511
7511
|
"type": {
|
|
@@ -7526,7 +7526,7 @@
|
|
|
7526
7526
|
"immutable": true,
|
|
7527
7527
|
"locationInModule": {
|
|
7528
7528
|
"filename": "src/task.ts",
|
|
7529
|
-
"line":
|
|
7529
|
+
"line": 25
|
|
7530
7530
|
},
|
|
7531
7531
|
"name": "condition",
|
|
7532
7532
|
"optional": true,
|
|
@@ -7536,13 +7536,13 @@
|
|
|
7536
7536
|
},
|
|
7537
7537
|
{
|
|
7538
7538
|
"docs": {
|
|
7539
|
+
"remarks": "Sets the description of this task.",
|
|
7539
7540
|
"stability": "experimental",
|
|
7540
|
-
"summary": "
|
|
7541
|
+
"summary": "Returns the description of this task."
|
|
7541
7542
|
},
|
|
7542
|
-
"immutable": true,
|
|
7543
7543
|
"locationInModule": {
|
|
7544
7544
|
"filename": "src/task.ts",
|
|
7545
|
-
"line":
|
|
7545
|
+
"line": 60
|
|
7546
7546
|
},
|
|
7547
7547
|
"name": "description",
|
|
7548
7548
|
"optional": true,
|
|
@@ -9043,7 +9043,7 @@
|
|
|
9043
9043
|
"kind": "enum",
|
|
9044
9044
|
"locationInModule": {
|
|
9045
9045
|
"filename": "src/awscdk/cdk-config.ts",
|
|
9046
|
-
"line":
|
|
9046
|
+
"line": 125
|
|
9047
9047
|
},
|
|
9048
9048
|
"members": [
|
|
9049
9049
|
{
|
|
@@ -9835,7 +9835,7 @@
|
|
|
9835
9835
|
},
|
|
9836
9836
|
"locationInModule": {
|
|
9837
9837
|
"filename": "src/awscdk/awscdk-app-ts.ts",
|
|
9838
|
-
"line":
|
|
9838
|
+
"line": 185
|
|
9839
9839
|
},
|
|
9840
9840
|
"name": "addCdkDependency",
|
|
9841
9841
|
"parameters": [
|
|
@@ -10073,7 +10073,7 @@
|
|
|
10073
10073
|
},
|
|
10074
10074
|
"locationInModule": {
|
|
10075
10075
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10076
|
-
"line":
|
|
10076
|
+
"line": 89
|
|
10077
10077
|
},
|
|
10078
10078
|
"parameters": [
|
|
10079
10079
|
{
|
|
@@ -10093,7 +10093,7 @@
|
|
|
10093
10093
|
"kind": "class",
|
|
10094
10094
|
"locationInModule": {
|
|
10095
10095
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10096
|
-
"line":
|
|
10096
|
+
"line": 77
|
|
10097
10097
|
},
|
|
10098
10098
|
"name": "CdkConfig",
|
|
10099
10099
|
"namespace": "awscdk",
|
|
@@ -10106,7 +10106,7 @@
|
|
|
10106
10106
|
"immutable": true,
|
|
10107
10107
|
"locationInModule": {
|
|
10108
10108
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10109
|
-
"line":
|
|
10109
|
+
"line": 87
|
|
10110
10110
|
},
|
|
10111
10111
|
"name": "cdkout",
|
|
10112
10112
|
"type": {
|
|
@@ -10121,7 +10121,7 @@
|
|
|
10121
10121
|
"immutable": true,
|
|
10122
10122
|
"locationInModule": {
|
|
10123
10123
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10124
|
-
"line":
|
|
10124
|
+
"line": 82
|
|
10125
10125
|
},
|
|
10126
10126
|
"name": "json",
|
|
10127
10127
|
"type": {
|
|
@@ -10147,6 +10147,25 @@
|
|
|
10147
10147
|
"name": "CdkConfigCommonOptions",
|
|
10148
10148
|
"namespace": "awscdk",
|
|
10149
10149
|
"properties": [
|
|
10150
|
+
{
|
|
10151
|
+
"abstract": true,
|
|
10152
|
+
"docs": {
|
|
10153
|
+
"default": "- no build command",
|
|
10154
|
+
"remarks": "This command will be called when\nrunning `cdk synth` or when `cdk watch` identifies a change in your source\ncode before redeployment.",
|
|
10155
|
+
"stability": "experimental",
|
|
10156
|
+
"summary": "A command to execute before synthesis."
|
|
10157
|
+
},
|
|
10158
|
+
"immutable": true,
|
|
10159
|
+
"locationInModule": {
|
|
10160
|
+
"filename": "src/awscdk/cdk-config.ts",
|
|
10161
|
+
"line": 46
|
|
10162
|
+
},
|
|
10163
|
+
"name": "buildCommand",
|
|
10164
|
+
"optional": true,
|
|
10165
|
+
"type": {
|
|
10166
|
+
"primitive": "string"
|
|
10167
|
+
}
|
|
10168
|
+
},
|
|
10150
10169
|
{
|
|
10151
10170
|
"abstract": true,
|
|
10152
10171
|
"docs": {
|
|
@@ -10234,7 +10253,7 @@
|
|
|
10234
10253
|
"immutable": true,
|
|
10235
10254
|
"locationInModule": {
|
|
10236
10255
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10237
|
-
"line":
|
|
10256
|
+
"line": 60
|
|
10238
10257
|
},
|
|
10239
10258
|
"name": "watchExcludes",
|
|
10240
10259
|
"optional": true,
|
|
@@ -10257,7 +10276,7 @@
|
|
|
10257
10276
|
"immutable": true,
|
|
10258
10277
|
"locationInModule": {
|
|
10259
10278
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10260
|
-
"line":
|
|
10279
|
+
"line": 53
|
|
10261
10280
|
},
|
|
10262
10281
|
"name": "watchIncludes",
|
|
10263
10282
|
"optional": true,
|
|
@@ -10287,7 +10306,7 @@
|
|
|
10287
10306
|
"kind": "interface",
|
|
10288
10307
|
"locationInModule": {
|
|
10289
10308
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10290
|
-
"line":
|
|
10309
|
+
"line": 66
|
|
10291
10310
|
},
|
|
10292
10311
|
"name": "CdkConfigOptions",
|
|
10293
10312
|
"namespace": "awscdk",
|
|
@@ -10301,7 +10320,7 @@
|
|
|
10301
10320
|
"immutable": true,
|
|
10302
10321
|
"locationInModule": {
|
|
10303
10322
|
"filename": "src/awscdk/cdk-config.ts",
|
|
10304
|
-
"line":
|
|
10323
|
+
"line": 71
|
|
10305
10324
|
},
|
|
10306
10325
|
"name": "app",
|
|
10307
10326
|
"type": {
|
|
@@ -10325,7 +10344,7 @@
|
|
|
10325
10344
|
},
|
|
10326
10345
|
"locationInModule": {
|
|
10327
10346
|
"filename": "src/awscdk/cdk-tasks.ts",
|
|
10328
|
-
"line":
|
|
10347
|
+
"line": 34
|
|
10329
10348
|
},
|
|
10330
10349
|
"parameters": [
|
|
10331
10350
|
{
|
|
@@ -10403,6 +10422,21 @@
|
|
|
10403
10422
|
"type": {
|
|
10404
10423
|
"fqn": "projen.Task"
|
|
10405
10424
|
}
|
|
10425
|
+
},
|
|
10426
|
+
{
|
|
10427
|
+
"docs": {
|
|
10428
|
+
"stability": "experimental",
|
|
10429
|
+
"summary": "Watch task."
|
|
10430
|
+
},
|
|
10431
|
+
"immutable": true,
|
|
10432
|
+
"locationInModule": {
|
|
10433
|
+
"filename": "src/awscdk/cdk-tasks.ts",
|
|
10434
|
+
"line": 32
|
|
10435
|
+
},
|
|
10436
|
+
"name": "watch",
|
|
10437
|
+
"type": {
|
|
10438
|
+
"fqn": "projen.Task"
|
|
10439
|
+
}
|
|
10406
10440
|
}
|
|
10407
10441
|
],
|
|
10408
10442
|
"symbolId": "src/awscdk/cdk-tasks:CdkTasks"
|
|
@@ -20133,7 +20167,7 @@
|
|
|
20133
20167
|
"kind": "interface",
|
|
20134
20168
|
"locationInModule": {
|
|
20135
20169
|
"filename": "src/javascript/bundler.ts",
|
|
20136
|
-
"line":
|
|
20170
|
+
"line": 220
|
|
20137
20171
|
},
|
|
20138
20172
|
"name": "AddBundleOptions",
|
|
20139
20173
|
"namespace": "javascript",
|
|
@@ -20148,7 +20182,7 @@
|
|
|
20148
20182
|
"immutable": true,
|
|
20149
20183
|
"locationInModule": {
|
|
20150
20184
|
"filename": "src/javascript/bundler.ts",
|
|
20151
|
-
"line":
|
|
20185
|
+
"line": 233
|
|
20152
20186
|
},
|
|
20153
20187
|
"name": "platform",
|
|
20154
20188
|
"type": {
|
|
@@ -20165,7 +20199,7 @@
|
|
|
20165
20199
|
"immutable": true,
|
|
20166
20200
|
"locationInModule": {
|
|
20167
20201
|
"filename": "src/javascript/bundler.ts",
|
|
20168
|
-
"line":
|
|
20202
|
+
"line": 226
|
|
20169
20203
|
},
|
|
20170
20204
|
"name": "target",
|
|
20171
20205
|
"type": {
|
|
@@ -20217,7 +20251,7 @@
|
|
|
20217
20251
|
"kind": "interface",
|
|
20218
20252
|
"locationInModule": {
|
|
20219
20253
|
"filename": "src/javascript/bundler.ts",
|
|
20220
|
-
"line":
|
|
20254
|
+
"line": 161
|
|
20221
20255
|
},
|
|
20222
20256
|
"name": "Bundle",
|
|
20223
20257
|
"namespace": "javascript",
|
|
@@ -20231,7 +20265,7 @@
|
|
|
20231
20265
|
"immutable": true,
|
|
20232
20266
|
"locationInModule": {
|
|
20233
20267
|
"filename": "src/javascript/bundler.ts",
|
|
20234
|
-
"line":
|
|
20268
|
+
"line": 165
|
|
20235
20269
|
},
|
|
20236
20270
|
"name": "bundleTask",
|
|
20237
20271
|
"type": {
|
|
@@ -20247,7 +20281,7 @@
|
|
|
20247
20281
|
"immutable": true,
|
|
20248
20282
|
"locationInModule": {
|
|
20249
20283
|
"filename": "src/javascript/bundler.ts",
|
|
20250
|
-
"line":
|
|
20284
|
+
"line": 175
|
|
20251
20285
|
},
|
|
20252
20286
|
"name": "outfile",
|
|
20253
20287
|
"type": {
|
|
@@ -20263,7 +20297,7 @@
|
|
|
20263
20297
|
"immutable": true,
|
|
20264
20298
|
"locationInModule": {
|
|
20265
20299
|
"filename": "src/javascript/bundler.ts",
|
|
20266
|
-
"line":
|
|
20300
|
+
"line": 170
|
|
20267
20301
|
},
|
|
20268
20302
|
"name": "watchTask",
|
|
20269
20303
|
"optional": true,
|
|
@@ -20290,7 +20324,7 @@
|
|
|
20290
20324
|
},
|
|
20291
20325
|
"locationInModule": {
|
|
20292
20326
|
"filename": "src/javascript/bundler.ts",
|
|
20293
|
-
"line":
|
|
20327
|
+
"line": 65
|
|
20294
20328
|
},
|
|
20295
20329
|
"parameters": [
|
|
20296
20330
|
{
|
|
@@ -20311,7 +20345,7 @@
|
|
|
20311
20345
|
"kind": "class",
|
|
20312
20346
|
"locationInModule": {
|
|
20313
20347
|
"filename": "src/javascript/bundler.ts",
|
|
20314
|
-
"line":
|
|
20348
|
+
"line": 37
|
|
20315
20349
|
},
|
|
20316
20350
|
"methods": [
|
|
20317
20351
|
{
|
|
@@ -20322,7 +20356,7 @@
|
|
|
20322
20356
|
},
|
|
20323
20357
|
"locationInModule": {
|
|
20324
20358
|
"filename": "src/javascript/bundler.ts",
|
|
20325
|
-
"line":
|
|
20359
|
+
"line": 44
|
|
20326
20360
|
},
|
|
20327
20361
|
"name": "of",
|
|
20328
20362
|
"parameters": [
|
|
@@ -20351,7 +20385,7 @@
|
|
|
20351
20385
|
},
|
|
20352
20386
|
"locationInModule": {
|
|
20353
20387
|
"filename": "src/javascript/bundler.ts",
|
|
20354
|
-
"line":
|
|
20388
|
+
"line": 102
|
|
20355
20389
|
},
|
|
20356
20390
|
"name": "addBundle",
|
|
20357
20391
|
"parameters": [
|
|
@@ -20392,7 +20426,7 @@
|
|
|
20392
20426
|
"immutable": true,
|
|
20393
20427
|
"locationInModule": {
|
|
20394
20428
|
"filename": "src/javascript/bundler.ts",
|
|
20395
|
-
"line":
|
|
20429
|
+
"line": 57
|
|
20396
20430
|
},
|
|
20397
20431
|
"name": "bundledir",
|
|
20398
20432
|
"type": {
|
|
@@ -20408,7 +20442,7 @@
|
|
|
20408
20442
|
"immutable": true,
|
|
20409
20443
|
"locationInModule": {
|
|
20410
20444
|
"filename": "src/javascript/bundler.ts",
|
|
20411
|
-
"line":
|
|
20445
|
+
"line": 79
|
|
20412
20446
|
},
|
|
20413
20447
|
"name": "bundleTask",
|
|
20414
20448
|
"type": {
|
|
@@ -20423,7 +20457,7 @@
|
|
|
20423
20457
|
"immutable": true,
|
|
20424
20458
|
"locationInModule": {
|
|
20425
20459
|
"filename": "src/javascript/bundler.ts",
|
|
20426
|
-
"line":
|
|
20460
|
+
"line": 52
|
|
20427
20461
|
},
|
|
20428
20462
|
"name": "esbuildVersion",
|
|
20429
20463
|
"optional": true,
|
|
@@ -20450,6 +20484,24 @@
|
|
|
20450
20484
|
"name": "BundlerOptions",
|
|
20451
20485
|
"namespace": "javascript",
|
|
20452
20486
|
"properties": [
|
|
20487
|
+
{
|
|
20488
|
+
"abstract": true,
|
|
20489
|
+
"docs": {
|
|
20490
|
+
"default": "true",
|
|
20491
|
+
"stability": "experimental",
|
|
20492
|
+
"summary": "Install the `bundle` command as a pre-compile phase."
|
|
20493
|
+
},
|
|
20494
|
+
"immutable": true,
|
|
20495
|
+
"locationInModule": {
|
|
20496
|
+
"filename": "src/javascript/bundler.ts",
|
|
20497
|
+
"line": 30
|
|
20498
|
+
},
|
|
20499
|
+
"name": "addToPreCompile",
|
|
20500
|
+
"optional": true,
|
|
20501
|
+
"type": {
|
|
20502
|
+
"primitive": "boolean"
|
|
20503
|
+
}
|
|
20504
|
+
},
|
|
20453
20505
|
{
|
|
20454
20506
|
"abstract": true,
|
|
20455
20507
|
"docs": {
|
|
@@ -20500,7 +20552,7 @@
|
|
|
20500
20552
|
"kind": "interface",
|
|
20501
20553
|
"locationInModule": {
|
|
20502
20554
|
"filename": "src/javascript/bundler.ts",
|
|
20503
|
-
"line":
|
|
20555
|
+
"line": 181
|
|
20504
20556
|
},
|
|
20505
20557
|
"name": "BundlingOptions",
|
|
20506
20558
|
"namespace": "javascript",
|
|
@@ -20516,7 +20568,7 @@
|
|
|
20516
20568
|
"immutable": true,
|
|
20517
20569
|
"locationInModule": {
|
|
20518
20570
|
"filename": "src/javascript/bundler.ts",
|
|
20519
|
-
"line":
|
|
20571
|
+
"line": 198
|
|
20520
20572
|
},
|
|
20521
20573
|
"name": "externals",
|
|
20522
20574
|
"optional": true,
|
|
@@ -20539,7 +20591,7 @@
|
|
|
20539
20591
|
"immutable": true,
|
|
20540
20592
|
"locationInModule": {
|
|
20541
20593
|
"filename": "src/javascript/bundler.ts",
|
|
20542
|
-
"line":
|
|
20594
|
+
"line": 205
|
|
20543
20595
|
},
|
|
20544
20596
|
"name": "sourcemap",
|
|
20545
20597
|
"optional": true,
|
|
@@ -20558,7 +20610,7 @@
|
|
|
20558
20610
|
"immutable": true,
|
|
20559
20611
|
"locationInModule": {
|
|
20560
20612
|
"filename": "src/javascript/bundler.ts",
|
|
20561
|
-
"line":
|
|
20613
|
+
"line": 214
|
|
20562
20614
|
},
|
|
20563
20615
|
"name": "watchTask",
|
|
20564
20616
|
"optional": true,
|
|
@@ -23982,7 +24034,7 @@
|
|
|
23982
24034
|
{
|
|
23983
24035
|
"abstract": true,
|
|
23984
24036
|
"docs": {
|
|
23985
|
-
"remarks": "These modules will be\nadded both to the `dependencies` section and `
|
|
24037
|
+
"remarks": "These modules will be\nadded both to the `dependencies` section and `bundledDependencies` section of\nyour `package.json`.\n\nThe recommendation is to only specify the module name here (e.g.\n`express`). This will behave similar to `yarn add` or `npm install` in the\nsense that it will add the module as a dependency to your `package.json`\nfile with the latest version (`^`). You can specify semver requirements in\nthe same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and\nthis will be what you `package.json` will eventually include.",
|
|
23986
24038
|
"stability": "experimental",
|
|
23987
24039
|
"summary": "List of dependencies to bundle into this module."
|
|
23988
24040
|
},
|
|
@@ -35264,6 +35316,6 @@
|
|
|
35264
35316
|
"symbolId": "src/web/tailwind:TailwindConfigOptions"
|
|
35265
35317
|
}
|
|
35266
35318
|
},
|
|
35267
|
-
"version": "0.40.
|
|
35268
|
-
"fingerprint": "
|
|
35319
|
+
"version": "0.40.9",
|
|
35320
|
+
"fingerprint": "+jnC2nw76aLXa2xA80g/TTp76ukuxzBuUq9R/k3Wimo="
|
|
35269
35321
|
}
|
package/API.md
CHANGED
|
@@ -2244,7 +2244,7 @@ Name | Type | Description
|
|
|
2244
2244
|
**name**🔹 | <code>string</code> | Task name.
|
|
2245
2245
|
**steps**🔹 | <code>Array<[TaskStep](#projen-taskstep)></code> | Returns an immutable copy of all the step specifications of the task.
|
|
2246
2246
|
**condition**?🔹 | <code>string</code> | A command to execute which determines if the task should be skipped.<br/>__*Optional*__
|
|
2247
|
-
**description**?🔹 | <code>string</code> |
|
|
2247
|
+
**description**?🔹 | <code>string</code> | Returns the description of this task.<br/>__*Optional*__
|
|
2248
2248
|
|
|
2249
2249
|
### Methods
|
|
2250
2250
|
|
|
@@ -3136,6 +3136,7 @@ new awscdk.AwsCdkJavaApp(options: AwsCdkJavaAppOptions)
|
|
|
3136
3136
|
* **testDeps** (<code>Array<string></code>) List of test dependencies for this project. __*Default*__: []
|
|
3137
3137
|
* **sample** (<code>boolean</code>) Include sample code and test if the relevant directories don't exist. __*Optional*__
|
|
3138
3138
|
* **sampleJavaPackage** (<code>string</code>) The java package to use for the code sample. __*Default*__: "org.acme"
|
|
3139
|
+
* **buildCommand** (<code>string</code>) A command to execute before synthesis. __*Default*__: no build command
|
|
3139
3140
|
* **cdkout** (<code>string</code>) cdk.out directory. __*Default*__: "cdk.out"
|
|
3140
3141
|
* **context** (<code>Map<string, string></code>) Additional context to include in `cdk.json`. __*Default*__: no additional context
|
|
3141
3142
|
* **featureFlags** (<code>boolean</code>) Include all feature flags in cdk.json. __*Default*__: true
|
|
@@ -3319,6 +3320,7 @@ new awscdk.AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions)
|
|
|
3319
3320
|
* **tsconfigDev** (<code>[javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions)</code>) Custom tsconfig options for the development tsconfig.json file (used for testing). __*Default*__: use the production tsconfig options
|
|
3320
3321
|
* **tsconfigDevFile** (<code>string</code>) The name of the development tsconfig.json file. __*Default*__: "tsconfig.dev.json"
|
|
3321
3322
|
* **typescriptVersion** (<code>string</code>) TypeScript version to use. __*Default*__: "latest"
|
|
3323
|
+
* **buildCommand** (<code>string</code>) A command to execute before synthesis. __*Default*__: no build command
|
|
3322
3324
|
* **cdkout** (<code>string</code>) cdk.out directory. __*Default*__: "cdk.out"
|
|
3323
3325
|
* **context** (<code>Map<string, string></code>) Additional context to include in `cdk.json`. __*Default*__: no additional context
|
|
3324
3326
|
* **featureFlags** (<code>boolean</code>) Include all feature flags in cdk.json. __*Default*__: true
|
|
@@ -3381,6 +3383,7 @@ new awscdk.CdkConfig(project: Project, options: CdkConfigOptions)
|
|
|
3381
3383
|
|
|
3382
3384
|
* **project** (<code>[Project](#projen-project)</code>) *No description*
|
|
3383
3385
|
* **options** (<code>[awscdk.CdkConfigOptions](#projen-awscdk-cdkconfigoptions)</code>) *No description*
|
|
3386
|
+
* **buildCommand** (<code>string</code>) A command to execute before synthesis. __*Default*__: no build command
|
|
3384
3387
|
* **cdkout** (<code>string</code>) cdk.out directory. __*Default*__: "cdk.out"
|
|
3385
3388
|
* **context** (<code>Map<string, string></code>) Additional context to include in `cdk.json`. __*Default*__: no additional context
|
|
3386
3389
|
* **featureFlags** (<code>boolean</code>) Include all feature flags in cdk.json. __*Default*__: true
|
|
@@ -3431,6 +3434,7 @@ Name | Type | Description
|
|
|
3431
3434
|
**destroy**🔹 | <code>[Task](#projen-task)</code> | Destroys all the stacks.
|
|
3432
3435
|
**diff**🔹 | <code>[Task](#projen-task)</code> | Diff against production.
|
|
3433
3436
|
**synth**🔹 | <code>[Task](#projen-task)</code> | Synthesizes your app.
|
|
3437
|
+
**watch**🔹 | <code>[Task](#projen-task)</code> | Watch task.
|
|
3434
3438
|
|
|
3435
3439
|
|
|
3436
3440
|
|
|
@@ -5526,6 +5530,7 @@ new javascript.Bundler(project: Project, options?: BundlerOptions)
|
|
|
5526
5530
|
|
|
5527
5531
|
* **project** (<code>[Project](#projen-project)</code>) *No description*
|
|
5528
5532
|
* **options** (<code>[javascript.BundlerOptions](#projen-javascript-bundleroptions)</code>) *No description*
|
|
5533
|
+
* **addToPreCompile** (<code>boolean</code>) Install the `bundle` command as a pre-compile phase. __*Default*__: true
|
|
5529
5534
|
* **assetsDir** (<code>string</code>) Output directory for all bundles. __*Default*__: "assets"
|
|
5530
5535
|
* **esbuildVersion** (<code>string</code>) The semantic version requirement for `esbuild`. __*Default*__: no specific version (implies latest)
|
|
5531
5536
|
|
|
@@ -10182,6 +10187,7 @@ Name | Type | Description
|
|
|
10182
10187
|
**version**🔹 | <code>string</code> | This is the last piece of the naming puzzle.
|
|
10183
10188
|
**autoApproveOptions**?🔹 | <code>[github.AutoApproveOptions](#projen-github-autoapproveoptions)</code> | Enable and configure the 'auto approve' workflow.<br/>__*Default*__: auto approve is disabled
|
|
10184
10189
|
**autoMergeOptions**?🔹 | <code>[github.AutoMergeOptions](#projen-github-automergeoptions)</code> | Configure options for automatic merging on GitHub.<br/>__*Default*__: see defaults in `AutoMergeOptions`
|
|
10190
|
+
**buildCommand**?🔹 | <code>string</code> | A command to execute before synthesis.<br/>__*Default*__: no build command
|
|
10185
10191
|
**cdkDependencies**?🔹 | <code>Array<string></code> | Which AWS CDK modules this app uses.<br/>__*Optional*__
|
|
10186
10192
|
**cdkout**?🔹 | <code>string</code> | cdk.out directory.<br/>__*Default*__: "cdk.out"
|
|
10187
10193
|
**clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
|
|
@@ -10250,6 +10256,7 @@ Name | Type | Description
|
|
|
10250
10256
|
**autoDetectBin**?🔹 | <code>boolean</code> | Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.<br/>__*Default*__: true
|
|
10251
10257
|
**autoMergeOptions**?🔹 | <code>[github.AutoMergeOptions](#projen-github-automergeoptions)</code> | Configure options for automatic merging on GitHub.<br/>__*Default*__: see defaults in `AutoMergeOptions`
|
|
10252
10258
|
**bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
|
|
10259
|
+
**buildCommand**?🔹 | <code>string</code> | A command to execute before synthesis.<br/>__*Default*__: no build command
|
|
10253
10260
|
**buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
|
|
10254
10261
|
**bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
|
|
10255
10262
|
**bundlerOptions**?🔹 | <code>[javascript.BundlerOptions](#projen-javascript-bundleroptions)</code> | Options for `Bundler`.<br/>__*Optional*__
|
|
@@ -10380,6 +10387,7 @@ Common options for `cdk.json`.
|
|
|
10380
10387
|
|
|
10381
10388
|
Name | Type | Description
|
|
10382
10389
|
-----|------|-------------
|
|
10390
|
+
**buildCommand**?🔹 | <code>string</code> | A command to execute before synthesis.<br/>__*Default*__: no build command
|
|
10383
10391
|
**cdkout**?🔹 | <code>string</code> | cdk.out directory.<br/>__*Default*__: "cdk.out"
|
|
10384
10392
|
**context**?🔹 | <code>Map<string, string></code> | Additional context to include in `cdk.json`.<br/>__*Default*__: no additional context
|
|
10385
10393
|
**featureFlags**?🔹 | <code>boolean</code> | Include all feature flags in cdk.json.<br/>__*Default*__: true
|
|
@@ -10399,6 +10407,7 @@ Options for `CdkJson`.
|
|
|
10399
10407
|
Name | Type | Description
|
|
10400
10408
|
-----|------|-------------
|
|
10401
10409
|
**app**🔹 | <code>string</code> | The command line to execute in order to synthesize the CDK application (language specific).
|
|
10410
|
+
**buildCommand**?🔹 | <code>string</code> | A command to execute before synthesis.<br/>__*Default*__: no build command
|
|
10402
10411
|
**cdkout**?🔹 | <code>string</code> | cdk.out directory.<br/>__*Default*__: "cdk.out"
|
|
10403
10412
|
**context**?🔹 | <code>Map<string, string></code> | Additional context to include in `cdk.json`.<br/>__*Default*__: no additional context
|
|
10404
10413
|
**featureFlags**?🔹 | <code>boolean</code> | Include all feature flags in cdk.json.<br/>__*Default*__: true
|
|
@@ -12052,6 +12061,7 @@ Options for `Bundler`.
|
|
|
12052
12061
|
|
|
12053
12062
|
Name | Type | Description
|
|
12054
12063
|
-----|------|-------------
|
|
12064
|
+
**addToPreCompile**?🔹 | <code>boolean</code> | Install the `bundle` command as a pre-compile phase.<br/>__*Default*__: true
|
|
12055
12065
|
**assetsDir**?🔹 | <code>string</code> | Output directory for all bundles.<br/>__*Default*__: "assets"
|
|
12056
12066
|
**esbuildVersion**?🔹 | <code>string</code> | The semantic version requirement for `esbuild`.<br/>__*Default*__: no specific version (implies latest)
|
|
12057
12067
|
|
package/docs/awscdk.md
CHANGED
|
@@ -29,12 +29,18 @@ export async function handler(event: any) {
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Now
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
Now run:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
$ npx projen
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
You'll notice that a new file `src/resize-image-function.ts` has been added to
|
|
39
|
+
your project. This is a generated source file which exports a construct named
|
|
40
|
+
`ResizeImageFunction`. This construct is a subclass of
|
|
41
|
+
`@aws-cdk/aws-lambda.Function`, bound to your specific handler. This means that
|
|
42
|
+
you don't need to specify neither the `code` nor the `runtime` options when you
|
|
43
|
+
add it to your app:
|
|
38
44
|
|
|
39
45
|
```ts
|
|
40
46
|
import { ResizeImageFunction } from './resize-image-function.ts';
|
|
@@ -156,14 +162,35 @@ new AfterCreate(stack, 'RunAssertions', {
|
|
|
156
162
|
});
|
|
157
163
|
```
|
|
158
164
|
|
|
159
|
-
## Watch
|
|
165
|
+
## Watch
|
|
160
166
|
|
|
161
167
|
> Only relevant for app projects
|
|
162
168
|
|
|
163
|
-
The `watch` command will use
|
|
164
|
-
opportunistic hot-swapping) when source files or bundles are
|
|
165
|
-
will automatically be configured to watch both source code changes
|
|
166
|
-
and rebuild bundles as needed
|
|
169
|
+
The `watch` command will use [cdk watch] in order to trigger deployments (with
|
|
170
|
+
opportunistic hot-swapping) when source files or asset bundles are updated.
|
|
171
|
+
`cdk.json` will automatically be configured to watch both source code changes
|
|
172
|
+
and bundles, and rebuild bundles as needed.
|
|
173
|
+
|
|
174
|
+
[cdk watch]: https://aws.amazon.com/blogs/developer/increasing-development-speed-with-cdk-watch/
|
|
175
|
+
|
|
176
|
+
To start watching, set up your environment with AWS credentials and `AWS_REGION`
|
|
177
|
+
pointing to your development AWS account and execute:
|
|
178
|
+
|
|
179
|
+
```sh
|
|
180
|
+
npx projen watch
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
This will:
|
|
184
|
+
|
|
185
|
+
* Bundle your assets (if you have any).
|
|
186
|
+
* Perform an initial deployment of your app into your development environment.
|
|
187
|
+
* Start watching for changes.
|
|
188
|
+
|
|
189
|
+
If you change a source file in your project, this change will be picked up by
|
|
190
|
+
`cdk watch`, assets will be re-bundled and a hotswap deployment will be
|
|
191
|
+
performed. For example, if you only change some AWS Lambda code, the CDK CLI
|
|
192
|
+
will simply update the AWS Lambda service with the location of your new code
|
|
193
|
+
bundle instead of going through an AWS CloudFormation deployment.
|
|
167
194
|
|
|
168
195
|
## Roadmap
|
|
169
196
|
|
|
@@ -48,5 +48,5 @@ class AutoDiscover extends component_1.Component {
|
|
|
48
48
|
}
|
|
49
49
|
exports.AutoDiscover = AutoDiscover;
|
|
50
50
|
_a = JSII_RTTI_SYMBOL_1;
|
|
51
|
-
AutoDiscover[_a] = { fqn: "projen.awscdk.AutoDiscover", version: "0.40.
|
|
51
|
+
AutoDiscover[_a] = { fqn: "projen.awscdk.AutoDiscover", version: "0.40.9" };
|
|
52
52
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1kaXNjb3Zlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hd3NjZGsvYXV0by1kaXNjb3Zlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLCtCQUE0QjtBQUM1Qiw2QkFBNkI7QUFDN0Isd0JBQW9DO0FBQ3BDL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gICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHNyY2Rpcjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHRlc3RkaXI6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHRzY29uZmlnUGF0aDogc3RyaW5nO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgQXV0b0Rpc2NvdmVyIGV4dGVuZHMgQ29tcG9uZW50IHtcblxuXG4gIGNvbnN0cnVjdG9yKHByb2plY3Q6IFByb2plY3QsIG9wdGlvbnM6IEF1dG9EaXNjb3Zlck9wdGlvbnMpIHtcbiAgICBzdXBlcihwcm9qZWN0KTtcblxuICAgIHRoaXMuYXV0b0Rpc2NvdmVyTGFtYmRhRnVuY3Rpb25zKG9wdGlvbnMpO1xuICAgIHRoaXMuYXV0b0Rpc2NvdmVySW50ZWdyYXRpb25UZXN0cyhvcHRpb25zKTtcbiAgfVxuXG4gIHByaXZhdGUgYXV0b0Rpc2NvdmVyTGFtYmRhRnVuY3Rpb25zKG9wdGlvbnM6IEF1dG9EaXNjb3Zlck9wdGlvbnMpIHtcbiAgICBjb25zdCBlbnRyeXBvaW50cyA9IGdsb2Iuc3luYyhgKiovKiR7VFlQRVNDUklQVF9MQU1CREFfRVhUfWAsIHtcbiAgICAgIGN3ZDogam9pbih0aGlzLnByb2plY3Qub3V0ZGlyLCBvcHRpb25zLnNyY2RpciksXG4gICAgfSk7XG5cbiAgICBmb3IgKGNvbnN0IGVudHJ5cG9pbnQgb2YgZW50cnlwb2ludHMpIHtcbiAg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