projen 0.105.7 → 0.105.9
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 +509 -291
- 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/internal.d.ts +1 -0
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/awscdk/private/feature-flags-v2.const.d.ts +2 -1
- package/lib/awscdk/private/feature-flags-v2.const.js +4 -3
- 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/actions.const.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/kodiak.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/pull-request-source.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/inventory.d.ts +1 -0
- package/lib/inventory.js +36 -9
- 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-native-test-runner.js +2 -2
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/pnpm-workspace-config.d.ts +53 -7
- package/lib/javascript/pnpm-workspace-config.js +41 -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 +2 -2
- 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 +2 -2
|
@@ -7,7 +7,7 @@ const component_1 = require("../component");
|
|
|
7
7
|
* Configures a maven project to produce a .jar archive with sources and javadocs.
|
|
8
8
|
*/
|
|
9
9
|
class MavenPackaging extends component_1.Component {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.MavenPackaging", version: "0.105.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.MavenPackaging", version: "0.105.9" };
|
|
11
11
|
/**
|
|
12
12
|
* The directory containing the package output, relative to the project outdir
|
|
13
13
|
*/
|
package/lib/java/maven-sample.js
CHANGED
|
@@ -9,7 +9,7 @@ const sample_file_1 = require("../sample-file");
|
|
|
9
9
|
* Java code sample.
|
|
10
10
|
*/
|
|
11
11
|
class MavenSample extends component_1.Component {
|
|
12
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.MavenSample", version: "0.105.
|
|
12
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.MavenSample", version: "0.105.9" };
|
|
13
13
|
constructor(project, options) {
|
|
14
14
|
super(project);
|
|
15
15
|
const pkg = options.package.split(".");
|
package/lib/java/pom.js
CHANGED
|
@@ -13,7 +13,7 @@ const POM_XML_ATTRS = {
|
|
|
13
13
|
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
|
14
14
|
};
|
|
15
15
|
class UpdatePolicy {
|
|
16
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.UpdatePolicy", version: "0.105.
|
|
16
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.UpdatePolicy", version: "0.105.9" };
|
|
17
17
|
static ALWAYS = "always";
|
|
18
18
|
static DAILY = "daily";
|
|
19
19
|
static NEVER = "never";
|
|
@@ -37,7 +37,7 @@ var ChecksumPolicy;
|
|
|
37
37
|
* details used by Maven to build the project.
|
|
38
38
|
*/
|
|
39
39
|
class Pom extends component_1.Component {
|
|
40
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.Pom", version: "0.105.
|
|
40
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.Pom", version: "0.105.9" };
|
|
41
41
|
/**
|
|
42
42
|
* The name of the pom file.
|
|
43
43
|
*/
|
package/lib/java/projenrc.js
CHANGED
|
@@ -19,7 +19,7 @@ const util_1 = require("../util");
|
|
|
19
19
|
* `src/main/java/projenrc.java`.
|
|
20
20
|
*/
|
|
21
21
|
class Projenrc extends projenrc_1.ProjenrcFile {
|
|
22
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.Projenrc", version: "0.105.
|
|
22
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.java.Projenrc", version: "0.105.9" };
|
|
23
23
|
/**
|
|
24
24
|
* The name of the java class that includes the projen entrypoint.
|
|
25
25
|
*/
|
|
@@ -101,7 +101,7 @@ const DEFAULT_ASSIST = {
|
|
|
101
101
|
*/
|
|
102
102
|
class Biome extends component_1.Component {
|
|
103
103
|
options;
|
|
104
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Biome", version: "0.105.
|
|
104
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Biome", version: "0.105.9" };
|
|
105
105
|
static of(project) {
|
|
106
106
|
const isBiome = (c) => c instanceof Biome;
|
|
107
107
|
return project.components.find(isBiome);
|
|
@@ -45,7 +45,7 @@ const dependencies_1 = require("../dependencies");
|
|
|
45
45
|
* single file. In the future, this will also supports bundling websites.
|
|
46
46
|
*/
|
|
47
47
|
class Bundler extends component_1.Component {
|
|
48
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Bundler", version: "0.105.
|
|
48
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Bundler", version: "0.105.9" };
|
|
49
49
|
/**
|
|
50
50
|
* Returns the `Bundler` instance associated with a project or `undefined` if
|
|
51
51
|
* there is no Bundler.
|
package/lib/javascript/eslint.js
CHANGED
|
@@ -10,7 +10,7 @@ const yaml_1 = require("../yaml");
|
|
|
10
10
|
* Represents eslint configuration.
|
|
11
11
|
*/
|
|
12
12
|
class Eslint extends component_1.Component {
|
|
13
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Eslint", version: "0.105.
|
|
13
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Eslint", version: "0.105.9" };
|
|
14
14
|
/**
|
|
15
15
|
* Returns the singleton Eslint component of a project or undefined if there is none.
|
|
16
16
|
*/
|
package/lib/javascript/jest.js
CHANGED
|
@@ -45,7 +45,7 @@ const DEFAULT_TEST_REPORTS_DIR = "test-reports";
|
|
|
45
45
|
class Transform {
|
|
46
46
|
name;
|
|
47
47
|
options;
|
|
48
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Transform", version: "0.105.
|
|
48
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Transform", version: "0.105.9" };
|
|
49
49
|
constructor(name, options) {
|
|
50
50
|
this.name = name;
|
|
51
51
|
this.options = options;
|
|
@@ -65,7 +65,7 @@ exports.Transform = Transform;
|
|
|
65
65
|
class WatchPlugin {
|
|
66
66
|
name;
|
|
67
67
|
options;
|
|
68
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.WatchPlugin", version: "0.105.
|
|
68
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.WatchPlugin", version: "0.105.9" };
|
|
69
69
|
constructor(name, options) {
|
|
70
70
|
this.name = name;
|
|
71
71
|
this.options = options;
|
|
@@ -96,7 +96,7 @@ var UpdateSnapshot;
|
|
|
96
96
|
class JestReporter {
|
|
97
97
|
name;
|
|
98
98
|
options;
|
|
99
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.JestReporter", version: "0.105.
|
|
99
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.JestReporter", version: "0.105.9" };
|
|
100
100
|
constructor(name, options) {
|
|
101
101
|
this.name = name;
|
|
102
102
|
this.options = options;
|
|
@@ -122,7 +122,7 @@ exports.JestReporter = JestReporter;
|
|
|
122
122
|
*
|
|
123
123
|
*/
|
|
124
124
|
class Jest extends component_1.Component {
|
|
125
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Jest", version: "0.105.
|
|
125
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Jest", version: "0.105.9" };
|
|
126
126
|
/**
|
|
127
127
|
* Returns the singleton Jest component of a project or undefined if there is none.
|
|
128
128
|
*/
|
|
@@ -8,7 +8,7 @@ const dependencies_1 = require("../dependencies");
|
|
|
8
8
|
* Enforces allowed licenses used by dependencies.
|
|
9
9
|
*/
|
|
10
10
|
class LicenseChecker extends component_1.Component {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.LicenseChecker", version: "0.105.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.LicenseChecker", version: "0.105.9" };
|
|
12
12
|
task;
|
|
13
13
|
constructor(scope, options) {
|
|
14
14
|
const taskName = options.taskName ?? "check-licenses";
|
|
@@ -12,7 +12,7 @@ const node_config_1 = require("./node-config");
|
|
|
12
12
|
* @see https://nodejs.org/api/cli.html#configuration-via-nodeconfig
|
|
13
13
|
*/
|
|
14
14
|
class NodeConfigFile extends component_1.Component {
|
|
15
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeConfigFile", version: "0.105.
|
|
15
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeConfigFile", version: "0.105.9" };
|
|
16
16
|
/**
|
|
17
17
|
* Returns the `NodeConfigFile` instance associated with a project or
|
|
18
18
|
* `undefined` if there is none.
|
|
@@ -85,7 +85,7 @@ class TestMatch {
|
|
|
85
85
|
*/
|
|
86
86
|
class Destination {
|
|
87
87
|
value;
|
|
88
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Destination", version: "0.105.
|
|
88
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.Destination", version: "0.105.9" };
|
|
89
89
|
/**
|
|
90
90
|
* Write to standard output.
|
|
91
91
|
*/
|
|
@@ -177,7 +177,7 @@ class NodeReporters {
|
|
|
177
177
|
* and "test:watch" tasks, and the reporters and test match patterns they use.
|
|
178
178
|
*/
|
|
179
179
|
class NodeNativeTestRunner extends component_1.Component {
|
|
180
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeNativeTestRunner", version: "0.105.
|
|
180
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeNativeTestRunner", version: "0.105.9" };
|
|
181
181
|
/**
|
|
182
182
|
* Returns the singleton NodeNativeTestRunner component of a project or undefined
|
|
183
183
|
* if there is none.
|
|
@@ -77,7 +77,7 @@ var CodeArtifactAuthProvider;
|
|
|
77
77
|
* Represents the npm `package.json` file.
|
|
78
78
|
*/
|
|
79
79
|
class NodePackage extends component_1.Component {
|
|
80
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodePackage", version: "0.105.
|
|
80
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodePackage", version: "0.105.9" };
|
|
81
81
|
/**
|
|
82
82
|
* Returns the `NodePackage` instance associated with a project or `undefined` if
|
|
83
83
|
* there is no NodePackage.
|
|
@@ -88,7 +88,7 @@ var AutoRelease;
|
|
|
88
88
|
* @pjid node
|
|
89
89
|
*/
|
|
90
90
|
class NodeProject extends github_1.GitHubProject {
|
|
91
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeProject", version: "0.105.
|
|
91
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NodeProject", version: "0.105.9" };
|
|
92
92
|
/**
|
|
93
93
|
* API for managing the node package.
|
|
94
94
|
*/
|
|
@@ -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.105.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen.javascript.NpmConfig", version: "0.105.9" };
|
|
12
12
|
/**
|
|
13
13
|
* The config object. This object can be mutated until the project is
|
|
14
14
|
* synthesized.
|
|
@@ -75,6 +75,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
75
75
|
* @schema PnpmWorkspaceYamlSchema#overrides
|
|
76
76
|
*/
|
|
77
77
|
readonly overrides?: any;
|
|
78
|
+
/**
|
|
79
|
+
* When true, an install that resolves the whole dependency graph warns about every entry in overrides that matched no dependency. Only overrides declared in pnpm-workspace.yaml are checked; entries added by a config dependency or an updateConfig hook are not. Added in pnpm v12.23.0.
|
|
80
|
+
*
|
|
81
|
+
* @schema PnpmWorkspaceYamlSchema#warnUnusedOverrides
|
|
82
|
+
*/
|
|
83
|
+
readonly warnUnusedOverrides?: boolean;
|
|
78
84
|
/**
|
|
79
85
|
* Used to extend the existing package definitions with additional information.
|
|
80
86
|
*
|
|
@@ -237,7 +243,7 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
237
243
|
*/
|
|
238
244
|
readonly modulesDir?: string;
|
|
239
245
|
/**
|
|
240
|
-
* Defines what linker should be used for installing Node packages.
|
|
246
|
+
* Defines what linker should be used for installing Node packages. Scalar values remain supported. The object form selects a linker with type and groups linker-specific options with it: isolated accepts hoist, hoisted accepts hoistingLimits, and loaded accepts excluded. Configuration sources replace the selected linker; options from a higher-priority object override the same options from lower-priority sources. PNPM_CONFIG_NODE_LINKER and --config.node-linker accept the object as JSON.
|
|
241
247
|
*
|
|
242
248
|
* @schema PnpmWorkspaceYamlSchema#nodeLinker
|
|
243
249
|
*/
|
|
@@ -477,11 +483,11 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
477
483
|
*/
|
|
478
484
|
readonly maxsockets?: number;
|
|
479
485
|
/**
|
|
480
|
-
* A comma-separated string of domain extensions that a proxy should not be used for.
|
|
486
|
+
* A comma-separated string of domain extensions that a proxy should not be used for, or a boolean. A null value leaves the setting unset. Since pnpm v12.23.0, any other type fails validation.
|
|
481
487
|
*
|
|
482
488
|
* @schema PnpmWorkspaceYamlSchema#noProxy
|
|
483
489
|
*/
|
|
484
|
-
readonly noProxy?:
|
|
490
|
+
readonly noProxy?: PnpmWorkspaceYamlSchemaNoProxy;
|
|
485
491
|
/**
|
|
486
492
|
* Whether or not to do SSL key validation when making requests to the registry via HTTPS.
|
|
487
493
|
*
|
|
@@ -864,7 +870,7 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
864
870
|
*/
|
|
865
871
|
readonly saveTypes?: boolean;
|
|
866
872
|
/**
|
|
867
|
-
* If you pnpm add a package and you don't provide a specific version, then it will install the package at the version registered under the tag from this setting.
|
|
873
|
+
* If you pnpm add a package and you don't provide a specific version, then it will install the package at the version registered under the tag from this setting. Since pnpm v12.23.0, pnpm publish also reads it from pnpm-workspace.yaml, the global config.yaml, or PNPM_CONFIG_TAG when --tag is not passed.
|
|
868
874
|
*
|
|
869
875
|
* @schema PnpmWorkspaceYamlSchema#tag
|
|
870
876
|
*/
|
|
@@ -996,7 +1002,7 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
996
1002
|
*/
|
|
997
1003
|
readonly embedReadme?: boolean;
|
|
998
1004
|
/**
|
|
999
|
-
* The primary branch of the repository which is used for publishing the latest changes.
|
|
1005
|
+
* The primary branch of the repository which is used for publishing the latest changes. Since pnpm v12.23.0, an empty value allows both master and main.
|
|
1000
1006
|
*
|
|
1001
1007
|
* @schema PnpmWorkspaceYamlSchema#publishBranch
|
|
1002
1008
|
*/
|
|
@@ -1007,6 +1013,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
1007
1013
|
* @schema PnpmWorkspaceYamlSchema#publishWaitTimeout
|
|
1008
1014
|
*/
|
|
1009
1015
|
readonly publishWaitTimeout?: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* Sets the default for pnpm publish --access. When set, it takes precedence over publishConfig.access. Configure it in pnpm-workspace.yaml or the global config.yaml, or with PNPM_CONFIG_ACCESS. Read from configuration since pnpm v12.23.0.
|
|
1018
|
+
*
|
|
1019
|
+
* @schema PnpmWorkspaceYamlSchema#access
|
|
1020
|
+
*/
|
|
1021
|
+
readonly access?: PnpmWorkspaceYamlSchemaAccess;
|
|
1010
1022
|
/**
|
|
1011
1023
|
* Versioning settings for pnpm's native workspace release management, used by `pnpm change` and recursive `pnpm version`.
|
|
1012
1024
|
*
|
|
@@ -1068,7 +1080,7 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
1068
1080
|
*/
|
|
1069
1081
|
readonly saveExact?: boolean;
|
|
1070
1082
|
/**
|
|
1071
|
-
* minimumReleaseAge defines the minimum number of minutes that must pass after a version is published before pnpm will install it. This applies to all dependencies, including transitive ones.
|
|
1083
|
+
* minimumReleaseAge defines the minimum number of minutes that must pass after a version is published before pnpm will install it. This applies to all dependencies, including transitive ones. The age is counted back from referenceTime when that setting is set.
|
|
1072
1084
|
*
|
|
1073
1085
|
* @schema PnpmWorkspaceYamlSchema#minimumReleaseAge
|
|
1074
1086
|
*/
|
|
@@ -1079,6 +1091,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
1079
1091
|
* @schema PnpmWorkspaceYamlSchema#minimumReleaseAgeExclude
|
|
1080
1092
|
*/
|
|
1081
1093
|
readonly minimumReleaseAgeExclude?: string[];
|
|
1094
|
+
/**
|
|
1095
|
+
* The reference time, as an RFC 3339 timestamp, used to evaluate time-dependent settings. minimumReleaseAge and trustPolicyIgnoreAfter count back from this time during resolution and lockfile verification. When unset, pnpm uses the current time. Set it in pnpm-workspace.yaml or with PNPM_CONFIG_REFERENCE_TIME; the global config.yaml does not apply it. A value that is not a timestamp, or is more than 10 minutes in the future, fails the command. Added in pnpm v12.23.0.
|
|
1096
|
+
*
|
|
1097
|
+
* @schema PnpmWorkspaceYamlSchema#referenceTime
|
|
1098
|
+
*/
|
|
1099
|
+
readonly referenceTime?: Date;
|
|
1082
1100
|
/**
|
|
1083
1101
|
* Controls how pnpm behaves when no version of a dependency satisfies the minimumReleaseAge constraint within the requested range.
|
|
1084
1102
|
* https://pnpm.io/settings#minimumreleaseagestrict
|
|
@@ -1129,7 +1147,7 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
1129
1147
|
*/
|
|
1130
1148
|
readonly blockExoticSubdeps?: boolean;
|
|
1131
1149
|
/**
|
|
1132
|
-
* Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age.
|
|
1150
|
+
* Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age. The age is counted back from referenceTime when that setting is set.
|
|
1133
1151
|
*
|
|
1134
1152
|
* @schema PnpmWorkspaceYamlSchema#trustPolicyIgnoreAfter
|
|
1135
1153
|
*/
|
|
@@ -1502,6 +1520,17 @@ export declare enum PnpmWorkspaceYamlSchemaStoreIndexFormat {
|
|
|
1502
1520
|
/** files */
|
|
1503
1521
|
FILES = "files"
|
|
1504
1522
|
}
|
|
1523
|
+
/**
|
|
1524
|
+
* A comma-separated string of domain extensions that a proxy should not be used for, or a boolean. A null value leaves the setting unset. Since pnpm v12.23.0, any other type fails validation.
|
|
1525
|
+
*
|
|
1526
|
+
* @schema PnpmWorkspaceYamlSchemaNoProxy
|
|
1527
|
+
*/
|
|
1528
|
+
export declare class PnpmWorkspaceYamlSchemaNoProxy {
|
|
1529
|
+
static fromString(value: string): PnpmWorkspaceYamlSchemaNoProxy;
|
|
1530
|
+
static fromBoolean(value: boolean): PnpmWorkspaceYamlSchemaNoProxy;
|
|
1531
|
+
readonly value: string | boolean;
|
|
1532
|
+
private constructor();
|
|
1533
|
+
}
|
|
1505
1534
|
/**
|
|
1506
1535
|
* Controls colors in the output.
|
|
1507
1536
|
*
|
|
@@ -1729,6 +1758,17 @@ export declare enum PnpmWorkspaceYamlSchemaResolutionMode {
|
|
|
1729
1758
|
/** lowest-direct */
|
|
1730
1759
|
LOWEST_HYPHEN_DIRECT = "lowest-direct"
|
|
1731
1760
|
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Sets the default for pnpm publish --access. When set, it takes precedence over publishConfig.access. Configure it in pnpm-workspace.yaml or the global config.yaml, or with PNPM_CONFIG_ACCESS. Read from configuration since pnpm v12.23.0.
|
|
1763
|
+
*
|
|
1764
|
+
* @schema PnpmWorkspaceYamlSchemaAccess
|
|
1765
|
+
*/
|
|
1766
|
+
export declare enum PnpmWorkspaceYamlSchemaAccess {
|
|
1767
|
+
/** public */
|
|
1768
|
+
PUBLIC = "public",
|
|
1769
|
+
/** restricted */
|
|
1770
|
+
RESTRICTED = "restricted"
|
|
1771
|
+
}
|
|
1732
1772
|
/**
|
|
1733
1773
|
* Versioning settings for pnpm's native workspace release management, used by `pnpm change` and recursive `pnpm version`.
|
|
1734
1774
|
*
|
|
@@ -1747,6 +1787,12 @@ export interface PnpmWorkspaceYamlSchemaVersioning {
|
|
|
1747
1787
|
* @schema PnpmWorkspaceYamlSchemaVersioning#ignore
|
|
1748
1788
|
*/
|
|
1749
1789
|
readonly ignore?: string[];
|
|
1790
|
+
/**
|
|
1791
|
+
* When false, pnpm change leaves private packages out of the packages it offers, and naming one on the command line fails. A private package can still be bumped as a dependent. Added in pnpm v12.23.0.
|
|
1792
|
+
*
|
|
1793
|
+
* @schema PnpmWorkspaceYamlSchemaVersioning#includePrivatePackages
|
|
1794
|
+
*/
|
|
1795
|
+
readonly includePrivatePackages?: boolean;
|
|
1750
1796
|
/**
|
|
1751
1797
|
* Caps the bump that a release from the current checkout may apply, after dependent propagation and fixed-group resolution.
|
|
1752
1798
|
*
|