@pnpm/building.commands 1100.1.2 → 1100.1.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.
@@ -1,6 +1,6 @@
1
1
  import { checkbox, confirm } from '@inquirer/prompts';
2
+ import { allowBuildKeyFromIgnoredBuild } from '@pnpm/building.policy';
2
3
  import { writeSettings } from '@pnpm/config.writer';
3
- import { parse } from '@pnpm/deps.path';
4
4
  import { PnpmError } from '@pnpm/error';
5
5
  import { install } from '@pnpm/installing.commands';
6
6
  import { writeModulesManifest } from '@pnpm/installing.modules-yaml';
@@ -164,7 +164,7 @@ export async function handler(opts, params = [], commands) {
164
164
  if (params.length) {
165
165
  const decided = new Set([...approved, ...denied]);
166
166
  for (const depPath of Array.from(modulesManifest.ignoredBuilds)) {
167
- const name = parse(depPath).name ?? depPath;
167
+ const name = allowBuildKeyFromIgnoredBuild(depPath);
168
168
  if (decided.has(name)) {
169
169
  modulesManifest.ignoredBuilds.delete(depPath);
170
170
  }
@@ -1,5 +1,5 @@
1
1
  import path from 'node:path';
2
- import { parse } from '@pnpm/deps.path';
2
+ import { allowBuildKeyFromIgnoredBuild } from '@pnpm/building.policy';
3
3
  import { readModulesManifest } from '@pnpm/installing.modules-yaml';
4
4
  export async function getAutomaticallyIgnoredBuilds(opts) {
5
5
  const modulesDir = getModulesDir(opts);
@@ -8,7 +8,7 @@ export async function getAutomaticallyIgnoredBuilds(opts) {
8
8
  if (modulesManifest?.ignoredBuilds) {
9
9
  const ignoredPkgNames = new Set();
10
10
  for (const depPath of modulesManifest.ignoredBuilds) {
11
- ignoredPkgNames.add(parse(depPath).name ?? depPath);
11
+ ignoredPkgNames.add(allowBuildKeyFromIgnoredBuild(depPath));
12
12
  }
13
13
  automaticallyIgnoredBuilds = Array.from(ignoredPkgNames);
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/building.commands",
3
- "version": "1100.1.2",
3
+ "version": "1100.1.4",
4
4
  "description": "Commands for rebuilding and managing dependency builds",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -34,20 +34,21 @@
34
34
  "p-limit": "^7.3.0",
35
35
  "ramda": "npm:@pnpm/ramda@0.28.1",
36
36
  "render-help": "^2.0.0",
37
+ "@pnpm/building.after-install": "1101.0.21",
38
+ "@pnpm/building.policy": "1100.0.9",
39
+ "@pnpm/cli.common-cli-options-help": "1100.0.2",
37
40
  "@pnpm/cli.command": "1100.0.1",
38
- "@pnpm/building.after-install": "1101.0.19",
39
- "@pnpm/config.reader": "1101.6.0",
40
- "@pnpm/config.writer": "1100.0.11",
41
- "@pnpm/cli.utils": "1101.0.9",
42
- "@pnpm/cli.common-cli-options-help": "1100.0.1",
43
- "@pnpm/installing.commands": "1100.7.2",
44
- "@pnpm/deps.path": "1100.0.6",
45
- "@pnpm/installing.modules-yaml": "1100.0.7",
41
+ "@pnpm/cli.utils": "1101.0.11",
42
+ "@pnpm/config.reader": "1101.8.0",
43
+ "@pnpm/config.writer": "1100.0.12",
44
+ "@pnpm/deps.path": "1100.0.7",
46
45
  "@pnpm/error": "1100.0.0",
46
+ "@pnpm/installing.commands": "1100.8.0",
47
+ "@pnpm/installing.modules-yaml": "1100.0.8",
47
48
  "@pnpm/prepare-temp-dir": "1100.0.0",
48
- "@pnpm/types": "1101.3.0",
49
- "@pnpm/workspace.projects-sorter": "1100.0.5",
50
- "@pnpm/store.connection-manager": "1100.2.6"
49
+ "@pnpm/store.connection-manager": "1100.2.8",
50
+ "@pnpm/workspace.projects-sorter": "1100.0.6",
51
+ "@pnpm/types": "1101.3.1"
51
52
  },
52
53
  "peerDependencies": {
53
54
  "@pnpm/logger": "^1001.0.1"
@@ -60,19 +61,19 @@
60
61
  "read-yaml-file": "^3.0.0",
61
62
  "write-package": "7.2.0",
62
63
  "write-yaml-file": "^6.0.0",
63
- "@pnpm/building.commands": "1100.1.2",
64
- "@pnpm/assert-project": "1100.0.13",
65
- "@pnpm/crypto.object-hasher": "1100.0.0",
64
+ "@pnpm/assert-project": "1100.0.15",
65
+ "@pnpm/building.commands": "1100.1.4",
66
66
  "@pnpm/constants": "1100.0.0",
67
- "@pnpm/prepare": "1100.0.13",
68
- "@pnpm/store.index": "1100.1.0",
67
+ "@pnpm/crypto.object-hasher": "1100.0.0",
68
+ "@pnpm/prepare": "1100.0.15",
69
+ "@pnpm/store.cafs": "1100.1.9",
69
70
  "@pnpm/logger": "1100.0.0",
70
- "@pnpm/test-ipc-server": "1100.0.0",
71
+ "@pnpm/store.index": "1100.1.0",
71
72
  "@pnpm/test-fixtures": "1100.0.0",
72
- "@pnpm/testing.registry-mock": "1100.0.3",
73
- "@pnpm/testing.command-defaults": "1100.0.3",
74
- "@pnpm/store.cafs": "1100.1.8",
75
- "@pnpm/workspace.projects-filter": "1100.0.18"
73
+ "@pnpm/test-ipc-server": "1100.0.0",
74
+ "@pnpm/testing.registry-mock": "1100.0.5",
75
+ "@pnpm/testing.command-defaults": "1100.0.5",
76
+ "@pnpm/workspace.projects-filter": "1100.0.20"
76
77
  },
77
78
  "engines": {
78
79
  "node": ">=22.13"