projen 0.103.16 → 0.103.18
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.
- package/.jsii +489 -303
- package/lib/ai-instructions.js +2 -2
- package/lib/awscdk/auto-discover.js +6 -6
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +1 -1
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +3 -3
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-build.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/cdktn/cdktn-app-ts.js +1 -1
- package/lib/cdktn/cdktn-config.js +1 -1
- package/lib/cdktn/cdktn-construct.js +1 -1
- package/lib/cdktn/cdktn-deps.js +1 -1
- package/lib/cdktn/cdktn-tasks.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +2 -2
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/auto-queue.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/dependency-review.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/merge-queue.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-backport.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow-job.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflow-steps.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +2 -2
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/biome/biome.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/license-checker.js +1 -1
- package/lib/javascript/node-config-file.js +1 -1
- package/lib/javascript/node-package.d.ts +9 -0
- package/lib/javascript/node-package.js +3 -2
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/pnpm-workspace-config.d.ts +49 -2
- package/lib/javascript/pnpm-workspace-config.js +24 -6
- package/lib/javascript/pnpm-workspace.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +2 -2
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/javascript/yarnrc.js +1 -1
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/polaris/coverity-go.js +1 -1
- package/lib/polaris/coverity-java.js +1 -1
- package/lib/polaris/coverity-javascript.js +1 -1
- package/lib/polaris/coverity.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project-tree.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/projenrc.js +1 -1
- package/lib/properties-file.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pyproject-toml-file.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/uv-config.js +1 -1
- package/lib/python/uv.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/run-task.cjs +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/script-runner.js +1 -1
- package/lib/sonarqube/javascript.js +1 -1
- package/lib/sonarqube/rust.js +1 -1
- package/lib/sonarqube/sonarqube.js +1 -1
- package/lib/sonarqube/typescript.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-shell.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-runner.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +5 -5
- package/lib/version.js +2 -2
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +3 -3
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
84
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeProject", version: "0.103.18" };
|
|
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.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NpmConfig", version: "0.103.18" };
|
|
12
12
|
/**
|
|
13
13
|
* The config object. This object can be mutated until the project is
|
|
14
14
|
* synthesized.
|
|
@@ -258,6 +258,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
258
258
|
* @schema PnpmWorkspaceYamlSchema#virtualStoreDirMaxLength
|
|
259
259
|
*/
|
|
260
260
|
readonly virtualStoreDirMaxLength?: number;
|
|
261
|
+
/**
|
|
262
|
+
* Determines where the virtual store is located. When set to project, a separate virtual store is created in each project's node_modules/.pnpm. When set to global, a single store is shared by every project on the machine, with each project's node_modules holding only symlinks into it. Added in pnpm v11.23.0.
|
|
263
|
+
*
|
|
264
|
+
* @schema PnpmWorkspaceYamlSchema#virtualStoreType
|
|
265
|
+
*/
|
|
266
|
+
readonly virtualStoreType?: PnpmWorkspaceYamlSchemaVirtualStoreType;
|
|
261
267
|
/**
|
|
262
268
|
* Controls the way packages are imported from the store (if you want to disable symlinks inside node_modules, then you need to change the nodeLinker setting, not this one).
|
|
263
269
|
*
|
|
@@ -288,6 +294,18 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
288
294
|
* @schema PnpmWorkspaceYamlSchema#verifyStoreIntegrity
|
|
289
295
|
*/
|
|
290
296
|
readonly verifyStoreIntegrity?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Deprecated. Only allows installation with a store server. If no store server is running, installation will fail.
|
|
299
|
+
*
|
|
300
|
+
* @schema PnpmWorkspaceYamlSchema#useRunningStoreServer
|
|
301
|
+
*/
|
|
302
|
+
readonly useRunningStoreServer?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Makes pnpm install work against a read-only package store (such as a Nix store or OCI image layer). When enabled, pnpm opens the store's SQLite database in immutable mode and never writes to the store. Works best together with --offline and --frozen-lockfile; incompatible with --force. Added in pnpm v11.7.0.
|
|
305
|
+
*
|
|
306
|
+
* @schema PnpmWorkspaceYamlSchema#frozenStore
|
|
307
|
+
*/
|
|
308
|
+
readonly frozenStore?: boolean;
|
|
291
309
|
/**
|
|
292
310
|
* Some registries allow the exact same content to be published under different package names and/or versions.
|
|
293
311
|
*
|
|
@@ -715,6 +733,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
715
733
|
* @schema PnpmWorkspaceYamlSchema#globalBinDir
|
|
716
734
|
*/
|
|
717
735
|
readonly globalBinDir?: string;
|
|
736
|
+
/**
|
|
737
|
+
* Controls which globally installed packages get project-aware shims, which are global commands that run the version specified by the current project instead of the globally installed one. A boolean disables (false) or resets to the defaults (true), while an object maps package names to a policy: "auto" (or true) to switch automatically when publisher-authenticated, "prompt" to confirm on each use, "always" to switch unconditionally, or false to disable. Object entries merge with the built-in defaults ({"node": "auto", "deno": "auto", "bun": "auto"}). Added in pnpm v12.0.0-rc.2.
|
|
738
|
+
*
|
|
739
|
+
* @schema PnpmWorkspaceYamlSchema#globalShims
|
|
740
|
+
*/
|
|
741
|
+
readonly globalShims?: any;
|
|
718
742
|
/**
|
|
719
743
|
* The location where all the packages are saved on the disk.
|
|
720
744
|
*
|
|
@@ -739,6 +763,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
739
763
|
* @schema PnpmWorkspaceYamlSchema#updateNotifier
|
|
740
764
|
*/
|
|
741
765
|
readonly updateNotifier?: boolean;
|
|
766
|
+
/**
|
|
767
|
+
* Explicitly tells pnpm whether the current environment is a Continuous Integration system, overriding pnpm's automatic CI detection. Added in pnpm v10.12.1.
|
|
768
|
+
*
|
|
769
|
+
* @schema PnpmWorkspaceYamlSchema#ci
|
|
770
|
+
*/
|
|
771
|
+
readonly ci?: boolean;
|
|
742
772
|
/**
|
|
743
773
|
* Create symlinks to executables in node_modules/.bin instead of command shims. This setting is ignored on Windows, where only command shims work.
|
|
744
774
|
*
|
|
@@ -1123,6 +1153,12 @@ export interface PnpmWorkspaceYamlSchemaAudit {
|
|
|
1123
1153
|
* @schema PnpmWorkspaceYamlSchemaAudit#ignore
|
|
1124
1154
|
*/
|
|
1125
1155
|
readonly ignore?: string[];
|
|
1156
|
+
/**
|
|
1157
|
+
* When `true`, `pnpm audit --fix` removes the `audit.ignore` entries whose GHSA no longer appears in the audit report, so a list of tolerated advisories doesn't accumulate entries for dependencies that are long gone. Added in: v11.25.0 and v12.0.0.
|
|
1158
|
+
*
|
|
1159
|
+
* @schema PnpmWorkspaceYamlSchemaAudit#ignorePrune
|
|
1160
|
+
*/
|
|
1161
|
+
readonly ignorePrune?: boolean;
|
|
1126
1162
|
}
|
|
1127
1163
|
/**
|
|
1128
1164
|
* Converts an object of type 'PnpmWorkspaceYamlSchemaAudit' to JSON representation.
|
|
@@ -1215,6 +1251,17 @@ export declare enum PnpmWorkspaceYamlSchemaNodePackageMapType {
|
|
|
1215
1251
|
/** loose */
|
|
1216
1252
|
LOOSE = "loose"
|
|
1217
1253
|
}
|
|
1254
|
+
/**
|
|
1255
|
+
* Determines where the virtual store is located. When set to project, a separate virtual store is created in each project's node_modules/.pnpm. When set to global, a single store is shared by every project on the machine, with each project's node_modules holding only symlinks into it. Added in pnpm v11.23.0.
|
|
1256
|
+
*
|
|
1257
|
+
* @schema PnpmWorkspaceYamlSchemaVirtualStoreType
|
|
1258
|
+
*/
|
|
1259
|
+
export declare enum PnpmWorkspaceYamlSchemaVirtualStoreType {
|
|
1260
|
+
/** project */
|
|
1261
|
+
PROJECT = "project",
|
|
1262
|
+
/** global */
|
|
1263
|
+
GLOBAL = "global"
|
|
1264
|
+
}
|
|
1218
1265
|
/**
|
|
1219
1266
|
* Controls the way packages are imported from the store (if you want to disable symlinks inside node_modules, then you need to change the nodeLinker setting, not this one).
|
|
1220
1267
|
*
|
|
@@ -1436,8 +1483,8 @@ export declare enum PnpmWorkspaceYamlSchemaRuntimeOnFail {
|
|
|
1436
1483
|
* @schema PnpmWorkspaceYamlSchemaHoistingLimits
|
|
1437
1484
|
*/
|
|
1438
1485
|
export declare enum PnpmWorkspaceYamlSchemaHoistingLimits {
|
|
1439
|
-
/**
|
|
1440
|
-
|
|
1486
|
+
/** none */
|
|
1487
|
+
NONE = "none",
|
|
1441
1488
|
/** workspaces */
|
|
1442
1489
|
WORKSPACES = "workspaces",
|
|
1443
1490
|
/** dependencies */
|