@pnpm/building.commands 1100.0.2 → 1100.0.4

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.
@@ -4,6 +4,13 @@ import { type RebuildCommandOpts } from '../build/index.js';
4
4
  export type ApproveBuildsCommandOpts = Pick<Config, 'modulesDir' | 'dir' | 'allowBuilds' | 'enableGlobalVirtualStore'> & Pick<ConfigContext, 'rootProjectManifest' | 'rootProjectManifestDir'> & {
5
5
  all?: boolean;
6
6
  global?: boolean;
7
+ /**
8
+ * When set, overrides the target directory for writeSettings.
9
+ * Used by the global-install flow to point allowBuilds updates at the
10
+ * global pnpm-workspace.yaml while keeping workspaceDir unset so the
11
+ * install itself targets only the single install directory.
12
+ */
13
+ settingsDir?: string;
7
14
  };
8
15
  export declare const commandNames: string[];
9
16
  export declare const recursiveByDefault = true;
@@ -160,7 +160,7 @@ Do you approve?`,
160
160
  }
161
161
  await writeSettings({
162
162
  ...opts,
163
- workspaceDir: opts.workspaceDir ?? opts.rootProjectManifestDir,
163
+ workspaceDir: opts.settingsDir ?? opts.workspaceDir ?? opts.rootProjectManifestDir,
164
164
  updatedSettings: { allowBuilds },
165
165
  });
166
166
  if (modulesManifest?.ignoredBuilds) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/building.commands",
3
- "version": "1100.0.2",
3
+ "version": "1100.0.4",
4
4
  "description": "Commands for rebuilding and managing dependency builds",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -31,20 +31,20 @@
31
31
  "p-limit": "^7.1.0",
32
32
  "ramda": "npm:@pnpm/ramda@0.28.1",
33
33
  "render-help": "^2.0.0",
34
+ "@pnpm/building.after-install": "1101.0.0",
34
35
  "@pnpm/cli.command": "1100.0.0",
35
- "@pnpm/building.after-install": "1100.0.2",
36
- "@pnpm/cli.common-cli-options-help": "1100.0.0",
37
36
  "@pnpm/cli.utils": "1101.0.0",
38
- "@pnpm/config.writer": "1100.0.1",
39
- "@pnpm/config.reader": "1101.0.0",
40
- "@pnpm/error": "1100.0.0",
37
+ "@pnpm/config.writer": "1100.0.2",
38
+ "@pnpm/config.reader": "1101.1.1",
39
+ "@pnpm/cli.common-cli-options-help": "1100.0.0",
41
40
  "@pnpm/deps.path": "1100.0.1",
42
- "@pnpm/installing.commands": "1100.1.0",
43
41
  "@pnpm/installing.modules-yaml": "1100.0.1",
42
+ "@pnpm/error": "1100.0.0",
44
43
  "@pnpm/prepare-temp-dir": "1100.0.0",
45
- "@pnpm/store.connection-manager": "1100.0.2",
46
- "@pnpm/workspace.projects-sorter": "1100.0.1",
47
- "@pnpm/types": "1101.0.0"
44
+ "@pnpm/store.connection-manager": "1100.0.4",
45
+ "@pnpm/installing.commands": "1100.1.2",
46
+ "@pnpm/types": "1101.0.0",
47
+ "@pnpm/workspace.projects-sorter": "1100.0.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@pnpm/logger": ">=1001.0.0 <1002.0.0"
@@ -58,18 +58,18 @@
58
58
  "read-yaml-file": "^3.0.0",
59
59
  "write-package": "7.2.0",
60
60
  "write-yaml-file": "^6.0.0",
61
- "@pnpm/assert-project": "1100.0.1",
62
61
  "@pnpm/constants": "1100.0.0",
62
+ "@pnpm/building.commands": "1100.0.4",
63
63
  "@pnpm/crypto.object-hasher": "1100.0.0",
64
- "@pnpm/building.commands": "1100.0.2",
64
+ "@pnpm/assert-project": "1100.0.3",
65
65
  "@pnpm/logger": "1100.0.0",
66
- "@pnpm/prepare": "1100.0.1",
67
- "@pnpm/store.cafs": "1100.0.1",
66
+ "@pnpm/store.cafs": "1100.1.0",
67
+ "@pnpm/prepare": "1100.0.3",
68
68
  "@pnpm/store.index": "1100.0.0",
69
- "@pnpm/test-ipc-server": "1100.0.0",
70
- "@pnpm/testing.command-defaults": "1100.0.0",
71
69
  "@pnpm/test-fixtures": "1100.0.0",
72
- "@pnpm/workspace.projects-filter": "1100.0.2"
70
+ "@pnpm/test-ipc-server": "1100.0.0",
71
+ "@pnpm/workspace.projects-filter": "1100.0.4",
72
+ "@pnpm/testing.command-defaults": "1100.0.1"
73
73
  },
74
74
  "engines": {
75
75
  "node": ">=22.13"