@pnpm/building.commands 1100.1.2 → 1100.1.3
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 =
|
|
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 {
|
|
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(
|
|
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.
|
|
3
|
+
"version": "1100.1.3",
|
|
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/
|
|
38
|
-
"@pnpm/
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/
|
|
43
|
-
"@pnpm/installing.commands": "1100.7.2",
|
|
44
|
-
"@pnpm/deps.path": "1100.0.6",
|
|
45
|
-
"@pnpm/installing.modules-yaml": "1100.0.7",
|
|
37
|
+
"@pnpm/building.after-install": "1101.0.20",
|
|
38
|
+
"@pnpm/cli.common-cli-options-help": "1100.0.2",
|
|
39
|
+
"@pnpm/building.policy": "1100.0.9",
|
|
40
|
+
"@pnpm/cli.utils": "1101.0.10",
|
|
41
|
+
"@pnpm/config.reader": "1101.7.0",
|
|
42
|
+
"@pnpm/deps.path": "1100.0.7",
|
|
46
43
|
"@pnpm/error": "1100.0.0",
|
|
47
|
-
"@pnpm/
|
|
48
|
-
"@pnpm/
|
|
49
|
-
"@pnpm/
|
|
50
|
-
"@pnpm/store.connection-manager": "1100.2.
|
|
44
|
+
"@pnpm/installing.commands": "1100.7.3",
|
|
45
|
+
"@pnpm/cli.command": "1100.0.1",
|
|
46
|
+
"@pnpm/config.writer": "1100.0.12",
|
|
47
|
+
"@pnpm/store.connection-manager": "1100.2.7",
|
|
48
|
+
"@pnpm/workspace.projects-sorter": "1100.0.6",
|
|
49
|
+
"@pnpm/types": "1101.3.1",
|
|
50
|
+
"@pnpm/installing.modules-yaml": "1100.0.8",
|
|
51
|
+
"@pnpm/prepare-temp-dir": "1100.0.0"
|
|
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.
|
|
64
|
-
"@pnpm/assert-project": "1100.0.
|
|
64
|
+
"@pnpm/building.commands": "1100.1.3",
|
|
65
|
+
"@pnpm/assert-project": "1100.0.14",
|
|
65
66
|
"@pnpm/crypto.object-hasher": "1100.0.0",
|
|
66
|
-
"@pnpm/
|
|
67
|
-
"@pnpm/prepare": "1100.0.13",
|
|
68
|
-
"@pnpm/store.index": "1100.1.0",
|
|
67
|
+
"@pnpm/prepare": "1100.0.14",
|
|
69
68
|
"@pnpm/logger": "1100.0.0",
|
|
70
69
|
"@pnpm/test-ipc-server": "1100.0.0",
|
|
70
|
+
"@pnpm/testing.command-defaults": "1100.0.4",
|
|
71
|
+
"@pnpm/store.index": "1100.1.0",
|
|
72
|
+
"@pnpm/store.cafs": "1100.1.9",
|
|
73
|
+
"@pnpm/testing.registry-mock": "1100.0.4",
|
|
74
|
+
"@pnpm/workspace.projects-filter": "1100.0.19",
|
|
71
75
|
"@pnpm/test-fixtures": "1100.0.0",
|
|
72
|
-
"@pnpm/
|
|
73
|
-
"@pnpm/testing.command-defaults": "1100.0.3",
|
|
74
|
-
"@pnpm/store.cafs": "1100.1.8",
|
|
75
|
-
"@pnpm/workspace.projects-filter": "1100.0.18"
|
|
76
|
+
"@pnpm/constants": "1100.0.0"
|
|
76
77
|
},
|
|
77
78
|
"engines": {
|
|
78
79
|
"node": ">=22.13"
|