projen 0.47.15 → 0.48.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 (108) hide show
  1. package/.jsii +417 -342
  2. package/API.md +118 -169
  3. package/changelog.md +12 -1
  4. package/docs/components.md +21 -0
  5. package/lib/awscdk/auto-discover.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps.js +1 -1
  9. package/lib/awscdk/cdk-config.js +1 -1
  10. package/lib/awscdk/cdk-tasks.js +1 -1
  11. package/lib/awscdk/integration-test.js +1 -1
  12. package/lib/awscdk/java-app.js +1 -1
  13. package/lib/awscdk/lambda-function.js +2 -2
  14. package/lib/build/build-workflow.js +1 -1
  15. package/lib/cdk/construct-lib.js +1 -1
  16. package/lib/cdk/jsii-docgen.js +1 -1
  17. package/lib/cdk/jsii-project.js +1 -1
  18. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  19. package/lib/cdk8s/cdk8s-construct.js +1 -1
  20. package/lib/cdktf/cdktf-construct.js +1 -1
  21. package/lib/component.js +1 -1
  22. package/lib/dependencies.js +1 -1
  23. package/lib/dev-env.js +1 -1
  24. package/lib/docker-compose.js +2 -2
  25. package/lib/file.js +1 -1
  26. package/lib/gitattributes.js +1 -1
  27. package/lib/github/auto-approve.js +1 -1
  28. package/lib/github/auto-merge.js +1 -1
  29. package/lib/github/dependabot.js +1 -1
  30. package/lib/github/github-project.js +1 -1
  31. package/lib/github/github.js +1 -1
  32. package/lib/github/mergify.js +1 -1
  33. package/lib/github/pr-template.js +1 -1
  34. package/lib/github/pull-request-lint.js +1 -1
  35. package/lib/github/stale.js +1 -1
  36. package/lib/github/task-workflow.js +1 -1
  37. package/lib/github/workflows.js +1 -1
  38. package/lib/gitpod.js +1 -1
  39. package/lib/ignore-file.js +1 -1
  40. package/lib/ini.js +1 -1
  41. package/lib/java/java-project.js +1 -1
  42. package/lib/java/junit.js +1 -1
  43. package/lib/java/maven-compile.js +1 -1
  44. package/lib/java/maven-packaging.js +1 -1
  45. package/lib/java/maven-sample.js +1 -1
  46. package/lib/java/pom.js +1 -1
  47. package/lib/java/projenrc.js +1 -1
  48. package/lib/javascript/bundler.js +1 -1
  49. package/lib/javascript/eslint.d.ts +21 -0
  50. package/lib/javascript/eslint.js +46 -24
  51. package/lib/javascript/jest.js +1 -1
  52. package/lib/javascript/node-package.js +1 -1
  53. package/lib/javascript/node-project.d.ts +1 -21
  54. package/lib/javascript/node-project.js +31 -44
  55. package/lib/javascript/npm-config.js +1 -1
  56. package/lib/javascript/prettier.d.ts +78 -48
  57. package/lib/javascript/prettier.js +27 -6
  58. package/lib/javascript/projenrc.js +1 -1
  59. package/lib/javascript/typescript-config.js +1 -1
  60. package/lib/javascript/upgrade-dependencies.js +2 -2
  61. package/lib/json.js +1 -1
  62. package/lib/license.js +1 -1
  63. package/lib/logger.js +1 -1
  64. package/lib/makefile.js +1 -1
  65. package/lib/object-file.js +1 -1
  66. package/lib/project-build.js +1 -1
  67. package/lib/project.js +1 -1
  68. package/lib/projects.js +1 -1
  69. package/lib/projenrc-json.js +1 -1
  70. package/lib/python/pip.js +1 -1
  71. package/lib/python/poetry.js +2 -2
  72. package/lib/python/projenrc.js +1 -1
  73. package/lib/python/pytest.js +1 -1
  74. package/lib/python/python-project.js +1 -1
  75. package/lib/python/python-sample.js +1 -1
  76. package/lib/python/requirements-file.js +1 -1
  77. package/lib/python/setuppy.js +1 -1
  78. package/lib/python/setuptools.js +1 -1
  79. package/lib/python/venv.js +1 -1
  80. package/lib/readme.js +1 -1
  81. package/lib/release/publisher.js +1 -1
  82. package/lib/release/release-trigger.js +1 -1
  83. package/lib/release/release.js +1 -1
  84. package/lib/sample-file.js +2 -2
  85. package/lib/semver.js +1 -1
  86. package/lib/source-code.js +1 -1
  87. package/lib/task-runtime.js +1 -1
  88. package/lib/task.js +1 -1
  89. package/lib/tasks.js +1 -1
  90. package/lib/testing.js +1 -1
  91. package/lib/textfile.js +1 -1
  92. package/lib/toml.js +1 -1
  93. package/lib/typescript/projenrc.js +1 -1
  94. package/lib/typescript/typescript-typedoc.js +1 -1
  95. package/lib/typescript/typescript.js +3 -3
  96. package/lib/version.js +1 -1
  97. package/lib/vscode/devcontainer.js +1 -1
  98. package/lib/vscode/launch-config.js +1 -1
  99. package/lib/vscode/vscode.js +1 -1
  100. package/lib/web/next.js +3 -3
  101. package/lib/web/postcss.js +1 -1
  102. package/lib/web/react.js +4 -4
  103. package/lib/web/tailwind.js +1 -1
  104. package/lib/xmlfile.js +1 -1
  105. package/lib/yaml.js +1 -1
  106. package/package.json +1 -1
  107. package/releasetag.txt +1 -1
  108. package/version.txt +1 -1
package/.jsii CHANGED
@@ -21156,18 +21156,22 @@
21156
21156
  "kind": "enum",
21157
21157
  "locationInModule": {
21158
21158
  "filename": "src/javascript/prettier.ts",
21159
- "line": 227
21159
+ "line": 200
21160
21160
  },
21161
21161
  "members": [
21162
21162
  {
21163
21163
  "docs": {
21164
- "stability": "experimental"
21164
+ "remarks": "Example: `(x) => x`",
21165
+ "stability": "experimental",
21166
+ "summary": "Always include parens."
21165
21167
  },
21166
21168
  "name": "ALWAYS"
21167
21169
  },
21168
21170
  {
21169
21171
  "docs": {
21170
- "stability": "experimental"
21172
+ "remarks": "Example: `x => x`",
21173
+ "stability": "experimental",
21174
+ "summary": "Omit parens when possible."
21171
21175
  },
21172
21176
  "name": "AVOID"
21173
21177
  }
@@ -21186,7 +21190,7 @@
21186
21190
  "kind": "enum",
21187
21191
  "locationInModule": {
21188
21192
  "filename": "src/javascript/node-project.ts",
21189
- "line": 322
21193
+ "line": 315
21190
21194
  },
21191
21195
  "members": [
21192
21196
  {
@@ -21753,18 +21757,20 @@
21753
21757
  "kind": "enum",
21754
21758
  "locationInModule": {
21755
21759
  "filename": "src/javascript/prettier.ts",
21756
- "line": 232
21760
+ "line": 212
21757
21761
  },
21758
21762
  "members": [
21759
21763
  {
21760
21764
  "docs": {
21761
- "stability": "experimental"
21765
+ "stability": "experimental",
21766
+ "summary": "Format embedded code if Prettier can automatically identify it."
21762
21767
  },
21763
21768
  "name": "AUTO"
21764
21769
  },
21765
21770
  {
21766
21771
  "docs": {
21767
- "stability": "experimental"
21772
+ "stability": "experimental",
21773
+ "summary": "Never automatically format embedded code."
21768
21774
  },
21769
21775
  "name": "OFF"
21770
21776
  }
@@ -21782,30 +21788,34 @@
21782
21788
  "kind": "enum",
21783
21789
  "locationInModule": {
21784
21790
  "filename": "src/javascript/prettier.ts",
21785
- "line": 237
21791
+ "line": 224
21786
21792
  },
21787
21793
  "members": [
21788
21794
  {
21789
21795
  "docs": {
21790
- "stability": "experimental"
21796
+ "stability": "experimental",
21797
+ "summary": "Maintain existing (mixed values within one file are normalised by looking at what's used after the first line)."
21791
21798
  },
21792
21799
  "name": "AUTO"
21793
21800
  },
21794
21801
  {
21795
21802
  "docs": {
21796
- "stability": "experimental"
21803
+ "stability": "experimental",
21804
+ "summary": "Carriage Return character only (\\r), used very rarely."
21797
21805
  },
21798
21806
  "name": "CR"
21799
21807
  },
21800
21808
  {
21801
21809
  "docs": {
21802
- "stability": "experimental"
21810
+ "stability": "experimental",
21811
+ "summary": "Carriage Return + Line Feed characters (\\r\\n), common on Windows."
21803
21812
  },
21804
21813
  "name": "CRLF"
21805
21814
  },
21806
21815
  {
21807
21816
  "docs": {
21808
- "stability": "experimental"
21817
+ "stability": "experimental",
21818
+ "summary": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos."
21809
21819
  },
21810
21820
  "name": "LF"
21811
21821
  }
@@ -21828,7 +21838,7 @@
21828
21838
  },
21829
21839
  "locationInModule": {
21830
21840
  "filename": "src/javascript/eslint.ts",
21831
- "line": 123
21841
+ "line": 127
21832
21842
  },
21833
21843
  "parameters": [
21834
21844
  {
@@ -21877,6 +21887,30 @@
21877
21887
  },
21878
21888
  "static": true
21879
21889
  },
21890
+ {
21891
+ "docs": {
21892
+ "stability": "experimental",
21893
+ "summary": "Adds an `extends` item to the eslint configuration."
21894
+ },
21895
+ "locationInModule": {
21896
+ "filename": "src/javascript/eslint.ts",
21897
+ "line": 392
21898
+ },
21899
+ "name": "addExtends",
21900
+ "parameters": [
21901
+ {
21902
+ "docs": {
21903
+ "summary": "The list of \"extends\" to add."
21904
+ },
21905
+ "name": "extendList",
21906
+ "type": {
21907
+ "primitive": "string"
21908
+ },
21909
+ "variadic": true
21910
+ }
21911
+ ],
21912
+ "variadic": true
21913
+ },
21880
21914
  {
21881
21915
  "docs": {
21882
21916
  "stability": "experimental",
@@ -21884,7 +21918,7 @@
21884
21918
  },
21885
21919
  "locationInModule": {
21886
21920
  "filename": "src/javascript/eslint.ts",
21887
- "line": 385
21921
+ "line": 384
21888
21922
  },
21889
21923
  "name": "addIgnorePattern",
21890
21924
  "parameters": [
@@ -21903,7 +21937,7 @@
21903
21937
  },
21904
21938
  "locationInModule": {
21905
21939
  "filename": "src/javascript/eslint.ts",
21906
- "line": 378
21940
+ "line": 377
21907
21941
  },
21908
21942
  "name": "addOverride",
21909
21943
  "parameters": [
@@ -21915,6 +21949,27 @@
21915
21949
  }
21916
21950
  ]
21917
21951
  },
21952
+ {
21953
+ "docs": {
21954
+ "stability": "experimental",
21955
+ "summary": "Adds an eslint plugin."
21956
+ },
21957
+ "locationInModule": {
21958
+ "filename": "src/javascript/eslint.ts",
21959
+ "line": 370
21960
+ },
21961
+ "name": "addPlugins",
21962
+ "parameters": [
21963
+ {
21964
+ "name": "plugins",
21965
+ "type": {
21966
+ "primitive": "string"
21967
+ },
21968
+ "variadic": true
21969
+ }
21970
+ ],
21971
+ "variadic": true
21972
+ },
21918
21973
  {
21919
21974
  "docs": {
21920
21975
  "stability": "experimental",
@@ -21922,7 +21977,7 @@
21922
21977
  },
21923
21978
  "locationInModule": {
21924
21979
  "filename": "src/javascript/eslint.ts",
21925
- "line": 369
21980
+ "line": 360
21926
21981
  },
21927
21982
  "name": "addRules",
21928
21983
  "parameters": [
@@ -21946,7 +22001,7 @@
21946
22001
  },
21947
22002
  "locationInModule": {
21948
22003
  "filename": "src/javascript/eslint.ts",
21949
- "line": 393
22004
+ "line": 400
21950
22005
  },
21951
22006
  "name": "allowDevDeps",
21952
22007
  "parameters": [
@@ -22346,24 +22401,27 @@
22346
22401
  "kind": "enum",
22347
22402
  "locationInModule": {
22348
22403
  "filename": "src/javascript/prettier.ts",
22349
- "line": 244
22404
+ "line": 247
22350
22405
  },
22351
22406
  "members": [
22352
22407
  {
22353
22408
  "docs": {
22354
- "stability": "experimental"
22409
+ "stability": "experimental",
22410
+ "summary": "Respect the default value of CSS display property."
22355
22411
  },
22356
22412
  "name": "CSS"
22357
22413
  },
22358
22414
  {
22359
22415
  "docs": {
22360
- "stability": "experimental"
22416
+ "stability": "experimental",
22417
+ "summary": "Whitespaces are considered insignificant."
22361
22418
  },
22362
22419
  "name": "IGNORE"
22363
22420
  },
22364
22421
  {
22365
22422
  "docs": {
22366
- "stability": "experimental"
22423
+ "stability": "experimental",
22424
+ "summary": "Whitespaces are considered significant."
22367
22425
  },
22368
22426
  "name": "STRICT"
22369
22427
  }
@@ -25636,7 +25694,7 @@
25636
25694
  },
25637
25695
  "locationInModule": {
25638
25696
  "filename": "src/javascript/node-project.ts",
25639
- "line": 448
25697
+ "line": 436
25640
25698
  },
25641
25699
  "parameters": [
25642
25700
  {
@@ -25650,7 +25708,7 @@
25650
25708
  "kind": "class",
25651
25709
  "locationInModule": {
25652
25710
  "filename": "src/javascript/node-project.ts",
25653
- "line": 339
25711
+ "line": 332
25654
25712
  },
25655
25713
  "methods": [
25656
25714
  {
@@ -25659,7 +25717,7 @@
25659
25717
  },
25660
25718
  "locationInModule": {
25661
25719
  "filename": "src/javascript/node-project.ts",
25662
- "line": 701
25720
+ "line": 685
25663
25721
  },
25664
25722
  "name": "addBins",
25665
25723
  "parameters": [
@@ -25684,7 +25742,7 @@
25684
25742
  },
25685
25743
  "locationInModule": {
25686
25744
  "filename": "src/javascript/node-project.ts",
25687
- "line": 854
25745
+ "line": 838
25688
25746
  },
25689
25747
  "name": "addBundledDeps",
25690
25748
  "parameters": [
@@ -25710,7 +25768,7 @@
25710
25768
  },
25711
25769
  "locationInModule": {
25712
25770
  "filename": "src/javascript/node-project.ts",
25713
- "line": 735
25771
+ "line": 719
25714
25772
  },
25715
25773
  "name": "addCompileCommand",
25716
25774
  "parameters": [
@@ -25731,7 +25789,7 @@
25731
25789
  },
25732
25790
  "locationInModule": {
25733
25791
  "filename": "src/javascript/node-project.ts",
25734
- "line": 808
25792
+ "line": 792
25735
25793
  },
25736
25794
  "name": "addDeps",
25737
25795
  "parameters": [
@@ -25756,7 +25814,7 @@
25756
25814
  },
25757
25815
  "locationInModule": {
25758
25816
  "filename": "src/javascript/node-project.ts",
25759
- "line": 821
25817
+ "line": 805
25760
25818
  },
25761
25819
  "name": "addDevDeps",
25762
25820
  "parameters": [
@@ -25781,7 +25839,7 @@
25781
25839
  },
25782
25840
  "locationInModule": {
25783
25841
  "filename": "src/javascript/node-project.ts",
25784
- "line": 755
25842
+ "line": 739
25785
25843
  },
25786
25844
  "name": "addFields",
25787
25845
  "parameters": [
@@ -25808,7 +25866,7 @@
25808
25866
  },
25809
25867
  "locationInModule": {
25810
25868
  "filename": "src/javascript/node-project.ts",
25811
- "line": 765
25869
+ "line": 749
25812
25870
  },
25813
25871
  "name": "addKeywords",
25814
25872
  "parameters": [
@@ -25833,7 +25891,7 @@
25833
25891
  },
25834
25892
  "locationInModule": {
25835
25893
  "filename": "src/javascript/node-project.ts",
25836
- "line": 858
25894
+ "line": 842
25837
25895
  },
25838
25896
  "name": "addPackageIgnore",
25839
25897
  "overrides": "projen.Project",
@@ -25854,7 +25912,7 @@
25854
25912
  },
25855
25913
  "locationInModule": {
25856
25914
  "filename": "src/javascript/node-project.ts",
25857
- "line": 838
25915
+ "line": 822
25858
25916
  },
25859
25917
  "name": "addPeerDeps",
25860
25918
  "parameters": [
@@ -25872,28 +25930,6 @@
25872
25930
  ],
25873
25931
  "variadic": true
25874
25932
  },
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
25933
  {
25898
25934
  "docs": {
25899
25935
  "deprecated": "use `project.testTask.exec()`",
@@ -25902,7 +25938,7 @@
25902
25938
  },
25903
25939
  "locationInModule": {
25904
25940
  "filename": "src/javascript/node-project.ts",
25905
- "line": 745
25941
+ "line": 729
25906
25942
  },
25907
25943
  "name": "addTestCommand",
25908
25944
  "parameters": [
@@ -25923,7 +25959,7 @@
25923
25959
  },
25924
25960
  "locationInModule": {
25925
25961
  "filename": "src/javascript/node-project.ts",
25926
- "line": 727
25962
+ "line": 711
25927
25963
  },
25928
25964
  "name": "hasScript",
25929
25965
  "parameters": [
@@ -25950,7 +25986,7 @@
25950
25986
  },
25951
25987
  "locationInModule": {
25952
25988
  "filename": "src/javascript/node-project.ts",
25953
- "line": 719
25989
+ "line": 703
25954
25990
  },
25955
25991
  "name": "removeScript",
25956
25992
  "parameters": [
@@ -25973,7 +26009,7 @@
25973
26009
  },
25974
26010
  "locationInModule": {
25975
26011
  "filename": "src/javascript/node-project.ts",
25976
- "line": 942
26012
+ "line": 916
25977
26013
  },
25978
26014
  "name": "runTaskCommand",
25979
26015
  "overrides": "projen.Project",
@@ -26001,7 +26037,7 @@
26001
26037
  },
26002
26038
  "locationInModule": {
26003
26039
  "filename": "src/javascript/node-project.ts",
26004
- "line": 711
26040
+ "line": 695
26005
26041
  },
26006
26042
  "name": "setScript",
26007
26043
  "parameters": [
@@ -26037,7 +26073,7 @@
26037
26073
  "immutable": true,
26038
26074
  "locationInModule": {
26039
26075
  "filename": "src/javascript/node-project.ts",
26040
- "line": 358
26076
+ "line": 346
26041
26077
  },
26042
26078
  "name": "allowLibraryDependencies",
26043
26079
  "type": {
@@ -26053,7 +26089,7 @@
26053
26089
  "immutable": true,
26054
26090
  "locationInModule": {
26055
26091
  "filename": "src/javascript/node-project.ts",
26056
- "line": 432
26092
+ "line": 420
26057
26093
  },
26058
26094
  "name": "artifactsDirectory",
26059
26095
  "type": {
@@ -26068,7 +26104,7 @@
26068
26104
  "immutable": true,
26069
26105
  "locationInModule": {
26070
26106
  "filename": "src/javascript/node-project.ts",
26071
- "line": 437
26107
+ "line": 425
26072
26108
  },
26073
26109
  "name": "artifactsJavascriptDirectory",
26074
26110
  "type": {
@@ -26082,7 +26118,7 @@
26082
26118
  "immutable": true,
26083
26119
  "locationInModule": {
26084
26120
  "filename": "src/javascript/node-project.ts",
26085
- "line": 425
26121
+ "line": 413
26086
26122
  },
26087
26123
  "name": "bundler",
26088
26124
  "type": {
@@ -26097,7 +26133,7 @@
26097
26133
  "immutable": true,
26098
26134
  "locationInModule": {
26099
26135
  "filename": "src/javascript/node-project.ts",
26100
- "line": 363
26136
+ "line": 351
26101
26137
  },
26102
26138
  "name": "entrypoint",
26103
26139
  "type": {
@@ -26111,7 +26147,7 @@
26111
26147
  "immutable": true,
26112
26148
  "locationInModule": {
26113
26149
  "filename": "src/javascript/node-project.ts",
26114
- "line": 769
26150
+ "line": 753
26115
26151
  },
26116
26152
  "name": "installWorkflowSteps",
26117
26153
  "type": {
@@ -26131,7 +26167,7 @@
26131
26167
  "immutable": true,
26132
26168
  "locationInModule": {
26133
26169
  "filename": "src/javascript/node-project.ts",
26134
- "line": 421
26170
+ "line": 409
26135
26171
  },
26136
26172
  "name": "manifest",
26137
26173
  "type": {
@@ -26146,7 +26182,7 @@
26146
26182
  "immutable": true,
26147
26183
  "locationInModule": {
26148
26184
  "filename": "src/javascript/node-project.ts",
26149
- "line": 343
26185
+ "line": 336
26150
26186
  },
26151
26187
  "name": "package",
26152
26188
  "type": {
@@ -26162,7 +26198,7 @@
26162
26198
  "immutable": true,
26163
26199
  "locationInModule": {
26164
26200
  "filename": "src/javascript/node-project.ts",
26165
- "line": 406
26201
+ "line": 394
26166
26202
  },
26167
26203
  "name": "packageManager",
26168
26204
  "type": {
@@ -26177,7 +26213,7 @@
26177
26213
  "immutable": true,
26178
26214
  "locationInModule": {
26179
26215
  "filename": "src/javascript/node-project.ts",
26180
- "line": 411
26216
+ "line": 399
26181
26217
  },
26182
26218
  "name": "runScriptCommand",
26183
26219
  "type": {
@@ -26192,7 +26228,7 @@
26192
26228
  "immutable": true,
26193
26229
  "locationInModule": {
26194
26230
  "filename": "src/javascript/node-project.ts",
26195
- "line": 368
26231
+ "line": 356
26196
26232
  },
26197
26233
  "name": "autoMerge",
26198
26234
  "optional": true,
@@ -26209,7 +26245,7 @@
26209
26245
  "immutable": true,
26210
26246
  "locationInModule": {
26211
26247
  "filename": "src/javascript/node-project.ts",
26212
- "line": 374
26248
+ "line": 362
26213
26249
  },
26214
26250
  "name": "buildWorkflow",
26215
26251
  "optional": true,
@@ -26225,7 +26261,7 @@
26225
26261
  "immutable": true,
26226
26262
  "locationInModule": {
26227
26263
  "filename": "src/javascript/node-project.ts",
26228
- "line": 949
26264
+ "line": 923
26229
26265
  },
26230
26266
  "name": "buildWorkflowJobId",
26231
26267
  "optional": true,
@@ -26241,7 +26277,7 @@
26241
26277
  "immutable": true,
26242
26278
  "locationInModule": {
26243
26279
  "filename": "src/javascript/node-project.ts",
26244
- "line": 416
26280
+ "line": 404
26245
26281
  },
26246
26282
  "name": "jest",
26247
26283
  "optional": true,
@@ -26257,7 +26293,7 @@
26257
26293
  "immutable": true,
26258
26294
  "locationInModule": {
26259
26295
  "filename": "src/javascript/node-project.ts",
26260
- "line": 397
26296
+ "line": 385
26261
26297
  },
26262
26298
  "name": "maxNodeVersion",
26263
26299
  "optional": true,
@@ -26273,7 +26309,7 @@
26273
26309
  "immutable": true,
26274
26310
  "locationInModule": {
26275
26311
  "filename": "src/javascript/node-project.ts",
26276
- "line": 392
26312
+ "line": 380
26277
26313
  },
26278
26314
  "name": "minNodeVersion",
26279
26315
  "optional": true,
@@ -26289,7 +26325,7 @@
26289
26325
  "immutable": true,
26290
26326
  "locationInModule": {
26291
26327
  "filename": "src/javascript/node-project.ts",
26292
- "line": 348
26328
+ "line": 341
26293
26329
  },
26294
26330
  "name": "npmignore",
26295
26331
  "optional": true,
@@ -26304,7 +26340,7 @@
26304
26340
  "immutable": true,
26305
26341
  "locationInModule": {
26306
26342
  "filename": "src/javascript/node-project.ts",
26307
- "line": 446
26343
+ "line": 434
26308
26344
  },
26309
26345
  "name": "prettier",
26310
26346
  "optional": true,
@@ -26312,22 +26348,6 @@
26312
26348
  "fqn": "projen.javascript.Prettier"
26313
26349
  }
26314
26350
  },
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
26351
  {
26332
26352
  "docs": {
26333
26353
  "deprecated": "use `release.publisher`.",
@@ -26338,7 +26358,7 @@
26338
26358
  "immutable": true,
26339
26359
  "locationInModule": {
26340
26360
  "filename": "src/javascript/node-project.ts",
26341
- "line": 382
26361
+ "line": 370
26342
26362
  },
26343
26363
  "name": "publisher",
26344
26364
  "optional": true,
@@ -26354,7 +26374,7 @@
26354
26374
  "immutable": true,
26355
26375
  "locationInModule": {
26356
26376
  "filename": "src/javascript/node-project.ts",
26357
- "line": 387
26377
+ "line": 375
26358
26378
  },
26359
26379
  "name": "release",
26360
26380
  "optional": true,
@@ -26370,7 +26390,7 @@
26370
26390
  "immutable": true,
26371
26391
  "locationInModule": {
26372
26392
  "filename": "src/javascript/node-project.ts",
26373
- "line": 442
26393
+ "line": 430
26374
26394
  },
26375
26395
  "name": "upgradeWorkflow",
26376
26396
  "optional": true,
@@ -26428,7 +26448,7 @@
26428
26448
  "immutable": true,
26429
26449
  "locationInModule": {
26430
26450
  "filename": "src/javascript/node-project.ts",
26431
- "line": 308
26451
+ "line": 301
26432
26452
  },
26433
26453
  "name": "artifactsDirectory",
26434
26454
  "optional": true,
@@ -26501,7 +26521,7 @@
26501
26521
  "immutable": true,
26502
26522
  "locationInModule": {
26503
26523
  "filename": "src/javascript/node-project.ts",
26504
- "line": 301
26524
+ "line": 294
26505
26525
  },
26506
26526
  "name": "bundlerOptions",
26507
26527
  "optional": true,
@@ -26664,7 +26684,7 @@
26664
26684
  "immutable": true,
26665
26685
  "locationInModule": {
26666
26686
  "filename": "src/javascript/node-project.ts",
26667
- "line": 270
26687
+ "line": 263
26668
26688
  },
26669
26689
  "name": "gitignore",
26670
26690
  "optional": true,
@@ -26687,7 +26707,7 @@
26687
26707
  "immutable": true,
26688
26708
  "locationInModule": {
26689
26709
  "filename": "src/javascript/node-project.ts",
26690
- "line": 276
26710
+ "line": 269
26691
26711
  },
26692
26712
  "name": "jest",
26693
26713
  "optional": true,
@@ -26705,7 +26725,7 @@
26705
26725
  "immutable": true,
26706
26726
  "locationInModule": {
26707
26727
  "filename": "src/javascript/node-project.ts",
26708
- "line": 282
26728
+ "line": 275
26709
26729
  },
26710
26730
  "name": "jestOptions",
26711
26731
  "optional": true,
@@ -26783,7 +26803,7 @@
26783
26803
  "immutable": true,
26784
26804
  "locationInModule": {
26785
26805
  "filename": "src/javascript/node-project.ts",
26786
- "line": 316
26806
+ "line": 309
26787
26807
  },
26788
26808
  "name": "package",
26789
26809
  "optional": true,
@@ -26799,29 +26819,11 @@
26799
26819
  "summary": "Setup prettier."
26800
26820
  },
26801
26821
  "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
26822
  "locationInModule": {
26821
26823
  "filename": "src/javascript/node-project.ts",
26822
26824
  "line": 252
26823
26825
  },
26824
- "name": "prettierIgnoreEnabled",
26826
+ "name": "prettier",
26825
26827
  "optional": true,
26826
26828
  "type": {
26827
26829
  "primitive": "boolean"
@@ -26830,14 +26832,14 @@
26830
26832
  {
26831
26833
  "abstract": true,
26832
26834
  "docs": {
26833
- "default": "- opinionated default options",
26835
+ "default": "- default options",
26834
26836
  "stability": "experimental",
26835
26837
  "summary": "Prettier options."
26836
26838
  },
26837
26839
  "immutable": true,
26838
26840
  "locationInModule": {
26839
26841
  "filename": "src/javascript/node-project.ts",
26840
- "line": 265
26842
+ "line": 258
26841
26843
  },
26842
26844
  "name": "prettierOptions",
26843
26845
  "optional": true,
@@ -26873,7 +26875,7 @@
26873
26875
  "immutable": true,
26874
26876
  "locationInModule": {
26875
26877
  "filename": "src/javascript/node-project.ts",
26876
- "line": 290
26878
+ "line": 283
26877
26879
  },
26878
26880
  "name": "projenrcJs",
26879
26881
  "optional": true,
@@ -26891,7 +26893,7 @@
26891
26893
  "immutable": true,
26892
26894
  "locationInModule": {
26893
26895
  "filename": "src/javascript/node-project.ts",
26894
- "line": 296
26896
+ "line": 289
26895
26897
  },
26896
26898
  "name": "projenrcJsOptions",
26897
26899
  "optional": true,
@@ -27365,7 +27367,7 @@
27365
27367
  },
27366
27368
  "locationInModule": {
27367
27369
  "filename": "src/javascript/prettier.ts",
27368
- "line": 309
27370
+ "line": 362
27369
27371
  },
27370
27372
  "parameters": [
27371
27373
  {
@@ -27385,7 +27387,7 @@
27385
27387
  "kind": "class",
27386
27388
  "locationInModule": {
27387
27389
  "filename": "src/javascript/prettier.ts",
27388
- "line": 293
27390
+ "line": 340
27389
27391
  },
27390
27392
  "methods": [
27391
27393
  {
@@ -27394,7 +27396,7 @@
27394
27396
  },
27395
27397
  "locationInModule": {
27396
27398
  "filename": "src/javascript/prettier.ts",
27397
- "line": 294
27399
+ "line": 341
27398
27400
  },
27399
27401
  "name": "of",
27400
27402
  "parameters": [
@@ -27413,6 +27415,28 @@
27413
27415
  },
27414
27416
  "static": true
27415
27417
  },
27418
+ {
27419
+ "docs": {
27420
+ "stability": "experimental",
27421
+ "summary": "Defines Prettier ignore Patterns these patterns will be added to the file .prettierignore."
27422
+ },
27423
+ "locationInModule": {
27424
+ "filename": "src/javascript/prettier.ts",
27425
+ "line": 398
27426
+ },
27427
+ "name": "addIgnorePattern",
27428
+ "parameters": [
27429
+ {
27430
+ "docs": {
27431
+ "summary": "filepatterns so exclude from prettier formatting."
27432
+ },
27433
+ "name": "pattern",
27434
+ "type": {
27435
+ "primitive": "string"
27436
+ }
27437
+ }
27438
+ ]
27439
+ },
27416
27440
  {
27417
27441
  "docs": {
27418
27442
  "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
@@ -27421,7 +27445,7 @@
27421
27445
  },
27422
27446
  "locationInModule": {
27423
27447
  "filename": "src/javascript/prettier.ts",
27424
- "line": 326
27448
+ "line": 388
27425
27449
  },
27426
27450
  "name": "addOverride",
27427
27451
  "parameters": [
@@ -27440,87 +27464,277 @@
27440
27464
  {
27441
27465
  "docs": {
27442
27466
  "stability": "experimental",
27443
- "summary": "Direct access to the prettier configuration."
27467
+ "summary": "Access to the Prettieroverrides to extend those."
27444
27468
  },
27445
27469
  "immutable": true,
27446
27470
  "locationInModule": {
27447
27471
  "filename": "src/javascript/prettier.ts",
27448
- "line": 301
27472
+ "line": 405
27449
27473
  },
27450
- "name": "config",
27474
+ "name": "overrides",
27451
27475
  "type": {
27452
- "fqn": "projen.javascript.PrettierOptions"
27476
+ "collection": {
27477
+ "elementtype": {
27478
+ "fqn": "projen.javascript.PrettierOverride"
27479
+ },
27480
+ "kind": "array"
27481
+ }
27453
27482
  }
27454
27483
  },
27455
27484
  {
27456
27485
  "docs": {
27457
27486
  "stability": "experimental",
27458
- "summary": "Access to the Prettieroverrides to extend those."
27487
+ "summary": "Direct access to the prettier settings."
27459
27488
  },
27460
27489
  "immutable": true,
27461
27490
  "locationInModule": {
27462
27491
  "filename": "src/javascript/prettier.ts",
27463
- "line": 333
27492
+ "line": 348
27464
27493
  },
27465
- "name": "overrides",
27494
+ "name": "settings",
27466
27495
  "type": {
27467
- "collection": {
27468
- "elementtype": {
27469
- "fqn": "projen.javascript.PrettierOverride"
27470
- },
27471
- "kind": "array"
27472
- }
27496
+ "fqn": "projen.javascript.PrettierSettings"
27497
+ }
27498
+ },
27499
+ {
27500
+ "docs": {
27501
+ "stability": "experimental",
27502
+ "summary": "The .prettierIgnore file."
27503
+ },
27504
+ "immutable": true,
27505
+ "locationInModule": {
27506
+ "filename": "src/javascript/prettier.ts",
27507
+ "line": 353
27508
+ },
27509
+ "name": "ignoreFile",
27510
+ "optional": true,
27511
+ "type": {
27512
+ "fqn": "projen.IgnoreFile"
27473
27513
  }
27474
27514
  }
27475
27515
  ],
27476
27516
  "symbolId": "src/javascript/prettier:Prettier"
27477
27517
  },
27478
- "projen.javascript.PrettierBaseOptions": {
27518
+ "projen.javascript.PrettierOptions": {
27479
27519
  "assembly": "projen",
27480
27520
  "datatype": true,
27481
27521
  "docs": {
27482
27522
  "stability": "experimental",
27483
- "summary": "Options to set in Prettier directly or through overrides."
27523
+ "summary": "Options for Prettier."
27484
27524
  },
27485
- "fqn": "projen.javascript.PrettierBaseOptions",
27525
+ "fqn": "projen.javascript.PrettierOptions",
27486
27526
  "kind": "interface",
27487
27527
  "locationInModule": {
27488
27528
  "filename": "src/javascript/prettier.ts",
27489
- "line": 23
27529
+ "line": 10
27490
27530
  },
27491
- "name": "PrettierBaseOptions",
27531
+ "name": "PrettierOptions",
27492
27532
  "namespace": "javascript",
27493
27533
  "properties": [
27494
27534
  {
27495
27535
  "abstract": true,
27496
27536
  "docs": {
27497
- "default": "ArrowParens.ALWAYS",
27498
- "remarks": "Always include parens. Example: `(x) => x`\n\nOmit parens when possible. Example: `x => x`",
27537
+ "default": "true",
27499
27538
  "stability": "experimental",
27500
- "summary": "Include parentheses around a sole arrow function parameter."
27539
+ "summary": "Defines an .prettierIgnore file."
27501
27540
  },
27502
27541
  "immutable": true,
27503
27542
  "locationInModule": {
27504
27543
  "filename": "src/javascript/prettier.ts",
27505
- "line": 33
27544
+ "line": 16
27506
27545
  },
27507
- "name": "arrowParens",
27546
+ "name": "ignoreFile",
27508
27547
  "optional": true,
27509
27548
  "type": {
27510
- "fqn": "projen.javascript.ArrowParens"
27549
+ "primitive": "boolean"
27511
27550
  }
27512
27551
  },
27513
27552
  {
27514
27553
  "abstract": true,
27515
27554
  "docs": {
27516
- "default": "false",
27555
+ "default": "[]",
27556
+ "see": "https://prettier.io/docs/en/configuration.html#configuration-overrides",
27517
27557
  "stability": "experimental",
27518
- "summary": "Put > of opening tags on the last line instead of on a new line."
27558
+ "summary": "Provide a list of patterns to override prettier configuration."
27519
27559
  },
27520
27560
  "immutable": true,
27521
27561
  "locationInModule": {
27522
27562
  "filename": "src/javascript/prettier.ts",
27523
- "line": 39
27563
+ "line": 30
27564
+ },
27565
+ "name": "overrides",
27566
+ "optional": true,
27567
+ "type": {
27568
+ "collection": {
27569
+ "elementtype": {
27570
+ "fqn": "projen.javascript.PrettierOverride"
27571
+ },
27572
+ "kind": "array"
27573
+ }
27574
+ }
27575
+ },
27576
+ {
27577
+ "abstract": true,
27578
+ "docs": {
27579
+ "default": "- default settings",
27580
+ "stability": "experimental",
27581
+ "summary": "Prettier settings."
27582
+ },
27583
+ "immutable": true,
27584
+ "locationInModule": {
27585
+ "filename": "src/javascript/prettier.ts",
27586
+ "line": 22
27587
+ },
27588
+ "name": "settings",
27589
+ "optional": true,
27590
+ "type": {
27591
+ "fqn": "projen.javascript.PrettierSettings"
27592
+ }
27593
+ }
27594
+ ],
27595
+ "symbolId": "src/javascript/prettier:PrettierOptions"
27596
+ },
27597
+ "projen.javascript.PrettierOverride": {
27598
+ "assembly": "projen",
27599
+ "datatype": true,
27600
+ "docs": {
27601
+ "stability": "experimental"
27602
+ },
27603
+ "fqn": "projen.javascript.PrettierOverride",
27604
+ "kind": "interface",
27605
+ "locationInModule": {
27606
+ "filename": "src/javascript/prettier.ts",
27607
+ "line": 264
27608
+ },
27609
+ "name": "PrettierOverride",
27610
+ "namespace": "javascript",
27611
+ "properties": [
27612
+ {
27613
+ "abstract": true,
27614
+ "docs": {
27615
+ "stability": "experimental",
27616
+ "summary": "Include these files in this override."
27617
+ },
27618
+ "immutable": true,
27619
+ "locationInModule": {
27620
+ "filename": "src/javascript/prettier.ts",
27621
+ "line": 272
27622
+ },
27623
+ "name": "files",
27624
+ "type": {
27625
+ "union": {
27626
+ "types": [
27627
+ {
27628
+ "primitive": "string"
27629
+ },
27630
+ {
27631
+ "collection": {
27632
+ "elementtype": {
27633
+ "primitive": "string"
27634
+ },
27635
+ "kind": "array"
27636
+ }
27637
+ }
27638
+ ]
27639
+ }
27640
+ }
27641
+ },
27642
+ {
27643
+ "abstract": true,
27644
+ "docs": {
27645
+ "stability": "experimental",
27646
+ "summary": "The options to apply for this override."
27647
+ },
27648
+ "immutable": true,
27649
+ "locationInModule": {
27650
+ "filename": "src/javascript/prettier.ts",
27651
+ "line": 276
27652
+ },
27653
+ "name": "settings",
27654
+ "type": {
27655
+ "fqn": "projen.javascript.PrettierSettings"
27656
+ }
27657
+ },
27658
+ {
27659
+ "abstract": true,
27660
+ "docs": {
27661
+ "stability": "experimental",
27662
+ "summary": "Exclude these files from this override."
27663
+ },
27664
+ "immutable": true,
27665
+ "locationInModule": {
27666
+ "filename": "src/javascript/prettier.ts",
27667
+ "line": 268
27668
+ },
27669
+ "name": "excludeFiles",
27670
+ "optional": true,
27671
+ "type": {
27672
+ "union": {
27673
+ "types": [
27674
+ {
27675
+ "primitive": "string"
27676
+ },
27677
+ {
27678
+ "collection": {
27679
+ "elementtype": {
27680
+ "primitive": "string"
27681
+ },
27682
+ "kind": "array"
27683
+ }
27684
+ }
27685
+ ]
27686
+ }
27687
+ }
27688
+ }
27689
+ ],
27690
+ "symbolId": "src/javascript/prettier:PrettierOverride"
27691
+ },
27692
+ "projen.javascript.PrettierSettings": {
27693
+ "assembly": "projen",
27694
+ "datatype": true,
27695
+ "docs": {
27696
+ "see": "https://prettier.io/docs/en/options.html",
27697
+ "stability": "experimental",
27698
+ "summary": "Options to set in Prettier directly or through overrides."
27699
+ },
27700
+ "fqn": "projen.javascript.PrettierSettings",
27701
+ "kind": "interface",
27702
+ "locationInModule": {
27703
+ "filename": "src/javascript/prettier.ts",
27704
+ "line": 37
27705
+ },
27706
+ "name": "PrettierSettings",
27707
+ "namespace": "javascript",
27708
+ "properties": [
27709
+ {
27710
+ "abstract": true,
27711
+ "docs": {
27712
+ "default": "ArrowParens.ALWAYS",
27713
+ "stability": "experimental",
27714
+ "summary": "Include parentheses around a sole arrow function parameter."
27715
+ },
27716
+ "immutable": true,
27717
+ "locationInModule": {
27718
+ "filename": "src/javascript/prettier.ts",
27719
+ "line": 43
27720
+ },
27721
+ "name": "arrowParens",
27722
+ "optional": true,
27723
+ "type": {
27724
+ "fqn": "projen.javascript.ArrowParens"
27725
+ }
27726
+ },
27727
+ {
27728
+ "abstract": true,
27729
+ "docs": {
27730
+ "default": "false",
27731
+ "stability": "experimental",
27732
+ "summary": "Put > of opening tags on the last line instead of on a new line."
27733
+ },
27734
+ "immutable": true,
27735
+ "locationInModule": {
27736
+ "filename": "src/javascript/prettier.ts",
27737
+ "line": 49
27524
27738
  },
27525
27739
  "name": "bracketSameLine",
27526
27740
  "optional": true,
@@ -27538,7 +27752,7 @@
27538
27752
  "immutable": true,
27539
27753
  "locationInModule": {
27540
27754
  "filename": "src/javascript/prettier.ts",
27541
- "line": 45
27755
+ "line": 55
27542
27756
  },
27543
27757
  "name": "bracketSpacing",
27544
27758
  "optional": true,
@@ -27557,7 +27771,7 @@
27557
27771
  "immutable": true,
27558
27772
  "locationInModule": {
27559
27773
  "filename": "src/javascript/prettier.ts",
27560
- "line": 52
27774
+ "line": 62
27561
27775
  },
27562
27776
  "name": "cursorOffset",
27563
27777
  "optional": true,
@@ -27569,14 +27783,13 @@
27569
27783
  "abstract": true,
27570
27784
  "docs": {
27571
27785
  "default": "EmbeddedLanguageFormatting.AUTO",
27572
- "remarks": "Format embedded code if Prettier can automatically identify it.\n\nNever automatically format embedded code.",
27573
27786
  "stability": "experimental",
27574
27787
  "summary": "Control how Prettier formats quoted code embedded in the file."
27575
27788
  },
27576
27789
  "immutable": true,
27577
27790
  "locationInModule": {
27578
27791
  "filename": "src/javascript/prettier.ts",
27579
- "line": 62
27792
+ "line": 68
27580
27793
  },
27581
27794
  "name": "embeddedLanguageFormatting",
27582
27795
  "optional": true,
@@ -27588,14 +27801,13 @@
27588
27801
  "abstract": true,
27589
27802
  "docs": {
27590
27803
  "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
27804
  "stability": "experimental",
27593
27805
  "summary": "Which end of line characters to apply."
27594
27806
  },
27595
27807
  "immutable": true,
27596
27808
  "locationInModule": {
27597
27809
  "filename": "src/javascript/prettier.ts",
27598
- "line": 77
27810
+ "line": 74
27599
27811
  },
27600
27812
  "name": "endOfLine",
27601
27813
  "optional": true,
@@ -27614,7 +27826,7 @@
27614
27826
  "immutable": true,
27615
27827
  "locationInModule": {
27616
27828
  "filename": "src/javascript/prettier.ts",
27617
- "line": 82
27829
+ "line": 79
27618
27830
  },
27619
27831
  "name": "filepath",
27620
27832
  "optional": true,
@@ -27626,14 +27838,13 @@
27626
27838
  "abstract": true,
27627
27839
  "docs": {
27628
27840
  "default": "HTMLWhitespaceSensitivity.CSS",
27629
- "remarks": "Respect the default value of CSS display property.\n\nWhitespaces are considered sensitive.\n\nWhitespaces are considered insensitive.",
27630
27841
  "stability": "experimental",
27631
27842
  "summary": "How to handle whitespaces in HTML."
27632
27843
  },
27633
27844
  "immutable": true,
27634
27845
  "locationInModule": {
27635
27846
  "filename": "src/javascript/prettier.ts",
27636
- "line": 94
27847
+ "line": 85
27637
27848
  },
27638
27849
  "name": "htmlWhitespaceSensitivity",
27639
27850
  "optional": true,
@@ -27651,7 +27862,7 @@
27651
27862
  "immutable": true,
27652
27863
  "locationInModule": {
27653
27864
  "filename": "src/javascript/prettier.ts",
27654
- "line": 100
27865
+ "line": 91
27655
27866
  },
27656
27867
  "name": "insertPragma",
27657
27868
  "optional": true,
@@ -27669,7 +27880,7 @@
27669
27880
  "immutable": true,
27670
27881
  "locationInModule": {
27671
27882
  "filename": "src/javascript/prettier.ts",
27672
- "line": 106
27883
+ "line": 97
27673
27884
  },
27674
27885
  "name": "jsxSingleQuote",
27675
27886
  "optional": true,
@@ -27687,7 +27898,7 @@
27687
27898
  "immutable": true,
27688
27899
  "locationInModule": {
27689
27900
  "filename": "src/javascript/prettier.ts",
27690
- "line": 112
27901
+ "line": 103
27691
27902
  },
27692
27903
  "name": "parser",
27693
27904
  "optional": true,
@@ -27706,7 +27917,7 @@
27706
27917
  "immutable": true,
27707
27918
  "locationInModule": {
27708
27919
  "filename": "src/javascript/prettier.ts",
27709
- "line": 118
27920
+ "line": 109
27710
27921
  },
27711
27922
  "name": "plugins",
27712
27923
  "optional": true,
@@ -27730,7 +27941,7 @@
27730
27941
  "immutable": true,
27731
27942
  "locationInModule": {
27732
27943
  "filename": "src/javascript/prettier.ts",
27733
- "line": 127
27944
+ "line": 118
27734
27945
  },
27735
27946
  "name": "pluginSearchDirs",
27736
27947
  "optional": true,
@@ -27753,7 +27964,7 @@
27753
27964
  "immutable": true,
27754
27965
  "locationInModule": {
27755
27966
  "filename": "src/javascript/prettier.ts",
27756
- "line": 133
27967
+ "line": 124
27757
27968
  },
27758
27969
  "name": "printWidth",
27759
27970
  "optional": true,
@@ -27765,14 +27976,13 @@
27765
27976
  "abstract": true,
27766
27977
  "docs": {
27767
27978
  "default": "ProseWrap.PRESERVE",
27768
- "remarks": "Wrap prose if it exceeds the print width.\n\nDo not wrap prose.\n\nWrap prose as-is.",
27769
27979
  "stability": "experimental",
27770
27980
  "summary": "How to wrap prose."
27771
27981
  },
27772
27982
  "immutable": true,
27773
27983
  "locationInModule": {
27774
27984
  "filename": "src/javascript/prettier.ts",
27775
- "line": 145
27985
+ "line": 130
27776
27986
  },
27777
27987
  "name": "proseWrap",
27778
27988
  "optional": true,
@@ -27784,14 +27994,13 @@
27784
27994
  "abstract": true,
27785
27995
  "docs": {
27786
27996
  "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
27997
  "stability": "experimental",
27789
27998
  "summary": "Change when properties in objects are quoted."
27790
27999
  },
27791
28000
  "immutable": true,
27792
28001
  "locationInModule": {
27793
28002
  "filename": "src/javascript/prettier.ts",
27794
- "line": 157
28003
+ "line": 136
27795
28004
  },
27796
28005
  "name": "quoteProps",
27797
28006
  "optional": true,
@@ -27810,7 +28019,7 @@
27810
28019
  "immutable": true,
27811
28020
  "locationInModule": {
27812
28021
  "filename": "src/javascript/prettier.ts",
27813
- "line": 165
28022
+ "line": 144
27814
28023
  },
27815
28024
  "name": "rangeEnd",
27816
28025
  "optional": true,
@@ -27829,7 +28038,7 @@
27829
28038
  "immutable": true,
27830
28039
  "locationInModule": {
27831
28040
  "filename": "src/javascript/prettier.ts",
27832
- "line": 174
28041
+ "line": 153
27833
28042
  },
27834
28043
  "name": "rangeStart",
27835
28044
  "optional": true,
@@ -27847,7 +28056,7 @@
27847
28056
  "immutable": true,
27848
28057
  "locationInModule": {
27849
28058
  "filename": "src/javascript/prettier.ts",
27850
- "line": 182
28059
+ "line": 161
27851
28060
  },
27852
28061
  "name": "requirePragma",
27853
28062
  "optional": true,
@@ -27865,7 +28074,7 @@
27865
28074
  "immutable": true,
27866
28075
  "locationInModule": {
27867
28076
  "filename": "src/javascript/prettier.ts",
27868
- "line": 188
28077
+ "line": 167
27869
28078
  },
27870
28079
  "name": "semi",
27871
28080
  "optional": true,
@@ -27883,7 +28092,7 @@
27883
28092
  "immutable": true,
27884
28093
  "locationInModule": {
27885
28094
  "filename": "src/javascript/prettier.ts",
27886
- "line": 194
28095
+ "line": 173
27887
28096
  },
27888
28097
  "name": "singleQuote",
27889
28098
  "optional": true,
@@ -27901,7 +28110,7 @@
27901
28110
  "immutable": true,
27902
28111
  "locationInModule": {
27903
28112
  "filename": "src/javascript/prettier.ts",
27904
- "line": 200
28113
+ "line": 179
27905
28114
  },
27906
28115
  "name": "tabWidth",
27907
28116
  "optional": true,
@@ -27913,14 +28122,13 @@
27913
28122
  "abstract": true,
27914
28123
  "docs": {
27915
28124
  "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
28125
  "stability": "experimental",
27918
28126
  "summary": "Print trailing commas wherever possible when multi-line."
27919
28127
  },
27920
28128
  "immutable": true,
27921
28129
  "locationInModule": {
27922
28130
  "filename": "src/javascript/prettier.ts",
27923
- "line": 212
28131
+ "line": 185
27924
28132
  },
27925
28133
  "name": "trailingComma",
27926
28134
  "optional": true,
@@ -27938,7 +28146,7 @@
27938
28146
  "immutable": true,
27939
28147
  "locationInModule": {
27940
28148
  "filename": "src/javascript/prettier.ts",
27941
- "line": 218
28149
+ "line": 191
27942
28150
  },
27943
28151
  "name": "useTabs",
27944
28152
  "optional": true,
@@ -27956,7 +28164,7 @@
27956
28164
  "immutable": true,
27957
28165
  "locationInModule": {
27958
28166
  "filename": "src/javascript/prettier.ts",
27959
- "line": 224
28167
+ "line": 197
27960
28168
  },
27961
28169
  "name": "vueIndentScriptAndStyle",
27962
28170
  "optional": true,
@@ -27965,149 +28173,7 @@
27965
28173
  }
27966
28174
  }
27967
28175
  ],
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"
28176
+ "symbolId": "src/javascript/prettier:PrettierSettings"
28111
28177
  },
28112
28178
  "projen.javascript.Projenrc": {
28113
28179
  "assembly": "projen",
@@ -28195,24 +28261,27 @@
28195
28261
  "kind": "enum",
28196
28262
  "locationInModule": {
28197
28263
  "filename": "src/javascript/prettier.ts",
28198
- "line": 272
28264
+ "line": 286
28199
28265
  },
28200
28266
  "members": [
28201
28267
  {
28202
28268
  "docs": {
28203
- "stability": "experimental"
28269
+ "stability": "experimental",
28270
+ "summary": "Wrap prose if it exceeds the print width."
28204
28271
  },
28205
28272
  "name": "ALWAYS"
28206
28273
  },
28207
28274
  {
28208
28275
  "docs": {
28209
- "stability": "experimental"
28276
+ "stability": "experimental",
28277
+ "summary": "Do not wrap prose."
28210
28278
  },
28211
28279
  "name": "NEVER"
28212
28280
  },
28213
28281
  {
28214
28282
  "docs": {
28215
- "stability": "experimental"
28283
+ "stability": "experimental",
28284
+ "summary": "Wrap prose as-is."
28216
28285
  },
28217
28286
  "name": "PRESERVE"
28218
28287
  }
@@ -28230,24 +28299,27 @@
28230
28299
  "kind": "enum",
28231
28300
  "locationInModule": {
28232
28301
  "filename": "src/javascript/prettier.ts",
28233
- "line": 278
28302
+ "line": 303
28234
28303
  },
28235
28304
  "members": [
28236
28305
  {
28237
28306
  "docs": {
28238
- "stability": "experimental"
28307
+ "stability": "experimental",
28308
+ "summary": "Only add quotes around object properties where required."
28239
28309
  },
28240
28310
  "name": "ASNEEDED"
28241
28311
  },
28242
28312
  {
28243
28313
  "docs": {
28244
- "stability": "experimental"
28314
+ "stability": "experimental",
28315
+ "summary": "If at least one property in an object requires quotes, quote all properties."
28245
28316
  },
28246
28317
  "name": "CONSISTENT"
28247
28318
  },
28248
28319
  {
28249
28320
  "docs": {
28250
- "stability": "experimental"
28321
+ "stability": "experimental",
28322
+ "summary": "Respect the input use of quotes in object properties."
28251
28323
  },
28252
28324
  "name": "PRESERVE"
28253
28325
  }
@@ -28265,24 +28337,27 @@
28265
28337
  "kind": "enum",
28266
28338
  "locationInModule": {
28267
28339
  "filename": "src/javascript/prettier.ts",
28268
- "line": 284
28340
+ "line": 320
28269
28341
  },
28270
28342
  "members": [
28271
28343
  {
28272
28344
  "docs": {
28273
- "stability": "experimental"
28345
+ "stability": "experimental",
28346
+ "summary": "Trailing commas wherever possible (including function arguments)."
28274
28347
  },
28275
28348
  "name": "ALL"
28276
28349
  },
28277
28350
  {
28278
28351
  "docs": {
28279
- "stability": "experimental"
28352
+ "stability": "experimental",
28353
+ "summary": "Trailing commas where valid in ES5 (objects, arrays, etc.)."
28280
28354
  },
28281
28355
  "name": "ES5"
28282
28356
  },
28283
28357
  {
28284
28358
  "docs": {
28285
- "stability": "experimental"
28359
+ "stability": "experimental",
28360
+ "summary": "No trailing commas."
28286
28361
  },
28287
28362
  "name": "NONE"
28288
28363
  }
@@ -37536,6 +37611,6 @@
37536
37611
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
37537
37612
  }
37538
37613
  },
37539
- "version": "0.47.15",
37540
- "fingerprint": "UlBX/sPkTf5/JvzwgxcL3VuzsvMxpPl+xmgA8IvZWhY="
37614
+ "version": "0.48.0",
37615
+ "fingerprint": "fc8q+hUx8FZGBqvjScYjcjwPbqu11eOFHyVr0UYaqiM="
37541
37616
  }