projen 0.47.5 → 0.47.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/.jsii +1213 -109
  2. package/API.md +375 -0
  3. package/changelog.md +6 -1
  4. package/lib/awscdk/auto-discover.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps.js +1 -1
  8. package/lib/awscdk/cdk-config.js +1 -1
  9. package/lib/awscdk/cdk-tasks.js +1 -1
  10. package/lib/awscdk/integration-test.js +1 -1
  11. package/lib/awscdk/java-app.js +1 -1
  12. package/lib/awscdk/lambda-function.js +2 -2
  13. package/lib/build/build-workflow.d.ts +0 -4
  14. package/lib/build/build-workflow.js +8 -32
  15. package/lib/cdk/construct-lib.js +1 -1
  16. package/lib/cdk/jsii-docgen.js +1 -1
  17. package/lib/cdk/jsii-project.d.ts +1 -1
  18. package/lib/cdk/jsii-project.js +2 -2
  19. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  20. package/lib/cdk8s/cdk8s-construct.js +1 -1
  21. package/lib/cdktf/cdktf-construct.js +1 -1
  22. package/lib/component.js +1 -1
  23. package/lib/dependencies.js +1 -1
  24. package/lib/dev-env.js +1 -1
  25. package/lib/docker-compose.js +2 -2
  26. package/lib/file.js +1 -1
  27. package/lib/gitattributes.js +1 -1
  28. package/lib/github/auto-approve.js +1 -1
  29. package/lib/github/auto-merge.js +1 -1
  30. package/lib/github/dependabot.js +1 -1
  31. package/lib/github/github-project.js +1 -1
  32. package/lib/github/github.js +1 -1
  33. package/lib/github/mergify.js +1 -1
  34. package/lib/github/pr-template.js +1 -1
  35. package/lib/github/pull-request-lint.js +1 -1
  36. package/lib/github/stale.js +1 -1
  37. package/lib/github/task-workflow.js +1 -1
  38. package/lib/github/workflow-actions.d.ts +8 -0
  39. package/lib/github/workflow-actions.js +16 -3
  40. package/lib/github/workflows.js +1 -1
  41. package/lib/gitpod.js +1 -1
  42. package/lib/ignore-file.js +1 -1
  43. package/lib/ini.js +1 -1
  44. package/lib/java/java-project.js +1 -1
  45. package/lib/java/junit.js +1 -1
  46. package/lib/java/maven-compile.js +1 -1
  47. package/lib/java/maven-packaging.js +1 -1
  48. package/lib/java/maven-sample.js +1 -1
  49. package/lib/java/pom.js +1 -1
  50. package/lib/java/projenrc.js +1 -1
  51. package/lib/javascript/bundler.js +1 -1
  52. package/lib/javascript/eslint.js +1 -1
  53. package/lib/javascript/index.d.ts +2 -1
  54. package/lib/javascript/index.js +3 -2
  55. package/lib/javascript/jest.js +1 -1
  56. package/lib/javascript/node-package.js +1 -1
  57. package/lib/javascript/node-project.d.ts +40 -2
  58. package/lib/javascript/node-project.js +46 -30
  59. package/lib/javascript/npm-config.js +1 -1
  60. package/lib/javascript/prettier.d.ts +444 -0
  61. package/lib/javascript/prettier.js +113 -0
  62. package/lib/javascript/projenrc.js +1 -1
  63. package/lib/javascript/typescript-config.js +1 -1
  64. package/lib/javascript/upgrade-dependencies.js +2 -2
  65. package/lib/json.js +1 -1
  66. package/lib/license.js +1 -1
  67. package/lib/logger.js +1 -1
  68. package/lib/makefile.js +1 -1
  69. package/lib/object-file.js +1 -1
  70. package/lib/project-build.js +1 -1
  71. package/lib/project.js +1 -1
  72. package/lib/projects.js +1 -1
  73. package/lib/projenrc-json.js +1 -1
  74. package/lib/python/pip.js +1 -1
  75. package/lib/python/poetry.js +2 -2
  76. package/lib/python/projenrc.js +1 -1
  77. package/lib/python/pytest.js +1 -1
  78. package/lib/python/python-project.js +1 -1
  79. package/lib/python/python-sample.js +1 -1
  80. package/lib/python/requirements-file.js +1 -1
  81. package/lib/python/setuppy.js +1 -1
  82. package/lib/python/setuptools.js +1 -1
  83. package/lib/python/venv.js +1 -1
  84. package/lib/readme.js +1 -1
  85. package/lib/release/publisher.js +1 -1
  86. package/lib/release/release-trigger.js +1 -1
  87. package/lib/release/release.js +1 -1
  88. package/lib/sample-file.js +2 -2
  89. package/lib/semver.js +1 -1
  90. package/lib/source-code.js +1 -1
  91. package/lib/task-runtime.js +1 -1
  92. package/lib/task.js +1 -1
  93. package/lib/tasks.js +1 -1
  94. package/lib/testing.js +1 -1
  95. package/lib/textfile.js +1 -1
  96. package/lib/toml.js +1 -1
  97. package/lib/typescript/projenrc.js +1 -1
  98. package/lib/typescript/typescript-typedoc.js +1 -1
  99. package/lib/typescript/typescript.js +3 -3
  100. package/lib/version.js +1 -1
  101. package/lib/vscode/devcontainer.js +1 -1
  102. package/lib/vscode/launch-config.js +1 -1
  103. package/lib/vscode/vscode.js +1 -1
  104. package/lib/web/next.js +3 -3
  105. package/lib/web/postcss.js +1 -1
  106. package/lib/web/react.js +4 -4
  107. package/lib/web/tailwind.js +1 -1
  108. package/lib/xmlfile.js +1 -1
  109. package/lib/yaml.js +1 -1
  110. package/package.json +1 -1
  111. package/releasetag.txt +1 -1
  112. package/version.txt +1 -1
package/.jsii CHANGED
@@ -11248,7 +11248,7 @@
11248
11248
  },
11249
11249
  "locationInModule": {
11250
11250
  "filename": "src/build/build-workflow.ts",
11251
- "line": 85
11251
+ "line": 86
11252
11252
  },
11253
11253
  "parameters": [
11254
11254
  {
@@ -11268,7 +11268,7 @@
11268
11268
  "kind": "class",
11269
11269
  "locationInModule": {
11270
11270
  "filename": "src/build/build-workflow.ts",
11271
- "line": 74
11271
+ "line": 75
11272
11272
  },
11273
11273
  "methods": [
11274
11274
  {
@@ -11279,7 +11279,7 @@
11279
11279
  },
11280
11280
  "locationInModule": {
11281
11281
  "filename": "src/build/build-workflow.ts",
11282
- "line": 161
11282
+ "line": 162
11283
11283
  },
11284
11284
  "name": "addPostBuildJob",
11285
11285
  "parameters": [
@@ -11310,7 +11310,7 @@
11310
11310
  },
11311
11311
  "locationInModule": {
11312
11312
  "filename": "src/build/build-workflow.ts",
11313
- "line": 146
11313
+ "line": 147
11314
11314
  },
11315
11315
  "name": "addPostBuildSteps",
11316
11316
  "parameters": [
@@ -11339,7 +11339,7 @@
11339
11339
  "immutable": true,
11340
11340
  "locationInModule": {
11341
11341
  "filename": "src/build/build-workflow.ts",
11342
- "line": 138
11342
+ "line": 139
11343
11343
  },
11344
11344
  "name": "buildJobIds",
11345
11345
  "type": {
@@ -11364,7 +11364,7 @@
11364
11364
  "kind": "interface",
11365
11365
  "locationInModule": {
11366
11366
  "filename": "src/build/build-workflow.ts",
11367
- "line": 17
11367
+ "line": 18
11368
11368
  },
11369
11369
  "name": "BuildWorkflowOptions",
11370
11370
  "namespace": "build",
@@ -11378,7 +11378,7 @@
11378
11378
  "immutable": true,
11379
11379
  "locationInModule": {
11380
11380
  "filename": "src/build/build-workflow.ts",
11381
- "line": 26
11381
+ "line": 27
11382
11382
  },
11383
11383
  "name": "artifactsDirectory",
11384
11384
  "type": {
@@ -11394,7 +11394,7 @@
11394
11394
  "immutable": true,
11395
11395
  "locationInModule": {
11396
11396
  "filename": "src/build/build-workflow.ts",
11397
- "line": 21
11397
+ "line": 22
11398
11398
  },
11399
11399
  "name": "buildTask",
11400
11400
  "type": {
@@ -11411,7 +11411,7 @@
11411
11411
  "immutable": true,
11412
11412
  "locationInModule": {
11413
11413
  "filename": "src/build/build-workflow.ts",
11414
- "line": 32
11414
+ "line": 33
11415
11415
  },
11416
11416
  "name": "containerImage",
11417
11417
  "optional": true,
@@ -11429,7 +11429,7 @@
11429
11429
  "immutable": true,
11430
11430
  "locationInModule": {
11431
11431
  "filename": "src/build/build-workflow.ts",
11432
- "line": 71
11432
+ "line": 72
11433
11433
  },
11434
11434
  "name": "env",
11435
11435
  "optional": true,
@@ -11452,7 +11452,7 @@
11452
11452
  "immutable": true,
11453
11453
  "locationInModule": {
11454
11454
  "filename": "src/build/build-workflow.ts",
11455
- "line": 65
11455
+ "line": 66
11456
11456
  },
11457
11457
  "name": "gitIdentity",
11458
11458
  "optional": true,
@@ -11471,7 +11471,7 @@
11471
11471
  "immutable": true,
11472
11472
  "locationInModule": {
11473
11473
  "filename": "src/build/build-workflow.ts",
11474
- "line": 47
11474
+ "line": 48
11475
11475
  },
11476
11476
  "name": "mutableBuild",
11477
11477
  "optional": true,
@@ -11489,7 +11489,7 @@
11489
11489
  "immutable": true,
11490
11490
  "locationInModule": {
11491
11491
  "filename": "src/build/build-workflow.ts",
11492
- "line": 59
11492
+ "line": 60
11493
11493
  },
11494
11494
  "name": "postBuildSteps",
11495
11495
  "optional": true,
@@ -11512,7 +11512,7 @@
11512
11512
  "immutable": true,
11513
11513
  "locationInModule": {
11514
11514
  "filename": "src/build/build-workflow.ts",
11515
- "line": 53
11515
+ "line": 54
11516
11516
  },
11517
11517
  "name": "preBuildSteps",
11518
11518
  "optional": true,
@@ -21110,6 +21110,35 @@
21110
21110
  ],
21111
21111
  "symbolId": "src/javascript/bundler:AddBundleOptions"
21112
21112
  },
21113
+ "projen.javascript.ArrowParens": {
21114
+ "assembly": "projen",
21115
+ "docs": {
21116
+ "stability": "experimental"
21117
+ },
21118
+ "fqn": "projen.javascript.ArrowParens",
21119
+ "kind": "enum",
21120
+ "locationInModule": {
21121
+ "filename": "src/javascript/prettier.ts",
21122
+ "line": 227
21123
+ },
21124
+ "members": [
21125
+ {
21126
+ "docs": {
21127
+ "stability": "experimental"
21128
+ },
21129
+ "name": "ALWAYS"
21130
+ },
21131
+ {
21132
+ "docs": {
21133
+ "stability": "experimental"
21134
+ },
21135
+ "name": "AVOID"
21136
+ }
21137
+ ],
21138
+ "name": "ArrowParens",
21139
+ "namespace": "javascript",
21140
+ "symbolId": "src/javascript/prettier:ArrowParens"
21141
+ },
21113
21142
  "projen.javascript.AutoRelease": {
21114
21143
  "assembly": "projen",
21115
21144
  "docs": {
@@ -21120,7 +21149,7 @@
21120
21149
  "kind": "enum",
21121
21150
  "locationInModule": {
21122
21151
  "filename": "src/javascript/node-project.ts",
21123
- "line": 302
21152
+ "line": 322
21124
21153
  },
21125
21154
  "members": [
21126
21155
  {
@@ -21678,6 +21707,76 @@
21678
21707
  ],
21679
21708
  "symbolId": "src/javascript/jest:CoverageThreshold"
21680
21709
  },
21710
+ "projen.javascript.EmbeddedLanguageFormatting": {
21711
+ "assembly": "projen",
21712
+ "docs": {
21713
+ "stability": "experimental"
21714
+ },
21715
+ "fqn": "projen.javascript.EmbeddedLanguageFormatting",
21716
+ "kind": "enum",
21717
+ "locationInModule": {
21718
+ "filename": "src/javascript/prettier.ts",
21719
+ "line": 232
21720
+ },
21721
+ "members": [
21722
+ {
21723
+ "docs": {
21724
+ "stability": "experimental"
21725
+ },
21726
+ "name": "AUTO"
21727
+ },
21728
+ {
21729
+ "docs": {
21730
+ "stability": "experimental"
21731
+ },
21732
+ "name": "OFF"
21733
+ }
21734
+ ],
21735
+ "name": "EmbeddedLanguageFormatting",
21736
+ "namespace": "javascript",
21737
+ "symbolId": "src/javascript/prettier:EmbeddedLanguageFormatting"
21738
+ },
21739
+ "projen.javascript.EndOfLine": {
21740
+ "assembly": "projen",
21741
+ "docs": {
21742
+ "stability": "experimental"
21743
+ },
21744
+ "fqn": "projen.javascript.EndOfLine",
21745
+ "kind": "enum",
21746
+ "locationInModule": {
21747
+ "filename": "src/javascript/prettier.ts",
21748
+ "line": 237
21749
+ },
21750
+ "members": [
21751
+ {
21752
+ "docs": {
21753
+ "stability": "experimental"
21754
+ },
21755
+ "name": "AUTO"
21756
+ },
21757
+ {
21758
+ "docs": {
21759
+ "stability": "experimental"
21760
+ },
21761
+ "name": "CR"
21762
+ },
21763
+ {
21764
+ "docs": {
21765
+ "stability": "experimental"
21766
+ },
21767
+ "name": "CRLF"
21768
+ },
21769
+ {
21770
+ "docs": {
21771
+ "stability": "experimental"
21772
+ },
21773
+ "name": "LF"
21774
+ }
21775
+ ],
21776
+ "name": "EndOfLine",
21777
+ "namespace": "javascript",
21778
+ "symbolId": "src/javascript/prettier:EndOfLine"
21779
+ },
21681
21780
  "projen.javascript.Eslint": {
21682
21781
  "assembly": "projen",
21683
21782
  "base": "projen.Component",
@@ -22201,6 +22300,41 @@
22201
22300
  ],
22202
22301
  "symbolId": "src/javascript/eslint:EslintOverride"
22203
22302
  },
22303
+ "projen.javascript.HTMLWhitespaceSensitivity": {
22304
+ "assembly": "projen",
22305
+ "docs": {
22306
+ "stability": "experimental"
22307
+ },
22308
+ "fqn": "projen.javascript.HTMLWhitespaceSensitivity",
22309
+ "kind": "enum",
22310
+ "locationInModule": {
22311
+ "filename": "src/javascript/prettier.ts",
22312
+ "line": 244
22313
+ },
22314
+ "members": [
22315
+ {
22316
+ "docs": {
22317
+ "stability": "experimental"
22318
+ },
22319
+ "name": "CSS"
22320
+ },
22321
+ {
22322
+ "docs": {
22323
+ "stability": "experimental"
22324
+ },
22325
+ "name": "IGNORE"
22326
+ },
22327
+ {
22328
+ "docs": {
22329
+ "stability": "experimental"
22330
+ },
22331
+ "name": "STRICT"
22332
+ }
22333
+ ],
22334
+ "name": "HTMLWhitespaceSensitivity",
22335
+ "namespace": "javascript",
22336
+ "symbolId": "src/javascript/prettier:HTMLWhitespaceSensitivity"
22337
+ },
22204
22338
  "projen.javascript.HasteConfig": {
22205
22339
  "assembly": "projen",
22206
22340
  "datatype": true,
@@ -25465,7 +25599,7 @@
25465
25599
  },
25466
25600
  "locationInModule": {
25467
25601
  "filename": "src/javascript/node-project.ts",
25468
- "line": 422
25602
+ "line": 448
25469
25603
  },
25470
25604
  "parameters": [
25471
25605
  {
@@ -25479,7 +25613,7 @@
25479
25613
  "kind": "class",
25480
25614
  "locationInModule": {
25481
25615
  "filename": "src/javascript/node-project.ts",
25482
- "line": 319
25616
+ "line": 339
25483
25617
  },
25484
25618
  "methods": [
25485
25619
  {
@@ -25488,7 +25622,7 @@
25488
25622
  },
25489
25623
  "locationInModule": {
25490
25624
  "filename": "src/javascript/node-project.ts",
25491
- "line": 667
25625
+ "line": 701
25492
25626
  },
25493
25627
  "name": "addBins",
25494
25628
  "parameters": [
@@ -25513,7 +25647,7 @@
25513
25647
  },
25514
25648
  "locationInModule": {
25515
25649
  "filename": "src/javascript/node-project.ts",
25516
- "line": 820
25650
+ "line": 854
25517
25651
  },
25518
25652
  "name": "addBundledDeps",
25519
25653
  "parameters": [
@@ -25539,7 +25673,7 @@
25539
25673
  },
25540
25674
  "locationInModule": {
25541
25675
  "filename": "src/javascript/node-project.ts",
25542
- "line": 701
25676
+ "line": 735
25543
25677
  },
25544
25678
  "name": "addCompileCommand",
25545
25679
  "parameters": [
@@ -25560,7 +25694,7 @@
25560
25694
  },
25561
25695
  "locationInModule": {
25562
25696
  "filename": "src/javascript/node-project.ts",
25563
- "line": 774
25697
+ "line": 808
25564
25698
  },
25565
25699
  "name": "addDeps",
25566
25700
  "parameters": [
@@ -25585,7 +25719,7 @@
25585
25719
  },
25586
25720
  "locationInModule": {
25587
25721
  "filename": "src/javascript/node-project.ts",
25588
- "line": 787
25722
+ "line": 821
25589
25723
  },
25590
25724
  "name": "addDevDeps",
25591
25725
  "parameters": [
@@ -25610,7 +25744,7 @@
25610
25744
  },
25611
25745
  "locationInModule": {
25612
25746
  "filename": "src/javascript/node-project.ts",
25613
- "line": 721
25747
+ "line": 755
25614
25748
  },
25615
25749
  "name": "addFields",
25616
25750
  "parameters": [
@@ -25637,7 +25771,7 @@
25637
25771
  },
25638
25772
  "locationInModule": {
25639
25773
  "filename": "src/javascript/node-project.ts",
25640
- "line": 731
25774
+ "line": 765
25641
25775
  },
25642
25776
  "name": "addKeywords",
25643
25777
  "parameters": [
@@ -25662,7 +25796,7 @@
25662
25796
  },
25663
25797
  "locationInModule": {
25664
25798
  "filename": "src/javascript/node-project.ts",
25665
- "line": 824
25799
+ "line": 858
25666
25800
  },
25667
25801
  "name": "addPackageIgnore",
25668
25802
  "overrides": "projen.Project",
@@ -25683,7 +25817,7 @@
25683
25817
  },
25684
25818
  "locationInModule": {
25685
25819
  "filename": "src/javascript/node-project.ts",
25686
- "line": 804
25820
+ "line": 838
25687
25821
  },
25688
25822
  "name": "addPeerDeps",
25689
25823
  "parameters": [
@@ -25701,6 +25835,28 @@
25701
25835
  ],
25702
25836
  "variadic": true
25703
25837
  },
25838
+ {
25839
+ "docs": {
25840
+ "stability": "experimental",
25841
+ "summary": "Defines Prettier ignore Patterns these patterns will be added to the file .prettierignore."
25842
+ },
25843
+ "locationInModule": {
25844
+ "filename": "src/javascript/node-project.ts",
25845
+ "line": 868
25846
+ },
25847
+ "name": "addPrettierIgnore",
25848
+ "parameters": [
25849
+ {
25850
+ "docs": {
25851
+ "summary": "filepatterns so exclude from prettier formatting."
25852
+ },
25853
+ "name": "pattern",
25854
+ "type": {
25855
+ "primitive": "string"
25856
+ }
25857
+ }
25858
+ ]
25859
+ },
25704
25860
  {
25705
25861
  "docs": {
25706
25862
  "deprecated": "use `project.testTask.exec()`",
@@ -25709,7 +25865,7 @@
25709
25865
  },
25710
25866
  "locationInModule": {
25711
25867
  "filename": "src/javascript/node-project.ts",
25712
- "line": 711
25868
+ "line": 745
25713
25869
  },
25714
25870
  "name": "addTestCommand",
25715
25871
  "parameters": [
@@ -25730,7 +25886,7 @@
25730
25886
  },
25731
25887
  "locationInModule": {
25732
25888
  "filename": "src/javascript/node-project.ts",
25733
- "line": 693
25889
+ "line": 727
25734
25890
  },
25735
25891
  "name": "hasScript",
25736
25892
  "parameters": [
@@ -25757,7 +25913,7 @@
25757
25913
  },
25758
25914
  "locationInModule": {
25759
25915
  "filename": "src/javascript/node-project.ts",
25760
- "line": 685
25916
+ "line": 719
25761
25917
  },
25762
25918
  "name": "removeScript",
25763
25919
  "parameters": [
@@ -25780,7 +25936,7 @@
25780
25936
  },
25781
25937
  "locationInModule": {
25782
25938
  "filename": "src/javascript/node-project.ts",
25783
- "line": 898
25939
+ "line": 942
25784
25940
  },
25785
25941
  "name": "runTaskCommand",
25786
25942
  "overrides": "projen.Project",
@@ -25808,7 +25964,7 @@
25808
25964
  },
25809
25965
  "locationInModule": {
25810
25966
  "filename": "src/javascript/node-project.ts",
25811
- "line": 677
25967
+ "line": 711
25812
25968
  },
25813
25969
  "name": "setScript",
25814
25970
  "parameters": [
@@ -25844,7 +26000,7 @@
25844
26000
  "immutable": true,
25845
26001
  "locationInModule": {
25846
26002
  "filename": "src/javascript/node-project.ts",
25847
- "line": 333
26003
+ "line": 358
25848
26004
  },
25849
26005
  "name": "allowLibraryDependencies",
25850
26006
  "type": {
@@ -25860,7 +26016,7 @@
25860
26016
  "immutable": true,
25861
26017
  "locationInModule": {
25862
26018
  "filename": "src/javascript/node-project.ts",
25863
- "line": 407
26019
+ "line": 432
25864
26020
  },
25865
26021
  "name": "artifactsDirectory",
25866
26022
  "type": {
@@ -25875,7 +26031,7 @@
25875
26031
  "immutable": true,
25876
26032
  "locationInModule": {
25877
26033
  "filename": "src/javascript/node-project.ts",
25878
- "line": 412
26034
+ "line": 437
25879
26035
  },
25880
26036
  "name": "artifactsJavascriptDirectory",
25881
26037
  "type": {
@@ -25889,7 +26045,7 @@
25889
26045
  "immutable": true,
25890
26046
  "locationInModule": {
25891
26047
  "filename": "src/javascript/node-project.ts",
25892
- "line": 400
26048
+ "line": 425
25893
26049
  },
25894
26050
  "name": "bundler",
25895
26051
  "type": {
@@ -25904,7 +26060,7 @@
25904
26060
  "immutable": true,
25905
26061
  "locationInModule": {
25906
26062
  "filename": "src/javascript/node-project.ts",
25907
- "line": 338
26063
+ "line": 363
25908
26064
  },
25909
26065
  "name": "entrypoint",
25910
26066
  "type": {
@@ -25918,7 +26074,7 @@
25918
26074
  "immutable": true,
25919
26075
  "locationInModule": {
25920
26076
  "filename": "src/javascript/node-project.ts",
25921
- "line": 735
26077
+ "line": 769
25922
26078
  },
25923
26079
  "name": "installWorkflowSteps",
25924
26080
  "type": {
@@ -25938,7 +26094,7 @@
25938
26094
  "immutable": true,
25939
26095
  "locationInModule": {
25940
26096
  "filename": "src/javascript/node-project.ts",
25941
- "line": 396
26097
+ "line": 421
25942
26098
  },
25943
26099
  "name": "manifest",
25944
26100
  "type": {
@@ -25953,7 +26109,7 @@
25953
26109
  "immutable": true,
25954
26110
  "locationInModule": {
25955
26111
  "filename": "src/javascript/node-project.ts",
25956
- "line": 323
26112
+ "line": 343
25957
26113
  },
25958
26114
  "name": "package",
25959
26115
  "type": {
@@ -25969,7 +26125,7 @@
25969
26125
  "immutable": true,
25970
26126
  "locationInModule": {
25971
26127
  "filename": "src/javascript/node-project.ts",
25972
- "line": 381
26128
+ "line": 406
25973
26129
  },
25974
26130
  "name": "packageManager",
25975
26131
  "type": {
@@ -25984,7 +26140,7 @@
25984
26140
  "immutable": true,
25985
26141
  "locationInModule": {
25986
26142
  "filename": "src/javascript/node-project.ts",
25987
- "line": 386
26143
+ "line": 411
25988
26144
  },
25989
26145
  "name": "runScriptCommand",
25990
26146
  "type": {
@@ -25999,7 +26155,7 @@
25999
26155
  "immutable": true,
26000
26156
  "locationInModule": {
26001
26157
  "filename": "src/javascript/node-project.ts",
26002
- "line": 343
26158
+ "line": 368
26003
26159
  },
26004
26160
  "name": "autoMerge",
26005
26161
  "optional": true,
@@ -26016,7 +26172,7 @@
26016
26172
  "immutable": true,
26017
26173
  "locationInModule": {
26018
26174
  "filename": "src/javascript/node-project.ts",
26019
- "line": 349
26175
+ "line": 374
26020
26176
  },
26021
26177
  "name": "buildWorkflow",
26022
26178
  "optional": true,
@@ -26032,7 +26188,7 @@
26032
26188
  "immutable": true,
26033
26189
  "locationInModule": {
26034
26190
  "filename": "src/javascript/node-project.ts",
26035
- "line": 905
26191
+ "line": 949
26036
26192
  },
26037
26193
  "name": "buildWorkflowJobId",
26038
26194
  "optional": true,
@@ -26048,7 +26204,7 @@
26048
26204
  "immutable": true,
26049
26205
  "locationInModule": {
26050
26206
  "filename": "src/javascript/node-project.ts",
26051
- "line": 391
26207
+ "line": 416
26052
26208
  },
26053
26209
  "name": "jest",
26054
26210
  "optional": true,
@@ -26064,7 +26220,7 @@
26064
26220
  "immutable": true,
26065
26221
  "locationInModule": {
26066
26222
  "filename": "src/javascript/node-project.ts",
26067
- "line": 372
26223
+ "line": 397
26068
26224
  },
26069
26225
  "name": "maxNodeVersion",
26070
26226
  "optional": true,
@@ -26080,7 +26236,7 @@
26080
26236
  "immutable": true,
26081
26237
  "locationInModule": {
26082
26238
  "filename": "src/javascript/node-project.ts",
26083
- "line": 367
26239
+ "line": 392
26084
26240
  },
26085
26241
  "name": "minNodeVersion",
26086
26242
  "optional": true,
@@ -26096,7 +26252,7 @@
26096
26252
  "immutable": true,
26097
26253
  "locationInModule": {
26098
26254
  "filename": "src/javascript/node-project.ts",
26099
- "line": 328
26255
+ "line": 348
26100
26256
  },
26101
26257
  "name": "npmignore",
26102
26258
  "optional": true,
@@ -26104,6 +26260,37 @@
26104
26260
  "fqn": "projen.IgnoreFile"
26105
26261
  }
26106
26262
  },
26263
+ {
26264
+ "docs": {
26265
+ "stability": "experimental"
26266
+ },
26267
+ "immutable": true,
26268
+ "locationInModule": {
26269
+ "filename": "src/javascript/node-project.ts",
26270
+ "line": 446
26271
+ },
26272
+ "name": "prettier",
26273
+ "optional": true,
26274
+ "type": {
26275
+ "fqn": "projen.javascript.Prettier"
26276
+ }
26277
+ },
26278
+ {
26279
+ "docs": {
26280
+ "stability": "experimental",
26281
+ "summary": "The .prettierIgnore file."
26282
+ },
26283
+ "immutable": true,
26284
+ "locationInModule": {
26285
+ "filename": "src/javascript/node-project.ts",
26286
+ "line": 353
26287
+ },
26288
+ "name": "prettierIgnore",
26289
+ "optional": true,
26290
+ "type": {
26291
+ "fqn": "projen.IgnoreFile"
26292
+ }
26293
+ },
26107
26294
  {
26108
26295
  "docs": {
26109
26296
  "deprecated": "use `release.publisher`.",
@@ -26114,7 +26301,7 @@
26114
26301
  "immutable": true,
26115
26302
  "locationInModule": {
26116
26303
  "filename": "src/javascript/node-project.ts",
26117
- "line": 357
26304
+ "line": 382
26118
26305
  },
26119
26306
  "name": "publisher",
26120
26307
  "optional": true,
@@ -26130,7 +26317,7 @@
26130
26317
  "immutable": true,
26131
26318
  "locationInModule": {
26132
26319
  "filename": "src/javascript/node-project.ts",
26133
- "line": 362
26320
+ "line": 387
26134
26321
  },
26135
26322
  "name": "release",
26136
26323
  "optional": true,
@@ -26146,7 +26333,7 @@
26146
26333
  "immutable": true,
26147
26334
  "locationInModule": {
26148
26335
  "filename": "src/javascript/node-project.ts",
26149
- "line": 417
26336
+ "line": 442
26150
26337
  },
26151
26338
  "name": "upgradeWorkflow",
26152
26339
  "optional": true,
@@ -26204,7 +26391,7 @@
26204
26391
  "immutable": true,
26205
26392
  "locationInModule": {
26206
26393
  "filename": "src/javascript/node-project.ts",
26207
- "line": 288
26394
+ "line": 308
26208
26395
  },
26209
26396
  "name": "artifactsDirectory",
26210
26397
  "optional": true,
@@ -26277,7 +26464,7 @@
26277
26464
  "immutable": true,
26278
26465
  "locationInModule": {
26279
26466
  "filename": "src/javascript/node-project.ts",
26280
- "line": 281
26467
+ "line": 301
26281
26468
  },
26282
26469
  "name": "bundlerOptions",
26283
26470
  "optional": true,
@@ -26440,7 +26627,7 @@
26440
26627
  "immutable": true,
26441
26628
  "locationInModule": {
26442
26629
  "filename": "src/javascript/node-project.ts",
26443
- "line": 250
26630
+ "line": 270
26444
26631
  },
26445
26632
  "name": "gitignore",
26446
26633
  "optional": true,
@@ -26463,7 +26650,7 @@
26463
26650
  "immutable": true,
26464
26651
  "locationInModule": {
26465
26652
  "filename": "src/javascript/node-project.ts",
26466
- "line": 256
26653
+ "line": 276
26467
26654
  },
26468
26655
  "name": "jest",
26469
26656
  "optional": true,
@@ -26481,7 +26668,7 @@
26481
26668
  "immutable": true,
26482
26669
  "locationInModule": {
26483
26670
  "filename": "src/javascript/node-project.ts",
26484
- "line": 262
26671
+ "line": 282
26485
26672
  },
26486
26673
  "name": "jestOptions",
26487
26674
  "optional": true,
@@ -26559,7 +26746,7 @@
26559
26746
  "immutable": true,
26560
26747
  "locationInModule": {
26561
26748
  "filename": "src/javascript/node-project.ts",
26562
- "line": 296
26749
+ "line": 316
26563
26750
  },
26564
26751
  "name": "package",
26565
26752
  "optional": true,
@@ -26570,16 +26757,16 @@
26570
26757
  {
26571
26758
  "abstract": true,
26572
26759
  "docs": {
26573
- "default": "true",
26760
+ "default": "false",
26574
26761
  "stability": "experimental",
26575
- "summary": "Indicates of \"projen\" should be installed as a devDependency."
26762
+ "summary": "Setup prettier."
26576
26763
  },
26577
26764
  "immutable": true,
26578
26765
  "locationInModule": {
26579
26766
  "filename": "src/javascript/node-project.ts",
26580
- "line": 50
26767
+ "line": 259
26581
26768
  },
26582
- "name": "projenDevDependency",
26769
+ "name": "prettier",
26583
26770
  "optional": true,
26584
26771
  "type": {
26585
26772
  "primitive": "boolean"
@@ -26588,16 +26775,16 @@
26588
26775
  {
26589
26776
  "abstract": true,
26590
26777
  "docs": {
26591
- "default": "- true if projenrcJson is false",
26778
+ "default": "false",
26592
26779
  "stability": "experimental",
26593
- "summary": "Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation."
26780
+ "summary": "Defines an .prettierIgnore file."
26594
26781
  },
26595
26782
  "immutable": true,
26596
26783
  "locationInModule": {
26597
26784
  "filename": "src/javascript/node-project.ts",
26598
- "line": 270
26785
+ "line": 252
26599
26786
  },
26600
- "name": "projenrcJs",
26787
+ "name": "prettierIgnoreEnabled",
26601
26788
  "optional": true,
26602
26789
  "type": {
26603
26790
  "primitive": "boolean"
@@ -26606,36 +26793,34 @@
26606
26793
  {
26607
26794
  "abstract": true,
26608
26795
  "docs": {
26609
- "default": "- default options",
26796
+ "default": "- opinionated default options",
26610
26797
  "stability": "experimental",
26611
- "summary": "Options for .projenrc.js."
26798
+ "summary": "Prettier options."
26612
26799
  },
26613
26800
  "immutable": true,
26614
26801
  "locationInModule": {
26615
26802
  "filename": "src/javascript/node-project.ts",
26616
- "line": 276
26803
+ "line": 265
26617
26804
  },
26618
- "name": "projenrcJsOptions",
26805
+ "name": "prettierOptions",
26619
26806
  "optional": true,
26620
26807
  "type": {
26621
- "fqn": "projen.javascript.ProjenrcOptions"
26808
+ "fqn": "projen.javascript.PrettierOptions"
26622
26809
  }
26623
26810
  },
26624
26811
  {
26625
26812
  "abstract": true,
26626
26813
  "docs": {
26627
- "default": "false",
26628
- "deprecated": "use `autoApproveProjenUpgrades`.",
26629
- "remarks": "Throw if set to true but `autoApproveOptions` are not defined.",
26630
- "stability": "deprecated",
26631
- "summary": "Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued)."
26814
+ "default": "true",
26815
+ "stability": "experimental",
26816
+ "summary": "Indicates of \"projen\" should be installed as a devDependency."
26632
26817
  },
26633
26818
  "immutable": true,
26634
26819
  "locationInModule": {
26635
26820
  "filename": "src/javascript/node-project.ts",
26636
- "line": 190
26821
+ "line": 50
26637
26822
  },
26638
- "name": "projenUpgradeAutoMerge",
26823
+ "name": "projenDevDependency",
26639
26824
  "optional": true,
26640
26825
  "type": {
26641
26826
  "primitive": "boolean"
@@ -26644,16 +26829,72 @@
26644
26829
  {
26645
26830
  "abstract": true,
26646
26831
  "docs": {
26647
- "default": "[ \"0 6 * * *\" ]",
26832
+ "default": "- true if projenrcJson is false",
26648
26833
  "stability": "experimental",
26649
- "summary": "Customize the projenUpgrade schedule in cron expression."
26834
+ "summary": "Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation."
26650
26835
  },
26651
26836
  "immutable": true,
26652
26837
  "locationInModule": {
26653
26838
  "filename": "src/javascript/node-project.ts",
26654
- "line": 217
26839
+ "line": 290
26655
26840
  },
26656
- "name": "projenUpgradeSchedule",
26841
+ "name": "projenrcJs",
26842
+ "optional": true,
26843
+ "type": {
26844
+ "primitive": "boolean"
26845
+ }
26846
+ },
26847
+ {
26848
+ "abstract": true,
26849
+ "docs": {
26850
+ "default": "- default options",
26851
+ "stability": "experimental",
26852
+ "summary": "Options for .projenrc.js."
26853
+ },
26854
+ "immutable": true,
26855
+ "locationInModule": {
26856
+ "filename": "src/javascript/node-project.ts",
26857
+ "line": 296
26858
+ },
26859
+ "name": "projenrcJsOptions",
26860
+ "optional": true,
26861
+ "type": {
26862
+ "fqn": "projen.javascript.ProjenrcOptions"
26863
+ }
26864
+ },
26865
+ {
26866
+ "abstract": true,
26867
+ "docs": {
26868
+ "default": "false",
26869
+ "deprecated": "use `autoApproveProjenUpgrades`.",
26870
+ "remarks": "Throw if set to true but `autoApproveOptions` are not defined.",
26871
+ "stability": "deprecated",
26872
+ "summary": "Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued)."
26873
+ },
26874
+ "immutable": true,
26875
+ "locationInModule": {
26876
+ "filename": "src/javascript/node-project.ts",
26877
+ "line": 190
26878
+ },
26879
+ "name": "projenUpgradeAutoMerge",
26880
+ "optional": true,
26881
+ "type": {
26882
+ "primitive": "boolean"
26883
+ }
26884
+ },
26885
+ {
26886
+ "abstract": true,
26887
+ "docs": {
26888
+ "default": "[ \"0 6 * * *\" ]",
26889
+ "stability": "experimental",
26890
+ "summary": "Customize the projenUpgrade schedule in cron expression."
26891
+ },
26892
+ "immutable": true,
26893
+ "locationInModule": {
26894
+ "filename": "src/javascript/node-project.ts",
26895
+ "line": 217
26896
+ },
26897
+ "name": "projenUpgradeSchedule",
26657
26898
  "optional": true,
26658
26899
  "type": {
26659
26900
  "collection": {
@@ -27073,82 +27314,945 @@
27073
27314
  ],
27074
27315
  "symbolId": "src/javascript/node-package:PeerDependencyOptions"
27075
27316
  },
27076
- "projen.javascript.Projenrc": {
27317
+ "projen.javascript.Prettier": {
27077
27318
  "assembly": "projen",
27078
27319
  "base": "projen.Component",
27079
27320
  "docs": {
27080
27321
  "stability": "experimental",
27081
- "summary": "Sets up a javascript project to use TypeScript for projenrc."
27322
+ "summary": "Represents prettier configuration."
27082
27323
  },
27083
- "fqn": "projen.javascript.Projenrc",
27324
+ "fqn": "projen.javascript.Prettier",
27084
27325
  "initializer": {
27085
27326
  "docs": {
27086
27327
  "stability": "experimental"
27087
27328
  },
27088
27329
  "locationInModule": {
27089
- "filename": "src/javascript/projenrc.ts",
27090
- "line": 20
27330
+ "filename": "src/javascript/prettier.ts",
27331
+ "line": 309
27091
27332
  },
27092
27333
  "parameters": [
27093
27334
  {
27094
27335
  "name": "project",
27095
27336
  "type": {
27096
- "fqn": "projen.Project"
27337
+ "fqn": "projen.javascript.NodeProject"
27097
27338
  }
27098
27339
  },
27099
27340
  {
27100
27341
  "name": "options",
27101
- "optional": true,
27102
27342
  "type": {
27103
- "fqn": "projen.javascript.ProjenrcOptions"
27343
+ "fqn": "projen.javascript.PrettierOptions"
27104
27344
  }
27105
27345
  }
27106
27346
  ]
27107
27347
  },
27108
27348
  "kind": "class",
27109
27349
  "locationInModule": {
27110
- "filename": "src/javascript/projenrc.ts",
27111
- "line": 17
27350
+ "filename": "src/javascript/prettier.ts",
27351
+ "line": 293
27112
27352
  },
27113
- "name": "Projenrc",
27353
+ "methods": [
27354
+ {
27355
+ "docs": {
27356
+ "stability": "experimental"
27357
+ },
27358
+ "locationInModule": {
27359
+ "filename": "src/javascript/prettier.ts",
27360
+ "line": 294
27361
+ },
27362
+ "name": "of",
27363
+ "parameters": [
27364
+ {
27365
+ "name": "project",
27366
+ "type": {
27367
+ "fqn": "projen.Project"
27368
+ }
27369
+ }
27370
+ ],
27371
+ "returns": {
27372
+ "optional": true,
27373
+ "type": {
27374
+ "fqn": "projen.javascript.Prettier"
27375
+ }
27376
+ },
27377
+ "static": true
27378
+ },
27379
+ {
27380
+ "docs": {
27381
+ "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
27382
+ "stability": "experimental",
27383
+ "summary": "Add a prettier override."
27384
+ },
27385
+ "locationInModule": {
27386
+ "filename": "src/javascript/prettier.ts",
27387
+ "line": 326
27388
+ },
27389
+ "name": "addOverride",
27390
+ "parameters": [
27391
+ {
27392
+ "name": "override",
27393
+ "type": {
27394
+ "fqn": "projen.javascript.PrettierOverride"
27395
+ }
27396
+ }
27397
+ ]
27398
+ }
27399
+ ],
27400
+ "name": "Prettier",
27114
27401
  "namespace": "javascript",
27115
- "symbolId": "src/javascript/projenrc:Projenrc"
27402
+ "properties": [
27403
+ {
27404
+ "docs": {
27405
+ "stability": "experimental",
27406
+ "summary": "Direct access to the prettier configuration."
27407
+ },
27408
+ "immutable": true,
27409
+ "locationInModule": {
27410
+ "filename": "src/javascript/prettier.ts",
27411
+ "line": 301
27412
+ },
27413
+ "name": "config",
27414
+ "type": {
27415
+ "fqn": "projen.javascript.PrettierOptions"
27416
+ }
27417
+ },
27418
+ {
27419
+ "docs": {
27420
+ "stability": "experimental",
27421
+ "summary": "Access to the Prettieroverrides to extend those."
27422
+ },
27423
+ "immutable": true,
27424
+ "locationInModule": {
27425
+ "filename": "src/javascript/prettier.ts",
27426
+ "line": 333
27427
+ },
27428
+ "name": "overrides",
27429
+ "type": {
27430
+ "collection": {
27431
+ "elementtype": {
27432
+ "fqn": "projen.javascript.PrettierOverride"
27433
+ },
27434
+ "kind": "array"
27435
+ }
27436
+ }
27437
+ }
27438
+ ],
27439
+ "symbolId": "src/javascript/prettier:Prettier"
27116
27440
  },
27117
- "projen.javascript.ProjenrcOptions": {
27441
+ "projen.javascript.PrettierBaseOptions": {
27118
27442
  "assembly": "projen",
27119
27443
  "datatype": true,
27120
27444
  "docs": {
27121
- "stability": "experimental"
27445
+ "stability": "experimental",
27446
+ "summary": "Options to set in Prettier directly or through overrides."
27122
27447
  },
27123
- "fqn": "projen.javascript.ProjenrcOptions",
27448
+ "fqn": "projen.javascript.PrettierBaseOptions",
27124
27449
  "kind": "interface",
27125
27450
  "locationInModule": {
27126
- "filename": "src/javascript/projenrc.ts",
27127
- "line": 6
27451
+ "filename": "src/javascript/prettier.ts",
27452
+ "line": 23
27128
27453
  },
27129
- "name": "ProjenrcOptions",
27454
+ "name": "PrettierBaseOptions",
27130
27455
  "namespace": "javascript",
27131
27456
  "properties": [
27132
27457
  {
27133
27458
  "abstract": true,
27134
27459
  "docs": {
27135
- "default": "\".projenrc.js\"",
27460
+ "default": "ArrowParens.ALWAYS",
27461
+ "remarks": "Always include parens. Example: `(x) => x`\n\nOmit parens when possible. Example: `x => x`",
27136
27462
  "stability": "experimental",
27137
- "summary": "The name of the projenrc file."
27463
+ "summary": "Include parentheses around a sole arrow function parameter."
27138
27464
  },
27139
27465
  "immutable": true,
27140
27466
  "locationInModule": {
27141
- "filename": "src/javascript/projenrc.ts",
27142
- "line": 11
27467
+ "filename": "src/javascript/prettier.ts",
27468
+ "line": 33
27143
27469
  },
27144
- "name": "filename",
27470
+ "name": "arrowParens",
27471
+ "optional": true,
27472
+ "type": {
27473
+ "fqn": "projen.javascript.ArrowParens"
27474
+ }
27475
+ },
27476
+ {
27477
+ "abstract": true,
27478
+ "docs": {
27479
+ "default": "false",
27480
+ "stability": "experimental",
27481
+ "summary": "Put > of opening tags on the last line instead of on a new line."
27482
+ },
27483
+ "immutable": true,
27484
+ "locationInModule": {
27485
+ "filename": "src/javascript/prettier.ts",
27486
+ "line": 39
27487
+ },
27488
+ "name": "bracketSameLine",
27489
+ "optional": true,
27490
+ "type": {
27491
+ "primitive": "boolean"
27492
+ }
27493
+ },
27494
+ {
27495
+ "abstract": true,
27496
+ "docs": {
27497
+ "default": "true",
27498
+ "stability": "experimental",
27499
+ "summary": "Print spaces between brackets."
27500
+ },
27501
+ "immutable": true,
27502
+ "locationInModule": {
27503
+ "filename": "src/javascript/prettier.ts",
27504
+ "line": 45
27505
+ },
27506
+ "name": "bracketSpacing",
27507
+ "optional": true,
27508
+ "type": {
27509
+ "primitive": "boolean"
27510
+ }
27511
+ },
27512
+ {
27513
+ "abstract": true,
27514
+ "docs": {
27515
+ "default": "-1",
27516
+ "remarks": "This option cannot be used with --range-start and --range-end.",
27517
+ "stability": "experimental",
27518
+ "summary": "Print (to stderr) where a cursor at the given position would move to after formatting."
27519
+ },
27520
+ "immutable": true,
27521
+ "locationInModule": {
27522
+ "filename": "src/javascript/prettier.ts",
27523
+ "line": 52
27524
+ },
27525
+ "name": "cursorOffset",
27526
+ "optional": true,
27527
+ "type": {
27528
+ "primitive": "number"
27529
+ }
27530
+ },
27531
+ {
27532
+ "abstract": true,
27533
+ "docs": {
27534
+ "default": "EmbeddedLanguageFormatting.AUTO",
27535
+ "remarks": "Format embedded code if Prettier can automatically identify it.\n\nNever automatically format embedded code.",
27536
+ "stability": "experimental",
27537
+ "summary": "Control how Prettier formats quoted code embedded in the file."
27538
+ },
27539
+ "immutable": true,
27540
+ "locationInModule": {
27541
+ "filename": "src/javascript/prettier.ts",
27542
+ "line": 62
27543
+ },
27544
+ "name": "embeddedLanguageFormatting",
27545
+ "optional": true,
27546
+ "type": {
27547
+ "fqn": "projen.javascript.EmbeddedLanguageFormatting"
27548
+ }
27549
+ },
27550
+ {
27551
+ "abstract": true,
27552
+ "docs": {
27553
+ "default": "EndOfLine.LF",
27554
+ "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)",
27555
+ "stability": "experimental",
27556
+ "summary": "Which end of line characters to apply."
27557
+ },
27558
+ "immutable": true,
27559
+ "locationInModule": {
27560
+ "filename": "src/javascript/prettier.ts",
27561
+ "line": 77
27562
+ },
27563
+ "name": "endOfLine",
27564
+ "optional": true,
27565
+ "type": {
27566
+ "fqn": "projen.javascript.EndOfLine"
27567
+ }
27568
+ },
27569
+ {
27570
+ "abstract": true,
27571
+ "docs": {
27572
+ "default": "none",
27573
+ "remarks": "This will be used to do parser inference.",
27574
+ "stability": "experimental",
27575
+ "summary": "Specify the input filepath."
27576
+ },
27577
+ "immutable": true,
27578
+ "locationInModule": {
27579
+ "filename": "src/javascript/prettier.ts",
27580
+ "line": 82
27581
+ },
27582
+ "name": "filepath",
27145
27583
  "optional": true,
27146
27584
  "type": {
27147
27585
  "primitive": "string"
27148
27586
  }
27149
- }
27150
- ],
27151
- "symbolId": "src/javascript/projenrc:ProjenrcOptions"
27587
+ },
27588
+ {
27589
+ "abstract": true,
27590
+ "docs": {
27591
+ "default": "HTMLWhitespaceSensitivity.CSS",
27592
+ "remarks": "Respect the default value of CSS display property.\n\nWhitespaces are considered sensitive.\n\nWhitespaces are considered insensitive.",
27593
+ "stability": "experimental",
27594
+ "summary": "How to handle whitespaces in HTML."
27595
+ },
27596
+ "immutable": true,
27597
+ "locationInModule": {
27598
+ "filename": "src/javascript/prettier.ts",
27599
+ "line": 94
27600
+ },
27601
+ "name": "htmlWhitespaceSensitivity",
27602
+ "optional": true,
27603
+ "type": {
27604
+ "fqn": "projen.javascript.HTMLWhitespaceSensitivity"
27605
+ }
27606
+ },
27607
+ {
27608
+ "abstract": true,
27609
+ "docs": {
27610
+ "default": "false",
27611
+ "stability": "experimental",
27612
+ "summary": "Insert @format pragma into file's first docblock comment."
27613
+ },
27614
+ "immutable": true,
27615
+ "locationInModule": {
27616
+ "filename": "src/javascript/prettier.ts",
27617
+ "line": 100
27618
+ },
27619
+ "name": "insertPragma",
27620
+ "optional": true,
27621
+ "type": {
27622
+ "primitive": "boolean"
27623
+ }
27624
+ },
27625
+ {
27626
+ "abstract": true,
27627
+ "docs": {
27628
+ "default": "false",
27629
+ "stability": "experimental",
27630
+ "summary": "Use single quotes in JSX."
27631
+ },
27632
+ "immutable": true,
27633
+ "locationInModule": {
27634
+ "filename": "src/javascript/prettier.ts",
27635
+ "line": 106
27636
+ },
27637
+ "name": "jsxSingleQuote",
27638
+ "optional": true,
27639
+ "type": {
27640
+ "primitive": "boolean"
27641
+ }
27642
+ },
27643
+ {
27644
+ "abstract": true,
27645
+ "docs": {
27646
+ "default": "- Prettier automatically infers the parser from the input file path, so you shouldn’t have to change this setting.",
27647
+ "stability": "experimental",
27648
+ "summary": "Which parser to use."
27649
+ },
27650
+ "immutable": true,
27651
+ "locationInModule": {
27652
+ "filename": "src/javascript/prettier.ts",
27653
+ "line": 112
27654
+ },
27655
+ "name": "parser",
27656
+ "optional": true,
27657
+ "type": {
27658
+ "primitive": "string"
27659
+ }
27660
+ },
27661
+ {
27662
+ "abstract": true,
27663
+ "docs": {
27664
+ "default": "[]",
27665
+ "remarks": "Multiple plugins can be passed as separate `--plugin`s.",
27666
+ "stability": "experimental",
27667
+ "summary": "Add a plugin."
27668
+ },
27669
+ "immutable": true,
27670
+ "locationInModule": {
27671
+ "filename": "src/javascript/prettier.ts",
27672
+ "line": 118
27673
+ },
27674
+ "name": "plugins",
27675
+ "optional": true,
27676
+ "type": {
27677
+ "collection": {
27678
+ "elementtype": {
27679
+ "primitive": "string"
27680
+ },
27681
+ "kind": "array"
27682
+ }
27683
+ }
27684
+ },
27685
+ {
27686
+ "abstract": true,
27687
+ "docs": {
27688
+ "default": "[]",
27689
+ "remarks": "Overrides default behavior when plugins are searched relatively to the location of\nPrettier.\nMultiple values are accepted.",
27690
+ "stability": "experimental",
27691
+ "summary": "Custom directory that contains prettier plugins in node_modules subdirectory."
27692
+ },
27693
+ "immutable": true,
27694
+ "locationInModule": {
27695
+ "filename": "src/javascript/prettier.ts",
27696
+ "line": 127
27697
+ },
27698
+ "name": "pluginSearchDirs",
27699
+ "optional": true,
27700
+ "type": {
27701
+ "collection": {
27702
+ "elementtype": {
27703
+ "primitive": "string"
27704
+ },
27705
+ "kind": "array"
27706
+ }
27707
+ }
27708
+ },
27709
+ {
27710
+ "abstract": true,
27711
+ "docs": {
27712
+ "default": "80",
27713
+ "stability": "experimental",
27714
+ "summary": "The line length where Prettier will try wrap."
27715
+ },
27716
+ "immutable": true,
27717
+ "locationInModule": {
27718
+ "filename": "src/javascript/prettier.ts",
27719
+ "line": 133
27720
+ },
27721
+ "name": "printWidth",
27722
+ "optional": true,
27723
+ "type": {
27724
+ "primitive": "number"
27725
+ }
27726
+ },
27727
+ {
27728
+ "abstract": true,
27729
+ "docs": {
27730
+ "default": "ProseWrap.PRESERVE",
27731
+ "remarks": "Wrap prose if it exceeds the print width.\n\nDo not wrap prose.\n\nWrap prose as-is.",
27732
+ "stability": "experimental",
27733
+ "summary": "How to wrap prose."
27734
+ },
27735
+ "immutable": true,
27736
+ "locationInModule": {
27737
+ "filename": "src/javascript/prettier.ts",
27738
+ "line": 145
27739
+ },
27740
+ "name": "proseWrap",
27741
+ "optional": true,
27742
+ "type": {
27743
+ "fqn": "projen.javascript.ProseWrap"
27744
+ }
27745
+ },
27746
+ {
27747
+ "abstract": true,
27748
+ "docs": {
27749
+ "default": "QuoteProps.ASNEEDED",
27750
+ "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.",
27751
+ "stability": "experimental",
27752
+ "summary": "Change when properties in objects are quoted."
27753
+ },
27754
+ "immutable": true,
27755
+ "locationInModule": {
27756
+ "filename": "src/javascript/prettier.ts",
27757
+ "line": 157
27758
+ },
27759
+ "name": "quoteProps",
27760
+ "optional": true,
27761
+ "type": {
27762
+ "fqn": "projen.javascript.QuoteProps"
27763
+ }
27764
+ },
27765
+ {
27766
+ "abstract": true,
27767
+ "docs": {
27768
+ "default": "null",
27769
+ "remarks": "The range will extend forwards to the end of the selected statement.\nThis option cannot be used with --cursor-offset.",
27770
+ "stability": "experimental",
27771
+ "summary": "Format code ending at a given character offset (exclusive)."
27772
+ },
27773
+ "immutable": true,
27774
+ "locationInModule": {
27775
+ "filename": "src/javascript/prettier.ts",
27776
+ "line": 165
27777
+ },
27778
+ "name": "rangeEnd",
27779
+ "optional": true,
27780
+ "type": {
27781
+ "primitive": "number"
27782
+ }
27783
+ },
27784
+ {
27785
+ "abstract": true,
27786
+ "docs": {
27787
+ "default": "0",
27788
+ "remarks": "The range will extend backwards to the start of the first line containing the selected\nstatement.\nThis option cannot be used with --cursor-offset.",
27789
+ "stability": "experimental",
27790
+ "summary": "Format code starting at a given character offset."
27791
+ },
27792
+ "immutable": true,
27793
+ "locationInModule": {
27794
+ "filename": "src/javascript/prettier.ts",
27795
+ "line": 174
27796
+ },
27797
+ "name": "rangeStart",
27798
+ "optional": true,
27799
+ "type": {
27800
+ "primitive": "number"
27801
+ }
27802
+ },
27803
+ {
27804
+ "abstract": true,
27805
+ "docs": {
27806
+ "default": "false",
27807
+ "stability": "experimental",
27808
+ "summary": "Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted."
27809
+ },
27810
+ "immutable": true,
27811
+ "locationInModule": {
27812
+ "filename": "src/javascript/prettier.ts",
27813
+ "line": 182
27814
+ },
27815
+ "name": "requirePragma",
27816
+ "optional": true,
27817
+ "type": {
27818
+ "primitive": "boolean"
27819
+ }
27820
+ },
27821
+ {
27822
+ "abstract": true,
27823
+ "docs": {
27824
+ "default": "true",
27825
+ "stability": "experimental",
27826
+ "summary": "Print semicolons."
27827
+ },
27828
+ "immutable": true,
27829
+ "locationInModule": {
27830
+ "filename": "src/javascript/prettier.ts",
27831
+ "line": 188
27832
+ },
27833
+ "name": "semi",
27834
+ "optional": true,
27835
+ "type": {
27836
+ "primitive": "boolean"
27837
+ }
27838
+ },
27839
+ {
27840
+ "abstract": true,
27841
+ "docs": {
27842
+ "default": "false",
27843
+ "stability": "experimental",
27844
+ "summary": "Use single quotes instead of double quotes."
27845
+ },
27846
+ "immutable": true,
27847
+ "locationInModule": {
27848
+ "filename": "src/javascript/prettier.ts",
27849
+ "line": 194
27850
+ },
27851
+ "name": "singleQuote",
27852
+ "optional": true,
27853
+ "type": {
27854
+ "primitive": "boolean"
27855
+ }
27856
+ },
27857
+ {
27858
+ "abstract": true,
27859
+ "docs": {
27860
+ "default": "2",
27861
+ "stability": "experimental",
27862
+ "summary": "Number of spaces per indentation level."
27863
+ },
27864
+ "immutable": true,
27865
+ "locationInModule": {
27866
+ "filename": "src/javascript/prettier.ts",
27867
+ "line": 200
27868
+ },
27869
+ "name": "tabWidth",
27870
+ "optional": true,
27871
+ "type": {
27872
+ "primitive": "number"
27873
+ }
27874
+ },
27875
+ {
27876
+ "abstract": true,
27877
+ "docs": {
27878
+ "default": "TrailingComma.ES5",
27879
+ "remarks": "Trailing commas where valid in ES5 (objects, arrays, etc.)\n\nNo trailing commas.\n\nTrailing commas wherever possible (including function arguments).",
27880
+ "stability": "experimental",
27881
+ "summary": "Print trailing commas wherever possible when multi-line."
27882
+ },
27883
+ "immutable": true,
27884
+ "locationInModule": {
27885
+ "filename": "src/javascript/prettier.ts",
27886
+ "line": 212
27887
+ },
27888
+ "name": "trailingComma",
27889
+ "optional": true,
27890
+ "type": {
27891
+ "fqn": "projen.javascript.TrailingComma"
27892
+ }
27893
+ },
27894
+ {
27895
+ "abstract": true,
27896
+ "docs": {
27897
+ "default": "false",
27898
+ "stability": "experimental",
27899
+ "summary": "Indent with tabs instead of spaces."
27900
+ },
27901
+ "immutable": true,
27902
+ "locationInModule": {
27903
+ "filename": "src/javascript/prettier.ts",
27904
+ "line": 218
27905
+ },
27906
+ "name": "useTabs",
27907
+ "optional": true,
27908
+ "type": {
27909
+ "primitive": "boolean"
27910
+ }
27911
+ },
27912
+ {
27913
+ "abstract": true,
27914
+ "docs": {
27915
+ "default": "false",
27916
+ "stability": "experimental",
27917
+ "summary": "Indent script and style tags in Vue files."
27918
+ },
27919
+ "immutable": true,
27920
+ "locationInModule": {
27921
+ "filename": "src/javascript/prettier.ts",
27922
+ "line": 224
27923
+ },
27924
+ "name": "vueIndentScriptAndStyle",
27925
+ "optional": true,
27926
+ "type": {
27927
+ "primitive": "boolean"
27928
+ }
27929
+ }
27930
+ ],
27931
+ "symbolId": "src/javascript/prettier:PrettierBaseOptions"
27932
+ },
27933
+ "projen.javascript.PrettierOptions": {
27934
+ "assembly": "projen",
27935
+ "datatype": true,
27936
+ "docs": {
27937
+ "see": "https://prettier.io/docs/en/options.html",
27938
+ "stability": "experimental",
27939
+ "summary": "Options for Prettier."
27940
+ },
27941
+ "fqn": "projen.javascript.PrettierOptions",
27942
+ "interfaces": [
27943
+ "projen.javascript.PrettierBaseOptions"
27944
+ ],
27945
+ "kind": "interface",
27946
+ "locationInModule": {
27947
+ "filename": "src/javascript/prettier.ts",
27948
+ "line": 10
27949
+ },
27950
+ "name": "PrettierOptions",
27951
+ "namespace": "javascript",
27952
+ "properties": [
27953
+ {
27954
+ "abstract": true,
27955
+ "docs": {
27956
+ "default": "[]",
27957
+ "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
27958
+ "stability": "experimental",
27959
+ "summary": "Provide a list of patterns to override prettier configuration."
27960
+ },
27961
+ "immutable": true,
27962
+ "locationInModule": {
27963
+ "filename": "src/javascript/prettier.ts",
27964
+ "line": 17
27965
+ },
27966
+ "name": "overrides",
27967
+ "optional": true,
27968
+ "type": {
27969
+ "collection": {
27970
+ "elementtype": {
27971
+ "fqn": "projen.javascript.PrettierOverride"
27972
+ },
27973
+ "kind": "array"
27974
+ }
27975
+ }
27976
+ }
27977
+ ],
27978
+ "symbolId": "src/javascript/prettier:PrettierOptions"
27979
+ },
27980
+ "projen.javascript.PrettierOverride": {
27981
+ "assembly": "projen",
27982
+ "datatype": true,
27983
+ "docs": {
27984
+ "stability": "experimental"
27985
+ },
27986
+ "fqn": "projen.javascript.PrettierOverride",
27987
+ "kind": "interface",
27988
+ "locationInModule": {
27989
+ "filename": "src/javascript/prettier.ts",
27990
+ "line": 250
27991
+ },
27992
+ "name": "PrettierOverride",
27993
+ "namespace": "javascript",
27994
+ "properties": [
27995
+ {
27996
+ "abstract": true,
27997
+ "docs": {
27998
+ "stability": "experimental",
27999
+ "summary": "Include these files in this override."
28000
+ },
28001
+ "immutable": true,
28002
+ "locationInModule": {
28003
+ "filename": "src/javascript/prettier.ts",
28004
+ "line": 258
28005
+ },
28006
+ "name": "files",
28007
+ "type": {
28008
+ "union": {
28009
+ "types": [
28010
+ {
28011
+ "primitive": "string"
28012
+ },
28013
+ {
28014
+ "collection": {
28015
+ "elementtype": {
28016
+ "primitive": "string"
28017
+ },
28018
+ "kind": "array"
28019
+ }
28020
+ }
28021
+ ]
28022
+ }
28023
+ }
28024
+ },
28025
+ {
28026
+ "abstract": true,
28027
+ "docs": {
28028
+ "stability": "experimental",
28029
+ "summary": "The options to apply for this override."
28030
+ },
28031
+ "immutable": true,
28032
+ "locationInModule": {
28033
+ "filename": "src/javascript/prettier.ts",
28034
+ "line": 262
28035
+ },
28036
+ "name": "options",
28037
+ "type": {
28038
+ "fqn": "projen.javascript.PrettierBaseOptions"
28039
+ }
28040
+ },
28041
+ {
28042
+ "abstract": true,
28043
+ "docs": {
28044
+ "stability": "experimental",
28045
+ "summary": "Exclude these files from this override."
28046
+ },
28047
+ "immutable": true,
28048
+ "locationInModule": {
28049
+ "filename": "src/javascript/prettier.ts",
28050
+ "line": 254
28051
+ },
28052
+ "name": "excludeFiles",
28053
+ "optional": true,
28054
+ "type": {
28055
+ "union": {
28056
+ "types": [
28057
+ {
28058
+ "primitive": "string"
28059
+ },
28060
+ {
28061
+ "collection": {
28062
+ "elementtype": {
28063
+ "primitive": "string"
28064
+ },
28065
+ "kind": "array"
28066
+ }
28067
+ }
28068
+ ]
28069
+ }
28070
+ }
28071
+ }
28072
+ ],
28073
+ "symbolId": "src/javascript/prettier:PrettierOverride"
28074
+ },
28075
+ "projen.javascript.Projenrc": {
28076
+ "assembly": "projen",
28077
+ "base": "projen.Component",
28078
+ "docs": {
28079
+ "stability": "experimental",
28080
+ "summary": "Sets up a javascript project to use TypeScript for projenrc."
28081
+ },
28082
+ "fqn": "projen.javascript.Projenrc",
28083
+ "initializer": {
28084
+ "docs": {
28085
+ "stability": "experimental"
28086
+ },
28087
+ "locationInModule": {
28088
+ "filename": "src/javascript/projenrc.ts",
28089
+ "line": 20
28090
+ },
28091
+ "parameters": [
28092
+ {
28093
+ "name": "project",
28094
+ "type": {
28095
+ "fqn": "projen.Project"
28096
+ }
28097
+ },
28098
+ {
28099
+ "name": "options",
28100
+ "optional": true,
28101
+ "type": {
28102
+ "fqn": "projen.javascript.ProjenrcOptions"
28103
+ }
28104
+ }
28105
+ ]
28106
+ },
28107
+ "kind": "class",
28108
+ "locationInModule": {
28109
+ "filename": "src/javascript/projenrc.ts",
28110
+ "line": 17
28111
+ },
28112
+ "name": "Projenrc",
28113
+ "namespace": "javascript",
28114
+ "symbolId": "src/javascript/projenrc:Projenrc"
28115
+ },
28116
+ "projen.javascript.ProjenrcOptions": {
28117
+ "assembly": "projen",
28118
+ "datatype": true,
28119
+ "docs": {
28120
+ "stability": "experimental"
28121
+ },
28122
+ "fqn": "projen.javascript.ProjenrcOptions",
28123
+ "kind": "interface",
28124
+ "locationInModule": {
28125
+ "filename": "src/javascript/projenrc.ts",
28126
+ "line": 6
28127
+ },
28128
+ "name": "ProjenrcOptions",
28129
+ "namespace": "javascript",
28130
+ "properties": [
28131
+ {
28132
+ "abstract": true,
28133
+ "docs": {
28134
+ "default": "\".projenrc.js\"",
28135
+ "stability": "experimental",
28136
+ "summary": "The name of the projenrc file."
28137
+ },
28138
+ "immutable": true,
28139
+ "locationInModule": {
28140
+ "filename": "src/javascript/projenrc.ts",
28141
+ "line": 11
28142
+ },
28143
+ "name": "filename",
28144
+ "optional": true,
28145
+ "type": {
28146
+ "primitive": "string"
28147
+ }
28148
+ }
28149
+ ],
28150
+ "symbolId": "src/javascript/projenrc:ProjenrcOptions"
28151
+ },
28152
+ "projen.javascript.ProseWrap": {
28153
+ "assembly": "projen",
28154
+ "docs": {
28155
+ "stability": "experimental"
28156
+ },
28157
+ "fqn": "projen.javascript.ProseWrap",
28158
+ "kind": "enum",
28159
+ "locationInModule": {
28160
+ "filename": "src/javascript/prettier.ts",
28161
+ "line": 272
28162
+ },
28163
+ "members": [
28164
+ {
28165
+ "docs": {
28166
+ "stability": "experimental"
28167
+ },
28168
+ "name": "ALWAYS"
28169
+ },
28170
+ {
28171
+ "docs": {
28172
+ "stability": "experimental"
28173
+ },
28174
+ "name": "NEVER"
28175
+ },
28176
+ {
28177
+ "docs": {
28178
+ "stability": "experimental"
28179
+ },
28180
+ "name": "PRESERVE"
28181
+ }
28182
+ ],
28183
+ "name": "ProseWrap",
28184
+ "namespace": "javascript",
28185
+ "symbolId": "src/javascript/prettier:ProseWrap"
28186
+ },
28187
+ "projen.javascript.QuoteProps": {
28188
+ "assembly": "projen",
28189
+ "docs": {
28190
+ "stability": "experimental"
28191
+ },
28192
+ "fqn": "projen.javascript.QuoteProps",
28193
+ "kind": "enum",
28194
+ "locationInModule": {
28195
+ "filename": "src/javascript/prettier.ts",
28196
+ "line": 278
28197
+ },
28198
+ "members": [
28199
+ {
28200
+ "docs": {
28201
+ "stability": "experimental"
28202
+ },
28203
+ "name": "ASNEEDED"
28204
+ },
28205
+ {
28206
+ "docs": {
28207
+ "stability": "experimental"
28208
+ },
28209
+ "name": "CONSISTENT"
28210
+ },
28211
+ {
28212
+ "docs": {
28213
+ "stability": "experimental"
28214
+ },
28215
+ "name": "PRESERVE"
28216
+ }
28217
+ ],
28218
+ "name": "QuoteProps",
28219
+ "namespace": "javascript",
28220
+ "symbolId": "src/javascript/prettier:QuoteProps"
28221
+ },
28222
+ "projen.javascript.TrailingComma": {
28223
+ "assembly": "projen",
28224
+ "docs": {
28225
+ "stability": "experimental"
28226
+ },
28227
+ "fqn": "projen.javascript.TrailingComma",
28228
+ "kind": "enum",
28229
+ "locationInModule": {
28230
+ "filename": "src/javascript/prettier.ts",
28231
+ "line": 284
28232
+ },
28233
+ "members": [
28234
+ {
28235
+ "docs": {
28236
+ "stability": "experimental"
28237
+ },
28238
+ "name": "ALL"
28239
+ },
28240
+ {
28241
+ "docs": {
28242
+ "stability": "experimental"
28243
+ },
28244
+ "name": "ES5"
28245
+ },
28246
+ {
28247
+ "docs": {
28248
+ "stability": "experimental"
28249
+ },
28250
+ "name": "NONE"
28251
+ }
28252
+ ],
28253
+ "name": "TrailingComma",
28254
+ "namespace": "javascript",
28255
+ "symbolId": "src/javascript/prettier:TrailingComma"
27152
28256
  },
27153
28257
  "projen.javascript.TypeScriptCompilerOptions": {
27154
28258
  "assembly": "projen",
@@ -36371,6 +37475,6 @@
36371
37475
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
36372
37476
  }
36373
37477
  },
36374
- "version": "0.47.5",
36375
- "fingerprint": "pbhdFZ3phkPTRDePMFr+4KluqDU5ZRN0i9vSPYzpVpc="
37478
+ "version": "0.47.9",
37479
+ "fingerprint": "BnanyAxp57+eHt/aWaN8PDaoUZkAbYanVEEQi2SYuwA="
36376
37480
  }