projen 0.47.14 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/.jsii +841 -566
  2. package/API.md +297 -208
  3. package/changelog.md +11 -1
  4. package/docs/components.md +21 -0
  5. package/lib/awscdk/auto-discover.js +1 -1
  6. package/lib/awscdk/{java-app.d.ts → awscdk-app-java.d.ts} +10 -27
  7. package/lib/awscdk/awscdk-app-java.js +87 -0
  8. package/lib/awscdk/awscdk-app-ts.js +4 -4
  9. package/lib/awscdk/awscdk-construct.js +5 -5
  10. package/lib/awscdk/awscdk-deps-java.d.ts +14 -0
  11. package/lib/awscdk/awscdk-deps-java.js +30 -0
  12. package/lib/awscdk/awscdk-deps-js.d.ts +14 -0
  13. package/lib/awscdk/awscdk-deps-js.js +31 -0
  14. package/lib/awscdk/awscdk-deps.d.ts +56 -8
  15. package/lib/awscdk/awscdk-deps.js +13 -12
  16. package/lib/awscdk/cdk-config.js +1 -1
  17. package/lib/awscdk/cdk-tasks.js +1 -1
  18. package/lib/awscdk/index.d.ts +3 -1
  19. package/lib/awscdk/index.js +4 -2
  20. package/lib/awscdk/integration-test.js +1 -1
  21. package/lib/awscdk/lambda-function.js +2 -2
  22. package/lib/build/build-workflow.js +1 -1
  23. package/lib/cdk/construct-lib.js +1 -1
  24. package/lib/cdk/jsii-docgen.js +1 -1
  25. package/lib/cdk/jsii-project.js +1 -1
  26. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  27. package/lib/cdk8s/cdk8s-construct.js +1 -1
  28. package/lib/cdktf/cdktf-construct.js +1 -1
  29. package/lib/component.js +1 -1
  30. package/lib/dependencies.js +1 -1
  31. package/lib/dev-env.js +1 -1
  32. package/lib/docker-compose.js +2 -2
  33. package/lib/file.js +1 -1
  34. package/lib/gitattributes.js +1 -1
  35. package/lib/github/auto-approve.js +1 -1
  36. package/lib/github/auto-merge.js +1 -1
  37. package/lib/github/dependabot.js +1 -1
  38. package/lib/github/github-project.js +1 -1
  39. package/lib/github/github.js +1 -1
  40. package/lib/github/mergify.js +1 -1
  41. package/lib/github/pr-template.js +1 -1
  42. package/lib/github/pull-request-lint.js +1 -1
  43. package/lib/github/stale.js +1 -1
  44. package/lib/github/task-workflow.js +1 -1
  45. package/lib/github/workflows.js +1 -1
  46. package/lib/gitpod.js +1 -1
  47. package/lib/ignore-file.js +1 -1
  48. package/lib/ini.js +1 -1
  49. package/lib/java/java-project.d.ts +1 -0
  50. package/lib/java/java-project.js +2 -2
  51. package/lib/java/junit.js +1 -1
  52. package/lib/java/maven-compile.js +1 -1
  53. package/lib/java/maven-packaging.js +1 -1
  54. package/lib/java/maven-sample.js +1 -1
  55. package/lib/java/pom.js +1 -1
  56. package/lib/java/projenrc.js +1 -1
  57. package/lib/javascript/bundler.js +1 -1
  58. package/lib/javascript/eslint.d.ts +21 -0
  59. package/lib/javascript/eslint.js +46 -24
  60. package/lib/javascript/jest.js +1 -1
  61. package/lib/javascript/node-package.d.ts +7 -0
  62. package/lib/javascript/node-package.js +30 -10
  63. package/lib/javascript/node-project.d.ts +1 -21
  64. package/lib/javascript/node-project.js +31 -44
  65. package/lib/javascript/npm-config.js +1 -1
  66. package/lib/javascript/prettier.d.ts +78 -48
  67. package/lib/javascript/prettier.js +27 -6
  68. package/lib/javascript/projenrc.js +1 -1
  69. package/lib/javascript/typescript-config.js +1 -1
  70. package/lib/javascript/upgrade-dependencies.js +2 -2
  71. package/lib/json.js +1 -1
  72. package/lib/license.js +1 -1
  73. package/lib/logger.js +1 -1
  74. package/lib/makefile.js +1 -1
  75. package/lib/object-file.js +1 -1
  76. package/lib/project-build.js +1 -1
  77. package/lib/project.js +1 -1
  78. package/lib/projects.js +1 -1
  79. package/lib/projenrc-json.js +1 -1
  80. package/lib/python/pip.js +1 -1
  81. package/lib/python/poetry.js +2 -2
  82. package/lib/python/projenrc.js +1 -1
  83. package/lib/python/pytest.js +1 -1
  84. package/lib/python/python-project.js +1 -1
  85. package/lib/python/python-sample.js +1 -1
  86. package/lib/python/requirements-file.js +1 -1
  87. package/lib/python/setuppy.js +1 -1
  88. package/lib/python/setuptools.js +1 -1
  89. package/lib/python/venv.js +1 -1
  90. package/lib/readme.js +1 -1
  91. package/lib/release/publisher.js +1 -1
  92. package/lib/release/release-trigger.js +1 -1
  93. package/lib/release/release.js +1 -1
  94. package/lib/sample-file.js +2 -2
  95. package/lib/semver.js +1 -1
  96. package/lib/source-code.js +1 -1
  97. package/lib/task-runtime.js +1 -1
  98. package/lib/task.js +1 -1
  99. package/lib/tasks.js +1 -1
  100. package/lib/testing.js +1 -1
  101. package/lib/textfile.js +1 -1
  102. package/lib/toml.js +1 -1
  103. package/lib/typescript/projenrc.js +1 -1
  104. package/lib/typescript/typescript-typedoc.js +1 -1
  105. package/lib/typescript/typescript.js +3 -3
  106. package/lib/version.js +1 -1
  107. package/lib/vscode/devcontainer.js +1 -1
  108. package/lib/vscode/launch-config.js +1 -1
  109. package/lib/vscode/vscode.js +1 -1
  110. package/lib/web/next.js +3 -3
  111. package/lib/web/postcss.js +1 -1
  112. package/lib/web/react.js +4 -4
  113. package/lib/web/tailwind.js +1 -1
  114. package/lib/xmlfile.js +1 -1
  115. package/lib/yaml.js +1 -1
  116. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  117. package/node_modules/xmlbuilder2/node_modules/@types/node/globals.d.ts +3 -3
  118. package/node_modules/xmlbuilder2/node_modules/@types/node/http.d.ts +1 -1
  119. package/node_modules/xmlbuilder2/node_modules/@types/node/http2.d.ts +3 -3
  120. package/node_modules/xmlbuilder2/node_modules/@types/node/net.d.ts +3 -3
  121. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  122. package/node_modules/xmlbuilder2/node_modules/@types/node/stream.d.ts +8 -8
  123. package/package.json +2 -2
  124. package/releasetag.txt +1 -1
  125. package/version.txt +1 -1
  126. package/lib/awscdk/java-app.js +0 -90
package/.jsii CHANGED
@@ -9279,7 +9279,7 @@
9279
9279
  },
9280
9280
  "locationInModule": {
9281
9281
  "filename": "src/awscdk/awscdk-construct.ts",
9282
- "line": 42
9282
+ "line": 43
9283
9283
  },
9284
9284
  "parameters": [
9285
9285
  {
@@ -9293,7 +9293,7 @@
9293
9293
  "kind": "class",
9294
9294
  "locationInModule": {
9295
9295
  "filename": "src/awscdk/awscdk-construct.ts",
9296
- "line": 39
9296
+ "line": 40
9297
9297
  },
9298
9298
  "methods": [
9299
9299
  {
@@ -9305,7 +9305,7 @@
9305
9305
  },
9306
9306
  "locationInModule": {
9307
9307
  "filename": "src/awscdk/awscdk-construct.ts",
9308
- "line": 93
9308
+ "line": 94
9309
9309
  },
9310
9310
  "name": "addCdkDependencies",
9311
9311
  "parameters": [
@@ -9330,7 +9330,7 @@
9330
9330
  },
9331
9331
  "locationInModule": {
9332
9332
  "filename": "src/awscdk/awscdk-construct.ts",
9333
- "line": 103
9333
+ "line": 104
9334
9334
  },
9335
9335
  "name": "addCdkTestDependencies",
9336
9336
  "parameters": [
@@ -9358,7 +9358,7 @@
9358
9358
  "immutable": true,
9359
9359
  "locationInModule": {
9360
9360
  "filename": "src/awscdk/awscdk-construct.ts",
9361
- "line": 40
9361
+ "line": 41
9362
9362
  },
9363
9363
  "name": "cdkDeps",
9364
9364
  "type": {
@@ -9373,7 +9373,7 @@
9373
9373
  "immutable": true,
9374
9374
  "locationInModule": {
9375
9375
  "filename": "src/awscdk/awscdk-construct.ts",
9376
- "line": 74
9376
+ "line": 75
9377
9377
  },
9378
9378
  "name": "cdkVersion",
9379
9379
  "type": {
@@ -9388,7 +9388,7 @@
9388
9388
  "immutable": true,
9389
9389
  "locationInModule": {
9390
9390
  "filename": "src/awscdk/awscdk-construct.ts",
9391
- "line": 81
9391
+ "line": 82
9392
9392
  },
9393
9393
  "name": "version",
9394
9394
  "type": {
@@ -9413,7 +9413,7 @@
9413
9413
  "kind": "interface",
9414
9414
  "locationInModule": {
9415
9415
  "filename": "src/awscdk/awscdk-construct.ts",
9416
- "line": 11
9416
+ "line": 12
9417
9417
  },
9418
9418
  "name": "AwsCdkConstructLibraryOptions",
9419
9419
  "namespace": "awscdk",
@@ -9428,7 +9428,7 @@
9428
9428
  "immutable": true,
9429
9429
  "locationInModule": {
9430
9430
  "filename": "src/awscdk/awscdk-construct.ts",
9431
- "line": 20
9431
+ "line": 21
9432
9432
  },
9433
9433
  "name": "lambdaAutoDiscover",
9434
9434
  "optional": true,
@@ -9446,7 +9446,7 @@
9446
9446
  "immutable": true,
9447
9447
  "locationInModule": {
9448
9448
  "filename": "src/awscdk/awscdk-construct.ts",
9449
- "line": 27
9449
+ "line": 28
9450
9450
  },
9451
9451
  "name": "lambdaOptions",
9452
9452
  "optional": true,
@@ -9458,6 +9458,7 @@
9458
9458
  "symbolId": "src/awscdk/awscdk-construct:AwsCdkConstructLibraryOptions"
9459
9459
  },
9460
9460
  "projen.awscdk.AwsCdkDeps": {
9461
+ "abstract": true,
9461
9462
  "assembly": "projen",
9462
9463
  "base": "projen.Component",
9463
9464
  "docs": {
@@ -9471,7 +9472,7 @@
9471
9472
  },
9472
9473
  "locationInModule": {
9473
9474
  "filename": "src/awscdk/awscdk-deps.ts",
9474
- "line": 118
9475
+ "line": 149
9475
9476
  },
9476
9477
  "parameters": [
9477
9478
  {
@@ -9491,7 +9492,7 @@
9491
9492
  "kind": "class",
9492
9493
  "locationInModule": {
9493
9494
  "filename": "src/awscdk/awscdk-deps.ts",
9494
- "line": 94
9495
+ "line": 123
9495
9496
  },
9496
9497
  "methods": [
9497
9498
  {
@@ -9502,7 +9503,7 @@
9502
9503
  },
9503
9504
  "locationInModule": {
9504
9505
  "filename": "src/awscdk/awscdk-deps.ts",
9505
- "line": 153
9506
+ "line": 186
9506
9507
  },
9507
9508
  "name": "addV1Dependencies",
9508
9509
  "parameters": [
@@ -9527,13 +9528,13 @@
9527
9528
  },
9528
9529
  "locationInModule": {
9529
9530
  "filename": "src/awscdk/awscdk-deps.ts",
9530
- "line": 176
9531
+ "line": 209
9531
9532
  },
9532
9533
  "name": "addV1DevDependencies",
9533
9534
  "parameters": [
9534
9535
  {
9535
9536
  "docs": {
9536
- "summary": "names of cdk modules (e.g. `@aws-cdk/aws-lambda`)."
9537
+ "summary": "fully qualified names of cdk modules (e.g. `@aws-cdk/aws-lambda`)."
9537
9538
  },
9538
9539
  "name": "deps",
9539
9540
  "type": {
@@ -9543,6 +9544,24 @@
9543
9544
  }
9544
9545
  ],
9545
9546
  "variadic": true
9547
+ },
9548
+ {
9549
+ "abstract": true,
9550
+ "docs": {
9551
+ "stability": "experimental",
9552
+ "summary": "Return a configuration object with information about package naming in various languages."
9553
+ },
9554
+ "locationInModule": {
9555
+ "filename": "src/awscdk/awscdk-deps.ts",
9556
+ "line": 317
9557
+ },
9558
+ "name": "packageNames",
9559
+ "protected": true,
9560
+ "returns": {
9561
+ "type": {
9562
+ "fqn": "projen.awscdk.AwsCdkPackageNames"
9563
+ }
9564
+ }
9546
9565
  }
9547
9566
  ],
9548
9567
  "name": "AwsCdkDeps",
@@ -9557,7 +9576,7 @@
9557
9576
  "immutable": true,
9558
9577
  "locationInModule": {
9559
9578
  "filename": "src/awscdk/awscdk-deps.ts",
9560
- "line": 109
9579
+ "line": 138
9561
9580
  },
9562
9581
  "name": "cdkDependenciesAsDeps",
9563
9582
  "type": {
@@ -9572,7 +9591,7 @@
9572
9591
  "immutable": true,
9573
9592
  "locationInModule": {
9574
9593
  "filename": "src/awscdk/awscdk-deps.ts",
9575
- "line": 114
9594
+ "line": 143
9576
9595
  },
9577
9596
  "name": "cdkMajorVersion",
9578
9597
  "type": {
@@ -9587,7 +9606,7 @@
9587
9606
  "immutable": true,
9588
9607
  "locationInModule": {
9589
9608
  "filename": "src/awscdk/awscdk-deps.ts",
9590
- "line": 103
9609
+ "line": 132
9591
9610
  },
9592
9611
  "name": "cdkMinimumVersion",
9593
9612
  "type": {
@@ -9602,7 +9621,7 @@
9602
9621
  "immutable": true,
9603
9622
  "locationInModule": {
9604
9623
  "filename": "src/awscdk/awscdk-deps.ts",
9605
- "line": 98
9624
+ "line": 127
9606
9625
  },
9607
9626
  "name": "cdkVersion",
9608
9627
  "type": {
@@ -9653,13 +9672,14 @@
9653
9672
  },
9654
9673
  "default": "- will be included by default for AWS CDK >= 1.0.0 < 2.0.0",
9655
9674
  "deprecated": "The",
9675
+ "remarks": "Install the @aws-cdk/assert library?",
9656
9676
  "stability": "deprecated",
9657
- "summary": "Install the @aws-cdk/assert library?"
9677
+ "summary": "Warning: NodeJS only."
9658
9678
  },
9659
9679
  "immutable": true,
9660
9680
  "locationInModule": {
9661
9681
  "filename": "src/awscdk/awscdk-deps.ts",
9662
- "line": 62
9682
+ "line": 64
9663
9683
  },
9664
9684
  "name": "cdkAssert",
9665
9685
  "optional": true,
@@ -9673,12 +9693,12 @@
9673
9693
  "default": "- will be included by default for AWS CDK >= 1.111.0 < 2.0.0",
9674
9694
  "remarks": "Only needed for CDK 1.x. If using CDK 2.x then\nassertions is already included in 'aws-cdk-lib'",
9675
9695
  "stability": "experimental",
9676
- "summary": "Install the @aws-cdk/assertions library?"
9696
+ "summary": "Install the assertions library?"
9677
9697
  },
9678
9698
  "immutable": true,
9679
9699
  "locationInModule": {
9680
9700
  "filename": "src/awscdk/awscdk-deps.ts",
9681
- "line": 72
9701
+ "line": 74
9682
9702
  },
9683
9703
  "name": "cdkAssertions",
9684
9704
  "optional": true,
@@ -9689,14 +9709,14 @@
9689
9709
  {
9690
9710
  "abstract": true,
9691
9711
  "docs": {
9692
- "deprecated": "For CDK 2.x use 'peerDeps' instead",
9712
+ "deprecated": "For CDK 2.x use \"deps\" instead. (or \"peerDeps\" if you're building a library)",
9693
9713
  "stability": "deprecated",
9694
- "summary": "Which AWS CDK modules (those that start with \"@aws-cdk/\") does this library require when consumed?"
9714
+ "summary": "Which AWS CDKv1 modules this project requires."
9695
9715
  },
9696
9716
  "immutable": true,
9697
9717
  "locationInModule": {
9698
9718
  "filename": "src/awscdk/awscdk-deps.ts",
9699
- "line": 39
9719
+ "line": 38
9700
9720
  },
9701
9721
  "name": "cdkDependencies",
9702
9722
  "optional": true,
@@ -9714,14 +9734,14 @@
9714
9734
  "docs": {
9715
9735
  "default": "true",
9716
9736
  "deprecated": "Not supported in CDK v2.",
9717
- "remarks": "This is to ensure that downstream consumers actually have your CDK dependencies installed\nwhen using npm < 7 or yarn, where peer dependencies are not automatically installed.\nIf this is disabled, `cdkDependencies` will be added to `devDependencies` to ensure\nthey are present during development.",
9737
+ "remarks": "This is to ensure that downstream consumers actually have your CDK dependencies installed\nwhen using npm < 7 or yarn, where peer dependencies are not automatically installed.\nIf this is disabled, `cdkDependencies` will be added to `devDependencies` to ensure\nthey are present during development.\n\nNote: this setting only applies to construct library projects",
9718
9738
  "stability": "deprecated",
9719
9739
  "summary": "If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`)."
9720
9740
  },
9721
9741
  "immutable": true,
9722
9742
  "locationInModule": {
9723
9743
  "filename": "src/awscdk/awscdk-deps.ts",
9724
- "line": 53
9744
+ "line": 54
9725
9745
  },
9726
9746
  "name": "cdkDependenciesAsDeps",
9727
9747
  "optional": true,
@@ -9732,14 +9752,14 @@
9732
9752
  {
9733
9753
  "abstract": true,
9734
9754
  "docs": {
9735
- "deprecated": "For CDK 2.x use 'devDeps' instead",
9755
+ "deprecated": "For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead",
9736
9756
  "stability": "deprecated",
9737
9757
  "summary": "AWS CDK modules required for testing."
9738
9758
  },
9739
9759
  "immutable": true,
9740
9760
  "locationInModule": {
9741
9761
  "filename": "src/awscdk/awscdk-deps.ts",
9742
- "line": 79
9762
+ "line": 81
9743
9763
  },
9744
9764
  "name": "cdkTestDependencies",
9745
9765
  "optional": true,
@@ -9755,7 +9775,7 @@
9755
9775
  {
9756
9776
  "abstract": true,
9757
9777
  "docs": {
9758
- "remarks": "You can use this to prevent yarn to mix versions for your CDK dependencies and to prevent auto-updates.\nIf you use experimental features this will let you define the moment you include breaking changes.",
9778
+ "remarks": "You can use this to prevent mixed versions for your CDK dependencies and to prevent auto-updates.\nIf you use experimental features this will let you define the moment you include breaking changes.",
9759
9779
  "stability": "experimental",
9760
9780
  "summary": "Use pinned version instead of caret version for CDK."
9761
9781
  },
@@ -9791,6 +9811,126 @@
9791
9811
  ],
9792
9812
  "symbolId": "src/awscdk/awscdk-deps:AwsCdkDepsCommonOptions"
9793
9813
  },
9814
+ "projen.awscdk.AwsCdkDepsJava": {
9815
+ "assembly": "projen",
9816
+ "base": "projen.awscdk.AwsCdkDeps",
9817
+ "docs": {
9818
+ "stability": "experimental",
9819
+ "summary": "Manages dependencies on the AWS CDK for Java projects."
9820
+ },
9821
+ "fqn": "projen.awscdk.AwsCdkDepsJava",
9822
+ "initializer": {
9823
+ "docs": {
9824
+ "stability": "experimental"
9825
+ },
9826
+ "locationInModule": {
9827
+ "filename": "src/awscdk/awscdk-deps.ts",
9828
+ "line": 149
9829
+ },
9830
+ "parameters": [
9831
+ {
9832
+ "name": "project",
9833
+ "type": {
9834
+ "fqn": "projen.Project"
9835
+ }
9836
+ },
9837
+ {
9838
+ "name": "options",
9839
+ "type": {
9840
+ "fqn": "projen.awscdk.AwsCdkDepsOptions"
9841
+ }
9842
+ }
9843
+ ]
9844
+ },
9845
+ "kind": "class",
9846
+ "locationInModule": {
9847
+ "filename": "src/awscdk/awscdk-deps-java.ts",
9848
+ "line": 6
9849
+ },
9850
+ "methods": [
9851
+ {
9852
+ "docs": {
9853
+ "stability": "experimental",
9854
+ "summary": "Return a configuration object with information about package naming in various languages."
9855
+ },
9856
+ "locationInModule": {
9857
+ "filename": "src/awscdk/awscdk-deps-java.ts",
9858
+ "line": 7
9859
+ },
9860
+ "name": "packageNames",
9861
+ "overrides": "projen.awscdk.AwsCdkDeps",
9862
+ "protected": true,
9863
+ "returns": {
9864
+ "type": {
9865
+ "fqn": "projen.awscdk.AwsCdkPackageNames"
9866
+ }
9867
+ }
9868
+ }
9869
+ ],
9870
+ "name": "AwsCdkDepsJava",
9871
+ "namespace": "awscdk",
9872
+ "symbolId": "src/awscdk/awscdk-deps-java:AwsCdkDepsJava"
9873
+ },
9874
+ "projen.awscdk.AwsCdkDepsJs": {
9875
+ "assembly": "projen",
9876
+ "base": "projen.awscdk.AwsCdkDeps",
9877
+ "docs": {
9878
+ "stability": "experimental",
9879
+ "summary": "Manages dependencies on the AWS CDK for Node.js projects."
9880
+ },
9881
+ "fqn": "projen.awscdk.AwsCdkDepsJs",
9882
+ "initializer": {
9883
+ "docs": {
9884
+ "stability": "experimental"
9885
+ },
9886
+ "locationInModule": {
9887
+ "filename": "src/awscdk/awscdk-deps.ts",
9888
+ "line": 149
9889
+ },
9890
+ "parameters": [
9891
+ {
9892
+ "name": "project",
9893
+ "type": {
9894
+ "fqn": "projen.Project"
9895
+ }
9896
+ },
9897
+ {
9898
+ "name": "options",
9899
+ "type": {
9900
+ "fqn": "projen.awscdk.AwsCdkDepsOptions"
9901
+ }
9902
+ }
9903
+ ]
9904
+ },
9905
+ "kind": "class",
9906
+ "locationInModule": {
9907
+ "filename": "src/awscdk/awscdk-deps-js.ts",
9908
+ "line": 6
9909
+ },
9910
+ "methods": [
9911
+ {
9912
+ "docs": {
9913
+ "stability": "experimental",
9914
+ "summary": "Return a configuration object with information about package naming in various languages."
9915
+ },
9916
+ "locationInModule": {
9917
+ "filename": "src/awscdk/awscdk-deps-js.ts",
9918
+ "line": 7
9919
+ },
9920
+ "name": "packageNames",
9921
+ "overrides": "projen.awscdk.AwsCdkDeps",
9922
+ "protected": true,
9923
+ "returns": {
9924
+ "type": {
9925
+ "fqn": "projen.awscdk.AwsCdkPackageNames"
9926
+ }
9927
+ }
9928
+ }
9929
+ ],
9930
+ "name": "AwsCdkDepsJs",
9931
+ "namespace": "awscdk",
9932
+ "symbolId": "src/awscdk/awscdk-deps-js:AwsCdkDepsJs"
9933
+ },
9794
9934
  "projen.awscdk.AwsCdkDepsOptions": {
9795
9935
  "assembly": "projen",
9796
9936
  "datatype": true,
@@ -9804,7 +9944,7 @@
9804
9944
  "kind": "interface",
9805
9945
  "locationInModule": {
9806
9946
  "filename": "src/awscdk/awscdk-deps.ts",
9807
- "line": 82
9947
+ "line": 84
9808
9948
  },
9809
9949
  "name": "AwsCdkDepsOptions",
9810
9950
  "namespace": "awscdk",
@@ -9819,7 +9959,7 @@
9819
9959
  "immutable": true,
9820
9960
  "locationInModule": {
9821
9961
  "filename": "src/awscdk/awscdk-deps.ts",
9822
- "line": 88
9962
+ "line": 90
9823
9963
  },
9824
9964
  "name": "dependencyType",
9825
9965
  "type": {
@@ -9845,8 +9985,8 @@
9845
9985
  "stability": "experimental"
9846
9986
  },
9847
9987
  "locationInModule": {
9848
- "filename": "src/awscdk/java-app.ts",
9849
- "line": 70
9988
+ "filename": "src/awscdk/awscdk-app-java.ts",
9989
+ "line": 55
9850
9990
  },
9851
9991
  "parameters": [
9852
9992
  {
@@ -9859,24 +9999,25 @@
9859
9999
  },
9860
10000
  "kind": "class",
9861
10001
  "locationInModule": {
9862
- "filename": "src/awscdk/java-app.ts",
9863
- "line": 39
10002
+ "filename": "src/awscdk/awscdk-app-java.ts",
10003
+ "line": 24
9864
10004
  },
9865
10005
  "methods": [
9866
10006
  {
9867
10007
  "docs": {
9868
- "stability": "experimental",
10008
+ "deprecated": "In CDK 2.x all modules are available by default. Alpha modules should be added using the standard 'deps'",
10009
+ "stability": "deprecated",
9869
10010
  "summary": "Adds an AWS CDK module dependencies."
9870
10011
  },
9871
10012
  "locationInModule": {
9872
- "filename": "src/awscdk/java-app.ts",
9873
- "line": 114
10013
+ "filename": "src/awscdk/awscdk-app-java.ts",
10014
+ "line": 95
9874
10015
  },
9875
10016
  "name": "addCdkDependency",
9876
10017
  "parameters": [
9877
10018
  {
9878
10019
  "docs": {
9879
- "summary": "The list of modules to depend on (e.g. \"core\", \"aws-lambda\", etc)."
10020
+ "summary": "The list of modules to depend on (e.g. \"software.amazon.awscdk/aws-lambda\", \"software.amazon.awscdk/aws-iam\", etc)."
9880
10021
  },
9881
10022
  "name": "modules",
9882
10023
  "type": {
@@ -9898,8 +10039,8 @@
9898
10039
  },
9899
10040
  "immutable": true,
9900
10041
  "locationInModule": {
9901
- "filename": "src/awscdk/java-app.ts",
9902
- "line": 48
10042
+ "filename": "src/awscdk/awscdk-app-java.ts",
10043
+ "line": 28
9903
10044
  },
9904
10045
  "name": "cdkConfig",
9905
10046
  "type": {
@@ -9909,31 +10050,31 @@
9909
10050
  {
9910
10051
  "docs": {
9911
10052
  "stability": "experimental",
9912
- "summary": "CDK tasks."
10053
+ "summary": "CDK dependency management helper class."
9913
10054
  },
9914
10055
  "immutable": true,
9915
10056
  "locationInModule": {
9916
- "filename": "src/awscdk/java-app.ts",
9917
- "line": 58
10057
+ "filename": "src/awscdk/awscdk-app-java.ts",
10058
+ "line": 33
9918
10059
  },
9919
- "name": "cdkTasks",
10060
+ "name": "cdkDeps",
9920
10061
  "type": {
9921
- "fqn": "projen.awscdk.CdkTasks"
10062
+ "fqn": "projen.awscdk.AwsCdkDeps"
9922
10063
  }
9923
10064
  },
9924
10065
  {
9925
10066
  "docs": {
9926
10067
  "stability": "experimental",
9927
- "summary": "The CDK version this app is using."
10068
+ "summary": "CDK tasks."
9928
10069
  },
9929
10070
  "immutable": true,
9930
10071
  "locationInModule": {
9931
- "filename": "src/awscdk/java-app.ts",
10072
+ "filename": "src/awscdk/awscdk-app-java.ts",
9932
10073
  "line": 43
9933
10074
  },
9934
- "name": "cdkVersion",
10075
+ "name": "cdkTasks",
9935
10076
  "type": {
9936
- "primitive": "string"
10077
+ "fqn": "projen.awscdk.CdkTasks"
9937
10078
  }
9938
10079
  },
9939
10080
  {
@@ -9943,8 +10084,8 @@
9943
10084
  },
9944
10085
  "immutable": true,
9945
10086
  "locationInModule": {
9946
- "filename": "src/awscdk/java-app.ts",
9947
- "line": 53
10087
+ "filename": "src/awscdk/awscdk-app-java.ts",
10088
+ "line": 38
9948
10089
  },
9949
10090
  "name": "mainClass",
9950
10091
  "type": {
@@ -9958,8 +10099,8 @@
9958
10099
  },
9959
10100
  "immutable": true,
9960
10101
  "locationInModule": {
9961
- "filename": "src/awscdk/java-app.ts",
9962
- "line": 68
10102
+ "filename": "src/awscdk/awscdk-app-java.ts",
10103
+ "line": 53
9963
10104
  },
9964
10105
  "name": "mainClassName",
9965
10106
  "type": {
@@ -9973,8 +10114,8 @@
9973
10114
  },
9974
10115
  "immutable": true,
9975
10116
  "locationInModule": {
9976
- "filename": "src/awscdk/java-app.ts",
9977
- "line": 63
10117
+ "filename": "src/awscdk/awscdk-app-java.ts",
10118
+ "line": 48
9978
10119
  },
9979
10120
  "name": "mainPackage",
9980
10121
  "type": {
@@ -9982,7 +10123,7 @@
9982
10123
  }
9983
10124
  }
9984
10125
  ],
9985
- "symbolId": "src/awscdk/java-app:AwsCdkJavaApp"
10126
+ "symbolId": "src/awscdk/awscdk-app-java:AwsCdkJavaApp"
9986
10127
  },
9987
10128
  "projen.awscdk.AwsCdkJavaAppOptions": {
9988
10129
  "assembly": "projen",
@@ -9993,12 +10134,13 @@
9993
10134
  "fqn": "projen.awscdk.AwsCdkJavaAppOptions",
9994
10135
  "interfaces": [
9995
10136
  "projen.java.JavaProjectOptions",
9996
- "projen.awscdk.CdkConfigCommonOptions"
10137
+ "projen.awscdk.CdkConfigCommonOptions",
10138
+ "projen.awscdk.AwsCdkDepsCommonOptions"
9997
10139
  ],
9998
10140
  "kind": "interface",
9999
10141
  "locationInModule": {
10000
- "filename": "src/awscdk/java-app.ts",
10001
- "line": 8
10142
+ "filename": "src/awscdk/awscdk-app-java.ts",
10143
+ "line": 9
10002
10144
  },
10003
10145
  "name": "AwsCdkJavaAppOptions",
10004
10146
  "namespace": "awscdk",
@@ -10006,34 +10148,52 @@
10006
10148
  {
10007
10149
  "abstract": true,
10008
10150
  "docs": {
10009
- "default": "\"^1.130.0\"",
10151
+ "default": "\"org.acme.MyApp\"",
10152
+ "remarks": "This method\nshould call `app.synth()` on the CDK app.",
10010
10153
  "stability": "experimental",
10011
- "summary": "AWS CDK version to use (you can use semantic versioning)."
10154
+ "summary": "The name of the Java class with the static `main()` method."
10012
10155
  },
10013
10156
  "immutable": true,
10014
10157
  "locationInModule": {
10015
- "filename": "src/awscdk/java-app.ts",
10016
- "line": 14
10158
+ "filename": "src/awscdk/awscdk-app-java.ts",
10159
+ "line": 16
10017
10160
  },
10018
- "name": "cdkVersion",
10161
+ "name": "mainClass",
10019
10162
  "type": {
10020
10163
  "primitive": "string"
10021
10164
  }
10022
- },
10165
+ }
10166
+ ],
10167
+ "symbolId": "src/awscdk/awscdk-app-java:AwsCdkJavaAppOptions"
10168
+ },
10169
+ "projen.awscdk.AwsCdkPackageNames": {
10170
+ "assembly": "projen",
10171
+ "datatype": true,
10172
+ "docs": {
10173
+ "stability": "experimental",
10174
+ "summary": "Language-specific AWS CDK package names."
10175
+ },
10176
+ "fqn": "projen.awscdk.AwsCdkPackageNames",
10177
+ "kind": "interface",
10178
+ "locationInModule": {
10179
+ "filename": "src/awscdk/awscdk-deps.ts",
10180
+ "line": 96
10181
+ },
10182
+ "name": "AwsCdkPackageNames",
10183
+ "namespace": "awscdk",
10184
+ "properties": [
10023
10185
  {
10024
10186
  "abstract": true,
10025
10187
  "docs": {
10026
- "default": "\"org.acme.App\"",
10027
- "remarks": "This method\nshould call `app.synth()` on the CDK app.",
10028
10188
  "stability": "experimental",
10029
- "summary": "The name of the Java class with the static `main()` method."
10189
+ "summary": "Fully qualified name of the assertions library package."
10030
10190
  },
10031
10191
  "immutable": true,
10032
10192
  "locationInModule": {
10033
- "filename": "src/awscdk/java-app.ts",
10034
- "line": 31
10193
+ "filename": "src/awscdk/awscdk-deps.ts",
10194
+ "line": 112
10035
10195
  },
10036
- "name": "mainClass",
10196
+ "name": "assertions",
10037
10197
  "type": {
10038
10198
  "primitive": "string"
10039
10199
  }
@@ -10041,50 +10201,89 @@
10041
10201
  {
10042
10202
  "abstract": true,
10043
10203
  "docs": {
10044
- "custom": {
10045
- "featured": "true"
10046
- },
10047
- "remarks": "The `core` module is included by\ndefault and you can add additional modules here by stating only the package\nname (e.g. `aws-lambda`).",
10048
10204
  "stability": "experimental",
10049
- "summary": "Which AWS CDK modules this app uses."
10205
+ "summary": "Fully qualified name of the constructs library package."
10050
10206
  },
10051
10207
  "immutable": true,
10052
10208
  "locationInModule": {
10053
- "filename": "src/awscdk/java-app.ts",
10054
- "line": 23
10209
+ "filename": "src/awscdk/awscdk-deps.ts",
10210
+ "line": 108
10055
10211
  },
10056
- "name": "cdkDependencies",
10057
- "optional": true,
10212
+ "name": "constructs",
10058
10213
  "type": {
10059
- "collection": {
10060
- "elementtype": {
10061
- "primitive": "string"
10062
- },
10063
- "kind": "array"
10064
- }
10214
+ "primitive": "string"
10065
10215
  }
10066
- }
10067
- ],
10068
- "symbolId": "src/awscdk/java-app:AwsCdkJavaAppOptions"
10069
- },
10070
- "projen.awscdk.AwsCdkTypeScriptApp": {
10071
- "assembly": "projen",
10072
- "base": "projen.typescript.TypeScriptAppProject",
10073
- "docs": {
10074
- "custom": {
10075
- "pjid": "awscdk-app-ts"
10076
10216
  },
10077
- "stability": "experimental",
10078
- "summary": "AWS CDK app in TypeScript."
10079
- },
10080
- "fqn": "projen.awscdk.AwsCdkTypeScriptApp",
10081
- "initializer": {
10082
- "docs": {
10083
- "stability": "experimental"
10217
+ {
10218
+ "abstract": true,
10219
+ "docs": {
10220
+ "stability": "experimental",
10221
+ "summary": "Fully qualified name of the core framework package for CDKv1."
10222
+ },
10223
+ "immutable": true,
10224
+ "locationInModule": {
10225
+ "filename": "src/awscdk/awscdk-deps.ts",
10226
+ "line": 100
10227
+ },
10228
+ "name": "coreV1",
10229
+ "type": {
10230
+ "primitive": "string"
10231
+ }
10232
+ },
10233
+ {
10234
+ "abstract": true,
10235
+ "docs": {
10236
+ "stability": "experimental",
10237
+ "summary": "Fully qualified name of the core framework package for CDKv2."
10238
+ },
10239
+ "immutable": true,
10240
+ "locationInModule": {
10241
+ "filename": "src/awscdk/awscdk-deps.ts",
10242
+ "line": 104
10243
+ },
10244
+ "name": "coreV2",
10245
+ "type": {
10246
+ "primitive": "string"
10247
+ }
10248
+ },
10249
+ {
10250
+ "abstract": true,
10251
+ "docs": {
10252
+ "stability": "experimental",
10253
+ "summary": "Fully qualified name of the assert library package Can be empty as it's only really available for javascript projects."
10254
+ },
10255
+ "immutable": true,
10256
+ "locationInModule": {
10257
+ "filename": "src/awscdk/awscdk-deps.ts",
10258
+ "line": 117
10259
+ },
10260
+ "name": "assert",
10261
+ "optional": true,
10262
+ "type": {
10263
+ "primitive": "string"
10264
+ }
10265
+ }
10266
+ ],
10267
+ "symbolId": "src/awscdk/awscdk-deps:AwsCdkPackageNames"
10268
+ },
10269
+ "projen.awscdk.AwsCdkTypeScriptApp": {
10270
+ "assembly": "projen",
10271
+ "base": "projen.typescript.TypeScriptAppProject",
10272
+ "docs": {
10273
+ "custom": {
10274
+ "pjid": "awscdk-app-ts"
10275
+ },
10276
+ "stability": "experimental",
10277
+ "summary": "AWS CDK app in TypeScript."
10278
+ },
10279
+ "fqn": "projen.awscdk.AwsCdkTypeScriptApp",
10280
+ "initializer": {
10281
+ "docs": {
10282
+ "stability": "experimental"
10084
10283
  },
10085
10284
  "locationInModule": {
10086
10285
  "filename": "src/awscdk/awscdk-app-ts.ts",
10087
- "line": 66
10286
+ "line": 67
10088
10287
  },
10089
10288
  "parameters": [
10090
10289
  {
@@ -10098,7 +10297,7 @@
10098
10297
  "kind": "class",
10099
10298
  "locationInModule": {
10100
10299
  "filename": "src/awscdk/awscdk-app-ts.ts",
10101
- "line": 43
10300
+ "line": 44
10102
10301
  },
10103
10302
  "methods": [
10104
10303
  {
@@ -10108,7 +10307,7 @@
10108
10307
  },
10109
10308
  "locationInModule": {
10110
10309
  "filename": "src/awscdk/awscdk-app-ts.ts",
10111
- "line": 152
10310
+ "line": 153
10112
10311
  },
10113
10312
  "name": "addCdkDependency",
10114
10313
  "parameters": [
@@ -10137,7 +10336,7 @@
10137
10336
  "immutable": true,
10138
10337
  "locationInModule": {
10139
10338
  "filename": "src/awscdk/awscdk-app-ts.ts",
10140
- "line": 52
10339
+ "line": 53
10141
10340
  },
10142
10341
  "name": "appEntrypoint",
10143
10342
  "type": {
@@ -10152,7 +10351,7 @@
10152
10351
  "immutable": true,
10153
10352
  "locationInModule": {
10154
10353
  "filename": "src/awscdk/awscdk-app-ts.ts",
10155
- "line": 62
10354
+ "line": 63
10156
10355
  },
10157
10356
  "name": "cdkConfig",
10158
10357
  "type": {
@@ -10166,7 +10365,7 @@
10166
10365
  "immutable": true,
10167
10366
  "locationInModule": {
10168
10367
  "filename": "src/awscdk/awscdk-app-ts.ts",
10169
- "line": 64
10368
+ "line": 65
10170
10369
  },
10171
10370
  "name": "cdkDeps",
10172
10371
  "type": {
@@ -10181,7 +10380,7 @@
10181
10380
  "immutable": true,
10182
10381
  "locationInModule": {
10183
10382
  "filename": "src/awscdk/awscdk-app-ts.ts",
10184
- "line": 57
10383
+ "line": 58
10185
10384
  },
10186
10385
  "name": "cdkTasks",
10187
10386
  "type": {
@@ -10196,7 +10395,7 @@
10196
10395
  "immutable": true,
10197
10396
  "locationInModule": {
10198
10397
  "filename": "src/awscdk/awscdk-app-ts.ts",
10199
- "line": 47
10398
+ "line": 48
10200
10399
  },
10201
10400
  "name": "cdkVersion",
10202
10401
  "type": {
@@ -10221,7 +10420,7 @@
10221
10420
  "kind": "interface",
10222
10421
  "locationInModule": {
10223
10422
  "filename": "src/awscdk/awscdk-app-ts.ts",
10224
- "line": 12
10423
+ "line": 13
10225
10424
  },
10226
10425
  "name": "AwsCdkTypeScriptAppOptions",
10227
10426
  "namespace": "awscdk",
@@ -10236,7 +10435,7 @@
10236
10435
  "immutable": true,
10237
10436
  "locationInModule": {
10238
10437
  "filename": "src/awscdk/awscdk-app-ts.ts",
10239
- "line": 19
10438
+ "line": 20
10240
10439
  },
10241
10440
  "name": "appEntrypoint",
10242
10441
  "optional": true,
@@ -10254,7 +10453,7 @@
10254
10453
  "immutable": true,
10255
10454
  "locationInModule": {
10256
10455
  "filename": "src/awscdk/awscdk-app-ts.ts",
10257
- "line": 28
10456
+ "line": 29
10258
10457
  },
10259
10458
  "name": "lambdaAutoDiscover",
10260
10459
  "optional": true,
@@ -10272,7 +10471,7 @@
10272
10471
  "immutable": true,
10273
10472
  "locationInModule": {
10274
10473
  "filename": "src/awscdk/awscdk-app-ts.ts",
10275
- "line": 35
10474
+ "line": 36
10276
10475
  },
10277
10476
  "name": "lambdaOptions",
10278
10477
  "optional": true,
@@ -10694,7 +10893,7 @@
10694
10893
  },
10695
10894
  "locationInModule": {
10696
10895
  "filename": "src/awscdk/awscdk-construct.ts",
10697
- "line": 42
10896
+ "line": 43
10698
10897
  },
10699
10898
  "parameters": [
10700
10899
  {
@@ -10708,7 +10907,7 @@
10708
10907
  "kind": "class",
10709
10908
  "locationInModule": {
10710
10909
  "filename": "src/awscdk/awscdk-construct.ts",
10711
- "line": 136
10910
+ "line": 137
10712
10911
  },
10713
10912
  "name": "ConstructLibraryAws",
10714
10913
  "namespace": "awscdk",
@@ -10728,7 +10927,7 @@
10728
10927
  "kind": "interface",
10729
10928
  "locationInModule": {
10730
10929
  "filename": "src/awscdk/awscdk-construct.ts",
10731
- "line": 133
10930
+ "line": 134
10732
10931
  },
10733
10932
  "name": "ConstructLibraryAwsOptions",
10734
10933
  "namespace": "awscdk",
@@ -19493,7 +19692,7 @@
19493
19692
  },
19494
19693
  "locationInModule": {
19495
19694
  "filename": "src/java/java-project.ts",
19496
- "line": 141
19695
+ "line": 142
19497
19696
  },
19498
19697
  "parameters": [
19499
19698
  {
@@ -19507,7 +19706,7 @@
19507
19706
  "kind": "class",
19508
19707
  "locationInModule": {
19509
19708
  "filename": "src/java/java-project.ts",
19510
- "line": 110
19709
+ "line": 111
19511
19710
  },
19512
19711
  "methods": [
19513
19712
  {
@@ -19517,7 +19716,7 @@
19517
19716
  },
19518
19717
  "locationInModule": {
19519
19718
  "filename": "src/java/java-project.ts",
19520
- "line": 198
19719
+ "line": 199
19521
19720
  },
19522
19721
  "name": "addDependency",
19523
19722
  "parameters": [
@@ -19540,7 +19739,7 @@
19540
19739
  },
19541
19740
  "locationInModule": {
19542
19741
  "filename": "src/java/java-project.ts",
19543
- "line": 219
19742
+ "line": 220
19544
19743
  },
19545
19744
  "name": "addPlugin",
19546
19745
  "parameters": [
@@ -19577,7 +19776,7 @@
19577
19776
  },
19578
19777
  "locationInModule": {
19579
19778
  "filename": "src/java/java-project.ts",
19580
- "line": 207
19779
+ "line": 208
19581
19780
  },
19582
19781
  "name": "addTestDependency",
19583
19782
  "parameters": [
@@ -19604,7 +19803,7 @@
19604
19803
  "immutable": true,
19605
19804
  "locationInModule": {
19606
19805
  "filename": "src/java/java-project.ts",
19607
- "line": 129
19806
+ "line": 130
19608
19807
  },
19609
19808
  "name": "compile",
19610
19809
  "type": {
@@ -19619,7 +19818,7 @@
19619
19818
  "immutable": true,
19620
19819
  "locationInModule": {
19621
19820
  "filename": "src/java/java-project.ts",
19622
- "line": 139
19821
+ "line": 140
19623
19822
  },
19624
19823
  "name": "distdir",
19625
19824
  "type": {
@@ -19634,7 +19833,7 @@
19634
19833
  "immutable": true,
19635
19834
  "locationInModule": {
19636
19835
  "filename": "src/java/java-project.ts",
19637
- "line": 124
19836
+ "line": 125
19638
19837
  },
19639
19838
  "name": "packaging",
19640
19839
  "type": {
@@ -19649,7 +19848,7 @@
19649
19848
  "immutable": true,
19650
19849
  "locationInModule": {
19651
19850
  "filename": "src/java/java-project.ts",
19652
- "line": 114
19851
+ "line": 115
19653
19852
  },
19654
19853
  "name": "pom",
19655
19854
  "type": {
@@ -19664,7 +19863,7 @@
19664
19863
  "immutable": true,
19665
19864
  "locationInModule": {
19666
19865
  "filename": "src/java/java-project.ts",
19667
- "line": 119
19866
+ "line": 120
19668
19867
  },
19669
19868
  "name": "junit",
19670
19869
  "optional": true,
@@ -19680,7 +19879,7 @@
19680
19879
  "immutable": true,
19681
19880
  "locationInModule": {
19682
19881
  "filename": "src/java/java-project.ts",
19683
- "line": 134
19882
+ "line": 135
19684
19883
  },
19685
19884
  "name": "projenrc",
19686
19885
  "optional": true,
@@ -19917,13 +20116,14 @@
19917
20116
  {
19918
20117
  "abstract": true,
19919
20118
  "docs": {
20119
+ "default": "true",
19920
20120
  "stability": "experimental",
19921
20121
  "summary": "Include sample code and test if the relevant directories don't exist."
19922
20122
  },
19923
20123
  "immutable": true,
19924
20124
  "locationInModule": {
19925
20125
  "filename": "src/java/java-project.ts",
19926
- "line": 96
20126
+ "line": 97
19927
20127
  },
19928
20128
  "name": "sample",
19929
20129
  "optional": true,
@@ -19941,7 +20141,7 @@
19941
20141
  "immutable": true,
19942
20142
  "locationInModule": {
19943
20143
  "filename": "src/java/java-project.ts",
19944
- "line": 102
20144
+ "line": 103
19945
20145
  },
19946
20146
  "name": "sampleJavaPackage",
19947
20147
  "optional": true,
@@ -21156,18 +21356,22 @@
21156
21356
  "kind": "enum",
21157
21357
  "locationInModule": {
21158
21358
  "filename": "src/javascript/prettier.ts",
21159
- "line": 227
21359
+ "line": 200
21160
21360
  },
21161
21361
  "members": [
21162
21362
  {
21163
21363
  "docs": {
21164
- "stability": "experimental"
21364
+ "remarks": "Example: `(x) => x`",
21365
+ "stability": "experimental",
21366
+ "summary": "Always include parens."
21165
21367
  },
21166
21368
  "name": "ALWAYS"
21167
21369
  },
21168
21370
  {
21169
21371
  "docs": {
21170
- "stability": "experimental"
21372
+ "remarks": "Example: `x => x`",
21373
+ "stability": "experimental",
21374
+ "summary": "Omit parens when possible."
21171
21375
  },
21172
21376
  "name": "AVOID"
21173
21377
  }
@@ -21186,7 +21390,7 @@
21186
21390
  "kind": "enum",
21187
21391
  "locationInModule": {
21188
21392
  "filename": "src/javascript/node-project.ts",
21189
- "line": 322
21393
+ "line": 315
21190
21394
  },
21191
21395
  "members": [
21192
21396
  {
@@ -21598,7 +21802,7 @@
21598
21802
  "kind": "interface",
21599
21803
  "locationInModule": {
21600
21804
  "filename": "src/javascript/node-package.ts",
21601
- "line": 285
21805
+ "line": 286
21602
21806
  },
21603
21807
  "name": "CodeArtifactOptions",
21604
21808
  "namespace": "javascript",
@@ -21614,7 +21818,7 @@
21614
21818
  "immutable": true,
21615
21819
  "locationInModule": {
21616
21820
  "filename": "src/javascript/node-package.ts",
21617
- "line": 292
21821
+ "line": 293
21618
21822
  },
21619
21823
  "name": "accessKeyIdSecret",
21620
21824
  "optional": true,
@@ -21632,7 +21836,7 @@
21632
21836
  "immutable": true,
21633
21837
  "locationInModule": {
21634
21838
  "filename": "src/javascript/node-package.ts",
21635
- "line": 308
21839
+ "line": 309
21636
21840
  },
21637
21841
  "name": "roleToAssume",
21638
21842
  "optional": true,
@@ -21651,7 +21855,7 @@
21651
21855
  "immutable": true,
21652
21856
  "locationInModule": {
21653
21857
  "filename": "src/javascript/node-package.ts",
21654
- "line": 300
21858
+ "line": 301
21655
21859
  },
21656
21860
  "name": "secretAccessKeySecret",
21657
21861
  "optional": true,
@@ -21753,18 +21957,20 @@
21753
21957
  "kind": "enum",
21754
21958
  "locationInModule": {
21755
21959
  "filename": "src/javascript/prettier.ts",
21756
- "line": 232
21960
+ "line": 212
21757
21961
  },
21758
21962
  "members": [
21759
21963
  {
21760
21964
  "docs": {
21761
- "stability": "experimental"
21965
+ "stability": "experimental",
21966
+ "summary": "Format embedded code if Prettier can automatically identify it."
21762
21967
  },
21763
21968
  "name": "AUTO"
21764
21969
  },
21765
21970
  {
21766
21971
  "docs": {
21767
- "stability": "experimental"
21972
+ "stability": "experimental",
21973
+ "summary": "Never automatically format embedded code."
21768
21974
  },
21769
21975
  "name": "OFF"
21770
21976
  }
@@ -21782,30 +21988,34 @@
21782
21988
  "kind": "enum",
21783
21989
  "locationInModule": {
21784
21990
  "filename": "src/javascript/prettier.ts",
21785
- "line": 237
21991
+ "line": 224
21786
21992
  },
21787
21993
  "members": [
21788
21994
  {
21789
21995
  "docs": {
21790
- "stability": "experimental"
21996
+ "stability": "experimental",
21997
+ "summary": "Maintain existing (mixed values within one file are normalised by looking at what's used after the first line)."
21791
21998
  },
21792
21999
  "name": "AUTO"
21793
22000
  },
21794
22001
  {
21795
22002
  "docs": {
21796
- "stability": "experimental"
22003
+ "stability": "experimental",
22004
+ "summary": "Carriage Return character only (\\r), used very rarely."
21797
22005
  },
21798
22006
  "name": "CR"
21799
22007
  },
21800
22008
  {
21801
22009
  "docs": {
21802
- "stability": "experimental"
22010
+ "stability": "experimental",
22011
+ "summary": "Carriage Return + Line Feed characters (\\r\\n), common on Windows."
21803
22012
  },
21804
22013
  "name": "CRLF"
21805
22014
  },
21806
22015
  {
21807
22016
  "docs": {
21808
- "stability": "experimental"
22017
+ "stability": "experimental",
22018
+ "summary": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos."
21809
22019
  },
21810
22020
  "name": "LF"
21811
22021
  }
@@ -21828,7 +22038,7 @@
21828
22038
  },
21829
22039
  "locationInModule": {
21830
22040
  "filename": "src/javascript/eslint.ts",
21831
- "line": 123
22041
+ "line": 127
21832
22042
  },
21833
22043
  "parameters": [
21834
22044
  {
@@ -21877,6 +22087,30 @@
21877
22087
  },
21878
22088
  "static": true
21879
22089
  },
22090
+ {
22091
+ "docs": {
22092
+ "stability": "experimental",
22093
+ "summary": "Adds an `extends` item to the eslint configuration."
22094
+ },
22095
+ "locationInModule": {
22096
+ "filename": "src/javascript/eslint.ts",
22097
+ "line": 392
22098
+ },
22099
+ "name": "addExtends",
22100
+ "parameters": [
22101
+ {
22102
+ "docs": {
22103
+ "summary": "The list of \"extends\" to add."
22104
+ },
22105
+ "name": "extendList",
22106
+ "type": {
22107
+ "primitive": "string"
22108
+ },
22109
+ "variadic": true
22110
+ }
22111
+ ],
22112
+ "variadic": true
22113
+ },
21880
22114
  {
21881
22115
  "docs": {
21882
22116
  "stability": "experimental",
@@ -21884,7 +22118,7 @@
21884
22118
  },
21885
22119
  "locationInModule": {
21886
22120
  "filename": "src/javascript/eslint.ts",
21887
- "line": 385
22121
+ "line": 384
21888
22122
  },
21889
22123
  "name": "addIgnorePattern",
21890
22124
  "parameters": [
@@ -21903,7 +22137,7 @@
21903
22137
  },
21904
22138
  "locationInModule": {
21905
22139
  "filename": "src/javascript/eslint.ts",
21906
- "line": 378
22140
+ "line": 377
21907
22141
  },
21908
22142
  "name": "addOverride",
21909
22143
  "parameters": [
@@ -21915,6 +22149,27 @@
21915
22149
  }
21916
22150
  ]
21917
22151
  },
22152
+ {
22153
+ "docs": {
22154
+ "stability": "experimental",
22155
+ "summary": "Adds an eslint plugin."
22156
+ },
22157
+ "locationInModule": {
22158
+ "filename": "src/javascript/eslint.ts",
22159
+ "line": 370
22160
+ },
22161
+ "name": "addPlugins",
22162
+ "parameters": [
22163
+ {
22164
+ "name": "plugins",
22165
+ "type": {
22166
+ "primitive": "string"
22167
+ },
22168
+ "variadic": true
22169
+ }
22170
+ ],
22171
+ "variadic": true
22172
+ },
21918
22173
  {
21919
22174
  "docs": {
21920
22175
  "stability": "experimental",
@@ -21922,7 +22177,7 @@
21922
22177
  },
21923
22178
  "locationInModule": {
21924
22179
  "filename": "src/javascript/eslint.ts",
21925
- "line": 369
22180
+ "line": 360
21926
22181
  },
21927
22182
  "name": "addRules",
21928
22183
  "parameters": [
@@ -21946,7 +22201,7 @@
21946
22201
  },
21947
22202
  "locationInModule": {
21948
22203
  "filename": "src/javascript/eslint.ts",
21949
- "line": 393
22204
+ "line": 400
21950
22205
  },
21951
22206
  "name": "allowDevDeps",
21952
22207
  "parameters": [
@@ -22346,24 +22601,27 @@
22346
22601
  "kind": "enum",
22347
22602
  "locationInModule": {
22348
22603
  "filename": "src/javascript/prettier.ts",
22349
- "line": 244
22604
+ "line": 247
22350
22605
  },
22351
22606
  "members": [
22352
22607
  {
22353
22608
  "docs": {
22354
- "stability": "experimental"
22609
+ "stability": "experimental",
22610
+ "summary": "Respect the default value of CSS display property."
22355
22611
  },
22356
22612
  "name": "CSS"
22357
22613
  },
22358
22614
  {
22359
22615
  "docs": {
22360
- "stability": "experimental"
22616
+ "stability": "experimental",
22617
+ "summary": "Whitespaces are considered insignificant."
22361
22618
  },
22362
22619
  "name": "IGNORE"
22363
22620
  },
22364
22621
  {
22365
22622
  "docs": {
22366
- "stability": "experimental"
22623
+ "stability": "experimental",
22624
+ "summary": "Whitespaces are considered significant."
22367
22625
  },
22368
22626
  "name": "STRICT"
22369
22627
  }
@@ -24243,7 +24501,7 @@
24243
24501
  },
24244
24502
  "locationInModule": {
24245
24503
  "filename": "src/javascript/node-package.ts",
24246
- "line": 398
24504
+ "line": 399
24247
24505
  },
24248
24506
  "parameters": [
24249
24507
  {
@@ -24264,7 +24522,7 @@
24264
24522
  "kind": "class",
24265
24523
  "locationInModule": {
24266
24524
  "filename": "src/javascript/node-package.ts",
24267
- "line": 315
24525
+ "line": 316
24268
24526
  },
24269
24527
  "methods": [
24270
24528
  {
@@ -24273,7 +24531,7 @@
24273
24531
  },
24274
24532
  "locationInModule": {
24275
24533
  "filename": "src/javascript/node-package.ts",
24276
- "line": 580
24534
+ "line": 581
24277
24535
  },
24278
24536
  "name": "addBin",
24279
24537
  "parameters": [
@@ -24298,7 +24556,7 @@
24298
24556
  },
24299
24557
  "locationInModule": {
24300
24558
  "filename": "src/javascript/node-package.ts",
24301
- "line": 551
24559
+ "line": 552
24302
24560
  },
24303
24561
  "name": "addBundledDeps",
24304
24562
  "parameters": [
@@ -24323,7 +24581,7 @@
24323
24581
  },
24324
24582
  "locationInModule": {
24325
24583
  "filename": "src/javascript/node-package.ts",
24326
- "line": 494
24584
+ "line": 495
24327
24585
  },
24328
24586
  "name": "addDeps",
24329
24587
  "parameters": [
@@ -24348,7 +24606,7 @@
24348
24606
  },
24349
24607
  "locationInModule": {
24350
24608
  "filename": "src/javascript/node-package.ts",
24351
- "line": 509
24609
+ "line": 510
24352
24610
  },
24353
24611
  "name": "addDevDeps",
24354
24612
  "parameters": [
@@ -24373,7 +24631,7 @@
24373
24631
  },
24374
24632
  "locationInModule": {
24375
24633
  "filename": "src/javascript/node-package.ts",
24376
- "line": 566
24634
+ "line": 567
24377
24635
  },
24378
24636
  "name": "addEngine",
24379
24637
  "parameters": [
@@ -24407,7 +24665,7 @@
24407
24665
  },
24408
24666
  "locationInModule": {
24409
24667
  "filename": "src/javascript/node-package.ts",
24410
- "line": 620
24668
+ "line": 621
24411
24669
  },
24412
24670
  "name": "addField",
24413
24671
  "parameters": [
@@ -24438,7 +24696,7 @@
24438
24696
  },
24439
24697
  "locationInModule": {
24440
24698
  "filename": "src/javascript/node-package.ts",
24441
- "line": 574
24699
+ "line": 575
24442
24700
  },
24443
24701
  "name": "addKeywords",
24444
24702
  "parameters": [
@@ -24463,7 +24721,7 @@
24463
24721
  },
24464
24722
  "locationInModule": {
24465
24723
  "filename": "src/javascript/node-package.ts",
24466
- "line": 529
24724
+ "line": 530
24467
24725
  },
24468
24726
  "name": "addPeerDeps",
24469
24727
  "parameters": [
@@ -24488,7 +24746,7 @@
24488
24746
  },
24489
24747
  "locationInModule": {
24490
24748
  "filename": "src/javascript/node-package.ts",
24491
- "line": 628
24749
+ "line": 629
24492
24750
  },
24493
24751
  "name": "addVersion",
24494
24752
  "parameters": [
@@ -24511,7 +24769,7 @@
24511
24769
  },
24512
24770
  "locationInModule": {
24513
24771
  "filename": "src/javascript/node-package.ts",
24514
- "line": 610
24772
+ "line": 611
24515
24773
  },
24516
24774
  "name": "hasScript",
24517
24775
  "parameters": [
@@ -24539,7 +24797,7 @@
24539
24797
  },
24540
24798
  "locationInModule": {
24541
24799
  "filename": "src/javascript/node-package.ts",
24542
- "line": 697
24800
+ "line": 698
24543
24801
  },
24544
24802
  "name": "postSynthesize",
24545
24803
  "overrides": "projen.Component"
@@ -24551,7 +24809,7 @@
24551
24809
  },
24552
24810
  "locationInModule": {
24553
24811
  "filename": "src/javascript/node-package.ts",
24554
- "line": 692
24812
+ "line": 693
24555
24813
  },
24556
24814
  "name": "preSynthesize",
24557
24815
  "overrides": "projen.Component"
@@ -24563,7 +24821,7 @@
24563
24821
  },
24564
24822
  "locationInModule": {
24565
24823
  "filename": "src/javascript/node-package.ts",
24566
- "line": 600
24824
+ "line": 601
24567
24825
  },
24568
24826
  "name": "removeScript",
24569
24827
  "parameters": [
@@ -24585,7 +24843,7 @@
24585
24843
  },
24586
24844
  "locationInModule": {
24587
24845
  "filename": "src/javascript/node-package.ts",
24588
- "line": 649
24846
+ "line": 650
24589
24847
  },
24590
24848
  "name": "renderUpgradePackagesCommand",
24591
24849
  "parameters": [
@@ -24626,7 +24884,7 @@
24626
24884
  },
24627
24885
  "locationInModule": {
24628
24886
  "filename": "src/javascript/node-package.ts",
24629
- "line": 592
24887
+ "line": 593
24630
24888
  },
24631
24889
  "name": "setScript",
24632
24890
  "parameters": [
@@ -24662,7 +24920,7 @@
24662
24920
  "immutable": true,
24663
24921
  "locationInModule": {
24664
24922
  "filename": "src/javascript/node-package.ts",
24665
- "line": 330
24923
+ "line": 331
24666
24924
  },
24667
24925
  "name": "allowLibraryDependencies",
24668
24926
  "type": {
@@ -24677,7 +24935,7 @@
24677
24935
  "immutable": true,
24678
24936
  "locationInModule": {
24679
24937
  "filename": "src/javascript/node-package.ts",
24680
- "line": 325
24938
+ "line": 326
24681
24939
  },
24682
24940
  "name": "entrypoint",
24683
24941
  "type": {
@@ -24692,7 +24950,7 @@
24692
24950
  "immutable": true,
24693
24951
  "locationInModule": {
24694
24952
  "filename": "src/javascript/node-package.ts",
24695
- "line": 642
24953
+ "line": 643
24696
24954
  },
24697
24955
  "name": "installAndUpdateLockfileCommand",
24698
24956
  "type": {
@@ -24707,7 +24965,7 @@
24707
24965
  "immutable": true,
24708
24966
  "locationInModule": {
24709
24967
  "filename": "src/javascript/node-package.ts",
24710
- "line": 635
24968
+ "line": 636
24711
24969
  },
24712
24970
  "name": "installCommand",
24713
24971
  "type": {
@@ -24722,7 +24980,7 @@
24722
24980
  "immutable": true,
24723
24981
  "locationInModule": {
24724
24982
  "filename": "src/javascript/node-package.ts",
24725
- "line": 389
24983
+ "line": 390
24726
24984
  },
24727
24985
  "name": "lockFile",
24728
24986
  "type": {
@@ -24737,7 +24995,7 @@
24737
24995
  "immutable": true,
24738
24996
  "locationInModule": {
24739
24997
  "filename": "src/javascript/node-package.ts",
24740
- "line": 340
24998
+ "line": 341
24741
24999
  },
24742
25000
  "name": "manifest",
24743
25001
  "type": {
@@ -24752,7 +25010,7 @@
24752
25010
  "immutable": true,
24753
25011
  "locationInModule": {
24754
25012
  "filename": "src/javascript/node-package.ts",
24755
- "line": 384
25013
+ "line": 385
24756
25014
  },
24757
25015
  "name": "npmAccess",
24758
25016
  "type": {
@@ -24767,7 +25025,7 @@
24767
25025
  "immutable": true,
24768
25026
  "locationInModule": {
24769
25027
  "filename": "src/javascript/node-package.ts",
24770
- "line": 367
25028
+ "line": 368
24771
25029
  },
24772
25030
  "name": "npmRegistry",
24773
25031
  "type": {
@@ -24782,7 +25040,7 @@
24782
25040
  "immutable": true,
24783
25041
  "locationInModule": {
24784
25042
  "filename": "src/javascript/node-package.ts",
24785
- "line": 362
25043
+ "line": 363
24786
25044
  },
24787
25045
  "name": "npmRegistryUrl",
24788
25046
  "type": {
@@ -24797,7 +25055,7 @@
24797
25055
  "immutable": true,
24798
25056
  "locationInModule": {
24799
25057
  "filename": "src/javascript/node-package.ts",
24800
- "line": 335
25058
+ "line": 336
24801
25059
  },
24802
25060
  "name": "packageManager",
24803
25061
  "type": {
@@ -24812,7 +25070,7 @@
24812
25070
  "immutable": true,
24813
25071
  "locationInModule": {
24814
25072
  "filename": "src/javascript/node-package.ts",
24815
- "line": 320
25073
+ "line": 321
24816
25074
  },
24817
25075
  "name": "packageName",
24818
25076
  "type": {
@@ -24827,7 +25085,7 @@
24827
25085
  "immutable": true,
24828
25086
  "locationInModule": {
24829
25087
  "filename": "src/javascript/node-package.ts",
24830
- "line": 714
25088
+ "line": 717
24831
25089
  },
24832
25090
  "name": "projenCommand",
24833
25091
  "type": {
@@ -24843,7 +25101,7 @@
24843
25101
  "immutable": true,
24844
25102
  "locationInModule": {
24845
25103
  "filename": "src/javascript/node-package.ts",
24846
- "line": 379
25104
+ "line": 380
24847
25105
  },
24848
25106
  "name": "codeArtifactOptions",
24849
25107
  "optional": true,
@@ -24860,7 +25118,7 @@
24860
25118
  "immutable": true,
24861
25119
  "locationInModule": {
24862
25120
  "filename": "src/javascript/node-package.ts",
24863
- "line": 357
25121
+ "line": 358
24864
25122
  },
24865
25123
  "name": "license",
24866
25124
  "optional": true,
@@ -24877,7 +25135,7 @@
24877
25135
  "immutable": true,
24878
25136
  "locationInModule": {
24879
25137
  "filename": "src/javascript/node-package.ts",
24880
- "line": 352
25138
+ "line": 353
24881
25139
  },
24882
25140
  "name": "maxNodeVersion",
24883
25141
  "optional": true,
@@ -24894,7 +25152,7 @@
24894
25152
  "immutable": true,
24895
25153
  "locationInModule": {
24896
25154
  "filename": "src/javascript/node-package.ts",
24897
- "line": 346
25155
+ "line": 347
24898
25156
  },
24899
25157
  "name": "minNodeVersion",
24900
25158
  "optional": true,
@@ -24910,7 +25168,7 @@
24910
25168
  "immutable": true,
24911
25169
  "locationInModule": {
24912
25170
  "filename": "src/javascript/node-package.ts",
24913
- "line": 372
25171
+ "line": 373
24914
25172
  },
24915
25173
  "name": "npmTokenSecret",
24916
25174
  "optional": true,
@@ -24931,7 +25189,7 @@
24931
25189
  "kind": "enum",
24932
25190
  "locationInModule": {
24933
25191
  "filename": "src/javascript/node-package.ts",
24934
- "line": 1095
25192
+ "line": 1118
24935
25193
  },
24936
25194
  "members": [
24937
25195
  {
@@ -24970,7 +25228,7 @@
24970
25228
  "kind": "interface",
24971
25229
  "locationInModule": {
24972
25230
  "filename": "src/javascript/node-package.ts",
24973
- "line": 20
25231
+ "line": 21
24974
25232
  },
24975
25233
  "name": "NodePackageOptions",
24976
25234
  "namespace": "javascript",
@@ -24986,7 +25244,7 @@
24986
25244
  "immutable": true,
24987
25245
  "locationInModule": {
24988
25246
  "filename": "src/javascript/node-package.ts",
24989
- "line": 114
25247
+ "line": 115
24990
25248
  },
24991
25249
  "name": "allowLibraryDependencies",
24992
25250
  "optional": true,
@@ -25003,7 +25261,7 @@
25003
25261
  "immutable": true,
25004
25262
  "locationInModule": {
25005
25263
  "filename": "src/javascript/node-package.ts",
25006
- "line": 183
25264
+ "line": 184
25007
25265
  },
25008
25266
  "name": "authorEmail",
25009
25267
  "optional": true,
@@ -25020,7 +25278,7 @@
25020
25278
  "immutable": true,
25021
25279
  "locationInModule": {
25022
25280
  "filename": "src/javascript/node-package.ts",
25023
- "line": 178
25281
+ "line": 179
25024
25282
  },
25025
25283
  "name": "authorName",
25026
25284
  "optional": true,
@@ -25037,7 +25295,7 @@
25037
25295
  "immutable": true,
25038
25296
  "locationInModule": {
25039
25297
  "filename": "src/javascript/node-package.ts",
25040
- "line": 193
25298
+ "line": 194
25041
25299
  },
25042
25300
  "name": "authorOrganization",
25043
25301
  "optional": true,
@@ -25054,7 +25312,7 @@
25054
25312
  "immutable": true,
25055
25313
  "locationInModule": {
25056
25314
  "filename": "src/javascript/node-package.ts",
25057
- "line": 188
25315
+ "line": 189
25058
25316
  },
25059
25317
  "name": "authorUrl",
25060
25318
  "optional": true,
@@ -25072,7 +25330,7 @@
25072
25330
  "immutable": true,
25073
25331
  "locationInModule": {
25074
25332
  "filename": "src/javascript/node-package.ts",
25075
- "line": 146
25333
+ "line": 147
25076
25334
  },
25077
25335
  "name": "autoDetectBin",
25078
25336
  "optional": true,
@@ -25090,7 +25348,7 @@
25090
25348
  "immutable": true,
25091
25349
  "locationInModule": {
25092
25350
  "filename": "src/javascript/node-package.ts",
25093
- "line": 138
25351
+ "line": 139
25094
25352
  },
25095
25353
  "name": "bin",
25096
25354
  "optional": true,
@@ -25112,7 +25370,7 @@
25112
25370
  "immutable": true,
25113
25371
  "locationInModule": {
25114
25372
  "filename": "src/javascript/node-package.ts",
25115
- "line": 259
25373
+ "line": 260
25116
25374
  },
25117
25375
  "name": "bugsEmail",
25118
25376
  "optional": true,
@@ -25129,7 +25387,7 @@
25129
25387
  "immutable": true,
25130
25388
  "locationInModule": {
25131
25389
  "filename": "src/javascript/node-package.ts",
25132
- "line": 254
25390
+ "line": 255
25133
25391
  },
25134
25392
  "name": "bugsUrl",
25135
25393
  "optional": true,
@@ -25147,7 +25405,7 @@
25147
25405
  "immutable": true,
25148
25406
  "locationInModule": {
25149
25407
  "filename": "src/javascript/node-package.ts",
25150
- "line": 100
25408
+ "line": 101
25151
25409
  },
25152
25410
  "name": "bundledDeps",
25153
25411
  "optional": true,
@@ -25170,7 +25428,7 @@
25170
25428
  "immutable": true,
25171
25429
  "locationInModule": {
25172
25430
  "filename": "src/javascript/node-package.ts",
25173
- "line": 282
25431
+ "line": 283
25174
25432
  },
25175
25433
  "name": "codeArtifactOptions",
25176
25434
  "optional": true,
@@ -25193,7 +25451,7 @@
25193
25451
  "immutable": true,
25194
25452
  "locationInModule": {
25195
25453
  "filename": "src/javascript/node-package.ts",
25196
- "line": 49
25454
+ "line": 50
25197
25455
  },
25198
25456
  "name": "deps",
25199
25457
  "optional": true,
@@ -25219,7 +25477,7 @@
25219
25477
  "immutable": true,
25220
25478
  "locationInModule": {
25221
25479
  "filename": "src/javascript/node-package.ts",
25222
- "line": 33
25480
+ "line": 34
25223
25481
  },
25224
25482
  "name": "description",
25225
25483
  "optional": true,
@@ -25242,7 +25500,7 @@
25242
25500
  "immutable": true,
25243
25501
  "locationInModule": {
25244
25502
  "filename": "src/javascript/node-package.ts",
25245
- "line": 67
25503
+ "line": 68
25246
25504
  },
25247
25505
  "name": "devDeps",
25248
25506
  "optional": true,
@@ -25266,7 +25524,7 @@
25266
25524
  "immutable": true,
25267
25525
  "locationInModule": {
25268
25526
  "filename": "src/javascript/node-package.ts",
25269
- "line": 128
25527
+ "line": 129
25270
25528
  },
25271
25529
  "name": "entrypoint",
25272
25530
  "optional": true,
@@ -25283,7 +25541,7 @@
25283
25541
  "immutable": true,
25284
25542
  "locationInModule": {
25285
25543
  "filename": "src/javascript/node-package.ts",
25286
- "line": 198
25544
+ "line": 199
25287
25545
  },
25288
25546
  "name": "homepage",
25289
25547
  "optional": true,
@@ -25300,7 +25558,7 @@
25300
25558
  "immutable": true,
25301
25559
  "locationInModule": {
25302
25560
  "filename": "src/javascript/node-package.ts",
25303
- "line": 119
25561
+ "line": 120
25304
25562
  },
25305
25563
  "name": "keywords",
25306
25564
  "optional": true,
@@ -25324,7 +25582,7 @@
25324
25582
  "immutable": true,
25325
25583
  "locationInModule": {
25326
25584
  "filename": "src/javascript/node-package.ts",
25327
- "line": 226
25585
+ "line": 227
25328
25586
  },
25329
25587
  "name": "license",
25330
25588
  "optional": true,
@@ -25342,7 +25600,7 @@
25342
25600
  "immutable": true,
25343
25601
  "locationInModule": {
25344
25602
  "filename": "src/javascript/node-package.ts",
25345
- "line": 233
25603
+ "line": 234
25346
25604
  },
25347
25605
  "name": "licensed",
25348
25606
  "optional": true,
@@ -25360,7 +25618,7 @@
25360
25618
  "immutable": true,
25361
25619
  "locationInModule": {
25362
25620
  "filename": "src/javascript/node-package.ts",
25363
- "line": 217
25621
+ "line": 218
25364
25622
  },
25365
25623
  "name": "maxNodeVersion",
25366
25624
  "optional": true,
@@ -25378,7 +25636,7 @@
25378
25636
  "immutable": true,
25379
25637
  "locationInModule": {
25380
25638
  "filename": "src/javascript/node-package.ts",
25381
- "line": 210
25639
+ "line": 211
25382
25640
  },
25383
25641
  "name": "minNodeVersion",
25384
25642
  "optional": true,
@@ -25396,7 +25654,7 @@
25396
25654
  "immutable": true,
25397
25655
  "locationInModule": {
25398
25656
  "filename": "src/javascript/node-package.ts",
25399
- "line": 268
25657
+ "line": 269
25400
25658
  },
25401
25659
  "name": "npmAccess",
25402
25660
  "optional": true,
@@ -25415,7 +25673,7 @@
25415
25673
  "immutable": true,
25416
25674
  "locationInModule": {
25417
25675
  "filename": "src/javascript/node-package.ts",
25418
- "line": 249
25676
+ "line": 250
25419
25677
  },
25420
25678
  "name": "npmRegistry",
25421
25679
  "optional": true,
@@ -25434,7 +25692,7 @@
25434
25692
  "immutable": true,
25435
25693
  "locationInModule": {
25436
25694
  "filename": "src/javascript/node-package.ts",
25437
- "line": 242
25695
+ "line": 243
25438
25696
  },
25439
25697
  "name": "npmRegistryUrl",
25440
25698
  "optional": true,
@@ -25452,7 +25710,7 @@
25452
25710
  "immutable": true,
25453
25711
  "locationInModule": {
25454
25712
  "filename": "src/javascript/node-package.ts",
25455
- "line": 275
25713
+ "line": 276
25456
25714
  },
25457
25715
  "name": "npmTokenSecret",
25458
25716
  "optional": true,
@@ -25470,7 +25728,7 @@
25470
25728
  "immutable": true,
25471
25729
  "locationInModule": {
25472
25730
  "filename": "src/javascript/node-package.ts",
25473
- "line": 161
25731
+ "line": 162
25474
25732
  },
25475
25733
  "name": "packageManager",
25476
25734
  "optional": true,
@@ -25491,7 +25749,7 @@
25491
25749
  "immutable": true,
25492
25750
  "locationInModule": {
25493
25751
  "filename": "src/javascript/node-package.ts",
25494
- "line": 26
25752
+ "line": 27
25495
25753
  },
25496
25754
  "name": "packageName",
25497
25755
  "optional": true,
@@ -25508,7 +25766,7 @@
25508
25766
  "immutable": true,
25509
25767
  "locationInModule": {
25510
25768
  "filename": "src/javascript/node-package.ts",
25511
- "line": 105
25769
+ "line": 106
25512
25770
  },
25513
25771
  "name": "peerDependencyOptions",
25514
25772
  "optional": true,
@@ -25527,7 +25785,7 @@
25527
25785
  "immutable": true,
25528
25786
  "locationInModule": {
25529
25787
  "filename": "src/javascript/node-package.ts",
25530
- "line": 86
25788
+ "line": 87
25531
25789
  },
25532
25790
  "name": "peerDeps",
25533
25791
  "optional": true,
@@ -25550,7 +25808,7 @@
25550
25808
  "immutable": true,
25551
25809
  "locationInModule": {
25552
25810
  "filename": "src/javascript/node-package.ts",
25553
- "line": 167
25811
+ "line": 168
25554
25812
  },
25555
25813
  "name": "repository",
25556
25814
  "optional": true,
@@ -25567,7 +25825,7 @@
25567
25825
  "immutable": true,
25568
25826
  "locationInModule": {
25569
25827
  "filename": "src/javascript/node-package.ts",
25570
- "line": 173
25828
+ "line": 174
25571
25829
  },
25572
25830
  "name": "repositoryDirectory",
25573
25831
  "optional": true,
@@ -25586,7 +25844,7 @@
25586
25844
  "immutable": true,
25587
25845
  "locationInModule": {
25588
25846
  "filename": "src/javascript/node-package.ts",
25589
- "line": 154
25847
+ "line": 155
25590
25848
  },
25591
25849
  "name": "scripts",
25592
25850
  "optional": true,
@@ -25608,7 +25866,7 @@
25608
25866
  "immutable": true,
25609
25867
  "locationInModule": {
25610
25868
  "filename": "src/javascript/node-package.ts",
25611
- "line": 203
25869
+ "line": 204
25612
25870
  },
25613
25871
  "name": "stability",
25614
25872
  "optional": true,
@@ -25636,7 +25894,7 @@
25636
25894
  },
25637
25895
  "locationInModule": {
25638
25896
  "filename": "src/javascript/node-project.ts",
25639
- "line": 448
25897
+ "line": 436
25640
25898
  },
25641
25899
  "parameters": [
25642
25900
  {
@@ -25650,7 +25908,7 @@
25650
25908
  "kind": "class",
25651
25909
  "locationInModule": {
25652
25910
  "filename": "src/javascript/node-project.ts",
25653
- "line": 339
25911
+ "line": 332
25654
25912
  },
25655
25913
  "methods": [
25656
25914
  {
@@ -25659,7 +25917,7 @@
25659
25917
  },
25660
25918
  "locationInModule": {
25661
25919
  "filename": "src/javascript/node-project.ts",
25662
- "line": 701
25920
+ "line": 685
25663
25921
  },
25664
25922
  "name": "addBins",
25665
25923
  "parameters": [
@@ -25684,7 +25942,7 @@
25684
25942
  },
25685
25943
  "locationInModule": {
25686
25944
  "filename": "src/javascript/node-project.ts",
25687
- "line": 854
25945
+ "line": 838
25688
25946
  },
25689
25947
  "name": "addBundledDeps",
25690
25948
  "parameters": [
@@ -25710,7 +25968,7 @@
25710
25968
  },
25711
25969
  "locationInModule": {
25712
25970
  "filename": "src/javascript/node-project.ts",
25713
- "line": 735
25971
+ "line": 719
25714
25972
  },
25715
25973
  "name": "addCompileCommand",
25716
25974
  "parameters": [
@@ -25731,7 +25989,7 @@
25731
25989
  },
25732
25990
  "locationInModule": {
25733
25991
  "filename": "src/javascript/node-project.ts",
25734
- "line": 808
25992
+ "line": 792
25735
25993
  },
25736
25994
  "name": "addDeps",
25737
25995
  "parameters": [
@@ -25756,7 +26014,7 @@
25756
26014
  },
25757
26015
  "locationInModule": {
25758
26016
  "filename": "src/javascript/node-project.ts",
25759
- "line": 821
26017
+ "line": 805
25760
26018
  },
25761
26019
  "name": "addDevDeps",
25762
26020
  "parameters": [
@@ -25781,7 +26039,7 @@
25781
26039
  },
25782
26040
  "locationInModule": {
25783
26041
  "filename": "src/javascript/node-project.ts",
25784
- "line": 755
26042
+ "line": 739
25785
26043
  },
25786
26044
  "name": "addFields",
25787
26045
  "parameters": [
@@ -25808,7 +26066,7 @@
25808
26066
  },
25809
26067
  "locationInModule": {
25810
26068
  "filename": "src/javascript/node-project.ts",
25811
- "line": 765
26069
+ "line": 749
25812
26070
  },
25813
26071
  "name": "addKeywords",
25814
26072
  "parameters": [
@@ -25833,7 +26091,7 @@
25833
26091
  },
25834
26092
  "locationInModule": {
25835
26093
  "filename": "src/javascript/node-project.ts",
25836
- "line": 858
26094
+ "line": 842
25837
26095
  },
25838
26096
  "name": "addPackageIgnore",
25839
26097
  "overrides": "projen.Project",
@@ -25854,7 +26112,7 @@
25854
26112
  },
25855
26113
  "locationInModule": {
25856
26114
  "filename": "src/javascript/node-project.ts",
25857
- "line": 838
26115
+ "line": 822
25858
26116
  },
25859
26117
  "name": "addPeerDeps",
25860
26118
  "parameters": [
@@ -25872,28 +26130,6 @@
25872
26130
  ],
25873
26131
  "variadic": true
25874
26132
  },
25875
- {
25876
- "docs": {
25877
- "stability": "experimental",
25878
- "summary": "Defines Prettier ignore Patterns these patterns will be added to the file .prettierignore."
25879
- },
25880
- "locationInModule": {
25881
- "filename": "src/javascript/node-project.ts",
25882
- "line": 868
25883
- },
25884
- "name": "addPrettierIgnore",
25885
- "parameters": [
25886
- {
25887
- "docs": {
25888
- "summary": "filepatterns so exclude from prettier formatting."
25889
- },
25890
- "name": "pattern",
25891
- "type": {
25892
- "primitive": "string"
25893
- }
25894
- }
25895
- ]
25896
- },
25897
26133
  {
25898
26134
  "docs": {
25899
26135
  "deprecated": "use `project.testTask.exec()`",
@@ -25902,7 +26138,7 @@
25902
26138
  },
25903
26139
  "locationInModule": {
25904
26140
  "filename": "src/javascript/node-project.ts",
25905
- "line": 745
26141
+ "line": 729
25906
26142
  },
25907
26143
  "name": "addTestCommand",
25908
26144
  "parameters": [
@@ -25923,7 +26159,7 @@
25923
26159
  },
25924
26160
  "locationInModule": {
25925
26161
  "filename": "src/javascript/node-project.ts",
25926
- "line": 727
26162
+ "line": 711
25927
26163
  },
25928
26164
  "name": "hasScript",
25929
26165
  "parameters": [
@@ -25950,7 +26186,7 @@
25950
26186
  },
25951
26187
  "locationInModule": {
25952
26188
  "filename": "src/javascript/node-project.ts",
25953
- "line": 719
26189
+ "line": 703
25954
26190
  },
25955
26191
  "name": "removeScript",
25956
26192
  "parameters": [
@@ -25973,7 +26209,7 @@
25973
26209
  },
25974
26210
  "locationInModule": {
25975
26211
  "filename": "src/javascript/node-project.ts",
25976
- "line": 942
26212
+ "line": 916
25977
26213
  },
25978
26214
  "name": "runTaskCommand",
25979
26215
  "overrides": "projen.Project",
@@ -26001,7 +26237,7 @@
26001
26237
  },
26002
26238
  "locationInModule": {
26003
26239
  "filename": "src/javascript/node-project.ts",
26004
- "line": 711
26240
+ "line": 695
26005
26241
  },
26006
26242
  "name": "setScript",
26007
26243
  "parameters": [
@@ -26037,7 +26273,7 @@
26037
26273
  "immutable": true,
26038
26274
  "locationInModule": {
26039
26275
  "filename": "src/javascript/node-project.ts",
26040
- "line": 358
26276
+ "line": 346
26041
26277
  },
26042
26278
  "name": "allowLibraryDependencies",
26043
26279
  "type": {
@@ -26053,7 +26289,7 @@
26053
26289
  "immutable": true,
26054
26290
  "locationInModule": {
26055
26291
  "filename": "src/javascript/node-project.ts",
26056
- "line": 432
26292
+ "line": 420
26057
26293
  },
26058
26294
  "name": "artifactsDirectory",
26059
26295
  "type": {
@@ -26068,7 +26304,7 @@
26068
26304
  "immutable": true,
26069
26305
  "locationInModule": {
26070
26306
  "filename": "src/javascript/node-project.ts",
26071
- "line": 437
26307
+ "line": 425
26072
26308
  },
26073
26309
  "name": "artifactsJavascriptDirectory",
26074
26310
  "type": {
@@ -26082,7 +26318,7 @@
26082
26318
  "immutable": true,
26083
26319
  "locationInModule": {
26084
26320
  "filename": "src/javascript/node-project.ts",
26085
- "line": 425
26321
+ "line": 413
26086
26322
  },
26087
26323
  "name": "bundler",
26088
26324
  "type": {
@@ -26097,7 +26333,7 @@
26097
26333
  "immutable": true,
26098
26334
  "locationInModule": {
26099
26335
  "filename": "src/javascript/node-project.ts",
26100
- "line": 363
26336
+ "line": 351
26101
26337
  },
26102
26338
  "name": "entrypoint",
26103
26339
  "type": {
@@ -26111,7 +26347,7 @@
26111
26347
  "immutable": true,
26112
26348
  "locationInModule": {
26113
26349
  "filename": "src/javascript/node-project.ts",
26114
- "line": 769
26350
+ "line": 753
26115
26351
  },
26116
26352
  "name": "installWorkflowSteps",
26117
26353
  "type": {
@@ -26131,7 +26367,7 @@
26131
26367
  "immutable": true,
26132
26368
  "locationInModule": {
26133
26369
  "filename": "src/javascript/node-project.ts",
26134
- "line": 421
26370
+ "line": 409
26135
26371
  },
26136
26372
  "name": "manifest",
26137
26373
  "type": {
@@ -26146,7 +26382,7 @@
26146
26382
  "immutable": true,
26147
26383
  "locationInModule": {
26148
26384
  "filename": "src/javascript/node-project.ts",
26149
- "line": 343
26385
+ "line": 336
26150
26386
  },
26151
26387
  "name": "package",
26152
26388
  "type": {
@@ -26162,7 +26398,7 @@
26162
26398
  "immutable": true,
26163
26399
  "locationInModule": {
26164
26400
  "filename": "src/javascript/node-project.ts",
26165
- "line": 406
26401
+ "line": 394
26166
26402
  },
26167
26403
  "name": "packageManager",
26168
26404
  "type": {
@@ -26177,7 +26413,7 @@
26177
26413
  "immutable": true,
26178
26414
  "locationInModule": {
26179
26415
  "filename": "src/javascript/node-project.ts",
26180
- "line": 411
26416
+ "line": 399
26181
26417
  },
26182
26418
  "name": "runScriptCommand",
26183
26419
  "type": {
@@ -26192,7 +26428,7 @@
26192
26428
  "immutable": true,
26193
26429
  "locationInModule": {
26194
26430
  "filename": "src/javascript/node-project.ts",
26195
- "line": 368
26431
+ "line": 356
26196
26432
  },
26197
26433
  "name": "autoMerge",
26198
26434
  "optional": true,
@@ -26209,7 +26445,7 @@
26209
26445
  "immutable": true,
26210
26446
  "locationInModule": {
26211
26447
  "filename": "src/javascript/node-project.ts",
26212
- "line": 374
26448
+ "line": 362
26213
26449
  },
26214
26450
  "name": "buildWorkflow",
26215
26451
  "optional": true,
@@ -26225,7 +26461,7 @@
26225
26461
  "immutable": true,
26226
26462
  "locationInModule": {
26227
26463
  "filename": "src/javascript/node-project.ts",
26228
- "line": 949
26464
+ "line": 923
26229
26465
  },
26230
26466
  "name": "buildWorkflowJobId",
26231
26467
  "optional": true,
@@ -26241,7 +26477,7 @@
26241
26477
  "immutable": true,
26242
26478
  "locationInModule": {
26243
26479
  "filename": "src/javascript/node-project.ts",
26244
- "line": 416
26480
+ "line": 404
26245
26481
  },
26246
26482
  "name": "jest",
26247
26483
  "optional": true,
@@ -26257,7 +26493,7 @@
26257
26493
  "immutable": true,
26258
26494
  "locationInModule": {
26259
26495
  "filename": "src/javascript/node-project.ts",
26260
- "line": 397
26496
+ "line": 385
26261
26497
  },
26262
26498
  "name": "maxNodeVersion",
26263
26499
  "optional": true,
@@ -26273,7 +26509,7 @@
26273
26509
  "immutable": true,
26274
26510
  "locationInModule": {
26275
26511
  "filename": "src/javascript/node-project.ts",
26276
- "line": 392
26512
+ "line": 380
26277
26513
  },
26278
26514
  "name": "minNodeVersion",
26279
26515
  "optional": true,
@@ -26289,7 +26525,7 @@
26289
26525
  "immutable": true,
26290
26526
  "locationInModule": {
26291
26527
  "filename": "src/javascript/node-project.ts",
26292
- "line": 348
26528
+ "line": 341
26293
26529
  },
26294
26530
  "name": "npmignore",
26295
26531
  "optional": true,
@@ -26304,7 +26540,7 @@
26304
26540
  "immutable": true,
26305
26541
  "locationInModule": {
26306
26542
  "filename": "src/javascript/node-project.ts",
26307
- "line": 446
26543
+ "line": 434
26308
26544
  },
26309
26545
  "name": "prettier",
26310
26546
  "optional": true,
@@ -26312,22 +26548,6 @@
26312
26548
  "fqn": "projen.javascript.Prettier"
26313
26549
  }
26314
26550
  },
26315
- {
26316
- "docs": {
26317
- "stability": "experimental",
26318
- "summary": "The .prettierIgnore file."
26319
- },
26320
- "immutable": true,
26321
- "locationInModule": {
26322
- "filename": "src/javascript/node-project.ts",
26323
- "line": 353
26324
- },
26325
- "name": "prettierIgnore",
26326
- "optional": true,
26327
- "type": {
26328
- "fqn": "projen.IgnoreFile"
26329
- }
26330
- },
26331
26551
  {
26332
26552
  "docs": {
26333
26553
  "deprecated": "use `release.publisher`.",
@@ -26338,7 +26558,7 @@
26338
26558
  "immutable": true,
26339
26559
  "locationInModule": {
26340
26560
  "filename": "src/javascript/node-project.ts",
26341
- "line": 382
26561
+ "line": 370
26342
26562
  },
26343
26563
  "name": "publisher",
26344
26564
  "optional": true,
@@ -26354,7 +26574,7 @@
26354
26574
  "immutable": true,
26355
26575
  "locationInModule": {
26356
26576
  "filename": "src/javascript/node-project.ts",
26357
- "line": 387
26577
+ "line": 375
26358
26578
  },
26359
26579
  "name": "release",
26360
26580
  "optional": true,
@@ -26370,7 +26590,7 @@
26370
26590
  "immutable": true,
26371
26591
  "locationInModule": {
26372
26592
  "filename": "src/javascript/node-project.ts",
26373
- "line": 442
26593
+ "line": 430
26374
26594
  },
26375
26595
  "name": "upgradeWorkflow",
26376
26596
  "optional": true,
@@ -26428,7 +26648,7 @@
26428
26648
  "immutable": true,
26429
26649
  "locationInModule": {
26430
26650
  "filename": "src/javascript/node-project.ts",
26431
- "line": 308
26651
+ "line": 301
26432
26652
  },
26433
26653
  "name": "artifactsDirectory",
26434
26654
  "optional": true,
@@ -26501,7 +26721,7 @@
26501
26721
  "immutable": true,
26502
26722
  "locationInModule": {
26503
26723
  "filename": "src/javascript/node-project.ts",
26504
- "line": 301
26724
+ "line": 294
26505
26725
  },
26506
26726
  "name": "bundlerOptions",
26507
26727
  "optional": true,
@@ -26664,7 +26884,7 @@
26664
26884
  "immutable": true,
26665
26885
  "locationInModule": {
26666
26886
  "filename": "src/javascript/node-project.ts",
26667
- "line": 270
26887
+ "line": 263
26668
26888
  },
26669
26889
  "name": "gitignore",
26670
26890
  "optional": true,
@@ -26687,7 +26907,7 @@
26687
26907
  "immutable": true,
26688
26908
  "locationInModule": {
26689
26909
  "filename": "src/javascript/node-project.ts",
26690
- "line": 276
26910
+ "line": 269
26691
26911
  },
26692
26912
  "name": "jest",
26693
26913
  "optional": true,
@@ -26705,7 +26925,7 @@
26705
26925
  "immutable": true,
26706
26926
  "locationInModule": {
26707
26927
  "filename": "src/javascript/node-project.ts",
26708
- "line": 282
26928
+ "line": 275
26709
26929
  },
26710
26930
  "name": "jestOptions",
26711
26931
  "optional": true,
@@ -26783,7 +27003,7 @@
26783
27003
  "immutable": true,
26784
27004
  "locationInModule": {
26785
27005
  "filename": "src/javascript/node-project.ts",
26786
- "line": 316
27006
+ "line": 309
26787
27007
  },
26788
27008
  "name": "package",
26789
27009
  "optional": true,
@@ -26799,29 +27019,11 @@
26799
27019
  "summary": "Setup prettier."
26800
27020
  },
26801
27021
  "immutable": true,
26802
- "locationInModule": {
26803
- "filename": "src/javascript/node-project.ts",
26804
- "line": 259
26805
- },
26806
- "name": "prettier",
26807
- "optional": true,
26808
- "type": {
26809
- "primitive": "boolean"
26810
- }
26811
- },
26812
- {
26813
- "abstract": true,
26814
- "docs": {
26815
- "default": "false",
26816
- "stability": "experimental",
26817
- "summary": "Defines an .prettierIgnore file."
26818
- },
26819
- "immutable": true,
26820
27022
  "locationInModule": {
26821
27023
  "filename": "src/javascript/node-project.ts",
26822
27024
  "line": 252
26823
27025
  },
26824
- "name": "prettierIgnoreEnabled",
27026
+ "name": "prettier",
26825
27027
  "optional": true,
26826
27028
  "type": {
26827
27029
  "primitive": "boolean"
@@ -26830,14 +27032,14 @@
26830
27032
  {
26831
27033
  "abstract": true,
26832
27034
  "docs": {
26833
- "default": "- opinionated default options",
27035
+ "default": "- default options",
26834
27036
  "stability": "experimental",
26835
27037
  "summary": "Prettier options."
26836
27038
  },
26837
27039
  "immutable": true,
26838
27040
  "locationInModule": {
26839
27041
  "filename": "src/javascript/node-project.ts",
26840
- "line": 265
27042
+ "line": 258
26841
27043
  },
26842
27044
  "name": "prettierOptions",
26843
27045
  "optional": true,
@@ -26873,7 +27075,7 @@
26873
27075
  "immutable": true,
26874
27076
  "locationInModule": {
26875
27077
  "filename": "src/javascript/node-project.ts",
26876
- "line": 290
27078
+ "line": 283
26877
27079
  },
26878
27080
  "name": "projenrcJs",
26879
27081
  "optional": true,
@@ -26891,7 +27093,7 @@
26891
27093
  "immutable": true,
26892
27094
  "locationInModule": {
26893
27095
  "filename": "src/javascript/node-project.ts",
26894
- "line": 296
27096
+ "line": 289
26895
27097
  },
26896
27098
  "name": "projenrcJsOptions",
26897
27099
  "optional": true,
@@ -27148,7 +27350,7 @@
27148
27350
  "kind": "enum",
27149
27351
  "locationInModule": {
27150
27352
  "filename": "src/javascript/node-package.ts",
27151
- "line": 1115
27353
+ "line": 1138
27152
27354
  },
27153
27355
  "members": [
27154
27356
  {
@@ -27325,7 +27527,7 @@
27325
27527
  "kind": "interface",
27326
27528
  "locationInModule": {
27327
27529
  "filename": "src/javascript/node-package.ts",
27328
- "line": 1084
27530
+ "line": 1107
27329
27531
  },
27330
27532
  "name": "PeerDependencyOptions",
27331
27533
  "namespace": "javascript",
@@ -27340,7 +27542,7 @@
27340
27542
  "immutable": true,
27341
27543
  "locationInModule": {
27342
27544
  "filename": "src/javascript/node-package.ts",
27343
- "line": 1089
27545
+ "line": 1112
27344
27546
  },
27345
27547
  "name": "pinnedDevDependency",
27346
27548
  "optional": true,
@@ -27365,7 +27567,7 @@
27365
27567
  },
27366
27568
  "locationInModule": {
27367
27569
  "filename": "src/javascript/prettier.ts",
27368
- "line": 309
27570
+ "line": 362
27369
27571
  },
27370
27572
  "parameters": [
27371
27573
  {
@@ -27385,7 +27587,7 @@
27385
27587
  "kind": "class",
27386
27588
  "locationInModule": {
27387
27589
  "filename": "src/javascript/prettier.ts",
27388
- "line": 293
27590
+ "line": 340
27389
27591
  },
27390
27592
  "methods": [
27391
27593
  {
@@ -27394,7 +27596,7 @@
27394
27596
  },
27395
27597
  "locationInModule": {
27396
27598
  "filename": "src/javascript/prettier.ts",
27397
- "line": 294
27599
+ "line": 341
27398
27600
  },
27399
27601
  "name": "of",
27400
27602
  "parameters": [
@@ -27413,6 +27615,28 @@
27413
27615
  },
27414
27616
  "static": true
27415
27617
  },
27618
+ {
27619
+ "docs": {
27620
+ "stability": "experimental",
27621
+ "summary": "Defines Prettier ignore Patterns these patterns will be added to the file .prettierignore."
27622
+ },
27623
+ "locationInModule": {
27624
+ "filename": "src/javascript/prettier.ts",
27625
+ "line": 398
27626
+ },
27627
+ "name": "addIgnorePattern",
27628
+ "parameters": [
27629
+ {
27630
+ "docs": {
27631
+ "summary": "filepatterns so exclude from prettier formatting."
27632
+ },
27633
+ "name": "pattern",
27634
+ "type": {
27635
+ "primitive": "string"
27636
+ }
27637
+ }
27638
+ ]
27639
+ },
27416
27640
  {
27417
27641
  "docs": {
27418
27642
  "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
@@ -27421,7 +27645,7 @@
27421
27645
  },
27422
27646
  "locationInModule": {
27423
27647
  "filename": "src/javascript/prettier.ts",
27424
- "line": 326
27648
+ "line": 388
27425
27649
  },
27426
27650
  "name": "addOverride",
27427
27651
  "parameters": [
@@ -27440,144 +27664,333 @@
27440
27664
  {
27441
27665
  "docs": {
27442
27666
  "stability": "experimental",
27443
- "summary": "Direct access to the prettier configuration."
27667
+ "summary": "Access to the Prettieroverrides to extend those."
27444
27668
  },
27445
27669
  "immutable": true,
27446
27670
  "locationInModule": {
27447
27671
  "filename": "src/javascript/prettier.ts",
27448
- "line": 301
27672
+ "line": 405
27449
27673
  },
27450
- "name": "config",
27674
+ "name": "overrides",
27451
27675
  "type": {
27452
- "fqn": "projen.javascript.PrettierOptions"
27676
+ "collection": {
27677
+ "elementtype": {
27678
+ "fqn": "projen.javascript.PrettierOverride"
27679
+ },
27680
+ "kind": "array"
27681
+ }
27453
27682
  }
27454
27683
  },
27455
27684
  {
27456
27685
  "docs": {
27457
27686
  "stability": "experimental",
27458
- "summary": "Access to the Prettieroverrides to extend those."
27687
+ "summary": "Direct access to the prettier settings."
27459
27688
  },
27460
27689
  "immutable": true,
27461
27690
  "locationInModule": {
27462
27691
  "filename": "src/javascript/prettier.ts",
27463
- "line": 333
27692
+ "line": 348
27464
27693
  },
27465
- "name": "overrides",
27694
+ "name": "settings",
27466
27695
  "type": {
27467
- "collection": {
27468
- "elementtype": {
27469
- "fqn": "projen.javascript.PrettierOverride"
27470
- },
27471
- "kind": "array"
27472
- }
27696
+ "fqn": "projen.javascript.PrettierSettings"
27697
+ }
27698
+ },
27699
+ {
27700
+ "docs": {
27701
+ "stability": "experimental",
27702
+ "summary": "The .prettierIgnore file."
27703
+ },
27704
+ "immutable": true,
27705
+ "locationInModule": {
27706
+ "filename": "src/javascript/prettier.ts",
27707
+ "line": 353
27708
+ },
27709
+ "name": "ignoreFile",
27710
+ "optional": true,
27711
+ "type": {
27712
+ "fqn": "projen.IgnoreFile"
27473
27713
  }
27474
27714
  }
27475
27715
  ],
27476
27716
  "symbolId": "src/javascript/prettier:Prettier"
27477
27717
  },
27478
- "projen.javascript.PrettierBaseOptions": {
27718
+ "projen.javascript.PrettierOptions": {
27479
27719
  "assembly": "projen",
27480
27720
  "datatype": true,
27481
27721
  "docs": {
27482
27722
  "stability": "experimental",
27483
- "summary": "Options to set in Prettier directly or through overrides."
27723
+ "summary": "Options for Prettier."
27484
27724
  },
27485
- "fqn": "projen.javascript.PrettierBaseOptions",
27725
+ "fqn": "projen.javascript.PrettierOptions",
27486
27726
  "kind": "interface",
27487
27727
  "locationInModule": {
27488
27728
  "filename": "src/javascript/prettier.ts",
27489
- "line": 23
27729
+ "line": 10
27490
27730
  },
27491
- "name": "PrettierBaseOptions",
27731
+ "name": "PrettierOptions",
27492
27732
  "namespace": "javascript",
27493
27733
  "properties": [
27494
27734
  {
27495
27735
  "abstract": true,
27496
27736
  "docs": {
27497
- "default": "ArrowParens.ALWAYS",
27498
- "remarks": "Always include parens. Example: `(x) => x`\n\nOmit parens when possible. Example: `x => x`",
27737
+ "default": "true",
27499
27738
  "stability": "experimental",
27500
- "summary": "Include parentheses around a sole arrow function parameter."
27739
+ "summary": "Defines an .prettierIgnore file."
27501
27740
  },
27502
27741
  "immutable": true,
27503
27742
  "locationInModule": {
27504
27743
  "filename": "src/javascript/prettier.ts",
27505
- "line": 33
27744
+ "line": 16
27506
27745
  },
27507
- "name": "arrowParens",
27746
+ "name": "ignoreFile",
27508
27747
  "optional": true,
27509
27748
  "type": {
27510
- "fqn": "projen.javascript.ArrowParens"
27749
+ "primitive": "boolean"
27511
27750
  }
27512
27751
  },
27513
27752
  {
27514
27753
  "abstract": true,
27515
27754
  "docs": {
27516
- "default": "false",
27755
+ "default": "[]",
27756
+ "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
27517
27757
  "stability": "experimental",
27518
- "summary": "Put > of opening tags on the last line instead of on a new line."
27758
+ "summary": "Provide a list of patterns to override prettier configuration."
27519
27759
  },
27520
27760
  "immutable": true,
27521
27761
  "locationInModule": {
27522
27762
  "filename": "src/javascript/prettier.ts",
27523
- "line": 39
27763
+ "line": 30
27524
27764
  },
27525
- "name": "bracketSameLine",
27765
+ "name": "overrides",
27526
27766
  "optional": true,
27527
27767
  "type": {
27528
- "primitive": "boolean"
27768
+ "collection": {
27769
+ "elementtype": {
27770
+ "fqn": "projen.javascript.PrettierOverride"
27771
+ },
27772
+ "kind": "array"
27773
+ }
27529
27774
  }
27530
27775
  },
27531
27776
  {
27532
27777
  "abstract": true,
27533
27778
  "docs": {
27534
- "default": "true",
27779
+ "default": "- default settings",
27535
27780
  "stability": "experimental",
27536
- "summary": "Print spaces between brackets."
27781
+ "summary": "Prettier settings."
27537
27782
  },
27538
27783
  "immutable": true,
27539
27784
  "locationInModule": {
27540
27785
  "filename": "src/javascript/prettier.ts",
27541
- "line": 45
27786
+ "line": 22
27542
27787
  },
27543
- "name": "bracketSpacing",
27788
+ "name": "settings",
27544
27789
  "optional": true,
27545
27790
  "type": {
27546
- "primitive": "boolean"
27791
+ "fqn": "projen.javascript.PrettierSettings"
27547
27792
  }
27548
- },
27793
+ }
27794
+ ],
27795
+ "symbolId": "src/javascript/prettier:PrettierOptions"
27796
+ },
27797
+ "projen.javascript.PrettierOverride": {
27798
+ "assembly": "projen",
27799
+ "datatype": true,
27800
+ "docs": {
27801
+ "stability": "experimental"
27802
+ },
27803
+ "fqn": "projen.javascript.PrettierOverride",
27804
+ "kind": "interface",
27805
+ "locationInModule": {
27806
+ "filename": "src/javascript/prettier.ts",
27807
+ "line": 264
27808
+ },
27809
+ "name": "PrettierOverride",
27810
+ "namespace": "javascript",
27811
+ "properties": [
27549
27812
  {
27550
27813
  "abstract": true,
27551
27814
  "docs": {
27552
- "default": "-1",
27553
- "remarks": "This option cannot be used with --range-start and --range-end.",
27554
27815
  "stability": "experimental",
27555
- "summary": "Print (to stderr) where a cursor at the given position would move to after formatting."
27816
+ "summary": "Include these files in this override."
27556
27817
  },
27557
27818
  "immutable": true,
27558
27819
  "locationInModule": {
27559
27820
  "filename": "src/javascript/prettier.ts",
27560
- "line": 52
27821
+ "line": 272
27561
27822
  },
27562
- "name": "cursorOffset",
27563
- "optional": true,
27823
+ "name": "files",
27564
27824
  "type": {
27565
- "primitive": "number"
27825
+ "union": {
27826
+ "types": [
27827
+ {
27828
+ "primitive": "string"
27829
+ },
27830
+ {
27831
+ "collection": {
27832
+ "elementtype": {
27833
+ "primitive": "string"
27834
+ },
27835
+ "kind": "array"
27836
+ }
27837
+ }
27838
+ ]
27839
+ }
27566
27840
  }
27567
27841
  },
27568
27842
  {
27569
27843
  "abstract": true,
27570
27844
  "docs": {
27571
- "default": "EmbeddedLanguageFormatting.AUTO",
27572
- "remarks": "Format embedded code if Prettier can automatically identify it.\n\nNever automatically format embedded code.",
27573
27845
  "stability": "experimental",
27574
- "summary": "Control how Prettier formats quoted code embedded in the file."
27846
+ "summary": "The options to apply for this override."
27847
+ },
27848
+ "immutable": true,
27849
+ "locationInModule": {
27850
+ "filename": "src/javascript/prettier.ts",
27851
+ "line": 276
27852
+ },
27853
+ "name": "settings",
27854
+ "type": {
27855
+ "fqn": "projen.javascript.PrettierSettings"
27856
+ }
27857
+ },
27858
+ {
27859
+ "abstract": true,
27860
+ "docs": {
27861
+ "stability": "experimental",
27862
+ "summary": "Exclude these files from this override."
27863
+ },
27864
+ "immutable": true,
27865
+ "locationInModule": {
27866
+ "filename": "src/javascript/prettier.ts",
27867
+ "line": 268
27868
+ },
27869
+ "name": "excludeFiles",
27870
+ "optional": true,
27871
+ "type": {
27872
+ "union": {
27873
+ "types": [
27874
+ {
27875
+ "primitive": "string"
27876
+ },
27877
+ {
27878
+ "collection": {
27879
+ "elementtype": {
27880
+ "primitive": "string"
27881
+ },
27882
+ "kind": "array"
27883
+ }
27884
+ }
27885
+ ]
27886
+ }
27887
+ }
27888
+ }
27889
+ ],
27890
+ "symbolId": "src/javascript/prettier:PrettierOverride"
27891
+ },
27892
+ "projen.javascript.PrettierSettings": {
27893
+ "assembly": "projen",
27894
+ "datatype": true,
27895
+ "docs": {
27896
+ "see": "https://prettier.io/docs/en/options.html",
27897
+ "stability": "experimental",
27898
+ "summary": "Options to set in Prettier directly or through overrides."
27899
+ },
27900
+ "fqn": "projen.javascript.PrettierSettings",
27901
+ "kind": "interface",
27902
+ "locationInModule": {
27903
+ "filename": "src/javascript/prettier.ts",
27904
+ "line": 37
27905
+ },
27906
+ "name": "PrettierSettings",
27907
+ "namespace": "javascript",
27908
+ "properties": [
27909
+ {
27910
+ "abstract": true,
27911
+ "docs": {
27912
+ "default": "ArrowParens.ALWAYS",
27913
+ "stability": "experimental",
27914
+ "summary": "Include parentheses around a sole arrow function parameter."
27915
+ },
27916
+ "immutable": true,
27917
+ "locationInModule": {
27918
+ "filename": "src/javascript/prettier.ts",
27919
+ "line": 43
27920
+ },
27921
+ "name": "arrowParens",
27922
+ "optional": true,
27923
+ "type": {
27924
+ "fqn": "projen.javascript.ArrowParens"
27925
+ }
27926
+ },
27927
+ {
27928
+ "abstract": true,
27929
+ "docs": {
27930
+ "default": "false",
27931
+ "stability": "experimental",
27932
+ "summary": "Put > of opening tags on the last line instead of on a new line."
27933
+ },
27934
+ "immutable": true,
27935
+ "locationInModule": {
27936
+ "filename": "src/javascript/prettier.ts",
27937
+ "line": 49
27938
+ },
27939
+ "name": "bracketSameLine",
27940
+ "optional": true,
27941
+ "type": {
27942
+ "primitive": "boolean"
27943
+ }
27944
+ },
27945
+ {
27946
+ "abstract": true,
27947
+ "docs": {
27948
+ "default": "true",
27949
+ "stability": "experimental",
27950
+ "summary": "Print spaces between brackets."
27951
+ },
27952
+ "immutable": true,
27953
+ "locationInModule": {
27954
+ "filename": "src/javascript/prettier.ts",
27955
+ "line": 55
27956
+ },
27957
+ "name": "bracketSpacing",
27958
+ "optional": true,
27959
+ "type": {
27960
+ "primitive": "boolean"
27961
+ }
27962
+ },
27963
+ {
27964
+ "abstract": true,
27965
+ "docs": {
27966
+ "default": "-1",
27967
+ "remarks": "This option cannot be used with --range-start and --range-end.",
27968
+ "stability": "experimental",
27969
+ "summary": "Print (to stderr) where a cursor at the given position would move to after formatting."
27575
27970
  },
27576
27971
  "immutable": true,
27577
27972
  "locationInModule": {
27578
27973
  "filename": "src/javascript/prettier.ts",
27579
27974
  "line": 62
27580
27975
  },
27976
+ "name": "cursorOffset",
27977
+ "optional": true,
27978
+ "type": {
27979
+ "primitive": "number"
27980
+ }
27981
+ },
27982
+ {
27983
+ "abstract": true,
27984
+ "docs": {
27985
+ "default": "EmbeddedLanguageFormatting.AUTO",
27986
+ "stability": "experimental",
27987
+ "summary": "Control how Prettier formats quoted code embedded in the file."
27988
+ },
27989
+ "immutable": true,
27990
+ "locationInModule": {
27991
+ "filename": "src/javascript/prettier.ts",
27992
+ "line": 68
27993
+ },
27581
27994
  "name": "embeddedLanguageFormatting",
27582
27995
  "optional": true,
27583
27996
  "type": {
@@ -27588,14 +28001,13 @@
27588
28001
  "abstract": true,
27589
28002
  "docs": {
27590
28003
  "default": "EndOfLine.LF",
27591
- "remarks": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos\n\nCarriage Return + Line Feed characters (\\r\\n), common on Windows\n\nCarriage Return character only (\\r), used very rarely\n\nMaintain existing\n(mixed values within one file are normalised by looking at what's used after the first\nline)",
27592
28004
  "stability": "experimental",
27593
28005
  "summary": "Which end of line characters to apply."
27594
28006
  },
27595
28007
  "immutable": true,
27596
28008
  "locationInModule": {
27597
28009
  "filename": "src/javascript/prettier.ts",
27598
- "line": 77
28010
+ "line": 74
27599
28011
  },
27600
28012
  "name": "endOfLine",
27601
28013
  "optional": true,
@@ -27614,7 +28026,7 @@
27614
28026
  "immutable": true,
27615
28027
  "locationInModule": {
27616
28028
  "filename": "src/javascript/prettier.ts",
27617
- "line": 82
28029
+ "line": 79
27618
28030
  },
27619
28031
  "name": "filepath",
27620
28032
  "optional": true,
@@ -27626,14 +28038,13 @@
27626
28038
  "abstract": true,
27627
28039
  "docs": {
27628
28040
  "default": "HTMLWhitespaceSensitivity.CSS",
27629
- "remarks": "Respect the default value of CSS display property.\n\nWhitespaces are considered sensitive.\n\nWhitespaces are considered insensitive.",
27630
28041
  "stability": "experimental",
27631
28042
  "summary": "How to handle whitespaces in HTML."
27632
28043
  },
27633
28044
  "immutable": true,
27634
28045
  "locationInModule": {
27635
28046
  "filename": "src/javascript/prettier.ts",
27636
- "line": 94
28047
+ "line": 85
27637
28048
  },
27638
28049
  "name": "htmlWhitespaceSensitivity",
27639
28050
  "optional": true,
@@ -27651,7 +28062,7 @@
27651
28062
  "immutable": true,
27652
28063
  "locationInModule": {
27653
28064
  "filename": "src/javascript/prettier.ts",
27654
- "line": 100
28065
+ "line": 91
27655
28066
  },
27656
28067
  "name": "insertPragma",
27657
28068
  "optional": true,
@@ -27669,7 +28080,7 @@
27669
28080
  "immutable": true,
27670
28081
  "locationInModule": {
27671
28082
  "filename": "src/javascript/prettier.ts",
27672
- "line": 106
28083
+ "line": 97
27673
28084
  },
27674
28085
  "name": "jsxSingleQuote",
27675
28086
  "optional": true,
@@ -27687,7 +28098,7 @@
27687
28098
  "immutable": true,
27688
28099
  "locationInModule": {
27689
28100
  "filename": "src/javascript/prettier.ts",
27690
- "line": 112
28101
+ "line": 103
27691
28102
  },
27692
28103
  "name": "parser",
27693
28104
  "optional": true,
@@ -27706,7 +28117,7 @@
27706
28117
  "immutable": true,
27707
28118
  "locationInModule": {
27708
28119
  "filename": "src/javascript/prettier.ts",
27709
- "line": 118
28120
+ "line": 109
27710
28121
  },
27711
28122
  "name": "plugins",
27712
28123
  "optional": true,
@@ -27730,7 +28141,7 @@
27730
28141
  "immutable": true,
27731
28142
  "locationInModule": {
27732
28143
  "filename": "src/javascript/prettier.ts",
27733
- "line": 127
28144
+ "line": 118
27734
28145
  },
27735
28146
  "name": "pluginSearchDirs",
27736
28147
  "optional": true,
@@ -27753,7 +28164,7 @@
27753
28164
  "immutable": true,
27754
28165
  "locationInModule": {
27755
28166
  "filename": "src/javascript/prettier.ts",
27756
- "line": 133
28167
+ "line": 124
27757
28168
  },
27758
28169
  "name": "printWidth",
27759
28170
  "optional": true,
@@ -27765,14 +28176,13 @@
27765
28176
  "abstract": true,
27766
28177
  "docs": {
27767
28178
  "default": "ProseWrap.PRESERVE",
27768
- "remarks": "Wrap prose if it exceeds the print width.\n\nDo not wrap prose.\n\nWrap prose as-is.",
27769
28179
  "stability": "experimental",
27770
28180
  "summary": "How to wrap prose."
27771
28181
  },
27772
28182
  "immutable": true,
27773
28183
  "locationInModule": {
27774
28184
  "filename": "src/javascript/prettier.ts",
27775
- "line": 145
28185
+ "line": 130
27776
28186
  },
27777
28187
  "name": "proseWrap",
27778
28188
  "optional": true,
@@ -27784,14 +28194,13 @@
27784
28194
  "abstract": true,
27785
28195
  "docs": {
27786
28196
  "default": "QuoteProps.ASNEEDED",
27787
- "remarks": "Only add quotes around object properties where required.\n\nIf at least one property in an object requires quotes, quote all properties.\n\nRespect the input use of quotes in object properties.",
27788
28197
  "stability": "experimental",
27789
28198
  "summary": "Change when properties in objects are quoted."
27790
28199
  },
27791
28200
  "immutable": true,
27792
28201
  "locationInModule": {
27793
28202
  "filename": "src/javascript/prettier.ts",
27794
- "line": 157
28203
+ "line": 136
27795
28204
  },
27796
28205
  "name": "quoteProps",
27797
28206
  "optional": true,
@@ -27810,7 +28219,7 @@
27810
28219
  "immutable": true,
27811
28220
  "locationInModule": {
27812
28221
  "filename": "src/javascript/prettier.ts",
27813
- "line": 165
28222
+ "line": 144
27814
28223
  },
27815
28224
  "name": "rangeEnd",
27816
28225
  "optional": true,
@@ -27829,7 +28238,7 @@
27829
28238
  "immutable": true,
27830
28239
  "locationInModule": {
27831
28240
  "filename": "src/javascript/prettier.ts",
27832
- "line": 174
28241
+ "line": 153
27833
28242
  },
27834
28243
  "name": "rangeStart",
27835
28244
  "optional": true,
@@ -27847,7 +28256,7 @@
27847
28256
  "immutable": true,
27848
28257
  "locationInModule": {
27849
28258
  "filename": "src/javascript/prettier.ts",
27850
- "line": 182
28259
+ "line": 161
27851
28260
  },
27852
28261
  "name": "requirePragma",
27853
28262
  "optional": true,
@@ -27865,7 +28274,7 @@
27865
28274
  "immutable": true,
27866
28275
  "locationInModule": {
27867
28276
  "filename": "src/javascript/prettier.ts",
27868
- "line": 188
28277
+ "line": 167
27869
28278
  },
27870
28279
  "name": "semi",
27871
28280
  "optional": true,
@@ -27883,7 +28292,7 @@
27883
28292
  "immutable": true,
27884
28293
  "locationInModule": {
27885
28294
  "filename": "src/javascript/prettier.ts",
27886
- "line": 194
28295
+ "line": 173
27887
28296
  },
27888
28297
  "name": "singleQuote",
27889
28298
  "optional": true,
@@ -27901,7 +28310,7 @@
27901
28310
  "immutable": true,
27902
28311
  "locationInModule": {
27903
28312
  "filename": "src/javascript/prettier.ts",
27904
- "line": 200
28313
+ "line": 179
27905
28314
  },
27906
28315
  "name": "tabWidth",
27907
28316
  "optional": true,
@@ -27913,14 +28322,13 @@
27913
28322
  "abstract": true,
27914
28323
  "docs": {
27915
28324
  "default": "TrailingComma.ES5",
27916
- "remarks": "Trailing commas where valid in ES5 (objects, arrays, etc.)\n\nNo trailing commas.\n\nTrailing commas wherever possible (including function arguments).",
27917
28325
  "stability": "experimental",
27918
28326
  "summary": "Print trailing commas wherever possible when multi-line."
27919
28327
  },
27920
28328
  "immutable": true,
27921
28329
  "locationInModule": {
27922
28330
  "filename": "src/javascript/prettier.ts",
27923
- "line": 212
28331
+ "line": 185
27924
28332
  },
27925
28333
  "name": "trailingComma",
27926
28334
  "optional": true,
@@ -27938,7 +28346,7 @@
27938
28346
  "immutable": true,
27939
28347
  "locationInModule": {
27940
28348
  "filename": "src/javascript/prettier.ts",
27941
- "line": 218
28349
+ "line": 191
27942
28350
  },
27943
28351
  "name": "useTabs",
27944
28352
  "optional": true,
@@ -27956,7 +28364,7 @@
27956
28364
  "immutable": true,
27957
28365
  "locationInModule": {
27958
28366
  "filename": "src/javascript/prettier.ts",
27959
- "line": 224
28367
+ "line": 197
27960
28368
  },
27961
28369
  "name": "vueIndentScriptAndStyle",
27962
28370
  "optional": true,
@@ -27965,149 +28373,7 @@
27965
28373
  }
27966
28374
  }
27967
28375
  ],
27968
- "symbolId": "src/javascript/prettier:PrettierBaseOptions"
27969
- },
27970
- "projen.javascript.PrettierOptions": {
27971
- "assembly": "projen",
27972
- "datatype": true,
27973
- "docs": {
27974
- "see": "https://prettier.io/docs/en/options.html",
27975
- "stability": "experimental",
27976
- "summary": "Options for Prettier."
27977
- },
27978
- "fqn": "projen.javascript.PrettierOptions",
27979
- "interfaces": [
27980
- "projen.javascript.PrettierBaseOptions"
27981
- ],
27982
- "kind": "interface",
27983
- "locationInModule": {
27984
- "filename": "src/javascript/prettier.ts",
27985
- "line": 10
27986
- },
27987
- "name": "PrettierOptions",
27988
- "namespace": "javascript",
27989
- "properties": [
27990
- {
27991
- "abstract": true,
27992
- "docs": {
27993
- "default": "[]",
27994
- "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
27995
- "stability": "experimental",
27996
- "summary": "Provide a list of patterns to override prettier configuration."
27997
- },
27998
- "immutable": true,
27999
- "locationInModule": {
28000
- "filename": "src/javascript/prettier.ts",
28001
- "line": 17
28002
- },
28003
- "name": "overrides",
28004
- "optional": true,
28005
- "type": {
28006
- "collection": {
28007
- "elementtype": {
28008
- "fqn": "projen.javascript.PrettierOverride"
28009
- },
28010
- "kind": "array"
28011
- }
28012
- }
28013
- }
28014
- ],
28015
- "symbolId": "src/javascript/prettier:PrettierOptions"
28016
- },
28017
- "projen.javascript.PrettierOverride": {
28018
- "assembly": "projen",
28019
- "datatype": true,
28020
- "docs": {
28021
- "stability": "experimental"
28022
- },
28023
- "fqn": "projen.javascript.PrettierOverride",
28024
- "kind": "interface",
28025
- "locationInModule": {
28026
- "filename": "src/javascript/prettier.ts",
28027
- "line": 250
28028
- },
28029
- "name": "PrettierOverride",
28030
- "namespace": "javascript",
28031
- "properties": [
28032
- {
28033
- "abstract": true,
28034
- "docs": {
28035
- "stability": "experimental",
28036
- "summary": "Include these files in this override."
28037
- },
28038
- "immutable": true,
28039
- "locationInModule": {
28040
- "filename": "src/javascript/prettier.ts",
28041
- "line": 258
28042
- },
28043
- "name": "files",
28044
- "type": {
28045
- "union": {
28046
- "types": [
28047
- {
28048
- "primitive": "string"
28049
- },
28050
- {
28051
- "collection": {
28052
- "elementtype": {
28053
- "primitive": "string"
28054
- },
28055
- "kind": "array"
28056
- }
28057
- }
28058
- ]
28059
- }
28060
- }
28061
- },
28062
- {
28063
- "abstract": true,
28064
- "docs": {
28065
- "stability": "experimental",
28066
- "summary": "The options to apply for this override."
28067
- },
28068
- "immutable": true,
28069
- "locationInModule": {
28070
- "filename": "src/javascript/prettier.ts",
28071
- "line": 262
28072
- },
28073
- "name": "options",
28074
- "type": {
28075
- "fqn": "projen.javascript.PrettierBaseOptions"
28076
- }
28077
- },
28078
- {
28079
- "abstract": true,
28080
- "docs": {
28081
- "stability": "experimental",
28082
- "summary": "Exclude these files from this override."
28083
- },
28084
- "immutable": true,
28085
- "locationInModule": {
28086
- "filename": "src/javascript/prettier.ts",
28087
- "line": 254
28088
- },
28089
- "name": "excludeFiles",
28090
- "optional": true,
28091
- "type": {
28092
- "union": {
28093
- "types": [
28094
- {
28095
- "primitive": "string"
28096
- },
28097
- {
28098
- "collection": {
28099
- "elementtype": {
28100
- "primitive": "string"
28101
- },
28102
- "kind": "array"
28103
- }
28104
- }
28105
- ]
28106
- }
28107
- }
28108
- }
28109
- ],
28110
- "symbolId": "src/javascript/prettier:PrettierOverride"
28376
+ "symbolId": "src/javascript/prettier:PrettierSettings"
28111
28377
  },
28112
28378
  "projen.javascript.Projenrc": {
28113
28379
  "assembly": "projen",
@@ -28195,24 +28461,27 @@
28195
28461
  "kind": "enum",
28196
28462
  "locationInModule": {
28197
28463
  "filename": "src/javascript/prettier.ts",
28198
- "line": 272
28464
+ "line": 286
28199
28465
  },
28200
28466
  "members": [
28201
28467
  {
28202
28468
  "docs": {
28203
- "stability": "experimental"
28469
+ "stability": "experimental",
28470
+ "summary": "Wrap prose if it exceeds the print width."
28204
28471
  },
28205
28472
  "name": "ALWAYS"
28206
28473
  },
28207
28474
  {
28208
28475
  "docs": {
28209
- "stability": "experimental"
28476
+ "stability": "experimental",
28477
+ "summary": "Do not wrap prose."
28210
28478
  },
28211
28479
  "name": "NEVER"
28212
28480
  },
28213
28481
  {
28214
28482
  "docs": {
28215
- "stability": "experimental"
28483
+ "stability": "experimental",
28484
+ "summary": "Wrap prose as-is."
28216
28485
  },
28217
28486
  "name": "PRESERVE"
28218
28487
  }
@@ -28230,24 +28499,27 @@
28230
28499
  "kind": "enum",
28231
28500
  "locationInModule": {
28232
28501
  "filename": "src/javascript/prettier.ts",
28233
- "line": 278
28502
+ "line": 303
28234
28503
  },
28235
28504
  "members": [
28236
28505
  {
28237
28506
  "docs": {
28238
- "stability": "experimental"
28507
+ "stability": "experimental",
28508
+ "summary": "Only add quotes around object properties where required."
28239
28509
  },
28240
28510
  "name": "ASNEEDED"
28241
28511
  },
28242
28512
  {
28243
28513
  "docs": {
28244
- "stability": "experimental"
28514
+ "stability": "experimental",
28515
+ "summary": "If at least one property in an object requires quotes, quote all properties."
28245
28516
  },
28246
28517
  "name": "CONSISTENT"
28247
28518
  },
28248
28519
  {
28249
28520
  "docs": {
28250
- "stability": "experimental"
28521
+ "stability": "experimental",
28522
+ "summary": "Respect the input use of quotes in object properties."
28251
28523
  },
28252
28524
  "name": "PRESERVE"
28253
28525
  }
@@ -28265,24 +28537,27 @@
28265
28537
  "kind": "enum",
28266
28538
  "locationInModule": {
28267
28539
  "filename": "src/javascript/prettier.ts",
28268
- "line": 284
28540
+ "line": 320
28269
28541
  },
28270
28542
  "members": [
28271
28543
  {
28272
28544
  "docs": {
28273
- "stability": "experimental"
28545
+ "stability": "experimental",
28546
+ "summary": "Trailing commas wherever possible (including function arguments)."
28274
28547
  },
28275
28548
  "name": "ALL"
28276
28549
  },
28277
28550
  {
28278
28551
  "docs": {
28279
- "stability": "experimental"
28552
+ "stability": "experimental",
28553
+ "summary": "Trailing commas where valid in ES5 (objects, arrays, etc.)."
28280
28554
  },
28281
28555
  "name": "ES5"
28282
28556
  },
28283
28557
  {
28284
28558
  "docs": {
28285
- "stability": "experimental"
28559
+ "stability": "experimental",
28560
+ "summary": "No trailing commas."
28286
28561
  },
28287
28562
  "name": "NONE"
28288
28563
  }
@@ -37536,6 +37811,6 @@
37536
37811
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
37537
37812
  }
37538
37813
  },
37539
- "version": "0.47.14",
37540
- "fingerprint": "NkCY7/EsRmdDw3IuCuGYc7pUNEtYh86uhE9s2Qr+M3k="
37814
+ "version": "0.49.0",
37815
+ "fingerprint": "/D6XPXcpr02I6lms4+OftohTgarEVJoFwvYamg+Os0E="
37541
37816
  }