projen 0.105.6 → 0.105.8

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 (171) hide show
  1. package/.jsii +510 -292
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +6 -6
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +1 -1
  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 +3 -3
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/internal.d.ts +1 -0
  16. package/lib/awscdk/lambda-extension.js +1 -1
  17. package/lib/awscdk/lambda-function.js +2 -2
  18. package/lib/awscdk/private/feature-flags-v2.const.d.ts +2 -1
  19. package/lib/awscdk/private/feature-flags-v2.const.js +4 -3
  20. package/lib/build/build-workflow.js +1 -1
  21. package/lib/cdk/auto-discover-base.js +2 -2
  22. package/lib/cdk/construct-lib.js +1 -1
  23. package/lib/cdk/integration-test-base.js +1 -1
  24. package/lib/cdk/jsii-build.js +1 -1
  25. package/lib/cdk/jsii-docgen.js +1 -1
  26. package/lib/cdk/jsii-project.js +1 -1
  27. package/lib/cdk8s/auto-discover.js +2 -2
  28. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  29. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  30. package/lib/cdk8s/cdk8s-construct.js +1 -1
  31. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  32. package/lib/cdk8s/cdk8s-deps.js +1 -1
  33. package/lib/cdk8s/integration-test.js +1 -1
  34. package/lib/cdktf/cdktf-construct.js +1 -1
  35. package/lib/cdktn/cdktn-app-ts.js +1 -1
  36. package/lib/cdktn/cdktn-config.js +1 -1
  37. package/lib/cdktn/cdktn-construct.js +1 -1
  38. package/lib/cdktn/cdktn-deps.js +1 -1
  39. package/lib/cdktn/cdktn-tasks.js +1 -1
  40. package/lib/circleci/circleci.js +1 -1
  41. package/lib/component.js +2 -2
  42. package/lib/dependencies.js +1 -1
  43. package/lib/dev-env.js +1 -1
  44. package/lib/docker-compose/docker-compose-service.js +1 -1
  45. package/lib/docker-compose/docker-compose.js +1 -1
  46. package/lib/file.js +1 -1
  47. package/lib/gitattributes.js +1 -1
  48. package/lib/github/actions-provider.js +1 -1
  49. package/lib/github/actions.const.d.ts +2 -2
  50. package/lib/github/actions.const.js +4 -4
  51. package/lib/github/auto-approve.js +1 -1
  52. package/lib/github/auto-merge.js +1 -1
  53. package/lib/github/auto-queue.js +1 -1
  54. package/lib/github/dependabot.js +1 -1
  55. package/lib/github/dependency-review.js +1 -1
  56. package/lib/github/github-credentials.js +1 -1
  57. package/lib/github/github-project.js +1 -1
  58. package/lib/github/github.js +1 -1
  59. package/lib/github/kodiak.js +1 -1
  60. package/lib/github/merge-queue.js +1 -1
  61. package/lib/github/mergify.js +1 -1
  62. package/lib/github/pr-template.js +1 -1
  63. package/lib/github/pull-request-backport.js +1 -1
  64. package/lib/github/pull-request-lint.js +1 -1
  65. package/lib/github/pull-request-source.js +1 -1
  66. package/lib/github/stale.js +1 -1
  67. package/lib/github/task-workflow-job.js +1 -1
  68. package/lib/github/task-workflow.js +1 -1
  69. package/lib/github/workflow-actions.js +1 -1
  70. package/lib/github/workflow-jobs.js +1 -1
  71. package/lib/github/workflow-steps.js +1 -1
  72. package/lib/github/workflows.js +1 -1
  73. package/lib/gitlab/configuration.js +1 -1
  74. package/lib/gitlab/gitlab-configuration.js +1 -1
  75. package/lib/gitlab/nested-configuration.js +1 -1
  76. package/lib/gitpod.js +1 -1
  77. package/lib/ignore-file.js +1 -1
  78. package/lib/ini.js +1 -1
  79. package/lib/java/java-project.js +1 -1
  80. package/lib/java/junit.js +1 -1
  81. package/lib/java/maven-compile.js +1 -1
  82. package/lib/java/maven-packaging.js +1 -1
  83. package/lib/java/maven-sample.js +1 -1
  84. package/lib/java/pom.js +2 -2
  85. package/lib/java/projenrc.js +1 -1
  86. package/lib/javascript/biome/biome.js +1 -1
  87. package/lib/javascript/bundler.js +1 -1
  88. package/lib/javascript/eslint.js +1 -1
  89. package/lib/javascript/jest.js +4 -4
  90. package/lib/javascript/license-checker.js +1 -1
  91. package/lib/javascript/node-config-file.js +1 -1
  92. package/lib/javascript/node-native-test-runner.js +2 -2
  93. package/lib/javascript/node-package.js +1 -1
  94. package/lib/javascript/node-project.js +1 -1
  95. package/lib/javascript/npm-config.js +1 -1
  96. package/lib/javascript/pnpm-workspace-config.d.ts +53 -7
  97. package/lib/javascript/pnpm-workspace-config.js +41 -6
  98. package/lib/javascript/pnpm-workspace.js +1 -1
  99. package/lib/javascript/prettier.js +1 -1
  100. package/lib/javascript/projenrc.js +1 -1
  101. package/lib/javascript/typescript-config.js +2 -2
  102. package/lib/javascript/upgrade-dependencies.js +2 -2
  103. package/lib/javascript/yarnrc.js +1 -1
  104. package/lib/json-patch.js +1 -1
  105. package/lib/json.js +1 -1
  106. package/lib/license.js +1 -1
  107. package/lib/logger.js +1 -1
  108. package/lib/makefile.js +1 -1
  109. package/lib/object-file.js +1 -1
  110. package/lib/polaris/coverity-go.js +1 -1
  111. package/lib/polaris/coverity-java.js +1 -1
  112. package/lib/polaris/coverity-javascript.js +1 -1
  113. package/lib/polaris/coverity.js +1 -1
  114. package/lib/project-build.js +1 -1
  115. package/lib/project-tree.js +1 -1
  116. package/lib/project.js +1 -1
  117. package/lib/projects.js +1 -1
  118. package/lib/projenrc-json.js +1 -1
  119. package/lib/projenrc.js +1 -1
  120. package/lib/properties-file.js +1 -1
  121. package/lib/python/pip.js +1 -1
  122. package/lib/python/poetry.js +2 -2
  123. package/lib/python/projenrc.js +1 -1
  124. package/lib/python/pyproject-toml-file.js +1 -1
  125. package/lib/python/pytest-sample.js +1 -1
  126. package/lib/python/pytest.js +1 -1
  127. package/lib/python/python-project.js +1 -1
  128. package/lib/python/python-sample.js +1 -1
  129. package/lib/python/requirements-file.js +1 -1
  130. package/lib/python/setuppy.js +1 -1
  131. package/lib/python/setuptools.js +1 -1
  132. package/lib/python/uv-config.js +1 -1
  133. package/lib/python/uv.js +1 -1
  134. package/lib/python/venv.js +1 -1
  135. package/lib/readme.js +1 -1
  136. package/lib/release/publisher.js +1 -1
  137. package/lib/release/release-trigger.js +1 -1
  138. package/lib/release/release.js +1 -1
  139. package/lib/renovatebot.js +1 -1
  140. package/lib/run-task.cjs +2 -2
  141. package/lib/sample-file.js +2 -2
  142. package/lib/script-runner.js +1 -1
  143. package/lib/sonarqube/javascript.js +1 -1
  144. package/lib/sonarqube/rust.js +1 -1
  145. package/lib/sonarqube/sonarqube.js +1 -1
  146. package/lib/sonarqube/typescript.js +1 -1
  147. package/lib/source-code.js +1 -1
  148. package/lib/task-shell.js +1 -1
  149. package/lib/task.js +1 -1
  150. package/lib/tasks.js +1 -1
  151. package/lib/testing.js +1 -1
  152. package/lib/textfile.js +1 -1
  153. package/lib/toml.js +1 -1
  154. package/lib/typescript/projenrc-ts.js +1 -1
  155. package/lib/typescript/projenrc.js +1 -1
  156. package/lib/typescript/typescript-runner.js +1 -1
  157. package/lib/typescript/typescript-typedoc.js +1 -1
  158. package/lib/typescript/typescript.js +5 -5
  159. package/lib/version.js +2 -2
  160. package/lib/vscode/devcontainer.js +1 -1
  161. package/lib/vscode/extensions.js +1 -1
  162. package/lib/vscode/launch-config.js +1 -1
  163. package/lib/vscode/settings.js +1 -1
  164. package/lib/vscode/vscode.js +1 -1
  165. package/lib/web/next.js +3 -3
  166. package/lib/web/postcss.js +1 -1
  167. package/lib/web/react.js +3 -3
  168. package/lib/web/tailwind.js +1 -1
  169. package/lib/xmlfile.js +1 -1
  170. package/lib/yaml.js +1 -1
  171. package/package.json +2 -2
@@ -75,6 +75,12 @@ export interface PnpmWorkspaceYamlSchema {
75
75
  * @schema PnpmWorkspaceYamlSchema#overrides
76
76
  */
77
77
  readonly overrides?: any;
78
+ /**
79
+ * When true, an install that resolves the whole dependency graph warns about every entry in overrides that matched no dependency. Only overrides declared in pnpm-workspace.yaml are checked; entries added by a config dependency or an updateConfig hook are not. Added in pnpm v12.23.0.
80
+ *
81
+ * @schema PnpmWorkspaceYamlSchema#warnUnusedOverrides
82
+ */
83
+ readonly warnUnusedOverrides?: boolean;
78
84
  /**
79
85
  * Used to extend the existing package definitions with additional information.
80
86
  *
@@ -237,7 +243,7 @@ export interface PnpmWorkspaceYamlSchema {
237
243
  */
238
244
  readonly modulesDir?: string;
239
245
  /**
240
- * Defines what linker should be used for installing Node packages. loaded is an experimental linker that loads packages directly from the content-addressable store, without placing them in node_modules; it also accepts an object with type: loaded and an optional excluded list. Configuration sources replace the whole nodeLinker value: a higher-priority scalar, or an object without excluded, clears exclusions from lower-priority sources. The environment variable PNPM_CONFIG_NODE_LINKER and --config.node-linker accept the object as JSON.
246
+ * Defines what linker should be used for installing Node packages. Scalar values remain supported. The object form selects a linker with type and groups linker-specific options with it: isolated accepts hoist, hoisted accepts hoistingLimits, and loaded accepts excluded. Configuration sources replace the selected linker; options from a higher-priority object override the same options from lower-priority sources. PNPM_CONFIG_NODE_LINKER and --config.node-linker accept the object as JSON.
241
247
  *
242
248
  * @schema PnpmWorkspaceYamlSchema#nodeLinker
243
249
  */
@@ -477,11 +483,11 @@ export interface PnpmWorkspaceYamlSchema {
477
483
  */
478
484
  readonly maxsockets?: number;
479
485
  /**
480
- * A comma-separated string of domain extensions that a proxy should not be used for.
486
+ * A comma-separated string of domain extensions that a proxy should not be used for, or a boolean. A null value leaves the setting unset. Since pnpm v12.23.0, any other type fails validation.
481
487
  *
482
488
  * @schema PnpmWorkspaceYamlSchema#noProxy
483
489
  */
484
- readonly noProxy?: string;
490
+ readonly noProxy?: PnpmWorkspaceYamlSchemaNoProxy;
485
491
  /**
486
492
  * Whether or not to do SSL key validation when making requests to the registry via HTTPS.
487
493
  *
@@ -864,7 +870,7 @@ export interface PnpmWorkspaceYamlSchema {
864
870
  */
865
871
  readonly saveTypes?: boolean;
866
872
  /**
867
- * If you pnpm add a package and you don't provide a specific version, then it will install the package at the version registered under the tag from this setting.
873
+ * If you pnpm add a package and you don't provide a specific version, then it will install the package at the version registered under the tag from this setting. Since pnpm v12.23.0, pnpm publish also reads it from pnpm-workspace.yaml, the global config.yaml, or PNPM_CONFIG_TAG when --tag is not passed.
868
874
  *
869
875
  * @schema PnpmWorkspaceYamlSchema#tag
870
876
  */
@@ -996,7 +1002,7 @@ export interface PnpmWorkspaceYamlSchema {
996
1002
  */
997
1003
  readonly embedReadme?: boolean;
998
1004
  /**
999
- * The primary branch of the repository which is used for publishing the latest changes.
1005
+ * The primary branch of the repository which is used for publishing the latest changes. Since pnpm v12.23.0, an empty value allows both master and main.
1000
1006
  *
1001
1007
  * @schema PnpmWorkspaceYamlSchema#publishBranch
1002
1008
  */
@@ -1007,6 +1013,12 @@ export interface PnpmWorkspaceYamlSchema {
1007
1013
  * @schema PnpmWorkspaceYamlSchema#publishWaitTimeout
1008
1014
  */
1009
1015
  readonly publishWaitTimeout?: number;
1016
+ /**
1017
+ * Sets the default for pnpm publish --access. When set, it takes precedence over publishConfig.access. Configure it in pnpm-workspace.yaml or the global config.yaml, or with PNPM_CONFIG_ACCESS. Read from configuration since pnpm v12.23.0.
1018
+ *
1019
+ * @schema PnpmWorkspaceYamlSchema#access
1020
+ */
1021
+ readonly access?: PnpmWorkspaceYamlSchemaAccess;
1010
1022
  /**
1011
1023
  * Versioning settings for pnpm's native workspace release management, used by `pnpm change` and recursive `pnpm version`.
1012
1024
  *
@@ -1068,7 +1080,7 @@ export interface PnpmWorkspaceYamlSchema {
1068
1080
  */
1069
1081
  readonly saveExact?: boolean;
1070
1082
  /**
1071
- * minimumReleaseAge defines the minimum number of minutes that must pass after a version is published before pnpm will install it. This applies to all dependencies, including transitive ones.
1083
+ * minimumReleaseAge defines the minimum number of minutes that must pass after a version is published before pnpm will install it. This applies to all dependencies, including transitive ones. The age is counted back from referenceTime when that setting is set.
1072
1084
  *
1073
1085
  * @schema PnpmWorkspaceYamlSchema#minimumReleaseAge
1074
1086
  */
@@ -1079,6 +1091,12 @@ export interface PnpmWorkspaceYamlSchema {
1079
1091
  * @schema PnpmWorkspaceYamlSchema#minimumReleaseAgeExclude
1080
1092
  */
1081
1093
  readonly minimumReleaseAgeExclude?: string[];
1094
+ /**
1095
+ * The reference time, as an RFC 3339 timestamp, used to evaluate time-dependent settings. minimumReleaseAge and trustPolicyIgnoreAfter count back from this time during resolution and lockfile verification. When unset, pnpm uses the current time. Set it in pnpm-workspace.yaml or with PNPM_CONFIG_REFERENCE_TIME; the global config.yaml does not apply it. A value that is not a timestamp, or is more than 10 minutes in the future, fails the command. Added in pnpm v12.23.0.
1096
+ *
1097
+ * @schema PnpmWorkspaceYamlSchema#referenceTime
1098
+ */
1099
+ readonly referenceTime?: Date;
1082
1100
  /**
1083
1101
  * Controls how pnpm behaves when no version of a dependency satisfies the minimumReleaseAge constraint within the requested range.
1084
1102
  * https://pnpm.io/settings#minimumreleaseagestrict
@@ -1129,7 +1147,7 @@ export interface PnpmWorkspaceYamlSchema {
1129
1147
  */
1130
1148
  readonly blockExoticSubdeps?: boolean;
1131
1149
  /**
1132
- * Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age.
1150
+ * Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age. The age is counted back from referenceTime when that setting is set.
1133
1151
  *
1134
1152
  * @schema PnpmWorkspaceYamlSchema#trustPolicyIgnoreAfter
1135
1153
  */
@@ -1502,6 +1520,17 @@ export declare enum PnpmWorkspaceYamlSchemaStoreIndexFormat {
1502
1520
  /** files */
1503
1521
  FILES = "files"
1504
1522
  }
1523
+ /**
1524
+ * A comma-separated string of domain extensions that a proxy should not be used for, or a boolean. A null value leaves the setting unset. Since pnpm v12.23.0, any other type fails validation.
1525
+ *
1526
+ * @schema PnpmWorkspaceYamlSchemaNoProxy
1527
+ */
1528
+ export declare class PnpmWorkspaceYamlSchemaNoProxy {
1529
+ static fromString(value: string): PnpmWorkspaceYamlSchemaNoProxy;
1530
+ static fromBoolean(value: boolean): PnpmWorkspaceYamlSchemaNoProxy;
1531
+ readonly value: string | boolean;
1532
+ private constructor();
1533
+ }
1505
1534
  /**
1506
1535
  * Controls colors in the output.
1507
1536
  *
@@ -1729,6 +1758,17 @@ export declare enum PnpmWorkspaceYamlSchemaResolutionMode {
1729
1758
  /** lowest-direct */
1730
1759
  LOWEST_HYPHEN_DIRECT = "lowest-direct"
1731
1760
  }
1761
+ /**
1762
+ * Sets the default for pnpm publish --access. When set, it takes precedence over publishConfig.access. Configure it in pnpm-workspace.yaml or the global config.yaml, or with PNPM_CONFIG_ACCESS. Read from configuration since pnpm v12.23.0.
1763
+ *
1764
+ * @schema PnpmWorkspaceYamlSchemaAccess
1765
+ */
1766
+ export declare enum PnpmWorkspaceYamlSchemaAccess {
1767
+ /** public */
1768
+ PUBLIC = "public",
1769
+ /** restricted */
1770
+ RESTRICTED = "restricted"
1771
+ }
1732
1772
  /**
1733
1773
  * Versioning settings for pnpm's native workspace release management, used by `pnpm change` and recursive `pnpm version`.
1734
1774
  *
@@ -1747,6 +1787,12 @@ export interface PnpmWorkspaceYamlSchemaVersioning {
1747
1787
  * @schema PnpmWorkspaceYamlSchemaVersioning#ignore
1748
1788
  */
1749
1789
  readonly ignore?: string[];
1790
+ /**
1791
+ * When false, pnpm change leaves private packages out of the packages it offers, and naming one on the command line fails. A private package can still be bumped as a dependent. Added in pnpm v12.23.0.
1792
+ *
1793
+ * @schema PnpmWorkspaceYamlSchemaVersioning#includePrivatePackages
1794
+ */
1795
+ readonly includePrivatePackages?: boolean;
1750
1796
  /**
1751
1797
  * Caps the bump that a release from the current checkout may apply, after dependent propagation and fixed-group resolution.
1752
1798
  *