@pnpm/exec.build-commands 1001.0.37 → 1002.0.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.
|
@@ -5,12 +5,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getAutomaticallyIgnoredBuilds = getAutomaticallyIgnoredBuilds;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const dependency_path_1 = require("@pnpm/dependency-path");
|
|
8
9
|
const modules_yaml_1 = require("@pnpm/modules-yaml");
|
|
9
10
|
async function getAutomaticallyIgnoredBuilds(opts) {
|
|
10
11
|
const modulesDir = getModulesDir(opts);
|
|
11
12
|
const modulesManifest = await (0, modules_yaml_1.readModulesManifest)(modulesDir);
|
|
13
|
+
let automaticallyIgnoredBuilds;
|
|
14
|
+
if (modulesManifest?.ignoredBuilds) {
|
|
15
|
+
const ignoredPkgNames = new Set();
|
|
16
|
+
for (const depPath of modulesManifest?.ignoredBuilds) {
|
|
17
|
+
ignoredPkgNames.add((0, dependency_path_1.parse)(depPath).name ?? depPath);
|
|
18
|
+
}
|
|
19
|
+
automaticallyIgnoredBuilds = Array.from(ignoredPkgNames);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
automaticallyIgnoredBuilds = null;
|
|
23
|
+
}
|
|
12
24
|
return {
|
|
13
|
-
automaticallyIgnoredBuilds
|
|
25
|
+
automaticallyIgnoredBuilds,
|
|
14
26
|
modulesDir,
|
|
15
27
|
modulesManifest,
|
|
16
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutomaticallyIgnoredBuilds.js","sourceRoot":"","sources":["../src/getAutomaticallyIgnoredBuilds.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getAutomaticallyIgnoredBuilds.js","sourceRoot":"","sources":["../src/getAutomaticallyIgnoredBuilds.ts"],"names":[],"mappings":";;;;;AAWA,sEAkBC;AA7BD,gDAAuB;AACvB,2DAA6C;AAC7C,qDAAsE;AAS/D,KAAK,UAAU,6BAA6B,CAAE,IAA8B;IACjF,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,CAAA;IACtC,MAAM,eAAe,GAAG,MAAM,IAAA,kCAAmB,EAAC,UAAU,CAAC,CAAA;IAC7D,IAAI,0BAA2C,CAAA;IAC/C,IAAI,eAAe,EAAE,aAAa,EAAE,CAAC;QACnC,MAAM,eAAe,GAAG,IAAI,GAAG,EAAU,CAAA;QACzC,KAAK,MAAM,OAAO,IAAI,eAAe,EAAE,aAAa,EAAE,CAAC;YACrD,eAAe,CAAC,GAAG,CAAC,IAAA,uBAAK,EAAC,OAAO,CAAC,CAAC,IAAI,IAAI,OAAO,CAAC,CAAA;QACrD,CAAC;QACD,0BAA0B,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;IAC1D,CAAC;SAAM,CAAC;QACN,0BAA0B,GAAG,IAAI,CAAA;IACnC,CAAC;IACD,OAAO;QACL,0BAA0B;QAC1B,UAAU;QACV,eAAe;KAChB,CAAA;AACH,CAAC;AAED,SAAS,aAAa,CAAE,IAA8B;IACpD,OAAO,IAAI,CAAC,UAAU,IAAI,cAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAAA;AACnF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/exec.build-commands",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1002.0.0",
|
|
4
4
|
"description": "Commands for managing dependency builds",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -29,11 +29,12 @@
|
|
|
29
29
|
"chalk": "^4.1.2",
|
|
30
30
|
"enquirer": "^2.4.1",
|
|
31
31
|
"render-help": "^1.0.3",
|
|
32
|
-
"@pnpm/config": "1004.
|
|
33
|
-
"@pnpm/config.config-writer": "1000.0.
|
|
34
|
-
"@pnpm/
|
|
32
|
+
"@pnpm/config": "1004.7.1",
|
|
33
|
+
"@pnpm/config.config-writer": "1000.0.18",
|
|
34
|
+
"@pnpm/dependency-path": "1001.1.7",
|
|
35
|
+
"@pnpm/plugin-commands-rebuild": "1006.0.0",
|
|
35
36
|
"@pnpm/prepare-temp-dir": "1000.0.0",
|
|
36
|
-
"@pnpm/
|
|
37
|
+
"@pnpm/modules-yaml": "1001.0.0"
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"@pnpm/logger": ">=1001.0.0 <1002.0.0"
|
|
@@ -47,10 +48,10 @@
|
|
|
47
48
|
"read-yaml-file": "^2.1.0",
|
|
48
49
|
"write-pkg": "4.0.0",
|
|
49
50
|
"write-yaml-file": "^5.0.0",
|
|
50
|
-
"@pnpm/
|
|
51
|
-
"@pnpm/
|
|
52
|
-
"@pnpm/
|
|
53
|
-
"@pnpm/types": "1001.0
|
|
51
|
+
"@pnpm/plugin-commands-installation": "1004.8.4",
|
|
52
|
+
"@pnpm/prepare": "1000.0.8",
|
|
53
|
+
"@pnpm/exec.build-commands": "1002.0.0",
|
|
54
|
+
"@pnpm/types": "1001.1.0"
|
|
54
55
|
},
|
|
55
56
|
"engines": {
|
|
56
57
|
"node": ">=18.12"
|