projen 0.61.17 → 0.61.20

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.
Files changed (126) hide show
  1. package/.jsii +259 -35
  2. package/docs/api/API.md +46 -2
  3. package/lib/awscdk/auto-discover.js +5 -5
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/component.js +1 -1
  32. package/lib/dependencies.js +1 -1
  33. package/lib/dev-env.js +1 -1
  34. package/lib/docker-compose.js +2 -2
  35. package/lib/file.js +1 -1
  36. package/lib/gitattributes.js +1 -1
  37. package/lib/github/auto-approve.js +1 -1
  38. package/lib/github/auto-merge.js +1 -1
  39. package/lib/github/dependabot.js +1 -1
  40. package/lib/github/github-credentials.js +1 -1
  41. package/lib/github/github-project.js +1 -1
  42. package/lib/github/github.js +1 -1
  43. package/lib/github/mergify.js +1 -1
  44. package/lib/github/pr-template.js +1 -1
  45. package/lib/github/pull-request-lint.js +1 -1
  46. package/lib/github/stale.js +1 -1
  47. package/lib/github/task-workflow.js +1 -1
  48. package/lib/github/workflows.js +1 -1
  49. package/lib/gitlab/configuration.js +1 -1
  50. package/lib/gitlab/gitlab-configuration.js +1 -1
  51. package/lib/gitlab/nested-configuration.js +1 -1
  52. package/lib/gitpod.js +1 -1
  53. package/lib/ignore-file.js +1 -1
  54. package/lib/ini.js +1 -1
  55. package/lib/java/java-project.js +1 -1
  56. package/lib/java/junit.js +1 -1
  57. package/lib/java/maven-compile.js +1 -1
  58. package/lib/java/maven-packaging.js +1 -1
  59. package/lib/java/maven-sample.js +1 -1
  60. package/lib/java/pom.js +1 -1
  61. package/lib/java/projenrc.js +1 -1
  62. package/lib/javascript/bundler.js +1 -1
  63. package/lib/javascript/eslint.js +1 -1
  64. package/lib/javascript/jest.js +1 -1
  65. package/lib/javascript/node-package.js +1 -1
  66. package/lib/javascript/node-project.js +1 -1
  67. package/lib/javascript/npm-config.js +1 -1
  68. package/lib/javascript/prettier.js +1 -1
  69. package/lib/javascript/projenrc.js +1 -1
  70. package/lib/javascript/typescript-config.js +1 -1
  71. package/lib/javascript/upgrade-dependencies.js +2 -2
  72. package/lib/json-patch.js +1 -1
  73. package/lib/json.d.ts +6 -1
  74. package/lib/json.js +8 -5
  75. package/lib/license.js +1 -1
  76. package/lib/logger.js +1 -1
  77. package/lib/makefile.js +1 -1
  78. package/lib/object-file.js +1 -1
  79. package/lib/project-build.js +1 -1
  80. package/lib/project.js +1 -1
  81. package/lib/projects.js +1 -1
  82. package/lib/projenrc-json.js +1 -1
  83. package/lib/python/pip.js +1 -1
  84. package/lib/python/poetry.js +2 -2
  85. package/lib/python/projenrc.js +1 -1
  86. package/lib/python/pytest-sample.js +1 -1
  87. package/lib/python/pytest.js +1 -1
  88. package/lib/python/python-project.js +1 -1
  89. package/lib/python/python-sample.js +1 -1
  90. package/lib/python/requirements-file.js +1 -1
  91. package/lib/python/setuppy.js +1 -1
  92. package/lib/python/setuptools.js +1 -1
  93. package/lib/python/venv.js +1 -1
  94. package/lib/readme.js +1 -1
  95. package/lib/release/publisher.js +1 -1
  96. package/lib/release/release-trigger.js +1 -1
  97. package/lib/release/release.js +1 -1
  98. package/lib/renovatebot.js +1 -1
  99. package/lib/run-task.js +0 -1833
  100. package/lib/sample-file.js +2 -2
  101. package/lib/semver.js +1 -1
  102. package/lib/source-code.js +1 -1
  103. package/lib/task-runtime.js +1 -1
  104. package/lib/task.js +1 -1
  105. package/lib/tasks.js +1 -1
  106. package/lib/testing.d.ts +3 -1
  107. package/lib/testing.js +4 -4
  108. package/lib/textfile.js +1 -1
  109. package/lib/toml.js +1 -1
  110. package/lib/typescript/projenrc.js +1 -1
  111. package/lib/typescript/typescript-typedoc.js +1 -1
  112. package/lib/typescript/typescript.js +3 -3
  113. package/lib/util/synth.d.ts +14 -2
  114. package/lib/util/synth.js +5 -3
  115. package/lib/version.js +1 -1
  116. package/lib/vscode/devcontainer.js +1 -1
  117. package/lib/vscode/launch-config.d.ts +20 -0
  118. package/lib/vscode/launch-config.js +29 -4
  119. package/lib/vscode/vscode.js +1 -1
  120. package/lib/web/next.js +3 -3
  121. package/lib/web/postcss.js +1 -1
  122. package/lib/web/react.js +4 -4
  123. package/lib/web/tailwind.js +1 -1
  124. package/lib/xmlfile.js +1 -1
  125. package/lib/yaml.js +1 -1
  126. package/package.json +4 -4
package/.jsii CHANGED
@@ -31,7 +31,7 @@
31
31
  "stability": "experimental"
32
32
  },
33
33
  "homepage": "https://github.com/projen/projen.git",
34
- "jsiiVersion": "1.64.0 (build 4c1eae8)",
34
+ "jsiiVersion": "1.65.0 (build 7a02b7f)",
35
35
  "keywords": [
36
36
  "cdk",
37
37
  "cicd",
@@ -4191,7 +4191,7 @@
4191
4191
  },
4192
4192
  "locationInModule": {
4193
4193
  "filename": "src/json.ts",
4194
- "line": 23
4194
+ "line": 29
4195
4195
  },
4196
4196
  "parameters": [
4197
4197
  {
@@ -4217,7 +4217,7 @@
4217
4217
  "kind": "class",
4218
4218
  "locationInModule": {
4219
4219
  "filename": "src/json.ts",
4220
- "line": 19
4220
+ "line": 25
4221
4221
  },
4222
4222
  "methods": [
4223
4223
  {
@@ -4227,7 +4227,7 @@
4227
4227
  },
4228
4228
  "locationInModule": {
4229
4229
  "filename": "src/json.ts",
4230
- "line": 34
4230
+ "line": 43
4231
4231
  },
4232
4232
  "name": "synthesizeContent",
4233
4233
  "overrides": "projen.ObjectFile",
@@ -4269,6 +4269,24 @@
4269
4269
  },
4270
4270
  "name": "JsonFileOptions",
4271
4271
  "properties": [
4272
+ {
4273
+ "abstract": true,
4274
+ "docs": {
4275
+ "default": "- false for .json files, true for .json5 and .jsonc files",
4276
+ "stability": "experimental",
4277
+ "summary": "Allow the use of comments in this file."
4278
+ },
4279
+ "immutable": true,
4280
+ "locationInModule": {
4281
+ "filename": "src/json.ts",
4282
+ "line": 19
4283
+ },
4284
+ "name": "allowComments",
4285
+ "optional": true,
4286
+ "type": {
4287
+ "primitive": "boolean"
4288
+ }
4289
+ },
4272
4290
  {
4273
4291
  "abstract": true,
4274
4292
  "docs": {
@@ -7689,6 +7707,42 @@
7689
7707
  ],
7690
7708
  "symbolId": "src/semver:Semver"
7691
7709
  },
7710
+ "projen.SnapshotOptions": {
7711
+ "assembly": "projen",
7712
+ "datatype": true,
7713
+ "docs": {
7714
+ "stability": "experimental",
7715
+ "summary": "Options for the Snapshot synthesis."
7716
+ },
7717
+ "fqn": "projen.SnapshotOptions",
7718
+ "kind": "interface",
7719
+ "locationInModule": {
7720
+ "filename": "src/util/synth.ts",
7721
+ "line": 10
7722
+ },
7723
+ "name": "SnapshotOptions",
7724
+ "properties": [
7725
+ {
7726
+ "abstract": true,
7727
+ "docs": {
7728
+ "default": "true parse .json files into an object",
7729
+ "stability": "experimental",
7730
+ "summary": "Parse .json files as a JS object for improved inspection. This will fail if the contents are invalid JSON."
7731
+ },
7732
+ "immutable": true,
7733
+ "locationInModule": {
7734
+ "filename": "src/util/synth.ts",
7735
+ "line": 17
7736
+ },
7737
+ "name": "parseJson",
7738
+ "optional": true,
7739
+ "type": {
7740
+ "primitive": "boolean"
7741
+ }
7742
+ }
7743
+ ],
7744
+ "symbolId": "src/util/synth:SnapshotOptions"
7745
+ },
7692
7746
  "projen.SourceCode": {
7693
7747
  "assembly": "projen",
7694
7748
  "base": "projen.Component",
@@ -9169,6 +9223,13 @@
9169
9223
  "type": {
9170
9224
  "fqn": "projen.Project"
9171
9225
  }
9226
+ },
9227
+ {
9228
+ "name": "options",
9229
+ "optional": true,
9230
+ "type": {
9231
+ "fqn": "projen.SnapshotOptions"
9232
+ }
9172
9233
  }
9173
9234
  ],
9174
9235
  "returns": {
@@ -47433,6 +47494,42 @@
47433
47494
  "namespace": "typescript",
47434
47495
  "symbolId": "src/typescript/typescript-typedoc:TypedocDocgen"
47435
47496
  },
47497
+ "projen.vscode.Console": {
47498
+ "assembly": "projen",
47499
+ "docs": {
47500
+ "stability": "experimental",
47501
+ "summary": "Controls where to launch the debug target Source: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes."
47502
+ },
47503
+ "fqn": "projen.vscode.Console",
47504
+ "kind": "enum",
47505
+ "locationInModule": {
47506
+ "filename": "src/vscode/launch-config.ts",
47507
+ "line": 9
47508
+ },
47509
+ "members": [
47510
+ {
47511
+ "docs": {
47512
+ "stability": "experimental"
47513
+ },
47514
+ "name": "INTERNAL_CONSOLE"
47515
+ },
47516
+ {
47517
+ "docs": {
47518
+ "stability": "experimental"
47519
+ },
47520
+ "name": "INTEGRATED_TERMINAL"
47521
+ },
47522
+ {
47523
+ "docs": {
47524
+ "stability": "experimental"
47525
+ },
47526
+ "name": "EXTERNAL_TERMINAL"
47527
+ }
47528
+ ],
47529
+ "name": "Console",
47530
+ "namespace": "vscode",
47531
+ "symbolId": "src/vscode/launch-config:Console"
47532
+ },
47436
47533
  "projen.vscode.DevContainer": {
47437
47534
  "assembly": "projen",
47438
47535
  "base": "projen.Component",
@@ -47625,7 +47722,7 @@
47625
47722
  "kind": "enum",
47626
47723
  "locationInModule": {
47627
47724
  "filename": "src/vscode/launch-config.ts",
47628
- "line": 9
47725
+ "line": 19
47629
47726
  },
47630
47727
  "members": [
47631
47728
  {
@@ -47662,7 +47759,7 @@
47662
47759
  "kind": "interface",
47663
47760
  "locationInModule": {
47664
47761
  "filename": "src/vscode/launch-config.ts",
47665
- "line": 22
47762
+ "line": 32
47666
47763
  },
47667
47764
  "name": "Presentation",
47668
47765
  "namespace": "vscode",
@@ -47675,7 +47772,7 @@
47675
47772
  "immutable": true,
47676
47773
  "locationInModule": {
47677
47774
  "filename": "src/vscode/launch-config.ts",
47678
- "line": 24
47775
+ "line": 34
47679
47776
  },
47680
47777
  "name": "group",
47681
47778
  "type": {
@@ -47690,7 +47787,7 @@
47690
47787
  "immutable": true,
47691
47788
  "locationInModule": {
47692
47789
  "filename": "src/vscode/launch-config.ts",
47693
- "line": 23
47790
+ "line": 33
47694
47791
  },
47695
47792
  "name": "hidden",
47696
47793
  "type": {
@@ -47705,7 +47802,7 @@
47705
47802
  "immutable": true,
47706
47803
  "locationInModule": {
47707
47804
  "filename": "src/vscode/launch-config.ts",
47708
- "line": 25
47805
+ "line": 35
47709
47806
  },
47710
47807
  "name": "order",
47711
47808
  "type": {
@@ -47726,7 +47823,7 @@
47726
47823
  "kind": "interface",
47727
47824
  "locationInModule": {
47728
47825
  "filename": "src/vscode/launch-config.ts",
47729
- "line": 33
47826
+ "line": 43
47730
47827
  },
47731
47828
  "name": "ServerReadyAction",
47732
47829
  "namespace": "vscode",
@@ -47739,7 +47836,7 @@
47739
47836
  "immutable": true,
47740
47837
  "locationInModule": {
47741
47838
  "filename": "src/vscode/launch-config.ts",
47742
- "line": 34
47839
+ "line": 44
47743
47840
  },
47744
47841
  "name": "action",
47745
47842
  "type": {
@@ -47754,7 +47851,7 @@
47754
47851
  "immutable": true,
47755
47852
  "locationInModule": {
47756
47853
  "filename": "src/vscode/launch-config.ts",
47757
- "line": 35
47854
+ "line": 45
47758
47855
  },
47759
47856
  "name": "pattern",
47760
47857
  "optional": true,
@@ -47770,7 +47867,7 @@
47770
47867
  "immutable": true,
47771
47868
  "locationInModule": {
47772
47869
  "filename": "src/vscode/launch-config.ts",
47773
- "line": 36
47870
+ "line": 46
47774
47871
  },
47775
47872
  "name": "uriFormat",
47776
47873
  "optional": true,
@@ -47844,7 +47941,7 @@
47844
47941
  },
47845
47942
  "locationInModule": {
47846
47943
  "filename": "src/vscode/launch-config.ts",
47847
- "line": 68
47944
+ "line": 104
47848
47945
  },
47849
47946
  "parameters": [
47850
47947
  {
@@ -47858,7 +47955,7 @@
47858
47955
  "kind": "class",
47859
47956
  "locationInModule": {
47860
47957
  "filename": "src/vscode/launch-config.ts",
47861
- "line": 65
47958
+ "line": 85
47862
47959
  },
47863
47960
  "methods": [
47864
47961
  {
@@ -47868,7 +47965,7 @@
47868
47965
  },
47869
47966
  "locationInModule": {
47870
47967
  "filename": "src/vscode/launch-config.ts",
47871
- "line": 87
47968
+ "line": 128
47872
47969
  },
47873
47970
  "name": "addConfiguration",
47874
47971
  "parameters": [
@@ -47899,7 +47996,7 @@
47899
47996
  "kind": "interface",
47900
47997
  "locationInModule": {
47901
47998
  "filename": "src/vscode/launch-config.ts",
47902
- "line": 43
47999
+ "line": 53
47903
48000
  },
47904
48001
  "name": "VsCodeLaunchConfigurationEntry",
47905
48002
  "namespace": "vscode",
@@ -47912,7 +48009,7 @@
47912
48009
  "immutable": true,
47913
48010
  "locationInModule": {
47914
48011
  "filename": "src/vscode/launch-config.ts",
47915
- "line": 46
48012
+ "line": 56
47916
48013
  },
47917
48014
  "name": "name",
47918
48015
  "type": {
@@ -47927,7 +48024,7 @@
47927
48024
  "immutable": true,
47928
48025
  "locationInModule": {
47929
48026
  "filename": "src/vscode/launch-config.ts",
47930
- "line": 45
48027
+ "line": 55
47931
48028
  },
47932
48029
  "name": "request",
47933
48030
  "type": {
@@ -47942,7 +48039,7 @@
47942
48039
  "immutable": true,
47943
48040
  "locationInModule": {
47944
48041
  "filename": "src/vscode/launch-config.ts",
47945
- "line": 44
48042
+ "line": 54
47946
48043
  },
47947
48044
  "name": "type",
47948
48045
  "type": {
@@ -47957,7 +48054,7 @@
47957
48054
  "immutable": true,
47958
48055
  "locationInModule": {
47959
48056
  "filename": "src/vscode/launch-config.ts",
47960
- "line": 47
48057
+ "line": 57
47961
48058
  },
47962
48059
  "name": "args",
47963
48060
  "optional": true,
@@ -47978,7 +48075,39 @@
47978
48075
  "immutable": true,
47979
48076
  "locationInModule": {
47980
48077
  "filename": "src/vscode/launch-config.ts",
47981
- "line": 48
48078
+ "line": 78
48079
+ },
48080
+ "name": "console",
48081
+ "optional": true,
48082
+ "type": {
48083
+ "fqn": "projen.vscode.Console"
48084
+ }
48085
+ },
48086
+ {
48087
+ "abstract": true,
48088
+ "docs": {
48089
+ "stability": "experimental"
48090
+ },
48091
+ "immutable": true,
48092
+ "locationInModule": {
48093
+ "filename": "src/vscode/launch-config.ts",
48094
+ "line": 75
48095
+ },
48096
+ "name": "cwd",
48097
+ "optional": true,
48098
+ "type": {
48099
+ "primitive": "string"
48100
+ }
48101
+ },
48102
+ {
48103
+ "abstract": true,
48104
+ "docs": {
48105
+ "stability": "experimental"
48106
+ },
48107
+ "immutable": true,
48108
+ "locationInModule": {
48109
+ "filename": "src/vscode/launch-config.ts",
48110
+ "line": 58
47982
48111
  },
47983
48112
  "name": "debugServer",
47984
48113
  "optional": true,
@@ -47994,7 +48123,70 @@
47994
48123
  "immutable": true,
47995
48124
  "locationInModule": {
47996
48125
  "filename": "src/vscode/launch-config.ts",
47997
- "line": 49
48126
+ "line": 79
48127
+ },
48128
+ "name": "disableOptimisticBPs",
48129
+ "optional": true,
48130
+ "type": {
48131
+ "primitive": "boolean"
48132
+ }
48133
+ },
48134
+ {
48135
+ "abstract": true,
48136
+ "docs": {
48137
+ "stability": "experimental",
48138
+ "summary": "Set value to `false` to unset an existing environment variable."
48139
+ },
48140
+ "immutable": true,
48141
+ "locationInModule": {
48142
+ "filename": "src/vscode/launch-config.ts",
48143
+ "line": 73
48144
+ },
48145
+ "name": "env",
48146
+ "optional": true,
48147
+ "type": {
48148
+ "collection": {
48149
+ "elementtype": {
48150
+ "union": {
48151
+ "types": [
48152
+ {
48153
+ "primitive": "string"
48154
+ },
48155
+ {
48156
+ "primitive": "boolean"
48157
+ }
48158
+ ]
48159
+ }
48160
+ },
48161
+ "kind": "map"
48162
+ }
48163
+ }
48164
+ },
48165
+ {
48166
+ "abstract": true,
48167
+ "docs": {
48168
+ "stability": "experimental"
48169
+ },
48170
+ "immutable": true,
48171
+ "locationInModule": {
48172
+ "filename": "src/vscode/launch-config.ts",
48173
+ "line": 74
48174
+ },
48175
+ "name": "envFile",
48176
+ "optional": true,
48177
+ "type": {
48178
+ "primitive": "string"
48179
+ }
48180
+ },
48181
+ {
48182
+ "abstract": true,
48183
+ "docs": {
48184
+ "stability": "experimental"
48185
+ },
48186
+ "immutable": true,
48187
+ "locationInModule": {
48188
+ "filename": "src/vscode/launch-config.ts",
48189
+ "line": 59
47998
48190
  },
47999
48191
  "name": "internalConsoleOptions",
48000
48192
  "optional": true,
@@ -48010,7 +48202,7 @@
48010
48202
  "immutable": true,
48011
48203
  "locationInModule": {
48012
48204
  "filename": "src/vscode/launch-config.ts",
48013
- "line": 57
48205
+ "line": 67
48014
48206
  },
48015
48207
  "name": "outFiles",
48016
48208
  "optional": true,
@@ -48031,7 +48223,23 @@
48031
48223
  "immutable": true,
48032
48224
  "locationInModule": {
48033
48225
  "filename": "src/vscode/launch-config.ts",
48034
- "line": 51
48226
+ "line": 76
48227
+ },
48228
+ "name": "port",
48229
+ "optional": true,
48230
+ "type": {
48231
+ "primitive": "number"
48232
+ }
48233
+ },
48234
+ {
48235
+ "abstract": true,
48236
+ "docs": {
48237
+ "stability": "experimental"
48238
+ },
48239
+ "immutable": true,
48240
+ "locationInModule": {
48241
+ "filename": "src/vscode/launch-config.ts",
48242
+ "line": 61
48035
48243
  },
48036
48244
  "name": "postDebugTask",
48037
48245
  "optional": true,
@@ -48047,7 +48255,7 @@
48047
48255
  "immutable": true,
48048
48256
  "locationInModule": {
48049
48257
  "filename": "src/vscode/launch-config.ts",
48050
- "line": 52
48258
+ "line": 62
48051
48259
  },
48052
48260
  "name": "preLaunchTask",
48053
48261
  "optional": true,
@@ -48063,7 +48271,7 @@
48063
48271
  "immutable": true,
48064
48272
  "locationInModule": {
48065
48273
  "filename": "src/vscode/launch-config.ts",
48066
- "line": 53
48274
+ "line": 63
48067
48275
  },
48068
48276
  "name": "presentation",
48069
48277
  "optional": true,
@@ -48079,7 +48287,7 @@
48079
48287
  "immutable": true,
48080
48288
  "locationInModule": {
48081
48289
  "filename": "src/vscode/launch-config.ts",
48082
- "line": 54
48290
+ "line": 64
48083
48291
  },
48084
48292
  "name": "program",
48085
48293
  "optional": true,
@@ -48095,7 +48303,7 @@
48095
48303
  "immutable": true,
48096
48304
  "locationInModule": {
48097
48305
  "filename": "src/vscode/launch-config.ts",
48098
- "line": 50
48306
+ "line": 60
48099
48307
  },
48100
48308
  "name": "runtimeArgs",
48101
48309
  "optional": true,
@@ -48116,7 +48324,7 @@
48116
48324
  "immutable": true,
48117
48325
  "locationInModule": {
48118
48326
  "filename": "src/vscode/launch-config.ts",
48119
- "line": 55
48327
+ "line": 65
48120
48328
  },
48121
48329
  "name": "serverReadyAction",
48122
48330
  "optional": true,
@@ -48132,7 +48340,7 @@
48132
48340
  "immutable": true,
48133
48341
  "locationInModule": {
48134
48342
  "filename": "src/vscode/launch-config.ts",
48135
- "line": 56
48343
+ "line": 66
48136
48344
  },
48137
48345
  "name": "skipFiles",
48138
48346
  "optional": true,
@@ -48153,7 +48361,23 @@
48153
48361
  "immutable": true,
48154
48362
  "locationInModule": {
48155
48363
  "filename": "src/vscode/launch-config.ts",
48156
- "line": 58
48364
+ "line": 77
48365
+ },
48366
+ "name": "stopOnEntry",
48367
+ "optional": true,
48368
+ "type": {
48369
+ "primitive": "boolean"
48370
+ }
48371
+ },
48372
+ {
48373
+ "abstract": true,
48374
+ "docs": {
48375
+ "stability": "experimental"
48376
+ },
48377
+ "immutable": true,
48378
+ "locationInModule": {
48379
+ "filename": "src/vscode/launch-config.ts",
48380
+ "line": 68
48157
48381
  },
48158
48382
  "name": "url",
48159
48383
  "optional": true,
@@ -48169,7 +48393,7 @@
48169
48393
  "immutable": true,
48170
48394
  "locationInModule": {
48171
48395
  "filename": "src/vscode/launch-config.ts",
48172
- "line": 59
48396
+ "line": 69
48173
48397
  },
48174
48398
  "name": "webRoot",
48175
48399
  "optional": true,
@@ -49249,6 +49473,6 @@
49249
49473
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
49250
49474
  }
49251
49475
  },
49252
- "version": "0.61.17",
49253
- "fingerprint": "7+ROaihlD4ylc/Lo0h37b3tFZfhUuOmR2Sm6Bx9zMiM="
49476
+ "version": "0.61.20",
49477
+ "fingerprint": "MxSaH3mz1qfW8cPR1fYzC+OfeIOZpO89AWpQwGAFe9Q="
49254
49478
  }
package/docs/api/API.md CHANGED
@@ -178,6 +178,7 @@ Name|Description
178
178
  [SampleDirOptions](#projen-samplediroptions)|SampleDir options.
179
179
  [SampleFileOptions](#projen-samplefileoptions)|Options for the SampleFile object.
180
180
  [SampleReadmeProps](#projen-samplereadmeprops)|SampleReadme Properties.
181
+ [SnapshotOptions](#projen-snapshotoptions)|Options for the Snapshot synthesis.
181
182
  [SourceCodeOptions](#projen-sourcecodeoptions)|Options for `SourceCodeFile`.
182
183
  [TaskCommonOptions](#projen-taskcommonoptions)|*No description*
183
184
  [TaskOptions](#projen-taskoptions)|*No description*
@@ -453,6 +454,7 @@ Name|Description
453
454
  [javascript.TrailingComma](#projen-javascript-trailingcomma)|*No description*
454
455
  [javascript.TypeScriptJsxMode](#projen-javascript-typescriptjsxmode)|Determines how JSX should get transformed into valid JavaScript.
455
456
  [javascript.TypeScriptModuleResolution](#projen-javascript-typescriptmoduleresolution)|Determines how modules get resolved.
457
+ [vscode.Console](#projen-vscode-console)|Controls where to launch the debug target Source: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes.
456
458
  [vscode.InternalConsoleOptions](#projen-vscode-internalconsoleoptions)|Controls the visibility of the VSCode Debug Console panel during a debugging session Source: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes.
457
459
 
458
460
 
@@ -1327,6 +1329,7 @@ new JsonFile(project: Project, filePath: string, options: JsonFileOptions)
1327
1329
  * **readonly** (<code>boolean</code>) Whether the generated file should be readonly. __*Default*__: true
1328
1330
  * **obj** (<code>any</code>) The object that will be serialized. __*Default*__: {} an empty object (use `file.obj` to mutate).
1329
1331
  * **omitEmpty** (<code>boolean</code>) Omits empty objects and arrays. __*Default*__: false
1332
+ * **allowComments** (<code>boolean</code>) Allow the use of comments in this file. __*Default*__: false for .json files, true for .json5 and .jsonc files
1330
1333
  * **newline** (<code>boolean</code>) Adds a newline at the end of the file. __*Default*__: true
1331
1334
 
1332
1335
 
@@ -3018,15 +3021,17 @@ A Testing static class with a .synth helper for getting a snapshots of construct
3018
3021
  ### Methods
3019
3022
 
3020
3023
 
3021
- #### *static* synth(project)🔹 <a id="projen-testing-synth"></a>
3024
+ #### *static* synth(project, options?)🔹 <a id="projen-testing-synth"></a>
3022
3025
 
3023
3026
  Produces a simple JS object that represents the contents of the projects with field names being file paths.
3024
3027
 
3025
3028
  ```ts
3026
- static synth(project: Project): Map<string, any>
3029
+ static synth(project: Project, options?: SnapshotOptions): Map<string, any>
3027
3030
  ```
3028
3031
 
3029
3032
  * **project** (<code>[Project](#projen-project)</code>) the project to produce a snapshot for.
3033
+ * **options** (<code>[SnapshotOptions](#projen-snapshotoptions)</code>) *No description*
3034
+ * **parseJson** (<code>boolean</code>) Parse .json files as a JS object for improved inspection. This will fail if the contents are invalid JSON. __*Default*__: true parse .json files into an object
3030
3035
 
3031
3036
  __Returns__:
3032
3037
  * <code>Map<string, any></code>
@@ -10666,9 +10671,15 @@ addConfiguration(cfg: VsCodeLaunchConfigurationEntry): void
10666
10671
  * **request** (<code>string</code>) *No description*
10667
10672
  * **type** (<code>string</code>) *No description*
10668
10673
  * **args** (<code>Array<string></code>) *No description* __*Optional*__
10674
+ * **console** (<code>[vscode.Console](#projen-vscode-console)</code>) *No description* __*Optional*__
10675
+ * **cwd** (<code>string</code>) *No description* __*Optional*__
10669
10676
  * **debugServer** (<code>number</code>) *No description* __*Optional*__
10677
+ * **disableOptimisticBPs** (<code>boolean</code>) *No description* __*Optional*__
10678
+ * **env** (<code>Map<string, string &#124; boolean></code>) Set value to `false` to unset an existing environment variable. __*Optional*__
10679
+ * **envFile** (<code>string</code>) *No description* __*Optional*__
10670
10680
  * **internalConsoleOptions** (<code>[vscode.InternalConsoleOptions](#projen-vscode-internalconsoleoptions)</code>) *No description* __*Optional*__
10671
10681
  * **outFiles** (<code>Array<string></code>) *No description* __*Optional*__
10682
+ * **port** (<code>number</code>) *No description* __*Optional*__
10672
10683
  * **postDebugTask** (<code>string</code>) *No description* __*Optional*__
10673
10684
  * **preLaunchTask** (<code>string</code>) *No description* __*Optional*__
10674
10685
  * **presentation** (<code>[vscode.Presentation](#projen-vscode-presentation)</code>) *No description* __*Optional*__
@@ -10676,6 +10687,7 @@ addConfiguration(cfg: VsCodeLaunchConfigurationEntry): void
10676
10687
  * **runtimeArgs** (<code>Array<string></code>) *No description* __*Optional*__
10677
10688
  * **serverReadyAction** (<code>[vscode.ServerReadyAction](#projen-vscode-serverreadyaction)</code>) *No description* __*Optional*__
10678
10689
  * **skipFiles** (<code>Array<string></code>) *No description* __*Optional*__
10690
+ * **stopOnEntry** (<code>boolean</code>) *No description* __*Optional*__
10679
10691
  * **url** (<code>string</code>) *No description* __*Optional*__
10680
10692
  * **webRoot** (<code>string</code>) *No description* __*Optional*__
10681
10693
 
@@ -11986,6 +11998,7 @@ Options for `JsonFile`.
11986
11998
 
11987
11999
  Name | Type | Description
11988
12000
  -----|------|-------------
12001
+ **allowComments**?🔹 | <code>boolean</code> | Allow the use of comments in this file.<br/>__*Default*__: false for .json files, true for .json5 and .jsonc files
11989
12002
  **committed**?🔹 | <code>boolean</code> | Indicates whether this file should be committed to git or ignored.<br/>__*Default*__: true
11990
12003
  **editGitignore**?🔹 | <code>boolean</code> | Update the project's .gitignore file.<br/>__*Default*__: true
11991
12004
  **executable**?🔹 | <code>boolean</code> | Whether the generated file should be marked as executable.<br/>__*Default*__: false
@@ -12187,6 +12200,19 @@ Name | Type | Description
12187
12200
 
12188
12201
 
12189
12202
 
12203
+ ## struct SnapshotOptions 🔹 <a id="projen-snapshotoptions"></a>
12204
+
12205
+
12206
+ Options for the Snapshot synthesis.
12207
+
12208
+
12209
+
12210
+ Name | Type | Description
12211
+ -----|------|-------------
12212
+ **parseJson**?🔹 | <code>boolean</code> | Parse .json files as a JS object for improved inspection. This will fail if the contents are invalid JSON.<br/>__*Default*__: true parse .json files into an object
12213
+
12214
+
12215
+
12190
12216
  ## struct SourceCodeOptions 🔹 <a id="projen-sourcecodeoptions"></a>
12191
12217
 
12192
12218
 
@@ -17803,9 +17829,15 @@ Name | Type | Description
17803
17829
  **request**🔹 | <code>string</code> | <span></span>
17804
17830
  **type**🔹 | <code>string</code> | <span></span>
17805
17831
  **args**?🔹 | <code>Array<string></code> | __*Optional*__
17832
+ **console**?🔹 | <code>[vscode.Console](#projen-vscode-console)</code> | __*Optional*__
17833
+ **cwd**?🔹 | <code>string</code> | __*Optional*__
17806
17834
  **debugServer**?🔹 | <code>number</code> | __*Optional*__
17835
+ **disableOptimisticBPs**?🔹 | <code>boolean</code> | __*Optional*__
17836
+ **env**?🔹 | <code>Map<string, string &#124; boolean></code> | Set value to `false` to unset an existing environment variable.<br/>__*Optional*__
17837
+ **envFile**?🔹 | <code>string</code> | __*Optional*__
17807
17838
  **internalConsoleOptions**?🔹 | <code>[vscode.InternalConsoleOptions](#projen-vscode-internalconsoleoptions)</code> | __*Optional*__
17808
17839
  **outFiles**?🔹 | <code>Array<string></code> | __*Optional*__
17840
+ **port**?🔹 | <code>number</code> | __*Optional*__
17809
17841
  **postDebugTask**?🔹 | <code>string</code> | __*Optional*__
17810
17842
  **preLaunchTask**?🔹 | <code>string</code> | __*Optional*__
17811
17843
  **presentation**?🔹 | <code>[vscode.Presentation](#projen-vscode-presentation)</code> | __*Optional*__
@@ -17813,6 +17845,7 @@ Name | Type | Description
17813
17845
  **runtimeArgs**?🔹 | <code>Array<string></code> | __*Optional*__
17814
17846
  **serverReadyAction**?🔹 | <code>[vscode.ServerReadyAction](#projen-vscode-serverreadyaction)</code> | __*Optional*__
17815
17847
  **skipFiles**?🔹 | <code>Array<string></code> | __*Optional*__
17848
+ **stopOnEntry**?🔹 | <code>boolean</code> | __*Optional*__
17816
17849
  **url**?🔹 | <code>string</code> | __*Optional*__
17817
17850
  **webRoot**?🔹 | <code>string</code> | __*Optional*__
17818
17851
 
@@ -18968,6 +19001,17 @@ Name | Description
18968
19001
  **NODE** 🔹|Resolution strategy which attempts to mimic the Node.js module resolution strategy at runtime.
18969
19002
 
18970
19003
 
19004
+ ## enum Console 🔹 <a id="projen-vscode-console"></a>
19005
+
19006
+ Controls where to launch the debug target Source: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes.
19007
+
19008
+ Name | Description
19009
+ -----|-----
19010
+ **INTERNAL_CONSOLE** 🔹|
19011
+ **INTEGRATED_TERMINAL** 🔹|
19012
+ **EXTERNAL_TERMINAL** 🔹|
19013
+
19014
+
18971
19015
  ## enum InternalConsoleOptions 🔹 <a id="projen-vscode-internalconsoleoptions"></a>
18972
19016
 
18973
19017
  Controls the visibility of the VSCode Debug Console panel during a debugging session Source: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes.