@rushstack/rush-sdk
Advanced tools
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
| "packageName": "@microsoft/api-extractor", | ||
| "packageVersion": "7.58.6" | ||
| "packageVersion": "7.58.8" | ||
| } | ||
| ] | ||
| } |
@@ -37,3 +37,3 @@ import type { RushConfiguration } from './RushConfiguration'; | ||
| * Gets the current time, formatted as YYYY-MM-DD-HH-MM | ||
| * Optionally will include seconds | ||
| * When useSeconds is true, the seconds are appended as well: YYYY-MM-DD-HH-MM-SS | ||
| */ | ||
@@ -40,0 +40,0 @@ private _getTimestamp; |
@@ -111,2 +111,6 @@ import { type IPackageManagerOptionsJsonBase, PackageManagerOptionsConfigurationBase } from '../base/BasePackageManagerOptionsConfiguration'; | ||
| /** | ||
| * {@inheritDoc PnpmOptionsConfiguration.globalAllowBuilds} | ||
| */ | ||
| globalAllowBuilds?: Record<string, boolean>; | ||
| /** | ||
| * {@inheritDoc PnpmOptionsConfiguration.globalIgnoredOptionalDependencies} | ||
@@ -407,3 +411,3 @@ */ | ||
| * | ||
| * (SUPPORTED ONLY IN PNPM 10.1.0 AND NEWER) | ||
| * (SUPPORTED ONLY IN PNPM 10.1.0 AND NEWER; replaced by `globalAllowBuilds` in PNPM 11.0.0) | ||
| * | ||
@@ -414,2 +418,15 @@ * PNPM documentation: https://pnpm.io/package_json#pnpmonlybuiltdependencies | ||
| /** | ||
| * The `globalAllowBuilds` setting controls which packages are allowed to run build scripts | ||
| * (`preinstall`, `install`, and `postinstall` lifecycle events). A value of `true` means the | ||
| * package is allowed to run build scripts; `false` means it is explicitly denied. | ||
| * Packages with build scripts not listed here will cause pnpm to fail with ERR_PNPM_IGNORED_BUILDS. | ||
| * The settings are written to the `allowBuilds` field of the `pnpm-workspace.yaml` file | ||
| * that is generated by Rush during installation. | ||
| * | ||
| * (SUPPORTED ONLY IN PNPM 11.0.0 AND NEWER) | ||
| * | ||
| * PNPM documentation: https://pnpm.io/settings#allowbuilds | ||
| */ | ||
| readonly globalAllowBuilds: Record<string, boolean> | undefined; | ||
| /** | ||
| * The ignoredOptionalDependencies setting allows you to exclude certain optional dependencies from being installed | ||
@@ -499,3 +516,7 @@ * during the Rush installation process. This can be useful when optional dependencies are not required or are | ||
| updateGlobalOnlyBuiltDependencies(onlyBuiltDependencies: string[] | undefined): void; | ||
| /** | ||
| * Updates globalAllowBuilds field of the PNPM options in the common/config/rush/pnpm-config.json file. | ||
| */ | ||
| updateGlobalAllowBuilds(allowBuilds: Record<string, boolean> | undefined): void; | ||
| } | ||
| //# sourceMappingURL=PnpmOptionsConfiguration.d.ts.map |
@@ -9,2 +9,3 @@ import { BaseWorkspaceFile } from '../base/BaseWorkspaceFile'; | ||
| private _catalogs; | ||
| private _allowBuilds; | ||
| /** | ||
@@ -20,2 +21,8 @@ * The PNPM workspace file is used to specify the location of workspaces relative to the root | ||
| setCatalogs(catalogs: Record<string, Record<string, string>> | undefined): void; | ||
| /** | ||
| * Sets the allowBuilds definitions for the workspace. | ||
| * This controls which packages are allowed to run build scripts in pnpm 11+. | ||
| * @param allowBuilds - A map of package name to boolean (true = allowed, false = denied) | ||
| */ | ||
| setAllowBuilds(allowBuilds: Record<string, boolean> | undefined): void; | ||
| /** @override */ | ||
@@ -22,0 +29,0 @@ addPackage(packagePath: string): void; |
+9
-9
| { | ||
| "name": "@rushstack/rush-sdk", | ||
| "version": "5.175.1", | ||
| "version": "5.176.0", | ||
| "description": "An API for interacting with the Rush engine", | ||
@@ -42,6 +42,6 @@ "repository": { | ||
| "tapable": "2.2.1", | ||
| "@rushstack/credential-cache": "0.2.17", | ||
| "@rushstack/lookup-by-path": "0.10.6", | ||
| "@rushstack/credential-cache": "0.2.18", | ||
| "@rushstack/lookup-by-path": "0.10.7", | ||
| "@rushstack/package-deps-hash": "4.7.19", | ||
| "@rushstack/node-core-library": "5.23.1", | ||
| "@rushstack/package-deps-hash": "4.7.17", | ||
| "@rushstack/terminal": "0.24.0" | ||
@@ -54,9 +54,9 @@ }, | ||
| "webpack": "~5.105.2", | ||
| "@microsoft/rush-lib": "5.175.1", | ||
| "@rushstack/heft": "1.2.17", | ||
| "@rushstack/heft-webpack5-plugin": "1.3.18", | ||
| "@microsoft/rush-lib": "5.176.0", | ||
| "@rushstack/heft": "1.2.18", | ||
| "@rushstack/stream-collator": "4.2.18", | ||
| "@rushstack/heft-webpack5-plugin": "1.3.19", | ||
| "@rushstack/ts-command-line": "5.3.9", | ||
| "local-node-rig": "1.0.0", | ||
| "@rushstack/stream-collator": "4.2.17", | ||
| "@rushstack/webpack-preserve-dynamic-require-plugin": "0.12.18" | ||
| "@rushstack/webpack-preserve-dynamic-require-plugin": "0.12.19" | ||
| }, | ||
@@ -63,0 +63,0 @@ "sideEffects": false, |
Sorry, the diff of this file is too big to display
958983
0.28%20047
0.25%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed