projen 0.103.11 → 0.103.13

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 (168) hide show
  1. package/.jsii +188 -130
  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/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +2 -2
  17. package/lib/awscdk/private/feature-flags-v2.const.d.ts +1 -1
  18. package/lib/awscdk/private/feature-flags-v2.const.js +2 -2
  19. package/lib/build/build-workflow.js +1 -1
  20. package/lib/cdk/auto-discover-base.js +2 -2
  21. package/lib/cdk/construct-lib.js +1 -1
  22. package/lib/cdk/integration-test-base.js +1 -1
  23. package/lib/cdk/jsii-build.js +1 -1
  24. package/lib/cdk/jsii-docgen.js +1 -1
  25. package/lib/cdk/jsii-project.js +1 -1
  26. package/lib/cdk8s/auto-discover.js +2 -2
  27. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  28. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  29. package/lib/cdk8s/cdk8s-construct.js +1 -1
  30. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  31. package/lib/cdk8s/cdk8s-deps.js +1 -1
  32. package/lib/cdk8s/integration-test.js +1 -1
  33. package/lib/cdktf/cdktf-construct.js +1 -1
  34. package/lib/cdktn/cdktn-app-ts.js +1 -1
  35. package/lib/cdktn/cdktn-config.js +1 -1
  36. package/lib/cdktn/cdktn-construct.js +1 -1
  37. package/lib/cdktn/cdktn-deps.js +1 -1
  38. package/lib/cdktn/cdktn-tasks.js +1 -1
  39. package/lib/circleci/circleci.js +1 -1
  40. package/lib/component.js +2 -2
  41. package/lib/dependencies.js +1 -1
  42. package/lib/dev-env.js +1 -1
  43. package/lib/docker-compose/docker-compose-service.js +1 -1
  44. package/lib/docker-compose/docker-compose.js +1 -1
  45. package/lib/file.js +1 -1
  46. package/lib/gitattributes.js +1 -1
  47. package/lib/github/actions-provider.js +1 -1
  48. package/lib/github/actions.const.d.ts +2 -2
  49. package/lib/github/actions.const.js +3 -3
  50. package/lib/github/auto-approve.js +1 -1
  51. package/lib/github/auto-merge.js +1 -1
  52. package/lib/github/auto-queue.js +1 -1
  53. package/lib/github/dependabot.js +1 -1
  54. package/lib/github/dependency-review.js +1 -1
  55. package/lib/github/github-credentials.js +1 -1
  56. package/lib/github/github-project.js +1 -1
  57. package/lib/github/github.js +1 -1
  58. package/lib/github/merge-queue.js +1 -1
  59. package/lib/github/mergify.js +1 -1
  60. package/lib/github/pr-template.js +1 -1
  61. package/lib/github/pull-request-backport.js +1 -1
  62. package/lib/github/pull-request-lint.js +1 -1
  63. package/lib/github/stale.js +1 -1
  64. package/lib/github/task-workflow-job.js +1 -1
  65. package/lib/github/task-workflow.js +1 -1
  66. package/lib/github/workflow-actions.js +1 -1
  67. package/lib/github/workflow-jobs.js +1 -1
  68. package/lib/github/workflow-steps.js +1 -1
  69. package/lib/github/workflows.js +1 -1
  70. package/lib/gitlab/configuration.js +1 -1
  71. package/lib/gitlab/gitlab-configuration.js +1 -1
  72. package/lib/gitlab/nested-configuration.js +1 -1
  73. package/lib/gitpod.js +1 -1
  74. package/lib/ignore-file.js +1 -1
  75. package/lib/ini.js +1 -1
  76. package/lib/java/java-project.js +1 -1
  77. package/lib/java/junit.js +1 -1
  78. package/lib/java/maven-compile.js +1 -1
  79. package/lib/java/maven-packaging.js +1 -1
  80. package/lib/java/maven-sample.js +1 -1
  81. package/lib/java/pom.js +2 -2
  82. package/lib/java/projenrc.js +1 -1
  83. package/lib/javascript/biome/biome.js +1 -1
  84. package/lib/javascript/bundler.js +1 -1
  85. package/lib/javascript/eslint.js +1 -1
  86. package/lib/javascript/jest.js +4 -4
  87. package/lib/javascript/license-checker.js +1 -1
  88. package/lib/javascript/node-config-file.js +1 -1
  89. package/lib/javascript/node-package.js +1 -1
  90. package/lib/javascript/node-project.js +1 -1
  91. package/lib/javascript/npm-config.js +1 -1
  92. package/lib/javascript/pnpm-workspace-config.js +2 -2
  93. package/lib/javascript/pnpm-workspace.js +1 -1
  94. package/lib/javascript/prettier.js +1 -1
  95. package/lib/javascript/projenrc.js +1 -1
  96. package/lib/javascript/typescript-config.js +2 -2
  97. package/lib/javascript/upgrade-dependencies.js +2 -2
  98. package/lib/javascript/yarnrc.js +1 -1
  99. package/lib/json-patch.js +1 -1
  100. package/lib/json.js +1 -1
  101. package/lib/license.js +1 -1
  102. package/lib/logger.js +1 -1
  103. package/lib/makefile.js +1 -1
  104. package/lib/object-file.js +1 -1
  105. package/lib/polaris/coverity-go.js +1 -1
  106. package/lib/polaris/coverity-java.js +1 -1
  107. package/lib/polaris/coverity-javascript.js +1 -1
  108. package/lib/polaris/coverity.js +1 -1
  109. package/lib/project-build.js +1 -1
  110. package/lib/project-tree.js +1 -1
  111. package/lib/project.js +1 -1
  112. package/lib/projects.js +1 -1
  113. package/lib/projenrc-json.js +1 -1
  114. package/lib/projenrc.js +1 -1
  115. package/lib/properties-file.js +1 -1
  116. package/lib/python/pip.js +1 -1
  117. package/lib/python/poetry.js +2 -2
  118. package/lib/python/projenrc.js +1 -1
  119. package/lib/python/pyproject-toml-file.js +1 -1
  120. package/lib/python/pytest-sample.js +1 -1
  121. package/lib/python/pytest.js +1 -1
  122. package/lib/python/python-project.js +1 -1
  123. package/lib/python/python-sample.js +1 -1
  124. package/lib/python/requirements-file.js +1 -1
  125. package/lib/python/setuppy.js +1 -1
  126. package/lib/python/setuptools.js +1 -1
  127. package/lib/python/uv-config.js +1 -1
  128. package/lib/python/uv.js +1 -1
  129. package/lib/python/venv.js +1 -1
  130. package/lib/readme.js +1 -1
  131. package/lib/release/publisher.d.ts +23 -0
  132. package/lib/release/publisher.js +41 -29
  133. package/lib/release/release-trigger.js +1 -1
  134. package/lib/release/release.d.ts +20 -0
  135. package/lib/release/release.js +3 -2
  136. package/lib/renovatebot.js +1 -1
  137. package/lib/run-task.cjs +3 -3
  138. package/lib/sample-file.js +2 -2
  139. package/lib/script-runner.js +1 -1
  140. package/lib/sonarqube/javascript.js +1 -1
  141. package/lib/sonarqube/rust.js +1 -1
  142. package/lib/sonarqube/sonarqube.js +1 -1
  143. package/lib/sonarqube/typescript.js +1 -1
  144. package/lib/source-code.js +1 -1
  145. package/lib/task-shell.js +1 -1
  146. package/lib/task.js +1 -1
  147. package/lib/tasks.js +1 -1
  148. package/lib/testing.js +1 -1
  149. package/lib/textfile.js +1 -1
  150. package/lib/toml.js +1 -1
  151. package/lib/typescript/projenrc-ts.js +1 -1
  152. package/lib/typescript/projenrc.js +1 -1
  153. package/lib/typescript/typescript-runner.js +1 -1
  154. package/lib/typescript/typescript-typedoc.js +1 -1
  155. package/lib/typescript/typescript.js +5 -5
  156. package/lib/version.js +2 -2
  157. package/lib/vscode/devcontainer.js +1 -1
  158. package/lib/vscode/extensions.js +1 -1
  159. package/lib/vscode/launch-config.js +1 -1
  160. package/lib/vscode/settings.js +1 -1
  161. package/lib/vscode/vscode.js +1 -1
  162. package/lib/web/next.js +3 -3
  163. package/lib/web/postcss.js +1 -1
  164. package/lib/web/react.js +3 -3
  165. package/lib/web/tailwind.js +1 -1
  166. package/lib/xmlfile.js +1 -1
  167. package/lib/yaml.js +1 -1
  168. package/package.json +3 -3
@@ -19,7 +19,7 @@ const PATCH_CREATED_OUTPUT = "patch_created";
19
19
  * Upgrade node project dependencies.
20
20
  */
21
21
  class UpgradeDependencies extends component_1.Component {
22
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependencies", version: "0.103.11" };
22
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependencies", version: "0.103.13" };
23
23
  /**
24
24
  * The workflows that execute the upgrades. One workflow per branch.
25
25
  */
@@ -406,7 +406,7 @@ exports.UpgradeDependencies = UpgradeDependencies;
406
406
  */
407
407
  class UpgradeDependenciesSchedule {
408
408
  cron;
409
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependenciesSchedule", version: "0.103.11" };
409
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependenciesSchedule", version: "0.103.13" };
410
410
  /**
411
411
  * Disables automatic upgrades.
412
412
  */
@@ -113,7 +113,7 @@ var YarnTaskPoolMode;
113
113
  YarnTaskPoolMode["WORKERS"] = "workers";
114
114
  })(YarnTaskPoolMode || (exports.YarnTaskPoolMode = YarnTaskPoolMode = {}));
115
115
  class Yarnrc extends component_1.Component {
116
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Yarnrc", version: "0.103.11" };
116
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Yarnrc", version: "0.103.13" };
117
117
  constructor(project, options = {}) {
118
118
  super(project);
119
119
  this.updateGitAttributes();
package/lib/json-patch.js CHANGED
@@ -34,7 +34,7 @@ const TEST_FAILURE_BEHAVIOR_SYMBOL = Symbol.for("testFailureBehavior");
34
34
  */
35
35
  class JsonPatch {
36
36
  operation;
37
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonPatch", version: "0.103.11" };
37
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonPatch", version: "0.103.13" };
38
38
  /**
39
39
  * Applies a set of JSON-Patch (RFC-6902) operations to `document` and returns the result.
40
40
  * @param document The document to patch
package/lib/json.js CHANGED
@@ -7,7 +7,7 @@ const object_file_1 = require("./object-file");
7
7
  * Represents a JSON file.
8
8
  */
9
9
  class JsonFile extends object_file_1.ObjectFile {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonFile", version: "0.103.11" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonFile", version: "0.103.13" };
11
11
  newline;
12
12
  allowComments = true;
13
13
  /**
package/lib/license.js CHANGED
@@ -38,7 +38,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
38
38
  const fs = __importStar(require("fs"));
39
39
  const file_1 = require("./file");
40
40
  class License extends file_1.FileBase {
41
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.License", version: "0.103.11" };
41
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.License", version: "0.103.13" };
42
42
  text;
43
43
  constructor(project, options) {
44
44
  super(project, "LICENSE", {
package/lib/logger.js CHANGED
@@ -15,7 +15,7 @@ const constructs_1 = require("./util/constructs");
15
15
  * Project-level logging utilities.
16
16
  */
17
17
  class Logger extends component_1.Component {
18
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Logger", version: "0.103.11" };
18
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Logger", version: "0.103.13" };
19
19
  level;
20
20
  usePrefix;
21
21
  constructor(scope, options = {}) {
package/lib/makefile.js CHANGED
@@ -7,7 +7,7 @@ const file_1 = require("./file");
7
7
  * Minimal Makefile.
8
8
  */
9
9
  class Makefile extends file_1.FileBase {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Makefile", version: "0.103.11" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Makefile", version: "0.103.13" };
11
11
  /**
12
12
  * List of rule definitions.
13
13
  */
@@ -9,7 +9,7 @@ const util_1 = require("./util");
9
9
  * Represents an Object file.
10
10
  */
11
11
  class ObjectFile extends file_1.FileBase {
12
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ObjectFile", version: "0.103.11" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ObjectFile", version: "0.103.13" };
13
13
  /**
14
14
  * The output object. This object can be mutated until the project is
15
15
  * synthesized.
@@ -25,7 +25,7 @@ const util_1 = require("../util");
25
25
  * });
26
26
  */
27
27
  class PolarisGoCoverity extends coverity_1.PolarisCoverity {
28
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisGoCoverity", version: "0.103.11" };
28
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisGoCoverity", version: "0.103.13" };
29
29
  constructor(project, options) {
30
30
  super(project, (0, util_1.deepMerge)([
31
31
  {
@@ -26,7 +26,7 @@ const util_1 = require("../util");
26
26
  * });
27
27
  */
28
28
  class PolarisJavaCoverity extends coverity_1.PolarisCoverity {
29
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisJavaCoverity", version: "0.103.11" };
29
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisJavaCoverity", version: "0.103.13" };
30
30
  constructor(project, options) {
31
31
  super(project, (0, util_1.deepMerge)([
32
32
  {
@@ -25,7 +25,7 @@ const util_1 = require("../util");
25
25
  * });
26
26
  */
27
27
  class PolarisJavascriptCoverity extends coverity_1.PolarisCoverity {
28
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisJavascriptCoverity", version: "0.103.11" };
28
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisJavascriptCoverity", version: "0.103.13" };
29
29
  constructor(project, options) {
30
30
  super(project, (0, util_1.deepMerge)([
31
31
  {
@@ -13,7 +13,7 @@ const coverity_config_1 = require("./coverity-config");
13
13
  * @see https://docs.blackduck.com/r/cov_polaris/latest/coverity-on-polaris/configuration-file-schema.html
14
14
  */
15
15
  class PolarisCoverity extends component_1.Component {
16
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisCoverity", version: "0.103.11" };
16
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.polaris.PolarisCoverity", version: "0.103.13" };
17
17
  /**
18
18
  * The YAML file for the Coverity on Polaris configuration.
19
19
  */
@@ -15,7 +15,7 @@ const component_1 = require("./component");
15
15
  * 6. package
16
16
  */
17
17
  class ProjectBuild extends component_1.Component {
18
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectBuild", version: "0.103.11" };
18
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectBuild", version: "0.103.13" };
19
19
  /**
20
20
  * The task responsible for a full release build.
21
21
  */
@@ -17,7 +17,7 @@ const json_1 = require("./json");
17
17
  * @stability experimental
18
18
  */
19
19
  class ProjectTree extends component_1.Component {
20
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectTree", version: "0.103.11" };
20
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectTree", version: "0.103.13" };
21
21
  file;
22
22
  constructor(project) {
23
23
  super(project, new.target.name);
package/lib/project.js CHANGED
@@ -65,7 +65,7 @@ const DEFAULT_OUTDIR = ".";
65
65
  * Base project
66
66
  */
67
67
  class Project extends constructs_1.Construct {
68
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Project", version: "0.103.11" };
68
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Project", version: "0.103.13" };
69
69
  /**
70
70
  * The name of the default task (the task executed when `projen` is run without arguments). Normally
71
71
  * this task should synthesize the project files.
package/lib/projects.js CHANGED
@@ -44,7 +44,7 @@ const option_hints_1 = require("./option-hints");
44
44
  * Programmatic API for projen.
45
45
  */
46
46
  class Projects {
47
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Projects", version: "0.103.11" };
47
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Projects", version: "0.103.13" };
48
48
  /**
49
49
  * Creates a new project with defaults.
50
50
  *
@@ -9,7 +9,7 @@ const projenrc_1 = require("./projenrc");
9
9
  * Sets up a project to use JSON for projenrc.
10
10
  */
11
11
  class ProjenrcJson extends projenrc_1.ProjenrcFile {
12
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcJson", version: "0.103.11" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcJson", version: "0.103.13" };
13
13
  filePath;
14
14
  constructor(project, options = {}) {
15
15
  super(project);
package/lib/projenrc.js CHANGED
@@ -7,7 +7,7 @@ const component_1 = require("./component");
7
7
  * A component representing the projen runtime configuration
8
8
  */
9
9
  class ProjenrcFile extends component_1.Component {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcFile", version: "0.103.11" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcFile", version: "0.103.13" };
11
11
  /**
12
12
  * Returns the `Projenrc` instance associated with a project or `undefined` if
13
13
  * there is no Projenrc.
@@ -35,7 +35,7 @@ const util_1 = require("./util");
35
35
  * // sonar.sources=src
36
36
  */
37
37
  class PropertiesFile extends object_file_1.ObjectFile {
38
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.PropertiesFile", version: "0.103.11" };
38
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.PropertiesFile", version: "0.103.13" };
39
39
  comment;
40
40
  constructor(scope, filePath, options) {
41
41
  super(scope, filePath, options);
package/lib/python/pip.js CHANGED
@@ -9,7 +9,7 @@ const dependencies_1 = require("../dependencies");
9
9
  * Manages dependencies using a requirements.txt file and the pip CLI tool.
10
10
  */
11
11
  class Pip extends component_1.Component {
12
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pip", version: "0.103.11" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pip", version: "0.103.13" };
13
13
  installCiTask;
14
14
  constructor(project, _options = {}) {
15
15
  super(project);
@@ -47,7 +47,7 @@ const exec_1 = require("../util/exec");
47
47
  * poetry CLI tool.
48
48
  */
49
49
  class Poetry extends component_1.Component {
50
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Poetry", version: "0.103.11" };
50
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Poetry", version: "0.103.13" };
51
51
  /**
52
52
  * Task for updating the lockfile and installing project dependencies.
53
53
  */
@@ -253,7 +253,7 @@ exports.Poetry = Poetry;
253
253
  * @see https://python-poetry.org/docs/pyproject/
254
254
  */
255
255
  class PoetryPyproject extends component_1.Component {
256
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PoetryPyproject", version: "0.103.11" };
256
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PoetryPyproject", version: "0.103.13" };
257
257
  file;
258
258
  constructor(scope, options) {
259
259
  super(scope);
@@ -17,7 +17,7 @@ const projenrc_1 = require("../projenrc");
17
17
  * `synth` task which will run `.projenrc.py`.
18
18
  */
19
19
  class Projenrc extends projenrc_1.ProjenrcFile {
20
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Projenrc", version: "0.103.11" };
20
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Projenrc", version: "0.103.13" };
21
21
  /**
22
22
  * The name of the projenrc file.
23
23
  */
@@ -10,7 +10,7 @@ const pyproject_toml_1 = require("./pyproject-toml");
10
10
  * @see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
11
11
  */
12
12
  class PyprojectTomlFile extends toml_1.TomlFile {
13
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PyprojectTomlFile", version: "0.103.11" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PyprojectTomlFile", version: "0.103.13" };
14
14
  constructor(scope, config) {
15
15
  super(scope, "pyproject.toml", {
16
16
  omitEmpty: false,
@@ -7,7 +7,7 @@ const __1 = require("..");
7
7
  * Python test code sample.
8
8
  */
9
9
  class PytestSample extends __1.Component {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PytestSample", version: "0.103.11" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PytestSample", version: "0.103.13" };
11
11
  constructor(project, options) {
12
12
  super(project);
13
13
  new __1.SampleDir(project, options.testdir, {
@@ -5,7 +5,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
5
5
  const component_1 = require("../component");
6
6
  const dependencies_1 = require("../dependencies");
7
7
  class Pytest extends component_1.Component {
8
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pytest", version: "0.103.11" };
8
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pytest", version: "0.103.13" };
9
9
  testMatch;
10
10
  constructor(project, options = {}) {
11
11
  super(project);
@@ -23,7 +23,7 @@ const PYTHON_PROJECT_NAME_REGEX = /^[A-Za-z0-9-_\.]+$/;
23
23
  * @pjid python
24
24
  */
25
25
  class PythonProject extends github_1.GitHubProject {
26
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonProject", version: "0.103.11" };
26
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonProject", version: "0.103.13" };
27
27
  /**
28
28
  * Python module name (the project name, with any hyphens or periods replaced
29
29
  * with underscores).
@@ -8,7 +8,7 @@ const sample_file_1 = require("../sample-file");
8
8
  * Python code sample.
9
9
  */
10
10
  class PythonSample extends component_1.Component {
11
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonSample", version: "0.103.11" };
11
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonSample", version: "0.103.13" };
12
12
  constructor(project, options) {
13
13
  super(project);
14
14
  new sample_file_1.SampleDir(project, options.dir, {
@@ -11,7 +11,7 @@ const semver_1 = require("../util/semver");
11
11
  * @see https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format
12
12
  */
13
13
  class RequirementsFile extends file_1.FileBase {
14
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.RequirementsFile", version: "0.103.11" };
14
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.RequirementsFile", version: "0.103.13" };
15
15
  packages = new Array();
16
16
  packageProvider;
17
17
  constructor(project, filePath, options) {
@@ -7,7 +7,7 @@ const file_1 = require("../file");
7
7
  * Python packaging script where package metadata can be placed.
8
8
  */
9
9
  class SetupPy extends file_1.FileBase {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.SetupPy", version: "0.103.11" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.SetupPy", version: "0.103.13" };
11
11
  setupConfig;
12
12
  constructor(project, options) {
13
13
  super(project, "setup.py");
@@ -9,7 +9,7 @@ const dependencies_1 = require("../dependencies");
9
9
  * Manages packaging through setuptools with a setup.py script.
10
10
  */
11
11
  class Setuptools extends component_1.Component {
12
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Setuptools", version: "0.103.11" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Setuptools", version: "0.103.13" };
13
13
  publishTask;
14
14
  /**
15
15
  * A task that uploads the package to the Test PyPI repository.
@@ -220,7 +220,7 @@ function toJson_StaticMetadata(obj) {
220
220
  */
221
221
  class ExcludeNewerOverride {
222
222
  value;
223
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.uvConfig.ExcludeNewerOverride", version: "0.103.11" };
223
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.uvConfig.ExcludeNewerOverride", version: "0.103.13" };
224
224
  static fromBoolean(value) {
225
225
  return new ExcludeNewerOverride(value);
226
226
  }
package/lib/python/uv.js CHANGED
@@ -11,7 +11,7 @@ const exec_1 = require("../util/exec");
11
11
  * Manage project dependencies, virtual environments, and packaging through uv.
12
12
  */
13
13
  class Uv extends component_1.Component {
14
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Uv", version: "0.103.11" };
14
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Uv", version: "0.103.13" };
15
15
  /**
16
16
  * The `pyproject.toml` file
17
17
  */
@@ -43,7 +43,7 @@ const exec_1 = require("../util/exec");
43
43
  * Manages a virtual environment through the Python venv module.
44
44
  */
45
45
  class Venv extends component_1.Component {
46
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Venv", version: "0.103.11" };
46
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Venv", version: "0.103.13" };
47
47
  /**
48
48
  * Name of directory to store the environment in
49
49
  */
package/lib/readme.js CHANGED
@@ -10,7 +10,7 @@ const sample_file_1 = require("./sample-file");
10
10
  * @param text - The initial contents of the README.md file. Defaults to '# replace this'
11
11
  */
12
12
  class SampleReadme extends sample_file_1.SampleFile {
13
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.SampleReadme", version: "0.103.11" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.SampleReadme", version: "0.103.13" };
14
14
  constructor(project, props) {
15
15
  super(project, props?.filename ?? "README.md", {
16
16
  contents: props?.contents ?? "# replace this",
@@ -145,6 +145,10 @@ export declare class Publisher extends Component {
145
145
  publishToGit(options: GitPublishOptions): import("..").Task;
146
146
  /**
147
147
  * Creates a GitHub Release.
148
+ *
149
+ * Tolerates a release that already exists, so that re-running a release is
150
+ * a no-op rather than a failure.
151
+ *
148
152
  * @param options Options
149
153
  */
150
154
  publishToGitHubReleases(options: GitHubReleasesPublishOptions): void;
@@ -175,6 +179,16 @@ export declare class Publisher extends Component {
175
179
  publishToGo(options?: GoPublishOptions): void;
176
180
  private addPublishJob;
177
181
  private publibCommand;
182
+ /**
183
+ * Creates a GitHub release, tolerating a release that already exists so
184
+ * that re-running a release is a no-op rather than a failure: if
185
+ * `gh release view` finds a release for the tag, creation is skipped and
186
+ * the existing release is left untouched.
187
+ *
188
+ * A fixed script: variable values arrive through the environment
189
+ * (`RELEASE_TAG_FILE`, `CHANGELOG_FILE`), never interpolated into shell
190
+ * text. Uses only syntax the built-in cross-platform shell implements.
191
+ */
178
192
  private githubReleaseCommand;
179
193
  }
180
194
  /**
@@ -569,6 +583,15 @@ export declare function isAwsCodeArtifactRegistry(registryUrl: string | undefine
569
583
  * Publishing options for GitHub releases.
570
584
  */
571
585
  export interface GitHubReleasesPublishOptions extends VersionArtifactOptions, CommonPublishOptions {
586
+ /**
587
+ * Whether GitHub should explicitly mark the release as the latest release.
588
+ *
589
+ * Set to `true` to mark the release as latest, or `false` to explicitly not
590
+ * mark it as latest. A branch-specific setting takes precedence.
591
+ *
592
+ * @default - GitHub determines the latest release based on date and semantic version.
593
+ */
594
+ readonly latest?: boolean;
572
595
  }
573
596
  /**
574
597
  * Publishing options for Git releases