projen 0.103.4 → 0.103.6

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 (231) hide show
  1. package/.jsii +1565 -36
  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/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-build.js +1 -1
  22. package/lib/cdk/jsii-docgen.js +1 -1
  23. package/lib/cdk/jsii-project.js +1 -1
  24. package/lib/cdk8s/auto-discover.js +2 -2
  25. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  26. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  27. package/lib/cdk8s/cdk8s-construct.js +1 -1
  28. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  29. package/lib/cdk8s/cdk8s-deps.js +1 -1
  30. package/lib/cdk8s/integration-test.js +1 -1
  31. package/lib/cdktf/cdktf-construct.js +1 -1
  32. package/lib/cdktn/cdktn-app-ts.js +1 -1
  33. package/lib/cdktn/cdktn-config.js +1 -1
  34. package/lib/cdktn/cdktn-construct.js +1 -1
  35. package/lib/cdktn/cdktn-deps.js +1 -1
  36. package/lib/cdktn/cdktn-tasks.js +1 -1
  37. package/lib/circleci/circleci.js +1 -1
  38. package/lib/component.js +2 -2
  39. package/lib/dependencies.js +1 -1
  40. package/lib/dev-env.js +1 -1
  41. package/lib/docker-compose/docker-compose-service.js +1 -1
  42. package/lib/docker-compose/docker-compose.js +1 -1
  43. package/lib/file.js +1 -1
  44. package/lib/gitattributes.js +1 -1
  45. package/lib/github/actions-provider.js +1 -1
  46. package/lib/github/auto-approve.js +1 -1
  47. package/lib/github/auto-merge.js +1 -1
  48. package/lib/github/auto-queue.js +1 -1
  49. package/lib/github/dependabot.js +1 -1
  50. package/lib/github/dependency-review.js +1 -1
  51. package/lib/github/github-credentials.js +1 -1
  52. package/lib/github/github-project.js +1 -1
  53. package/lib/github/github.js +1 -1
  54. package/lib/github/merge-queue.js +1 -1
  55. package/lib/github/mergify.js +1 -1
  56. package/lib/github/pr-template.js +1 -1
  57. package/lib/github/pull-request-backport.js +1 -1
  58. package/lib/github/pull-request-lint.js +1 -1
  59. package/lib/github/stale.js +1 -1
  60. package/lib/github/task-workflow-job.js +1 -1
  61. package/lib/github/task-workflow.js +1 -1
  62. package/lib/github/workflow-actions.js +1 -1
  63. package/lib/github/workflow-jobs.js +1 -1
  64. package/lib/github/workflow-steps.js +1 -1
  65. package/lib/github/workflows.js +1 -1
  66. package/lib/gitlab/configuration.js +1 -1
  67. package/lib/gitlab/gitlab-configuration.js +1 -1
  68. package/lib/gitlab/nested-configuration.js +1 -1
  69. package/lib/gitpod.js +1 -1
  70. package/lib/ignore-file.js +1 -1
  71. package/lib/index.d.ts +2 -0
  72. package/lib/index.js +4 -2
  73. package/lib/ini.js +1 -1
  74. package/lib/java/java-project.js +1 -1
  75. package/lib/java/junit.js +1 -1
  76. package/lib/java/maven-compile.js +1 -1
  77. package/lib/java/maven-packaging.js +1 -1
  78. package/lib/java/maven-sample.js +1 -1
  79. package/lib/java/pom.js +2 -2
  80. package/lib/java/projenrc.js +1 -1
  81. package/lib/javascript/biome/biome.js +1 -1
  82. package/lib/javascript/bundler.js +1 -1
  83. package/lib/javascript/eslint.js +1 -1
  84. package/lib/javascript/jest.js +4 -4
  85. package/lib/javascript/license-checker.js +1 -1
  86. package/lib/javascript/node-config-file.js +1 -1
  87. package/lib/javascript/node-package.js +9 -2
  88. package/lib/javascript/node-project.js +1 -1
  89. package/lib/javascript/npm-config.js +1 -1
  90. package/lib/javascript/pnpm-workspace-config.js +2 -2
  91. package/lib/javascript/pnpm-workspace.js +1 -1
  92. package/lib/javascript/prettier.js +1 -1
  93. package/lib/javascript/projenrc.js +1 -1
  94. package/lib/javascript/typescript-config.js +2 -2
  95. package/lib/javascript/upgrade-dependencies.js +2 -2
  96. package/lib/javascript/yarnrc.js +1 -1
  97. package/lib/json-patch.js +1 -1
  98. package/lib/json.js +1 -1
  99. package/lib/license.js +1 -1
  100. package/lib/logger.js +1 -1
  101. package/lib/makefile.js +1 -1
  102. package/lib/object-file.js +1 -1
  103. package/lib/project-build.js +1 -1
  104. package/lib/project-tree.js +1 -1
  105. package/lib/project.js +1 -1
  106. package/lib/projects.js +1 -1
  107. package/lib/projenrc-json.js +1 -1
  108. package/lib/projenrc.js +1 -1
  109. package/lib/properties-file.d.ts +50 -0
  110. package/lib/properties-file.js +77 -0
  111. package/lib/python/pip.js +1 -1
  112. package/lib/python/poetry.js +2 -2
  113. package/lib/python/projenrc.js +1 -1
  114. package/lib/python/pyproject-toml-file.js +1 -1
  115. package/lib/python/pytest-sample.js +1 -1
  116. package/lib/python/pytest.js +1 -1
  117. package/lib/python/python-project.js +1 -1
  118. package/lib/python/python-sample.js +1 -1
  119. package/lib/python/requirements-file.js +1 -1
  120. package/lib/python/setuppy.js +1 -1
  121. package/lib/python/setuptools.js +1 -1
  122. package/lib/python/uv-config.js +1 -1
  123. package/lib/python/uv.js +1 -1
  124. package/lib/python/venv.js +1 -1
  125. package/lib/readme.js +1 -1
  126. package/lib/release/publisher.js +1 -1
  127. package/lib/release/release-trigger.js +1 -1
  128. package/lib/release/release.js +1 -1
  129. package/lib/renovatebot.js +1 -1
  130. package/lib/run-task.cjs +7 -5
  131. package/lib/sample-file.js +2 -2
  132. package/lib/script-runner.js +1 -1
  133. package/lib/sonarqube/index.d.ts +4 -0
  134. package/lib/sonarqube/index.js +21 -0
  135. package/lib/sonarqube/javascript.d.ts +35 -0
  136. package/lib/sonarqube/javascript.js +57 -0
  137. package/lib/sonarqube/rust.d.ts +37 -0
  138. package/lib/sonarqube/rust.js +58 -0
  139. package/lib/sonarqube/sonarqube.d.ts +439 -0
  140. package/lib/sonarqube/sonarqube.js +184 -0
  141. package/lib/sonarqube/typescript.d.ts +36 -0
  142. package/lib/sonarqube/typescript.js +61 -0
  143. package/lib/source-code.js +1 -1
  144. package/lib/task-shell.js +1 -1
  145. package/lib/task.js +1 -1
  146. package/lib/tasks.js +1 -1
  147. package/lib/testing.js +1 -1
  148. package/lib/textfile.js +1 -1
  149. package/lib/toml.js +1 -1
  150. package/lib/typescript/projenrc-ts.js +1 -1
  151. package/lib/typescript/projenrc.js +1 -1
  152. package/lib/typescript/typescript-runner.js +1 -1
  153. package/lib/typescript/typescript-typedoc.js +1 -1
  154. package/lib/typescript/typescript.js +5 -5
  155. package/lib/util.d.ts +9 -0
  156. package/lib/util.js +39 -1
  157. package/lib/version.js +2 -2
  158. package/lib/vscode/devcontainer.js +1 -1
  159. package/lib/vscode/extensions.js +1 -1
  160. package/lib/vscode/launch-config.js +1 -1
  161. package/lib/vscode/settings.js +1 -1
  162. package/lib/vscode/vscode.js +1 -1
  163. package/lib/web/next.js +3 -3
  164. package/lib/web/postcss.js +1 -1
  165. package/lib/web/react.js +3 -3
  166. package/lib/web/tailwind.js +1 -1
  167. package/lib/xmlfile.js +1 -1
  168. package/lib/yaml.js +1 -1
  169. package/node_modules/properties-file/LICENSE +21 -0
  170. package/node_modules/properties-file/README.md +253 -0
  171. package/node_modules/properties-file/dist/cjs/bundler/bun.d.ts +10 -0
  172. package/node_modules/properties-file/dist/cjs/bundler/bun.js +1 -0
  173. package/node_modules/properties-file/dist/cjs/bundler/esbuild.d.ts +11 -0
  174. package/node_modules/properties-file/dist/cjs/bundler/esbuild.js +1 -0
  175. package/node_modules/properties-file/dist/cjs/bundler/rollup.d.ts +11 -0
  176. package/node_modules/properties-file/dist/cjs/bundler/rollup.js +1 -0
  177. package/node_modules/properties-file/dist/cjs/bundler/webpack.d.ts +12 -0
  178. package/node_modules/properties-file/dist/cjs/bundler/webpack.js +1 -0
  179. package/node_modules/properties-file/dist/cjs/characters.d.ts +32 -0
  180. package/node_modules/properties-file/dist/cjs/characters.js +1 -0
  181. package/node_modules/properties-file/dist/cjs/editor/index.d.ts +181 -0
  182. package/node_modules/properties-file/dist/cjs/editor/index.js +1 -0
  183. package/node_modules/properties-file/dist/cjs/escape/index.d.ts +18 -0
  184. package/node_modules/properties-file/dist/cjs/escape/index.js +1 -0
  185. package/node_modules/properties-file/dist/cjs/index.d.ts +25 -0
  186. package/node_modules/properties-file/dist/cjs/index.js +1 -0
  187. package/node_modules/properties-file/dist/cjs/package.json +1 -0
  188. package/node_modules/properties-file/dist/cjs/parser/index.d.ts +3 -0
  189. package/node_modules/properties-file/dist/cjs/parser/index.js +1 -0
  190. package/node_modules/properties-file/dist/cjs/parser/nodes.d.ts +154 -0
  191. package/node_modules/properties-file/dist/cjs/parser/nodes.js +1 -0
  192. package/node_modules/properties-file/dist/cjs/parser/normalize.d.ts +12 -0
  193. package/node_modules/properties-file/dist/cjs/parser/normalize.js +1 -0
  194. package/node_modules/properties-file/dist/cjs/parser/parse.d.ts +23 -0
  195. package/node_modules/properties-file/dist/cjs/parser/parse.js +1 -0
  196. package/node_modules/properties-file/dist/cjs/parser/properties.d.ts +93 -0
  197. package/node_modules/properties-file/dist/cjs/parser/properties.js +1 -0
  198. package/node_modules/properties-file/dist/cjs/properties-file.d.ts +8 -0
  199. package/node_modules/properties-file/dist/cjs/unescape/index.d.ts +14 -0
  200. package/node_modules/properties-file/dist/cjs/unescape/index.js +1 -0
  201. package/node_modules/properties-file/dist/esm/bundler/bun.d.ts +10 -0
  202. package/node_modules/properties-file/dist/esm/bundler/bun.js +1 -0
  203. package/node_modules/properties-file/dist/esm/bundler/esbuild.d.ts +11 -0
  204. package/node_modules/properties-file/dist/esm/bundler/esbuild.js +1 -0
  205. package/node_modules/properties-file/dist/esm/bundler/rollup.d.ts +11 -0
  206. package/node_modules/properties-file/dist/esm/bundler/rollup.js +1 -0
  207. package/node_modules/properties-file/dist/esm/bundler/webpack.d.ts +12 -0
  208. package/node_modules/properties-file/dist/esm/bundler/webpack.js +1 -0
  209. package/node_modules/properties-file/dist/esm/characters.d.ts +32 -0
  210. package/node_modules/properties-file/dist/esm/characters.js +1 -0
  211. package/node_modules/properties-file/dist/esm/editor/index.d.ts +181 -0
  212. package/node_modules/properties-file/dist/esm/editor/index.js +1 -0
  213. package/node_modules/properties-file/dist/esm/escape/index.d.ts +18 -0
  214. package/node_modules/properties-file/dist/esm/escape/index.js +1 -0
  215. package/node_modules/properties-file/dist/esm/index.d.ts +25 -0
  216. package/node_modules/properties-file/dist/esm/index.js +1 -0
  217. package/node_modules/properties-file/dist/esm/parser/index.d.ts +3 -0
  218. package/node_modules/properties-file/dist/esm/parser/index.js +1 -0
  219. package/node_modules/properties-file/dist/esm/parser/nodes.d.ts +154 -0
  220. package/node_modules/properties-file/dist/esm/parser/nodes.js +1 -0
  221. package/node_modules/properties-file/dist/esm/parser/normalize.d.ts +12 -0
  222. package/node_modules/properties-file/dist/esm/parser/normalize.js +1 -0
  223. package/node_modules/properties-file/dist/esm/parser/parse.d.ts +23 -0
  224. package/node_modules/properties-file/dist/esm/parser/parse.js +1 -0
  225. package/node_modules/properties-file/dist/esm/parser/properties.d.ts +93 -0
  226. package/node_modules/properties-file/dist/esm/parser/properties.js +1 -0
  227. package/node_modules/properties-file/dist/esm/properties-file.d.ts +8 -0
  228. package/node_modules/properties-file/dist/esm/unescape/index.d.ts +14 -0
  229. package/node_modules/properties-file/dist/esm/unescape/index.js +1 -0
  230. package/node_modules/properties-file/package.json +190 -0
  231. package/package.json +7 -5
@@ -81,7 +81,7 @@ var AutoRelease;
81
81
  * @pjid node
82
82
  */
83
83
  class NodeProject extends github_1.GitHubProject {
84
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeProject", version: "0.103.4" };
84
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeProject", version: "0.103.6" };
85
85
  /**
86
86
  * API for managing the node package.
87
87
  */
@@ -8,7 +8,7 @@ const ini_1 = require("../ini");
8
8
  * File representing the local NPM config in .npmrc
9
9
  */
10
10
  class NpmConfig extends component_1.Component {
11
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NpmConfig", version: "0.103.4" };
11
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NpmConfig", version: "0.103.6" };
12
12
  /**
13
13
  * The config object. This object can be mutated until the project is
14
14
  * synthesized.
@@ -421,7 +421,7 @@ var PnpmWorkspaceYamlSchemaReporter;
421
421
  */
422
422
  class PnpmWorkspaceYamlSchemaLinkWorkspacePackages {
423
423
  value;
424
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYamlSchemaLinkWorkspacePackages", version: "0.103.4" };
424
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYamlSchemaLinkWorkspacePackages", version: "0.103.6" };
425
425
  static fromBoolean(value) {
426
426
  return new PnpmWorkspaceYamlSchemaLinkWorkspacePackages(value);
427
427
  }
@@ -440,7 +440,7 @@ exports.PnpmWorkspaceYamlSchemaLinkWorkspacePackages = PnpmWorkspaceYamlSchemaLi
440
440
  */
441
441
  class PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol {
442
442
  value;
443
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol", version: "0.103.4" };
443
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol", version: "0.103.6" };
444
444
  static fromBoolean(value) {
445
445
  return new PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol(value);
446
446
  }
@@ -11,7 +11,7 @@ const pnpm_workspace_config_1 = require("./pnpm-workspace-config");
11
11
  * @see https://pnpm.io/pnpm-workspace_yaml
12
12
  */
13
13
  class PnpmWorkspaceYaml extends component_1.Component {
14
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYaml", version: "0.103.4" };
14
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.PnpmWorkspaceYaml", version: "0.103.6" };
15
15
  /**
16
16
  * Returns the `PnpmWorkspaceYaml` instance associated with a project or
17
17
  * `undefined` if there is none.
@@ -113,7 +113,7 @@ var TrailingComma;
113
113
  * Represents prettier configuration.
114
114
  */
115
115
  class Prettier extends component_1.Component {
116
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Prettier", version: "0.103.4" };
116
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Prettier", version: "0.103.6" };
117
117
  static of(project) {
118
118
  const isPrettier = (c) => c instanceof Prettier;
119
119
  return project.components.find(isPrettier);
@@ -16,7 +16,7 @@ const biome_1 = require("./biome/biome");
16
16
  * and has no expectations around the project's main language.
17
17
  */
18
18
  class Projenrc extends projenrc_1.ProjenrcFile {
19
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Projenrc", version: "0.103.4" };
19
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Projenrc", version: "0.103.6" };
20
20
  filePath;
21
21
  constructor(project, options = {}) {
22
22
  super(project);
@@ -170,7 +170,7 @@ var TypeScriptJsxMode;
170
170
  * Extending from more than one base config file requires TypeScript 5.0+.
171
171
  */
172
172
  class TypescriptConfigExtends {
173
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.TypescriptConfigExtends", version: "0.103.4" };
173
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.TypescriptConfigExtends", version: "0.103.6" };
174
174
  /**
175
175
  * Factory for creation from array of file paths.
176
176
  *
@@ -204,7 +204,7 @@ class TypescriptConfigExtends {
204
204
  }
205
205
  exports.TypescriptConfigExtends = TypescriptConfigExtends;
206
206
  class TypescriptConfig extends component_1.Component {
207
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.TypescriptConfig", version: "0.103.4" };
207
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.TypescriptConfig", version: "0.103.6" };
208
208
  _extends;
209
209
  compilerOptions;
210
210
  includeSet;
@@ -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.4" };
22
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependencies", version: "0.103.6" };
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.4" };
409
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.UpgradeDependenciesSchedule", version: "0.103.6" };
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.4" };
116
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Yarnrc", version: "0.103.6" };
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.4" };
37
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonPatch", version: "0.103.6" };
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.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.JsonFile", version: "0.103.6" };
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.4" };
41
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.License", version: "0.103.6" };
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.4" };
18
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Logger", version: "0.103.6" };
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.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Makefile", version: "0.103.6" };
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.4" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ObjectFile", version: "0.103.6" };
13
13
  /**
14
14
  * The output object. This object can be mutated until the project is
15
15
  * synthesized.
@@ -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.4" };
18
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectBuild", version: "0.103.6" };
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.4" };
20
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjectTree", version: "0.103.6" };
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.4" };
68
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Project", version: "0.103.6" };
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.4" };
47
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Projects", version: "0.103.6" };
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.4" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcJson", version: "0.103.6" };
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.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.ProjenrcFile", version: "0.103.6" };
11
11
  /**
12
12
  * Returns the `Projenrc` instance associated with a project or `undefined` if
13
13
  * there is no Projenrc.
@@ -0,0 +1,50 @@
1
+ import type { IConstruct } from "constructs";
2
+ import type { IResolver } from "./file";
3
+ import type { ObjectFileOptions } from "./object-file";
4
+ import { ObjectFile } from "./object-file";
5
+ /**
6
+ * Options for `PropertiesFile`.
7
+ */
8
+ export interface PropertiesFileOptions extends ObjectFileOptions {
9
+ /**
10
+ * A comment to include at the top of the file (after the projen marker,
11
+ * if enabled). Each string in the array becomes a separate comment line.
12
+ *
13
+ * @default - no additional comment
14
+ */
15
+ readonly comment?: string[];
16
+ }
17
+ /**
18
+ * Represents a Java `.properties` file.
19
+ *
20
+ * Properties files consist of key=value pairs, one per line,
21
+ * with `#` used for comments. This file format is commonly
22
+ * used by tools like SonarQube, Gradle, and other JVM-based
23
+ * ecosystem tools.
24
+ *
25
+ * The object passed as `obj` can be a nested structure. Nested keys are
26
+ * flattened into dot-separated property keys on synthesis. For example,
27
+ * `{ sonar: { sources: "src" } }` produces `sonar.sources=src`.
28
+ *
29
+ * This means `addOverride` uses dot notation as a path separator,
30
+ * consistent with ObjectFile/JsonPatch semantics.
31
+ *
32
+ * @example
33
+ * new PropertiesFile(project, 'sonar-project.properties', {
34
+ * obj: {
35
+ * sonar: {
36
+ * projectKey: 'my-project',
37
+ * sources: 'src',
38
+ * },
39
+ * },
40
+ * });
41
+ *
42
+ * // Produces:
43
+ * // sonar.projectKey=my-project
44
+ * // sonar.sources=src
45
+ */
46
+ export declare class PropertiesFile extends ObjectFile {
47
+ private readonly comment?;
48
+ constructor(scope: IConstruct, filePath: string, options: PropertiesFileOptions);
49
+ protected synthesizeContent(resolver: IResolver): string | undefined;
50
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertiesFile = void 0;
4
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
5
+ const editor_1 = require("properties-file/editor");
6
+ const object_file_1 = require("./object-file");
7
+ const util_1 = require("./util");
8
+ /**
9
+ * Represents a Java `.properties` file.
10
+ *
11
+ * Properties files consist of key=value pairs, one per line,
12
+ * with `#` used for comments. This file format is commonly
13
+ * used by tools like SonarQube, Gradle, and other JVM-based
14
+ * ecosystem tools.
15
+ *
16
+ * The object passed as `obj` can be a nested structure. Nested keys are
17
+ * flattened into dot-separated property keys on synthesis. For example,
18
+ * `{ sonar: { sources: "src" } }` produces `sonar.sources=src`.
19
+ *
20
+ * This means `addOverride` uses dot notation as a path separator,
21
+ * consistent with ObjectFile/JsonPatch semantics.
22
+ *
23
+ * @example
24
+ * new PropertiesFile(project, 'sonar-project.properties', {
25
+ * obj: {
26
+ * sonar: {
27
+ * projectKey: 'my-project',
28
+ * sources: 'src',
29
+ * },
30
+ * },
31
+ * });
32
+ *
33
+ * // Produces:
34
+ * // sonar.projectKey=my-project
35
+ * // sonar.sources=src
36
+ */
37
+ class PropertiesFile extends object_file_1.ObjectFile {
38
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.PropertiesFile", version: "0.103.6" };
39
+ comment;
40
+ constructor(scope, filePath, options) {
41
+ super(scope, filePath, options);
42
+ this.comment = options.comment;
43
+ }
44
+ synthesizeContent(resolver) {
45
+ const json = super.synthesizeContent(resolver);
46
+ if (!json) {
47
+ return undefined;
48
+ }
49
+ const obj = JSON.parse(json);
50
+ // Build the initial content (marker and comments) as a seed string
51
+ // so the editor doesn't produce a leading blank line.
52
+ const header = [];
53
+ if (this.marker) {
54
+ header.push(`# ${this.marker}`);
55
+ header.push("");
56
+ }
57
+ if (this.comment && this.comment.length > 0) {
58
+ for (const line of this.comment) {
59
+ header.push(`# ${line}`);
60
+ }
61
+ header.push("");
62
+ }
63
+ const editor = new editor_1.PropertiesEditor(header.join("\n"));
64
+ // Insert all flattened key-value pairs
65
+ const flatEntries = (0, util_1.flattenToDotNotation)(obj);
66
+ for (const [key, value] of flatEntries) {
67
+ editor.insert(key, value);
68
+ }
69
+ return (editor.format({
70
+ separatorChar: "=",
71
+ separatorLeading: "",
72
+ separatorTrailing: "",
73
+ }) + "\n");
74
+ }
75
+ }
76
+ exports.PropertiesFile = PropertiesFile;
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydGllcy1maWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJ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wYWlyc1xuICAgIGNvbnN0IGZsYXRFbnRyaWVzID0gZmxhdHRlblRvRG90Tm90YXRpb24ob2JqKTtcbiAgICBmb3IgKGNvbnN0IFtrZXksIHZhbHVlXSBvZiBmbGF0RW50cmllcykge1xuICAgICAgZWRpdG9yLmluc2VydChrZXksIHZhbHVlKTtcbiAgICB9XG5cbiAgICByZXR1cm4gKFxuICAgICAgZWRpdG9yLmZvcm1hdCh7XG4gICAgICAgIHNlcGFyYXRvckNoYXI6IFwiPVwiLFxuICAgICAgICBzZXBhcmF0b3JMZWFkaW5nOiBcIlwiLFxuICAgICAgICBzZXBhcmF0b3JUcmFpbGluZzogXCJcIixcbiAgICAgIH0pICsgXCJcXG5cIlxuICAgICk7XG4gIH1cbn1cbiJdfQ==
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.4" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pip", version: "0.103.6" };
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.4" };
50
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Poetry", version: "0.103.6" };
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.4" };
256
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PoetryPyproject", version: "0.103.6" };
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.4" };
20
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Projenrc", version: "0.103.6" };
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.4" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PyprojectTomlFile", version: "0.103.6" };
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.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PytestSample", version: "0.103.6" };
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.4" };
8
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Pytest", version: "0.103.6" };
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.4" };
26
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonProject", version: "0.103.6" };
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.4" };
11
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.PythonSample", version: "0.103.6" };
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.4" };
14
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.RequirementsFile", version: "0.103.6" };
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.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.SetupPy", version: "0.103.6" };
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.4" };
12
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Setuptools", version: "0.103.6" };
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.4" };
223
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.uvConfig.ExcludeNewerOverride", version: "0.103.6" };
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.4" };
14
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Uv", version: "0.103.6" };
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.4" };
46
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.python.Venv", version: "0.103.6" };
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.4" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.SampleReadme", version: "0.103.6" };
14
14
  constructor(project, props) {
15
15
  super(project, props?.filename ?? "README.md", {
16
16
  contents: props?.contents ?? "# replace this",
@@ -85,7 +85,7 @@ const PUBLISH_JOB_PREFIX = "release_";
85
85
  * Under the hood, it uses https://github.com/cdklabs/publib
86
86
  */
87
87
  class Publisher extends component_1.Component {
88
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.Publisher", version: "0.103.4" };
88
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.Publisher", version: "0.103.6" };
89
89
  static PUBLISH_GIT_TASK_NAME = "publish:git";
90
90
  buildJobId;
91
91
  artifactName;
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
7
7
  * and release artifact automation
8
8
  */
9
9
  class ReleaseTrigger {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.ReleaseTrigger", version: "0.103.4" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.ReleaseTrigger", version: "0.103.6" };
11
11
  /**
12
12
  * Creates a manual release trigger.
13
13
  *
@@ -65,7 +65,7 @@ const DEPENDENT_JOB_CONDITIONAL = `needs.${BUILD_JOBID}.outputs.${TAG_EXISTS_OUT
65
65
  * By default, no branches are released. To add branches, call `addBranch()`.
66
66
  */
67
67
  class Release extends component_1.Component {
68
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.Release", version: "0.103.4" };
68
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.release.Release", version: "0.103.6" };
69
69
  static ANTI_TAMPER_CMD = "git diff --ignore-space-at-eol --exit-code";
70
70
  /**
71
71
  * Returns the `Release` component of a project or `undefined` if the project
@@ -68,7 +68,7 @@ var RenovatebotMinimumReleaseAgeBehaviour;
68
68
  * Ignores the versions controlled by Projen.
69
69
  */
70
70
  class Renovatebot extends component_1.Component {
71
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Renovatebot", version: "0.103.4" };
71
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.Renovatebot", version: "0.103.6" };
72
72
  /**
73
73
  * The file holding the renovatebot configuration
74
74
  */