projen 0.90.2 → 0.90.4

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 (146) hide show
  1. package/.jsii +374 -79
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.d.ts +6 -0
  5. package/lib/awscdk/awscdk-app-py.js +5 -4
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +1 -1
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +2 -2
  17. package/lib/build/build-workflow.js +1 -1
  18. package/lib/cdk/auto-discover-base.js +2 -2
  19. package/lib/cdk/construct-lib.js +1 -1
  20. package/lib/cdk/integration-test-base.js +1 -1
  21. package/lib/cdk/jsii-docgen.js +1 -1
  22. package/lib/cdk/jsii-project.js +1 -1
  23. package/lib/cdk8s/auto-discover.js +2 -2
  24. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  25. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  26. package/lib/cdk8s/cdk8s-construct.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  28. package/lib/cdk8s/cdk8s-deps.js +1 -1
  29. package/lib/cdk8s/integration-test.js +1 -1
  30. package/lib/cdktf/cdktf-construct.js +1 -1
  31. package/lib/circleci/circleci.js +1 -1
  32. package/lib/component.js +1 -1
  33. package/lib/dependencies.js +1 -1
  34. package/lib/dev-env.js +1 -1
  35. package/lib/docker-compose/docker-compose-service.js +1 -1
  36. package/lib/docker-compose/docker-compose.js +1 -1
  37. package/lib/file.js +1 -1
  38. package/lib/gitattributes.js +1 -1
  39. package/lib/github/actions-provider.js +1 -1
  40. package/lib/github/auto-approve.js +1 -1
  41. package/lib/github/auto-merge.js +1 -1
  42. package/lib/github/auto-queue.js +1 -1
  43. package/lib/github/dependabot.js +1 -1
  44. package/lib/github/github-credentials.js +1 -1
  45. package/lib/github/github-project.js +1 -1
  46. package/lib/github/github.js +1 -1
  47. package/lib/github/merge-queue.js +1 -1
  48. package/lib/github/mergify.js +1 -1
  49. package/lib/github/pr-template.js +1 -1
  50. package/lib/github/pull-request-backport.js +1 -1
  51. package/lib/github/pull-request-lint.js +1 -1
  52. package/lib/github/stale.js +1 -1
  53. package/lib/github/task-workflow-job.js +1 -1
  54. package/lib/github/task-workflow.js +1 -1
  55. package/lib/github/workflow-actions.js +1 -1
  56. package/lib/github/workflow-jobs.js +1 -1
  57. package/lib/github/workflow-steps.js +1 -1
  58. package/lib/github/workflows.js +1 -1
  59. package/lib/gitlab/configuration.js +1 -1
  60. package/lib/gitlab/gitlab-configuration.js +1 -1
  61. package/lib/gitlab/nested-configuration.js +1 -1
  62. package/lib/gitpod.js +1 -1
  63. package/lib/ignore-file.js +1 -1
  64. package/lib/ini.js +1 -1
  65. package/lib/java/java-project.js +1 -1
  66. package/lib/java/junit.js +1 -1
  67. package/lib/java/maven-compile.js +1 -1
  68. package/lib/java/maven-packaging.js +1 -1
  69. package/lib/java/maven-sample.js +1 -1
  70. package/lib/java/pom.js +2 -2
  71. package/lib/java/projenrc.js +1 -1
  72. package/lib/javascript/bundler.js +1 -1
  73. package/lib/javascript/eslint.js +1 -1
  74. package/lib/javascript/jest.js +4 -4
  75. package/lib/javascript/license-checker.js +1 -1
  76. package/lib/javascript/node-package.js +1 -1
  77. package/lib/javascript/node-project.js +1 -1
  78. package/lib/javascript/npm-config.js +1 -1
  79. package/lib/javascript/prettier.js +1 -1
  80. package/lib/javascript/projenrc.js +1 -1
  81. package/lib/javascript/typescript-config.js +2 -2
  82. package/lib/javascript/upgrade-dependencies.js +2 -2
  83. package/lib/javascript/yarnrc.js +1 -1
  84. package/lib/json-patch.js +1 -1
  85. package/lib/json.js +1 -1
  86. package/lib/license.js +1 -1
  87. package/lib/logger.js +1 -1
  88. package/lib/makefile.js +1 -1
  89. package/lib/object-file.js +1 -1
  90. package/lib/project-build.js +1 -1
  91. package/lib/project-tree.js +1 -1
  92. package/lib/project.js +1 -1
  93. package/lib/projects.js +1 -1
  94. package/lib/projenrc-json.js +2 -2
  95. package/lib/projenrc.js +1 -1
  96. package/lib/python/pip.js +1 -1
  97. package/lib/python/poetry.js +2 -2
  98. package/lib/python/projenrc.js +1 -1
  99. package/lib/python/pytest-sample.js +1 -1
  100. package/lib/python/pytest.d.ts +20 -2
  101. package/lib/python/pytest.js +7 -3
  102. package/lib/python/python-project.d.ts +11 -0
  103. package/lib/python/python-project.js +4 -3
  104. package/lib/python/python-sample.js +1 -1
  105. package/lib/python/requirements-file.js +1 -1
  106. package/lib/python/setuppy.js +1 -1
  107. package/lib/python/setuptools.js +1 -1
  108. package/lib/python/venv.js +1 -1
  109. package/lib/readme.js +1 -1
  110. package/lib/release/bump-version.d.ts +24 -0
  111. package/lib/release/bump-version.js +47 -7
  112. package/lib/release/bump-version.task.js +5 -2
  113. package/lib/release/publisher.js +1 -1
  114. package/lib/release/release-trigger.js +1 -1
  115. package/lib/release/release.d.ts +32 -0
  116. package/lib/release/release.js +11 -17
  117. package/lib/renovatebot.js +1 -1
  118. package/lib/sample-file.js +2 -2
  119. package/lib/semver.js +1 -1
  120. package/lib/source-code.js +1 -1
  121. package/lib/task-runtime.js +1 -1
  122. package/lib/task.js +1 -1
  123. package/lib/tasks.js +1 -1
  124. package/lib/testing.js +1 -1
  125. package/lib/textfile.js +1 -1
  126. package/lib/toml.js +1 -1
  127. package/lib/typescript/projenrc-ts.js +1 -1
  128. package/lib/typescript/projenrc.js +1 -1
  129. package/lib/typescript/typescript-typedoc.js +1 -1
  130. package/lib/typescript/typescript.js +6 -6
  131. package/lib/util.d.ts +1 -0
  132. package/lib/util.js +5 -1
  133. package/lib/version.d.ts +68 -0
  134. package/lib/version.js +38 -3
  135. package/lib/vscode/devcontainer.js +1 -1
  136. package/lib/vscode/extensions.js +1 -1
  137. package/lib/vscode/launch-config.js +1 -1
  138. package/lib/vscode/settings.js +1 -1
  139. package/lib/vscode/vscode.js +1 -1
  140. package/lib/web/next.js +3 -3
  141. package/lib/web/postcss.js +1 -1
  142. package/lib/web/react.js +4 -4
  143. package/lib/web/tailwind.js +1 -1
  144. package/lib/xmlfile.js +1 -1
  145. package/lib/yaml.js +1 -1
  146. package/package.json +3 -3
package/.jsii CHANGED
@@ -8439,7 +8439,7 @@
8439
8439
  "kind": "class",
8440
8440
  "locationInModule": {
8441
8441
  "filename": "src/version.ts",
8442
- "line": 184
8442
+ "line": 296
8443
8443
  },
8444
8444
  "methods": [
8445
8445
  {
@@ -8450,7 +8450,7 @@
8450
8450
  },
8451
8451
  "locationInModule": {
8452
8452
  "filename": "src/version.ts",
8453
- "line": 193
8453
+ "line": 305
8454
8454
  },
8455
8455
  "name": "everyCommit",
8456
8456
  "parameters": [
@@ -8482,7 +8482,7 @@
8482
8482
  },
8483
8483
  "locationInModule": {
8484
8484
  "filename": "src/version.ts",
8485
- "line": 240
8485
+ "line": 352
8486
8486
  },
8487
8487
  "name": "exec",
8488
8488
  "parameters": [
@@ -8508,7 +8508,7 @@
8508
8508
  },
8509
8509
  "locationInModule": {
8510
8510
  "filename": "src/version.ts",
8511
- "line": 227
8511
+ "line": 339
8512
8512
  },
8513
8513
  "name": "featuresAndFixes",
8514
8514
  "parameters": [
@@ -8539,7 +8539,7 @@
8539
8539
  },
8540
8540
  "locationInModule": {
8541
8541
  "filename": "src/version.ts",
8542
- "line": 208
8542
+ "line": 320
8543
8543
  },
8544
8544
  "name": "ofType",
8545
8545
  "parameters": [
@@ -8585,7 +8585,7 @@
8585
8585
  },
8586
8586
  "locationInModule": {
8587
8587
  "filename": "src/version.ts",
8588
- "line": 244
8588
+ "line": 356
8589
8589
  },
8590
8590
  "name": "cmd",
8591
8591
  "type": {
@@ -11655,7 +11655,7 @@
11655
11655
  },
11656
11656
  "locationInModule": {
11657
11657
  "filename": "src/version.ts",
11658
- "line": 103
11658
+ "line": 127
11659
11659
  },
11660
11660
  "parameters": [
11661
11661
  {
@@ -11675,8 +11675,40 @@
11675
11675
  "kind": "class",
11676
11676
  "locationInModule": {
11677
11677
  "filename": "src/version.ts",
11678
- "line": 73
11678
+ "line": 95
11679
11679
  },
11680
+ "methods": [
11681
+ {
11682
+ "docs": {
11683
+ "remarks": "These options are used to modify the behavior of the version bumping script\nfor additional branches, by setting environment variables.\n\nNo settings are inherited from the base `Version` object (but any parameters that\ncontrol versions do conflict with the use of a `nextVersionCommand`).",
11684
+ "stability": "experimental",
11685
+ "summary": "Return the environment variables to modify the bump command for release branches."
11686
+ },
11687
+ "locationInModule": {
11688
+ "filename": "src/version.ts",
11689
+ "line": 216
11690
+ },
11691
+ "name": "envForBranch",
11692
+ "parameters": [
11693
+ {
11694
+ "name": "branchOptions",
11695
+ "type": {
11696
+ "fqn": "projen.VersionBranchOptions"
11697
+ }
11698
+ }
11699
+ ],
11700
+ "returns": {
11701
+ "type": {
11702
+ "collection": {
11703
+ "elementtype": {
11704
+ "primitive": "string"
11705
+ },
11706
+ "kind": "map"
11707
+ }
11708
+ }
11709
+ }
11710
+ }
11711
+ ],
11680
11712
  "name": "Version",
11681
11713
  "properties": [
11682
11714
  {
@@ -11688,7 +11720,7 @@
11688
11720
  "immutable": true,
11689
11721
  "locationInModule": {
11690
11722
  "filename": "src/version.ts",
11691
- "line": 77
11723
+ "line": 99
11692
11724
  },
11693
11725
  "name": "STANDARD_VERSION",
11694
11726
  "static": true,
@@ -11705,7 +11737,7 @@
11705
11737
  "immutable": true,
11706
11738
  "locationInModule": {
11707
11739
  "filename": "src/version.ts",
11708
- "line": 101
11740
+ "line": 123
11709
11741
  },
11710
11742
  "name": "bumpPackage",
11711
11743
  "type": {
@@ -11719,7 +11751,7 @@
11719
11751
  "immutable": true,
11720
11752
  "locationInModule": {
11721
11753
  "filename": "src/version.ts",
11722
- "line": 79
11754
+ "line": 101
11723
11755
  },
11724
11756
  "name": "bumpTask",
11725
11757
  "type": {
@@ -11734,7 +11766,7 @@
11734
11766
  "immutable": true,
11735
11767
  "locationInModule": {
11736
11768
  "filename": "src/version.ts",
11737
- "line": 85
11769
+ "line": 107
11738
11770
  },
11739
11771
  "name": "changelogFileName",
11740
11772
  "type": {
@@ -11749,7 +11781,7 @@
11749
11781
  "immutable": true,
11750
11782
  "locationInModule": {
11751
11783
  "filename": "src/version.ts",
11752
- "line": 95
11784
+ "line": 117
11753
11785
  },
11754
11786
  "name": "releaseTagFileName",
11755
11787
  "type": {
@@ -11763,7 +11795,7 @@
11763
11795
  "immutable": true,
11764
11796
  "locationInModule": {
11765
11797
  "filename": "src/version.ts",
11766
- "line": 80
11798
+ "line": 102
11767
11799
  },
11768
11800
  "name": "unbumpTask",
11769
11801
  "type": {
@@ -11778,7 +11810,7 @@
11778
11810
  "immutable": true,
11779
11811
  "locationInModule": {
11780
11812
  "filename": "src/version.ts",
11781
- "line": 90
11813
+ "line": 112
11782
11814
  },
11783
11815
  "name": "versionFileName",
11784
11816
  "type": {
@@ -11788,6 +11820,112 @@
11788
11820
  ],
11789
11821
  "symbolId": "src/version:Version"
11790
11822
  },
11823
+ "projen.VersionBranchOptions": {
11824
+ "assembly": "projen",
11825
+ "datatype": true,
11826
+ "docs": {
11827
+ "stability": "experimental",
11828
+ "summary": "Options to pass to `modifyBranchEnvironment`."
11829
+ },
11830
+ "fqn": "projen.VersionBranchOptions",
11831
+ "kind": "interface",
11832
+ "locationInModule": {
11833
+ "filename": "src/version.ts",
11834
+ "line": 255
11835
+ },
11836
+ "name": "VersionBranchOptions",
11837
+ "properties": [
11838
+ {
11839
+ "abstract": true,
11840
+ "docs": {
11841
+ "stability": "experimental",
11842
+ "summary": "The major versions released from this branch."
11843
+ },
11844
+ "immutable": true,
11845
+ "locationInModule": {
11846
+ "filename": "src/version.ts",
11847
+ "line": 259
11848
+ },
11849
+ "name": "majorVersion",
11850
+ "optional": true,
11851
+ "type": {
11852
+ "primitive": "number"
11853
+ }
11854
+ },
11855
+ {
11856
+ "abstract": true,
11857
+ "docs": {
11858
+ "stability": "experimental",
11859
+ "summary": "The minimum major version to release."
11860
+ },
11861
+ "immutable": true,
11862
+ "locationInModule": {
11863
+ "filename": "src/version.ts",
11864
+ "line": 264
11865
+ },
11866
+ "name": "minMajorVersion",
11867
+ "optional": true,
11868
+ "type": {
11869
+ "primitive": "number"
11870
+ }
11871
+ },
11872
+ {
11873
+ "abstract": true,
11874
+ "docs": {
11875
+ "stability": "experimental",
11876
+ "summary": "The minor versions released from this branch."
11877
+ },
11878
+ "immutable": true,
11879
+ "locationInModule": {
11880
+ "filename": "src/version.ts",
11881
+ "line": 269
11882
+ },
11883
+ "name": "minorVersion",
11884
+ "optional": true,
11885
+ "type": {
11886
+ "primitive": "number"
11887
+ }
11888
+ },
11889
+ {
11890
+ "abstract": true,
11891
+ "docs": {
11892
+ "default": "- normal releases",
11893
+ "stability": "experimental",
11894
+ "summary": "Bump the version as a pre-release tag."
11895
+ },
11896
+ "immutable": true,
11897
+ "locationInModule": {
11898
+ "filename": "src/version.ts",
11899
+ "line": 276
11900
+ },
11901
+ "name": "prerelease",
11902
+ "optional": true,
11903
+ "type": {
11904
+ "primitive": "string"
11905
+ }
11906
+ },
11907
+ {
11908
+ "abstract": true,
11909
+ "docs": {
11910
+ "default": "- no prefix",
11911
+ "remarks": "Note: this prefix is used to detect the latest tagged version\nwhen bumping, so if you change this on a project with an existing version\nhistory, you may need to manually tag your latest release\nwith the new prefix.",
11912
+ "stability": "experimental",
11913
+ "summary": "Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers."
11914
+ },
11915
+ "immutable": true,
11916
+ "locationInModule": {
11917
+ "filename": "src/version.ts",
11918
+ "line": 290
11919
+ },
11920
+ "name": "tagPrefix",
11921
+ "optional": true,
11922
+ "type": {
11923
+ "primitive": "string"
11924
+ }
11925
+ }
11926
+ ],
11927
+ "symbolId": "src/version:VersionBranchOptions"
11928
+ },
11791
11929
  "projen.VersionOptions": {
11792
11930
  "assembly": "projen",
11793
11931
  "datatype": true,
@@ -11855,6 +11993,25 @@
11855
11993
  "primitive": "string"
11856
11994
  }
11857
11995
  },
11996
+ {
11997
+ "abstract": true,
11998
+ "docs": {
11999
+ "default": "- The next version will be determined based on the commit history and project settings.",
12000
+ "remarks": "If present, this shell command will be run before the bump is executed, and\nit determines what version to release. It will be executed in the following\nenvironment:\n\n- Working directory: the project directory.\n- `$VERSION`: the current version. Looks like `1.2.3`.\n- `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.\n\nThe command should print one of the following to `stdout`:\n\n- Nothing: the next version number will be determined based on commit history.\n- `x.y.z`: the next version number will be `x.y.z`.\n- `major|minor|patch`: the next version number will be the current version number\n with the indicated component bumped.",
12001
+ "stability": "experimental",
12002
+ "summary": "A shell command to control the next version to release."
12003
+ },
12004
+ "immutable": true,
12005
+ "locationInModule": {
12006
+ "filename": "src/version.ts",
12007
+ "line": 92
12008
+ },
12009
+ "name": "nextVersionCommand",
12010
+ "optional": true,
12011
+ "type": {
12012
+ "primitive": "string"
12013
+ }
12014
+ },
11858
12015
  {
11859
12016
  "abstract": true,
11860
12017
  "docs": {
@@ -13533,7 +13690,7 @@
13533
13690
  },
13534
13691
  "locationInModule": {
13535
13692
  "filename": "src/awscdk/awscdk-app-py.ts",
13536
- "line": 71
13693
+ "line": 78
13537
13694
  },
13538
13695
  "parameters": [
13539
13696
  {
@@ -13547,7 +13704,7 @@
13547
13704
  "kind": "class",
13548
13705
  "locationInModule": {
13549
13706
  "filename": "src/awscdk/awscdk-app-py.ts",
13550
- "line": 41
13707
+ "line": 42
13551
13708
  },
13552
13709
  "name": "AwsCdkPythonApp",
13553
13710
  "namespace": "awscdk",
@@ -13560,7 +13717,7 @@
13560
13717
  "immutable": true,
13561
13718
  "locationInModule": {
13562
13719
  "filename": "src/awscdk/awscdk-app-py.ts",
13563
- "line": 57
13720
+ "line": 58
13564
13721
  },
13565
13722
  "name": "appEntrypoint",
13566
13723
  "type": {
@@ -13575,7 +13732,7 @@
13575
13732
  "immutable": true,
13576
13733
  "locationInModule": {
13577
13734
  "filename": "src/awscdk/awscdk-app-py.ts",
13578
- "line": 50
13735
+ "line": 51
13579
13736
  },
13580
13737
  "name": "cdkConfig",
13581
13738
  "type": {
@@ -13589,7 +13746,7 @@
13589
13746
  "immutable": true,
13590
13747
  "locationInModule": {
13591
13748
  "filename": "src/awscdk/awscdk-app-py.ts",
13592
- "line": 52
13749
+ "line": 53
13593
13750
  },
13594
13751
  "name": "cdkDeps",
13595
13752
  "type": {
@@ -13604,7 +13761,7 @@
13604
13761
  "immutable": true,
13605
13762
  "locationInModule": {
13606
13763
  "filename": "src/awscdk/awscdk-app-py.ts",
13607
- "line": 45
13764
+ "line": 46
13608
13765
  },
13609
13766
  "name": "cdkTasks",
13610
13767
  "type": {
@@ -13619,7 +13776,7 @@
13619
13776
  "immutable": true,
13620
13777
  "locationInModule": {
13621
13778
  "filename": "src/awscdk/awscdk-app-py.ts",
13622
- "line": 67
13779
+ "line": 74
13623
13780
  },
13624
13781
  "name": "cdkVersion",
13625
13782
  "type": {
@@ -13629,12 +13786,29 @@
13629
13786
  {
13630
13787
  "docs": {
13631
13788
  "stability": "experimental",
13789
+ "summary": "The directory in which the python sample tests reside."
13790
+ },
13791
+ "immutable": true,
13792
+ "locationInModule": {
13793
+ "filename": "src/awscdk/awscdk-app-py.ts",
13794
+ "line": 69
13795
+ },
13796
+ "name": "sampleTestdir",
13797
+ "overrides": "projen.python.PythonProject",
13798
+ "type": {
13799
+ "primitive": "string"
13800
+ }
13801
+ },
13802
+ {
13803
+ "docs": {
13804
+ "deprecated": "Use `sampleTestdir` instead.",
13805
+ "stability": "deprecated",
13632
13806
  "summary": "The directory in which the python tests reside."
13633
13807
  },
13634
13808
  "immutable": true,
13635
13809
  "locationInModule": {
13636
13810
  "filename": "src/awscdk/awscdk-app-py.ts",
13637
- "line": 62
13811
+ "line": 64
13638
13812
  },
13639
13813
  "name": "testdir",
13640
13814
  "type": {
@@ -13687,13 +13861,14 @@
13687
13861
  "abstract": true,
13688
13862
  "docs": {
13689
13863
  "default": "\"tests\"",
13690
- "stability": "experimental",
13864
+ "deprecated": "Use `sampleTestdir` instead.",
13865
+ "stability": "deprecated",
13691
13866
  "summary": "Python sources directory."
13692
13867
  },
13693
13868
  "immutable": true,
13694
13869
  "locationInModule": {
13695
13870
  "filename": "src/awscdk/awscdk-app-py.ts",
13696
- "line": 33
13871
+ "line": 34
13697
13872
  },
13698
13873
  "name": "testdir",
13699
13874
  "optional": true,
@@ -56092,7 +56267,7 @@
56092
56267
  },
56093
56268
  "locationInModule": {
56094
56269
  "filename": "src/python/pytest.ts",
56095
- "line": 29
56270
+ "line": 48
56096
56271
  },
56097
56272
  "parameters": [
56098
56273
  {
@@ -56113,24 +56288,44 @@
56113
56288
  "kind": "class",
56114
56289
  "locationInModule": {
56115
56290
  "filename": "src/python/pytest.ts",
56116
- "line": 26
56291
+ "line": 41
56117
56292
  },
56118
56293
  "name": "Pytest",
56119
56294
  "namespace": "python",
56120
56295
  "properties": [
56121
56296
  {
56122
56297
  "docs": {
56123
- "stability": "experimental"
56298
+ "deprecated": "Use `sampleTestdir` on the project instead.",
56299
+ "stability": "deprecated"
56124
56300
  },
56125
56301
  "immutable": true,
56126
56302
  "locationInModule": {
56127
56303
  "filename": "src/python/pytest.ts",
56128
- "line": 27
56304
+ "line": 45
56129
56305
  },
56130
56306
  "name": "testdir",
56131
56307
  "type": {
56132
56308
  "primitive": "string"
56133
56309
  }
56310
+ },
56311
+ {
56312
+ "docs": {
56313
+ "stability": "experimental"
56314
+ },
56315
+ "immutable": true,
56316
+ "locationInModule": {
56317
+ "filename": "src/python/pytest.ts",
56318
+ "line": 46
56319
+ },
56320
+ "name": "testMatch",
56321
+ "type": {
56322
+ "collection": {
56323
+ "elementtype": {
56324
+ "primitive": "string"
56325
+ },
56326
+ "kind": "array"
56327
+ }
56328
+ }
56134
56329
  }
56135
56330
  ],
56136
56331
  "symbolId": "src/python/pytest:Pytest"
@@ -56159,7 +56354,7 @@
56159
56354
  "immutable": true,
56160
56355
  "locationInModule": {
56161
56356
  "filename": "src/python/pytest.ts",
56162
- "line": 23
56357
+ "line": 25
56163
56358
  },
56164
56359
  "name": "maxFailures",
56165
56360
  "optional": true,
@@ -56170,14 +56365,16 @@
56170
56365
  {
56171
56366
  "abstract": true,
56172
56367
  "docs": {
56173
- "default": "'tests'",
56174
- "stability": "experimental",
56175
- "summary": "Directory with tests."
56368
+ "default": "\"tests\"",
56369
+ "deprecated": "Reference `sampleTestdir` on the project instead; to change the directory where tests are discovered from, use `testMatch`.",
56370
+ "remarks": "Typically the same directory where project tests will be located.",
56371
+ "stability": "deprecated",
56372
+ "summary": "Location of sample tests."
56176
56373
  },
56177
56374
  "immutable": true,
56178
56375
  "locationInModule": {
56179
56376
  "filename": "src/python/pytest.ts",
56180
- "line": 18
56377
+ "line": 20
56181
56378
  },
56182
56379
  "name": "testdir",
56183
56380
  "optional": true,
@@ -56185,6 +56382,31 @@
56185
56382
  "primitive": "string"
56186
56383
  }
56187
56384
  },
56385
+ {
56386
+ "abstract": true,
56387
+ "docs": {
56388
+ "default": "[]",
56389
+ "example": "[\"tests/unit\", \"tests/qa\"]",
56390
+ "remarks": "Useful when all project tests are in a known location to speed up\ntest collection and to avoid picking up undesired tests by accident.\n\nLeave empty to discover all test_*.py or *_test.py files, per Pytest default.\n\nThe array will be concatenated and passed as a single argument to pytest.",
56391
+ "stability": "experimental",
56392
+ "summary": "List of paths to test files or directories."
56393
+ },
56394
+ "immutable": true,
56395
+ "locationInModule": {
56396
+ "filename": "src/python/pytest.ts",
56397
+ "line": 38
56398
+ },
56399
+ "name": "testMatch",
56400
+ "optional": true,
56401
+ "type": {
56402
+ "collection": {
56403
+ "elementtype": {
56404
+ "primitive": "string"
56405
+ },
56406
+ "kind": "array"
56407
+ }
56408
+ }
56409
+ },
56188
56410
  {
56189
56411
  "abstract": true,
56190
56412
  "docs": {
@@ -56555,7 +56777,7 @@
56555
56777
  },
56556
56778
  "locationInModule": {
56557
56779
  "filename": "src/python/python-project.ts",
56558
- "line": 230
56780
+ "line": 243
56559
56781
  },
56560
56782
  "parameters": [
56561
56783
  {
@@ -56569,7 +56791,7 @@
56569
56791
  "kind": "class",
56570
56792
  "locationInModule": {
56571
56793
  "filename": "src/python/python-project.ts",
56572
- "line": 198
56794
+ "line": 205
56573
56795
  },
56574
56796
  "methods": [
56575
56797
  {
@@ -56579,7 +56801,7 @@
56579
56801
  },
56580
56802
  "locationInModule": {
56581
56803
  "filename": "src/python/python-project.ts",
56582
- "line": 533
56804
+ "line": 547
56583
56805
  },
56584
56806
  "name": "addDependency",
56585
56807
  "parameters": [
@@ -56601,7 +56823,7 @@
56601
56823
  },
56602
56824
  "locationInModule": {
56603
56825
  "filename": "src/python/python-project.ts",
56604
- "line": 542
56826
+ "line": 556
56605
56827
  },
56606
56828
  "name": "addDevDependency",
56607
56829
  "parameters": [
@@ -56624,7 +56846,7 @@
56624
56846
  },
56625
56847
  "locationInModule": {
56626
56848
  "filename": "src/python/python-project.ts",
56627
- "line": 546
56849
+ "line": 560
56628
56850
  },
56629
56851
  "name": "postSynthesize",
56630
56852
  "overrides": "projen.Project"
@@ -56641,7 +56863,7 @@
56641
56863
  "immutable": true,
56642
56864
  "locationInModule": {
56643
56865
  "filename": "src/python/python-project.ts",
56644
- "line": 213
56866
+ "line": 220
56645
56867
  },
56646
56868
  "name": "depsManager",
56647
56869
  "type": {
@@ -56656,7 +56878,7 @@
56656
56878
  "immutable": true,
56657
56879
  "locationInModule": {
56658
56880
  "filename": "src/python/python-project.ts",
56659
- "line": 218
56881
+ "line": 225
56660
56882
  },
56661
56883
  "name": "envManager",
56662
56884
  "type": {
@@ -56671,13 +56893,29 @@
56671
56893
  "immutable": true,
56672
56894
  "locationInModule": {
56673
56895
  "filename": "src/python/python-project.ts",
56674
- "line": 203
56896
+ "line": 210
56675
56897
  },
56676
56898
  "name": "moduleName",
56677
56899
  "type": {
56678
56900
  "primitive": "string"
56679
56901
  }
56680
56902
  },
56903
+ {
56904
+ "docs": {
56905
+ "default": "\"tests\"",
56906
+ "stability": "experimental",
56907
+ "summary": "Directory where sample tests are located."
56908
+ },
56909
+ "immutable": true,
56910
+ "locationInModule": {
56911
+ "filename": "src/python/python-project.ts",
56912
+ "line": 241
56913
+ },
56914
+ "name": "sampleTestdir",
56915
+ "type": {
56916
+ "primitive": "string"
56917
+ }
56918
+ },
56681
56919
  {
56682
56920
  "docs": {
56683
56921
  "stability": "experimental",
@@ -56686,7 +56924,7 @@
56686
56924
  "immutable": true,
56687
56925
  "locationInModule": {
56688
56926
  "filename": "src/python/python-project.ts",
56689
- "line": 208
56927
+ "line": 215
56690
56928
  },
56691
56929
  "name": "version",
56692
56930
  "type": {
@@ -56702,7 +56940,7 @@
56702
56940
  "immutable": true,
56703
56941
  "locationInModule": {
56704
56942
  "filename": "src/python/python-project.ts",
56705
- "line": 223
56943
+ "line": 230
56706
56944
  },
56707
56945
  "name": "packagingManager",
56708
56946
  "optional": true,
@@ -56717,7 +56955,7 @@
56717
56955
  },
56718
56956
  "locationInModule": {
56719
56957
  "filename": "src/python/python-project.ts",
56720
- "line": 228
56958
+ "line": 235
56721
56959
  },
56722
56960
  "name": "pytest",
56723
56961
  "optional": true,
@@ -56875,7 +57113,7 @@
56875
57113
  "immutable": true,
56876
57114
  "locationInModule": {
56877
57115
  "filename": "src/python/python-project.ts",
56878
- "line": 168
57116
+ "line": 175
56879
57117
  },
56880
57118
  "name": "projenrcJs",
56881
57119
  "optional": true,
@@ -56893,7 +57131,7 @@
56893
57131
  "immutable": true,
56894
57132
  "locationInModule": {
56895
57133
  "filename": "src/python/python-project.ts",
56896
- "line": 174
57134
+ "line": 181
56897
57135
  },
56898
57136
  "name": "projenrcJsOptions",
56899
57137
  "optional": true,
@@ -56912,7 +57150,7 @@
56912
57150
  "immutable": true,
56913
57151
  "locationInModule": {
56914
57152
  "filename": "src/python/python-project.ts",
56915
- "line": 152
57153
+ "line": 159
56916
57154
  },
56917
57155
  "name": "projenrcPython",
56918
57156
  "optional": true,
@@ -56930,7 +57168,7 @@
56930
57168
  "immutable": true,
56931
57169
  "locationInModule": {
56932
57170
  "filename": "src/python/python-project.ts",
56933
- "line": 158
57171
+ "line": 165
56934
57172
  },
56935
57173
  "name": "projenrcPythonOptions",
56936
57174
  "optional": true,
@@ -56949,7 +57187,7 @@
56949
57187
  "immutable": true,
56950
57188
  "locationInModule": {
56951
57189
  "filename": "src/python/python-project.ts",
56952
- "line": 184
57190
+ "line": 191
56953
57191
  },
56954
57192
  "name": "projenrcTs",
56955
57193
  "optional": true,
@@ -56967,7 +57205,7 @@
56967
57205
  "immutable": true,
56968
57206
  "locationInModule": {
56969
57207
  "filename": "src/python/python-project.ts",
56970
- "line": 190
57208
+ "line": 197
56971
57209
  },
56972
57210
  "name": "projenrcTsOptions",
56973
57211
  "optional": true,
@@ -57032,6 +57270,25 @@
57032
57270
  "primitive": "boolean"
57033
57271
  }
57034
57272
  },
57273
+ {
57274
+ "abstract": true,
57275
+ "docs": {
57276
+ "default": "\"tests\"",
57277
+ "remarks": "Typically the same directory where project tests will be located.",
57278
+ "stability": "experimental",
57279
+ "summary": "Location of sample tests."
57280
+ },
57281
+ "immutable": true,
57282
+ "locationInModule": {
57283
+ "filename": "src/python/python-project.ts",
57284
+ "line": 149
57285
+ },
57286
+ "name": "sampleTestdir",
57287
+ "optional": true,
57288
+ "type": {
57289
+ "primitive": "string"
57290
+ }
57291
+ },
57035
57292
  {
57036
57293
  "abstract": true,
57037
57294
  "docs": {
@@ -57801,7 +58058,7 @@
57801
58058
  "kind": "interface",
57802
58059
  "locationInModule": {
57803
58060
  "filename": "src/release/release.ts",
57804
- "line": 773
58061
+ "line": 794
57805
58062
  },
57806
58063
  "name": "BranchOptions",
57807
58064
  "namespace": "release",
@@ -57815,7 +58072,7 @@
57815
58072
  "immutable": true,
57816
58073
  "locationInModule": {
57817
58074
  "filename": "src/release/release.ts",
57818
- "line": 783
58075
+ "line": 804
57819
58076
  },
57820
58077
  "name": "majorVersion",
57821
58078
  "type": {
@@ -57831,7 +58088,7 @@
57831
58088
  "immutable": true,
57832
58089
  "locationInModule": {
57833
58090
  "filename": "src/release/release.ts",
57834
- "line": 788
58091
+ "line": 809
57835
58092
  },
57836
58093
  "name": "minMajorVersion",
57837
58094
  "optional": true,
@@ -57848,7 +58105,7 @@
57848
58105
  "immutable": true,
57849
58106
  "locationInModule": {
57850
58107
  "filename": "src/release/release.ts",
57851
- "line": 793
58108
+ "line": 814
57852
58109
  },
57853
58110
  "name": "minorVersion",
57854
58111
  "optional": true,
@@ -57866,7 +58123,7 @@
57866
58123
  "immutable": true,
57867
58124
  "locationInModule": {
57868
58125
  "filename": "src/release/release.ts",
57869
- "line": 821
58126
+ "line": 842
57870
58127
  },
57871
58128
  "name": "npmDistTag",
57872
58129
  "optional": true,
@@ -57884,7 +58141,7 @@
57884
58141
  "immutable": true,
57885
58142
  "locationInModule": {
57886
58143
  "filename": "src/release/release.ts",
57887
- "line": 800
58144
+ "line": 821
57888
58145
  },
57889
58146
  "name": "prerelease",
57890
58147
  "optional": true,
@@ -57903,7 +58160,7 @@
57903
58160
  "immutable": true,
57904
58161
  "locationInModule": {
57905
58162
  "filename": "src/release/release.ts",
57906
- "line": 814
58163
+ "line": 835
57907
58164
  },
57908
58165
  "name": "tagPrefix",
57909
58166
  "optional": true,
@@ -57921,7 +58178,7 @@
57921
58178
  "immutable": true,
57922
58179
  "locationInModule": {
57923
58180
  "filename": "src/release/release.ts",
57924
- "line": 778
58181
+ "line": 799
57925
58182
  },
57926
58183
  "name": "workflowName",
57927
58184
  "optional": true,
@@ -59772,7 +60029,7 @@
59772
60029
  },
59773
60030
  "locationInModule": {
59774
60031
  "filename": "src/release/release.ts",
59775
- "line": 350
60032
+ "line": 384
59776
60033
  },
59777
60034
  "parameters": [
59778
60035
  {
@@ -59798,7 +60055,7 @@
59798
60055
  "kind": "class",
59799
60056
  "locationInModule": {
59800
60057
  "filename": "src/release/release.ts",
59801
- "line": 306
60058
+ "line": 340
59802
60059
  },
59803
60060
  "methods": [
59804
60061
  {
@@ -59808,7 +60065,7 @@
59808
60065
  },
59809
60066
  "locationInModule": {
59810
60067
  "filename": "src/release/release.ts",
59811
- "line": 314
60068
+ "line": 348
59812
60069
  },
59813
60070
  "name": "of",
59814
60071
  "parameters": [
@@ -59835,7 +60092,7 @@
59835
60092
  },
59836
60093
  "locationInModule": {
59837
60094
  "filename": "src/release/release.ts",
59838
- "line": 485
60095
+ "line": 521
59839
60096
  },
59840
60097
  "name": "addBranch",
59841
60098
  "parameters": [
@@ -59866,7 +60123,7 @@
59866
60123
  },
59867
60124
  "locationInModule": {
59868
60125
  "filename": "src/release/release.ts",
59869
- "line": 552
60126
+ "line": 588
59870
60127
  },
59871
60128
  "name": "addJobs",
59872
60129
  "parameters": [
@@ -59893,7 +60150,7 @@
59893
60150
  },
59894
60151
  "locationInModule": {
59895
60152
  "filename": "src/release/release.ts",
59896
- "line": 535
60153
+ "line": 571
59897
60154
  },
59898
60155
  "name": "preSynthesize",
59899
60156
  "overrides": "projen.Component"
@@ -59910,7 +60167,7 @@
59910
60167
  "immutable": true,
59911
60168
  "locationInModule": {
59912
60169
  "filename": "src/release/release.ts",
59913
- "line": 307
60170
+ "line": 341
59914
60171
  },
59915
60172
  "name": "ANTI_TAMPER_CMD",
59916
60173
  "static": true,
@@ -59926,7 +60183,7 @@
59926
60183
  "immutable": true,
59927
60184
  "locationInModule": {
59928
60185
  "filename": "src/release/release.ts",
59929
- "line": 327
60186
+ "line": 361
59930
60187
  },
59931
60188
  "name": "artifactsDirectory",
59932
60189
  "type": {
@@ -59941,7 +60198,7 @@
59941
60198
  "immutable": true,
59942
60199
  "locationInModule": {
59943
60200
  "filename": "src/release/release.ts",
59944
- "line": 561
60201
+ "line": 597
59945
60202
  },
59946
60203
  "name": "branches",
59947
60204
  "type": {
@@ -59961,7 +60218,7 @@
59961
60218
  "immutable": true,
59962
60219
  "locationInModule": {
59963
60220
  "filename": "src/release/release.ts",
59964
- "line": 322
60221
+ "line": 356
59965
60222
  },
59966
60223
  "name": "publisher",
59967
60224
  "type": {
@@ -59985,7 +60242,7 @@
59985
60242
  "kind": "interface",
59986
60243
  "locationInModule": {
59987
60244
  "filename": "src/release/release.ts",
59988
- "line": 246
60245
+ "line": 280
59989
60246
  },
59990
60247
  "name": "ReleaseOptions",
59991
60248
  "namespace": "release",
@@ -60000,7 +60257,7 @@
60000
60257
  "immutable": true,
60001
60258
  "locationInModule": {
60002
60259
  "filename": "src/release/release.ts",
60003
- "line": 283
60260
+ "line": 317
60004
60261
  },
60005
60262
  "name": "artifactsDirectory",
60006
60263
  "type": {
@@ -60017,7 +60274,7 @@
60017
60274
  "immutable": true,
60018
60275
  "locationInModule": {
60019
60276
  "filename": "src/release/release.ts",
60020
- "line": 269
60277
+ "line": 303
60021
60278
  },
60022
60279
  "name": "branch",
60023
60280
  "type": {
@@ -60034,7 +60291,7 @@
60034
60291
  "immutable": true,
60035
60292
  "locationInModule": {
60036
60293
  "filename": "src/release/release.ts",
60037
- "line": 252
60294
+ "line": 286
60038
60295
  },
60039
60296
  "name": "task",
60040
60297
  "type": {
@@ -60051,7 +60308,7 @@
60051
60308
  "immutable": true,
60052
60309
  "locationInModule": {
60053
60310
  "filename": "src/release/release.ts",
60054
- "line": 259
60311
+ "line": 293
60055
60312
  },
60056
60313
  "name": "versionFile",
60057
60314
  "type": {
@@ -60068,7 +60325,7 @@
60068
60325
  "immutable": true,
60069
60326
  "locationInModule": {
60070
60327
  "filename": "src/release/release.ts",
60071
- "line": 276
60328
+ "line": 310
60072
60329
  },
60073
60330
  "name": "githubRelease",
60074
60331
  "optional": true,
@@ -60087,7 +60344,7 @@
60087
60344
  "immutable": true,
60088
60345
  "locationInModule": {
60089
60346
  "filename": "src/release/release.ts",
60090
- "line": 292
60347
+ "line": 326
60091
60348
  },
60092
60349
  "name": "workflowNodeVersion",
60093
60350
  "optional": true,
@@ -60105,7 +60362,7 @@
60105
60362
  "immutable": true,
60106
60363
  "locationInModule": {
60107
60364
  "filename": "src/release/release.ts",
60108
- "line": 298
60365
+ "line": 332
60109
60366
  },
60110
60367
  "name": "workflowPermissions",
60111
60368
  "optional": true,
@@ -60132,6 +60389,25 @@
60132
60389
  "name": "ReleaseProjectOptions",
60133
60390
  "namespace": "release",
60134
60391
  "properties": [
60392
+ {
60393
+ "abstract": true,
60394
+ "docs": {
60395
+ "default": "- A recent version of \"commit-and-tag-version\"",
60396
+ "remarks": "This can be any compatible package version, including the deprecated `standard-version@9`.",
60397
+ "stability": "experimental",
60398
+ "summary": "The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string."
60399
+ },
60400
+ "immutable": true,
60401
+ "locationInModule": {
60402
+ "filename": "src/release/release.ts",
60403
+ "line": 249
60404
+ },
60405
+ "name": "bumpPackage",
60406
+ "optional": true,
60407
+ "type": {
60408
+ "primitive": "string"
60409
+ }
60410
+ },
60135
60411
  {
60136
60412
  "abstract": true,
60137
60413
  "docs": {
@@ -60188,6 +60464,25 @@
60188
60464
  "primitive": "number"
60189
60465
  }
60190
60466
  },
60467
+ {
60468
+ "abstract": true,
60469
+ "docs": {
60470
+ "default": "- The next version will be determined based on the commit history and project settings.",
60471
+ "remarks": "If present, this shell command will be run before the bump is executed, and\nit determines what version to release. It will be executed in the following\nenvironment:\n\n- Working directory: the project directory.\n- `$VERSION`: the current version. Looks like `1.2.3`.\n- `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.\n\nThe command should print one of the following to `stdout`:\n\n- Nothing: the next version number will be determined based on commit history.\n- `x.y.z`: the next version number will be `x.y.z`.\n- `major|minor|patch`: the next version number will be the current version number\n with the indicated component bumped.\n\nThis setting cannot be specified together with `minMajorVersion`; the invoked\nscript can be used to achieve the effects of `minMajorVersion`.",
60472
+ "stability": "experimental",
60473
+ "summary": "A shell command to control the next version to release."
60474
+ },
60475
+ "immutable": true,
60476
+ "locationInModule": {
60477
+ "filename": "src/release/release.ts",
60478
+ "line": 274
60479
+ },
60480
+ "name": "nextVersionCommand",
60481
+ "optional": true,
60482
+ "type": {
60483
+ "primitive": "string"
60484
+ }
60485
+ },
60191
60486
  {
60192
60487
  "abstract": true,
60193
60488
  "docs": {
@@ -65031,6 +65326,6 @@
65031
65326
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
65032
65327
  }
65033
65328
  },
65034
- "version": "0.90.2",
65035
- "fingerprint": "RPGnjhWexccAMYvUSX2ndkkA+rIOE2UJERGjswcEOqM="
65329
+ "version": "0.90.4",
65330
+ "fingerprint": "J59vfA8ZWS8OmeXom3PXobmSPeGLqFLvCI5YaCK6qr0="
65036
65331
  }