projen 0.99.34 → 0.99.36

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 +118 -118
  2. package/README.md +16 -16
  3. package/lib/ai-instructions.js +2 -2
  4. package/lib/awscdk/auto-discover.js +6 -6
  5. package/lib/awscdk/awscdk-app-java.js +1 -1
  6. package/lib/awscdk/awscdk-app-py.js +1 -1
  7. package/lib/awscdk/awscdk-app-ts.js +1 -1
  8. package/lib/awscdk/awscdk-construct.js +2 -2
  9. package/lib/awscdk/awscdk-deps-java.js +1 -1
  10. package/lib/awscdk/awscdk-deps-js.js +1 -1
  11. package/lib/awscdk/awscdk-deps-py.js +1 -1
  12. package/lib/awscdk/awscdk-deps.js +1 -1
  13. package/lib/awscdk/cdk-config.js +4 -4
  14. package/lib/awscdk/cdk-tasks.js +1 -1
  15. package/lib/awscdk/integration-test.js +1 -1
  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 +1 -1
  19. package/lib/awscdk/private/feature-flags-v2.const.js +2 -2
  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-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/circleci/circleci.js +1 -1
  35. package/lib/cli/cmds/new.js +4 -4
  36. package/lib/component.js +1 -1
  37. package/lib/dependencies.js +1 -1
  38. package/lib/dev-env.js +1 -1
  39. package/lib/docker-compose/docker-compose-service.js +1 -1
  40. package/lib/docker-compose/docker-compose.js +1 -1
  41. package/lib/file.js +1 -1
  42. package/lib/gitattributes.js +1 -1
  43. package/lib/github/actions-provider.js +1 -1
  44. package/lib/github/auto-approve.js +3 -3
  45. package/lib/github/auto-merge.js +2 -3
  46. package/lib/github/auto-queue.js +1 -1
  47. package/lib/github/dependabot.js +1 -1
  48. package/lib/github/github-credentials.js +1 -1
  49. package/lib/github/github-project.js +1 -1
  50. package/lib/github/github.js +1 -1
  51. package/lib/github/merge-queue.js +1 -1
  52. package/lib/github/mergify.js +1 -1
  53. package/lib/github/pr-template.js +1 -1
  54. package/lib/github/pull-request-backport.js +1 -1
  55. package/lib/github/pull-request-lint.js +1 -1
  56. package/lib/github/stale.js +1 -1
  57. package/lib/github/task-workflow-job.js +1 -1
  58. package/lib/github/task-workflow.js +1 -1
  59. package/lib/github/workflow-actions.js +1 -1
  60. package/lib/github/workflow-jobs.js +1 -1
  61. package/lib/github/workflow-steps.js +1 -1
  62. package/lib/github/workflows.js +1 -1
  63. package/lib/gitlab/configuration.js +1 -1
  64. package/lib/gitlab/gitlab-configuration.js +1 -1
  65. package/lib/gitlab/nested-configuration.js +1 -1
  66. package/lib/gitpod.js +1 -1
  67. package/lib/ignore-file.js +1 -1
  68. package/lib/ini.js +1 -1
  69. package/lib/java/java-project.js +1 -1
  70. package/lib/java/junit.js +1 -1
  71. package/lib/java/maven-compile.js +1 -1
  72. package/lib/java/maven-packaging.js +1 -1
  73. package/lib/java/maven-sample.js +1 -1
  74. package/lib/java/pom.js +2 -2
  75. package/lib/java/projenrc.js +1 -1
  76. package/lib/javascript/biome/biome.js +1 -1
  77. package/lib/javascript/bundler.js +1 -1
  78. package/lib/javascript/eslint.js +1 -1
  79. package/lib/javascript/jest.js +4 -4
  80. package/lib/javascript/license-checker.js +1 -1
  81. package/lib/javascript/node-package.d.ts +22 -22
  82. package/lib/javascript/node-package.js +16 -16
  83. package/lib/javascript/node-project.d.ts +13 -13
  84. package/lib/javascript/node-project.js +20 -18
  85. package/lib/javascript/npm-config.js +1 -1
  86. package/lib/javascript/prettier.js +1 -1
  87. package/lib/javascript/projenrc.js +1 -1
  88. package/lib/javascript/typescript-config.js +2 -2
  89. package/lib/javascript/upgrade-dependencies.js +2 -2
  90. package/lib/javascript/yarnrc.js +1 -1
  91. package/lib/json-patch.js +1 -1
  92. package/lib/json.js +1 -1
  93. package/lib/license.js +1 -1
  94. package/lib/logger.js +1 -1
  95. package/lib/makefile.js +1 -1
  96. package/lib/object-file.js +1 -1
  97. package/lib/project-build.js +1 -1
  98. package/lib/project-tree.js +1 -1
  99. package/lib/project.js +1 -1
  100. package/lib/projects.js +1 -1
  101. package/lib/projenrc-json.js +2 -2
  102. package/lib/projenrc.js +1 -1
  103. package/lib/python/pip.js +1 -1
  104. package/lib/python/poetry.js +2 -2
  105. package/lib/python/projenrc.js +1 -1
  106. package/lib/python/pyproject-toml-file.js +1 -1
  107. package/lib/python/pytest-sample.js +1 -1
  108. package/lib/python/pytest.js +1 -1
  109. package/lib/python/python-project.js +1 -1
  110. package/lib/python/python-sample.js +1 -1
  111. package/lib/python/requirements-file.js +1 -1
  112. package/lib/python/setuppy.js +1 -1
  113. package/lib/python/setuptools.js +1 -1
  114. package/lib/python/uv.js +1 -1
  115. package/lib/python/venv.js +1 -1
  116. package/lib/readme.js +1 -1
  117. package/lib/release/publisher.js +1 -1
  118. package/lib/release/release-trigger.js +1 -1
  119. package/lib/release/release.js +1 -1
  120. package/lib/renovatebot.js +1 -1
  121. package/lib/sample-file.js +2 -2
  122. package/lib/semver.js +1 -1
  123. package/lib/source-code.js +1 -1
  124. package/lib/task-runtime.js +1 -1
  125. package/lib/task.js +1 -1
  126. package/lib/tasks.js +1 -1
  127. package/lib/testing.js +1 -1
  128. package/lib/textfile.js +1 -1
  129. package/lib/toml.js +1 -1
  130. package/lib/typescript/projenrc-ts.js +1 -1
  131. package/lib/typescript/projenrc.js +1 -1
  132. package/lib/typescript/typescript-typedoc.js +1 -1
  133. package/lib/typescript/typescript.js +6 -6
  134. package/lib/version.js +2 -2
  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
@@ -21,11 +21,11 @@ export interface NodePackageOptions {
21
21
  * Runtime dependencies of this module.
22
22
  *
23
23
  * The recommendation is to only specify the module name here (e.g.
24
- * `express`). This will behave similar to `yarn add` or `npm install` in the
24
+ * `express`). This will behave similar to `pnpm add` or `npm install` in the
25
25
  * sense that it will add the module as a dependency to your `package.json`
26
26
  * file with the latest version (`^`). You can specify semver requirements in
27
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
28
- * this will be what you `package.json` will eventually include.
27
+ * the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
28
+ * this will be what your `package.json` will eventually include.
29
29
  *
30
30
  * @example [ 'express', 'lodash', 'foo@^2' ]
31
31
  * @default []
@@ -38,11 +38,11 @@ export interface NodePackageOptions {
38
38
  * module is consumed.
39
39
  *
40
40
  * The recommendation is to only specify the module name here (e.g.
41
- * `express`). This will behave similar to `yarn add` or `npm install` in the
41
+ * `express`). This will behave similar to `pnpm add` or `npm install` in the
42
42
  * sense that it will add the module as a dependency to your `package.json`
43
43
  * file with the latest version (`^`). You can specify semver requirements in
44
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
45
- * this will be what you `package.json` will eventually include.
44
+ * the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
45
+ * this will be what your `package.json` will eventually include.
46
46
  *
47
47
  * @example [ 'typescript', '@types/express' ]
48
48
  * @default []
@@ -73,11 +73,11 @@ export interface NodePackageOptions {
73
73
  * your `package.json`.
74
74
  *
75
75
  * The recommendation is to only specify the module name here (e.g.
76
- * `express`). This will behave similar to `yarn add` or `npm install` in the
76
+ * `express`). This will behave similar to `pnpm add` or `npm install` in the
77
77
  * sense that it will add the module as a dependency to your `package.json`
78
78
  * file with the latest version (`^`). You can specify semver requirements in
79
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
80
- * this will be what you `package.json` will eventually include.
79
+ * the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
80
+ * this will be what your `package.json` will eventually include.
81
81
  */
82
82
  readonly bundledDeps?: string[];
83
83
  /**
@@ -569,9 +569,9 @@ export declare class NodePackage extends Component {
569
569
  * Defines normal dependencies.
570
570
  *
571
571
  * @param deps Names modules to install. By default, the the dependency will
572
- * be installed in the next `npx projen` run and the version will be recorded
573
- * in your `package.json` file. You can upgrade manually or using `yarn
574
- * add/upgrade`. If you wish to specify a version range use this syntax:
572
+ * be installed in the next `pnpm projen` run and the version will be recorded
573
+ * in your `package.json` file. You can upgrade manually or using `pnpm
574
+ * add/update`. If you wish to specify a version range use this syntax:
575
575
  * `module@^7`.
576
576
  */
577
577
  addDeps(...deps: string[]): void;
@@ -579,9 +579,9 @@ export declare class NodePackage extends Component {
579
579
  * Defines development/test dependencies.
580
580
  *
581
581
  * @param deps Names modules to install. By default, the the dependency will
582
- * be installed in the next `npx projen` run and the version will be recorded
583
- * in your `package.json` file. You can upgrade manually or using `yarn
584
- * add/upgrade`. If you wish to specify a version range use this syntax:
582
+ * be installed in the next `pnpm projen` run and the version will be recorded
583
+ * in your `package.json` file. You can upgrade manually or using `pnpm
584
+ * add/update`. If you wish to specify a version range use this syntax:
585
585
  * `module@^7`.
586
586
  */
587
587
  addDevDeps(...deps: string[]): void;
@@ -593,9 +593,9 @@ export declare class NodePackage extends Component {
593
593
  * your code against the minimum version required from your consumers.
594
594
  *
595
595
  * @param deps Names modules to install. By default, the the dependency will
596
- * be installed in the next `npx projen` run and the version will be recorded
597
- * in your `package.json` file. You can upgrade manually or using `yarn
598
- * add/upgrade`. If you wish to specify a version range use this syntax:
596
+ * be installed in the next `pnpm projen` run and the version will be recorded
597
+ * in your `package.json` file. You can upgrade manually or using `pnpm
598
+ * add/update`. If you wish to specify a version range use this syntax:
599
599
  * `module@^7`.
600
600
  */
601
601
  addPeerDeps(...deps: string[]): void;
@@ -606,9 +606,9 @@ export declare class NodePackage extends Component {
606
606
  * `bundledDependencies` section of your `package.json`.
607
607
  *
608
608
  * @param deps Names modules to install. By default, the the dependency will
609
- * be installed in the next `npx projen` run and the version will be recorded
610
- * in your `package.json` file. You can upgrade manually or using `yarn
611
- * add/upgrade`. If you wish to specify a version range use this syntax:
609
+ * be installed in the next `pnpm projen` run and the version will be recorded
610
+ * in your `package.json` file. You can upgrade manually or using `pnpm
611
+ * add/update`. If you wish to specify a version range use this syntax:
612
612
  * `module@^7`.
613
613
  */
614
614
  addBundledDeps(...deps: string[]): void;
@@ -669,7 +669,7 @@ export declare class NodePackage extends Component {
669
669
  */
670
670
  get installCommand(): string;
671
671
  /**
672
- * Renders `yarn install` or `npm install` with lockfile update (not frozen)
672
+ * Renders `pnpm install` or `npm install` with lockfile update (not frozen)
673
673
  */
674
674
  get installAndUpdateLockfileCommand(): string;
675
675
  /**