@rushstack/rush-sdk
Advanced tools
Comparing version 5.132.0 to 5.133.0
@@ -94,2 +94,3 @@ import { type PackageNameParser } from '@rushstack/node-core-library'; | ||
suppressNodeLtsWarning?: boolean; | ||
suppressRushIsPublicVersionCheck?: boolean; | ||
projectFolderMinDepth?: number; | ||
@@ -96,0 +97,0 @@ projectFolderMaxDepth?: number; |
@@ -90,4 +90,8 @@ import type { ITerminal } from '@rushstack/terminal'; | ||
*/ | ||
beforeInstallAsync?: () => Promise<void>; | ||
beforeInstallAsync?: (subspace: Subspace) => Promise<void>; | ||
/** | ||
* Callback to invoke after a successful installation. | ||
*/ | ||
afterInstallAsync?: (subspace: Subspace) => Promise<void>; | ||
/** | ||
* The specific subspace to install. | ||
@@ -94,0 +98,0 @@ */ |
@@ -26,5 +26,7 @@ import { type ITerminal } from '@rushstack/terminal'; | ||
resolution?: { | ||
/** The directory this package should clone, for injected dependencies */ | ||
directory?: string; | ||
/** The hash of the tarball, to ensure archive integrity */ | ||
integrity: string; | ||
/** The name of the tarball, if this was from a TGX file */ | ||
integrity?: string; | ||
/** The name of the tarball, if this was from a TGZ file */ | ||
tarball?: string; | ||
@@ -43,2 +45,12 @@ }; | ||
peerDependenciesMeta?: Record<string, IPeerDependenciesMetaYaml>; | ||
/** The name of the package, if the package is a local tarball */ | ||
name?: string; | ||
/** If this is an optional dependency */ | ||
optional?: boolean; | ||
/** The values of process.platform supported by this package */ | ||
os?: readonly string[]; | ||
/** The values of process.arch supported by this package */ | ||
cpu?: readonly string[]; | ||
/** The libc runtimes supported by this package */ | ||
libc?: readonly string[]; | ||
} | ||
@@ -45,0 +57,0 @@ export interface IPnpmShrinkwrapImporterYaml { |
import { AsyncParallelHook, AsyncSeriesHook, HookMap } from 'tapable'; | ||
import type { ITelemetryData } from '../logic/Telemetry'; | ||
import type { PhasedCommandHooks } from './PhasedCommandHooks'; | ||
import type { Subspace } from '../api/Subspace'; | ||
/** | ||
@@ -60,4 +61,8 @@ * Information about the currently executing command provided to plugins. | ||
*/ | ||
readonly beforeInstall: AsyncSeriesHook<IGlobalCommand>; | ||
readonly beforeInstall: AsyncSeriesHook<[IGlobalCommand, Subspace]>; | ||
/** | ||
* The hook to run after a successful install. | ||
*/ | ||
readonly afterInstall: AsyncSeriesHook<[IRushCommand, Subspace]>; | ||
/** | ||
* A hook to allow plugins to hook custom logic to process telemetry data. | ||
@@ -64,0 +69,0 @@ */ |
{ | ||
"name": "@rushstack/rush-sdk", | ||
"version": "5.132.0", | ||
"version": "5.133.0", | ||
"description": "An API for interacting with the Rush engine", | ||
@@ -39,4 +39,4 @@ "repository": { | ||
"@rushstack/lookup-by-path": "0.1.2", | ||
"@rushstack/terminal": "0.14.0", | ||
"@rushstack/node-core-library": "5.7.0" | ||
"@rushstack/node-core-library": "5.7.0", | ||
"@rushstack/terminal": "0.14.0" | ||
}, | ||
@@ -47,9 +47,9 @@ "devDependencies": { | ||
"webpack": "~5.82.1", | ||
"@microsoft/rush-lib": "5.132.0", | ||
"@microsoft/rush-lib": "5.133.0", | ||
"@rushstack/heft-webpack5-plugin": "0.10.9", | ||
"@rushstack/heft": "0.67.0", | ||
"@rushstack/ts-command-line": "4.22.6", | ||
"local-node-rig": "1.0.0", | ||
"@rushstack/heft-webpack5-plugin": "0.10.9", | ||
"@rushstack/ts-command-line": "4.22.6", | ||
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.64", | ||
"@rushstack/stream-collator": "4.1.65" | ||
"@rushstack/stream-collator": "4.1.65", | ||
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.64" | ||
}, | ||
@@ -56,0 +56,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
873015
407
17142