@rushstack/rush-sdk 5.141.3 → 5.142.0

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.
@@ -3118,7 +3118,6 @@ export declare class PhasedCommandHooks {
3118
3118
  * @public
3119
3119
  */
3120
3120
  export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
3121
- private static _jsonSchema;
3122
3121
  private readonly _json;
3123
3122
  private _globalPatchedDependencies;
3124
3123
  /**
@@ -3276,6 +3275,8 @@ export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfi
3276
3275
  * dependencies. The settings are copied into the pnpm.ignoredOptionalDependencies field of the common/temp/package.json
3277
3276
  * file that is generated by Rush during installation.
3278
3277
  *
3278
+ * (SUPPORTED ONLY IN PNPM 9.0.0 AND NEWER)
3279
+ *
3279
3280
  * PNPM documentation: https://pnpm.io/package_json#pnpmignoredoptionaldependencies
3280
3281
  */
3281
3282
  readonly globalIgnoredOptionalDependencies: string[] | undefined;
@@ -4743,7 +4744,6 @@ export declare class Subspace {
4743
4744
  * - Lockfiles: (i.e. - `pnpm-lock.yaml`, `npm-shrinkwrap.json`, `yarn.lock`, etc)
4744
4745
  * - 'common-versions.json'
4745
4746
  * - 'pnpmfile.js'/'.pnpmfile.cjs'
4746
- * - 'pnpm-config.js'
4747
4747
  */
4748
4748
  getVariantDependentSubspaceConfigFolderPath(variant: string | undefined): string;
4749
4749
  /**
@@ -4808,7 +4808,7 @@ export declare class Subspace {
4808
4808
  * Example: `C:\MyRepo\common\subspaces\my-subspace\pnpm-config.json`
4809
4809
  * @beta
4810
4810
  */
4811
- getPnpmConfigFilePath(variant?: string): string;
4811
+ getPnpmConfigFilePath(): string;
4812
4812
  /**
4813
4813
  * Gets the settings from the common-versions.json config file.
4814
4814
  * @beta
@@ -49,7 +49,6 @@ export declare class Subspace {
49
49
  * - Lockfiles: (i.e. - `pnpm-lock.yaml`, `npm-shrinkwrap.json`, `yarn.lock`, etc)
50
50
  * - 'common-versions.json'
51
51
  * - 'pnpmfile.js'/'.pnpmfile.cjs'
52
- * - 'pnpm-config.js'
53
52
  */
54
53
  getVariantDependentSubspaceConfigFolderPath(variant: string | undefined): string;
55
54
  /**
@@ -114,7 +113,7 @@ export declare class Subspace {
114
113
  * Example: `C:\MyRepo\common\subspaces\my-subspace\pnpm-config.json`
115
114
  * @beta
116
115
  */
117
- getPnpmConfigFilePath(variant?: string): string;
116
+ getPnpmConfigFilePath(): string;
118
117
  /**
119
118
  * Gets the settings from the common-versions.json config file.
120
119
  * @beta
@@ -1,9 +1,10 @@
1
1
  /// <reference types="node" />
2
+ import { type ITerminal } from '@rushstack/terminal';
2
3
  import type { RushConfiguration } from '../../api/RushConfiguration';
3
4
  import type { RushGlobalFolder } from '../../api/RushGlobalFolder';
4
5
  import type { Subspace } from '../../api/Subspace';
5
6
  export declare class InstallHelpers {
6
- static generateCommonPackageJson(rushConfiguration: RushConfiguration, subspace: Subspace, dependencies?: Map<string, string>): void;
7
+ static generateCommonPackageJson(rushConfiguration: RushConfiguration, subspace: Subspace, dependencies: Map<string, string> | undefined, terminal: ITerminal): void;
7
8
  static getPackageManagerEnvironment(rushConfiguration: RushConfiguration, options?: {
8
9
  debug?: boolean;
9
10
  }): NodeJS.ProcessEnv;
@@ -142,7 +142,6 @@ export interface IPnpmOptionsJson extends IPackageManagerOptionsJsonBase {
142
142
  * @public
143
143
  */
144
144
  export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
145
- private static _jsonSchema;
146
145
  private readonly _json;
147
146
  private _globalPatchedDependencies;
148
147
  /**
@@ -300,6 +299,8 @@ export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfi
300
299
  * dependencies. The settings are copied into the pnpm.ignoredOptionalDependencies field of the common/temp/package.json
301
300
  * file that is generated by Rush during installation.
302
301
  *
302
+ * (SUPPORTED ONLY IN PNPM 9.0.0 AND NEWER)
303
+ *
303
304
  * PNPM documentation: https://pnpm.io/package_json#pnpmignoredoptionaldependencies
304
305
  */
305
306
  readonly globalIgnoredOptionalDependencies: string[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.141.3",
3
+ "version": "5.142.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,22 +35,22 @@
35
35
  "dependencies": {
36
36
  "@types/node-fetch": "2.6.2",
37
37
  "tapable": "2.2.1",
38
+ "@rushstack/lookup-by-path": "0.4.5",
38
39
  "@rushstack/node-core-library": "5.10.0",
39
- "@rushstack/lookup-by-path": "0.4.4",
40
- "@rushstack/package-deps-hash": "4.2.9",
40
+ "@rushstack/package-deps-hash": "4.2.10",
41
41
  "@rushstack/terminal": "0.14.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/semver": "7.5.0",
45
45
  "@types/webpack-env": "1.18.0",
46
46
  "webpack": "~5.95.0",
47
- "@rushstack/heft": "0.68.8",
48
- "@rushstack/heft-webpack5-plugin": "0.11.6",
49
- "@microsoft/rush-lib": "5.141.3",
50
- "local-node-rig": "1.0.0",
51
- "@rushstack/stream-collator": "4.1.76",
47
+ "@rushstack/heft": "0.68.9",
48
+ "@rushstack/heft-webpack5-plugin": "0.11.7",
49
+ "@rushstack/stream-collator": "4.1.77",
50
+ "@microsoft/rush-lib": "5.142.0",
51
+ "@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.76",
52
52
  "@rushstack/ts-command-line": "4.23.1",
53
- "@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.75"
53
+ "local-node-rig": "1.0.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "heft build --clean",