@rushstack/rush-sdk 5.123.1 → 5.124.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.
@@ -1995,6 +1995,10 @@ export declare interface _IPnpmOptionsJson extends IPackageManagerOptionsJsonBas
1995
1995
  * {@inheritDoc PnpmOptionsConfiguration.autoInstallPeers}
1996
1996
  */
1997
1997
  autoInstallPeers?: boolean;
1998
+ /**
1999
+ * {@inheritDoc PnpmOptionsConfiguration.alwaysInjectDependenciesFromOtherSubspaces}
2000
+ */
2001
+ alwaysInjectDependenciesFromOtherSubspaces?: boolean;
1998
2002
  /**
1999
2003
  * {@inheritDoc PnpmOptionsConfiguration.alwaysFullInstall}
2000
2004
  */
@@ -3112,6 +3116,17 @@ export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfi
3112
3116
  * The default value is same as PNPM default value. (In PNPM 8.x, this value is true)
3113
3117
  */
3114
3118
  readonly autoInstallPeers: boolean | undefined;
3119
+ /**
3120
+ * If true, then `rush update` add injected install options for all cross-subspace
3121
+ * workspace dependencies, to avoid subspace doppelganger issue.
3122
+ *
3123
+ * Here, the injected install refers to PNPM's PNPM's "injected dependencies"
3124
+ * feature. Learn more: https://pnpm.io/package_json#dependenciesmeta
3125
+ *
3126
+ * @remarks
3127
+ * The default value is false.
3128
+ */
3129
+ readonly alwaysInjectDependenciesFromOtherSubspaces: boolean | undefined;
3115
3130
  /**
3116
3131
  * The "globalOverrides" setting provides a simple mechanism for overriding version selections
3117
3132
  * for all dependencies of all projects in the monorepo workspace. The settings are copied
@@ -48,6 +48,10 @@ export interface ILastInstallFlagJson {
48
48
  * It is undefined when full install
49
49
  */
50
50
  selectedProjectNames?: string[];
51
+ /**
52
+ * pnpm-sync-lib version
53
+ */
54
+ pnpmSync?: string;
51
55
  }
52
56
  interface ILockfileValidityCheckOptions {
53
57
  statePropertiesToIgnore?: (keyof ILastInstallFlagJson)[];
@@ -9,7 +9,7 @@ import type { OperationExecutionRecord } from './OperationExecutionRecord';
9
9
  */
10
10
  export declare const UNASSIGNED_OPERATION: 'UNASSIGNED_OPERATION';
11
11
  export type IOperationIteratorResult = OperationExecutionRecord | {
12
- weight: 0;
12
+ weight: 1;
13
13
  status: typeof UNASSIGNED_OPERATION;
14
14
  };
15
15
  /**
@@ -113,6 +113,10 @@ export interface IPnpmOptionsJson extends IPackageManagerOptionsJsonBase {
113
113
  * {@inheritDoc PnpmOptionsConfiguration.autoInstallPeers}
114
114
  */
115
115
  autoInstallPeers?: boolean;
116
+ /**
117
+ * {@inheritDoc PnpmOptionsConfiguration.alwaysInjectDependenciesFromOtherSubspaces}
118
+ */
119
+ alwaysInjectDependenciesFromOtherSubspaces?: boolean;
116
120
  /**
117
121
  * {@inheritDoc PnpmOptionsConfiguration.alwaysFullInstall}
118
122
  */
@@ -221,6 +225,17 @@ export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfi
221
225
  * The default value is same as PNPM default value. (In PNPM 8.x, this value is true)
222
226
  */
223
227
  readonly autoInstallPeers: boolean | undefined;
228
+ /**
229
+ * If true, then `rush update` add injected install options for all cross-subspace
230
+ * workspace dependencies, to avoid subspace doppelganger issue.
231
+ *
232
+ * Here, the injected install refers to PNPM's PNPM's "injected dependencies"
233
+ * feature. Learn more: https://pnpm.io/package_json#dependenciesmeta
234
+ *
235
+ * @remarks
236
+ * The default value is false.
237
+ */
238
+ readonly alwaysInjectDependenciesFromOtherSubspaces: boolean | undefined;
224
239
  /**
225
240
  * The "globalOverrides" setting provides a simple mechanism for overriding version selections
226
241
  * for all dependencies of all projects in the monorepo workspace. The settings are copied
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.123.1",
3
+ "version": "5.124.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,11 +31,11 @@
31
31
  "devDependencies": {
32
32
  "@types/semver": "7.5.0",
33
33
  "@types/webpack-env": "1.18.0",
34
- "@microsoft/rush-lib": "5.123.1",
34
+ "@microsoft/rush-lib": "5.124.0",
35
35
  "local-node-rig": "1.0.0",
36
- "@rushstack/ts-command-line": "4.19.3",
37
- "@rushstack/stream-collator": "4.1.42",
38
- "@rushstack/heft": "0.66.4"
36
+ "@rushstack/ts-command-line": "4.19.4",
37
+ "@rushstack/stream-collator": "4.1.43",
38
+ "@rushstack/heft": "0.66.5"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "heft build --clean",