projen 0.105.0 → 0.105.2
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 +425 -346
- 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.d.ts +4 -0
- package/lib/awscdk/lambda-function.js +7 -3
- package/lib/awscdk/private/feature-flags-v2.const.d.ts +1 -1
- package/lib/awscdk/private/feature-flags-v2.const.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/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/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 +21 -3
- package/lib/javascript/pnpm-workspace-config.js +10 -7
- 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.d.ts +1 -1
- package/lib/python/uv-config.js +3 -3
- 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 +3 -3
- 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 +3 -3
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
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.2" };
|
|
12
12
|
/**
|
|
13
13
|
* The config object. This object can be mutated until the project is
|
|
14
14
|
* synthesized.
|
|
@@ -362,6 +362,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
362
362
|
* @schema PnpmWorkspaceYamlSchema#lockfile
|
|
363
363
|
*/
|
|
364
364
|
readonly lockfile?: any;
|
|
365
|
+
/**
|
|
366
|
+
* The directory in which pnpm-lock.yaml is written, instead of the directory of pnpm-workspace.yaml. A lockfileDir that points at the default lockfile directory installs the same way as leaving it unset.
|
|
367
|
+
*
|
|
368
|
+
* @schema PnpmWorkspaceYamlSchema#lockfileDir
|
|
369
|
+
*/
|
|
370
|
+
readonly lockfileDir?: string;
|
|
365
371
|
/**
|
|
366
372
|
* When true, installation fails if the lockfile is missing or needs to be updated.
|
|
367
373
|
*
|
|
@@ -536,6 +542,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
536
542
|
* @schema PnpmWorkspaceYamlSchema#autoInstallPeers
|
|
537
543
|
*/
|
|
538
544
|
readonly autoInstallPeers?: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* When set to true, pnpm joins conflicting peer dependency ranges with || and installs the highest version that satisfies any of them. For example, if one dependency requires react@^16.0.0 and another requires react@^17.0.0, pnpm installs the highest react@17. Only semver ranges can be joined; conflicting paths, aliases, or tags leave the peer dependency missing, and identical non-semver specifiers are preserved.
|
|
547
|
+
*
|
|
548
|
+
* @schema PnpmWorkspaceYamlSchema#autoInstallPeersFromHighestMatch
|
|
549
|
+
*/
|
|
550
|
+
readonly autoInstallPeersFromHighestMatch?: boolean;
|
|
539
551
|
/**
|
|
540
552
|
* When this setting is set to true, packages with peer dependencies will be deduplicated after peers resolution.
|
|
541
553
|
*
|
|
@@ -1161,6 +1173,12 @@ export interface PnpmWorkspaceYamlSchema {
|
|
|
1161
1173
|
readonly namedRegistries?: {
|
|
1162
1174
|
[key: string]: string;
|
|
1163
1175
|
};
|
|
1176
|
+
/**
|
|
1177
|
+
* URL of a pnpr server for install acceleration. When set, pnpm install offloads dependency resolution to the remote server: pnpm sends its workspace manifests and registry configuration, the server resolves the dependency graph and returns the lockfile, while tarballs are downloaded directly from their registries. If the server refuses a setting the install uses, or cannot return the lockfile format pnpm reads, pnpm prints a warning and resolves locally. May also be set with the --config.pnprServer=<url> command-line option or the PNPM_CONFIG_PNPR_SERVER environment variable.
|
|
1178
|
+
*
|
|
1179
|
+
* @schema PnpmWorkspaceYamlSchema#pnprServer
|
|
1180
|
+
*/
|
|
1181
|
+
readonly pnprServer?: string;
|
|
1164
1182
|
/**
|
|
1165
1183
|
* When set to true, pnpm populates the virtual store without creating importer symlinks, hoisting, bin links, or running lifecycle scripts. This is useful for pre-populating a store (e.g., in Nix builds) without creating unnecessary project-level artifacts. pnpm fetch uses this mode internally.
|
|
1166
1184
|
*
|
|
@@ -1552,9 +1570,9 @@ export declare function toJson_PnpmWorkspaceYamlSchemaRemoteCache(obj: PnpmWorks
|
|
|
1552
1570
|
* @schema PnpmWorkspaceYamlSchemaVerifyDepsBeforeRun
|
|
1553
1571
|
*/
|
|
1554
1572
|
export declare class PnpmWorkspaceYamlSchemaVerifyDepsBeforeRun {
|
|
1555
|
-
readonly value: string | boolean;
|
|
1556
1573
|
static fromString(value: string): PnpmWorkspaceYamlSchemaVerifyDepsBeforeRun;
|
|
1557
1574
|
static fromBoolean(value: boolean): PnpmWorkspaceYamlSchemaVerifyDepsBeforeRun;
|
|
1575
|
+
readonly value: string | boolean;
|
|
1558
1576
|
private constructor();
|
|
1559
1577
|
}
|
|
1560
1578
|
/**
|
|
@@ -1563,9 +1581,9 @@ export declare class PnpmWorkspaceYamlSchemaVerifyDepsBeforeRun {
|
|
|
1563
1581
|
* @schema PnpmWorkspaceYamlSchemaLinkWorkspacePackages
|
|
1564
1582
|
*/
|
|
1565
1583
|
export declare class PnpmWorkspaceYamlSchemaLinkWorkspacePackages {
|
|
1566
|
-
readonly value: boolean | string;
|
|
1567
1584
|
static fromBoolean(value: boolean): PnpmWorkspaceYamlSchemaLinkWorkspacePackages;
|
|
1568
1585
|
static fromString(value: string): PnpmWorkspaceYamlSchemaLinkWorkspacePackages;
|
|
1586
|
+
readonly value: boolean | string;
|
|
1569
1587
|
private constructor();
|
|
1570
1588
|
}
|
|
1571
1589
|
/**
|
|
@@ -1574,9 +1592,9 @@ export declare class PnpmWorkspaceYamlSchemaLinkWorkspacePackages {
|
|
|
1574
1592
|
* @schema PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol
|
|
1575
1593
|
*/
|
|
1576
1594
|
export declare class PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol {
|
|
1577
|
-
readonly value: boolean | string;
|
|
1578
1595
|
static fromBoolean(value: boolean): PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol;
|
|
1579
1596
|
static fromString(value: string): PnpmWorkspaceYamlSchemaSaveWorkspaceProtocol;
|
|
1597
|
+
readonly value: boolean | string;
|
|
1580
1598
|
private constructor();
|
|
1581
1599
|
}
|
|
1582
1600
|
/**
|