@pnpm/installing.deps-restorer 1101.0.4 → 1101.0.6

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -2
  2. package/package.json +28 -28
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@ import { promises as fs } from 'node:fs';
2
2
  import path from 'node:path';
3
3
  import { linkBins, linkBinsOfPackages } from '@pnpm/bins.linker';
4
4
  import { buildModules } from '@pnpm/building.during-install';
5
- import { createAllowBuildFunction } from '@pnpm/building.policy';
5
+ import { createAllowBuildFunction, isBuildExplicitlyDisallowed } from '@pnpm/building.policy';
6
6
  import { LAYOUT_VERSION, WANTED_LOCKFILE, } from '@pnpm/constants';
7
7
  import { packageManifestLogger, progressLogger, stageLogger, statsLogger, summaryLogger, } from '@pnpm/core-loggers';
8
8
  import { lockfileToDepGraph, } from '@pnpm/deps.graph-builder';
@@ -383,7 +383,7 @@ export async function headlessInstall(opts) {
383
383
  if (opts.modulesFile?.ignoredBuilds?.size) {
384
384
  ignoredBuilds ??= new Set();
385
385
  for (const ignoredBuild of opts.modulesFile.ignoredBuilds.values()) {
386
- if (filteredLockfile.packages?.[ignoredBuild]) {
386
+ if (filteredLockfile.packages?.[ignoredBuild] && !isBuildExplicitlyDisallowed(ignoredBuild, allowBuild)) {
387
387
  ignoredBuilds.add(ignoredBuild);
388
388
  }
389
389
  }
@@ -457,6 +457,7 @@ export async function headlessInstall(opts) {
457
457
  virtualStoreDir,
458
458
  virtualStoreDirMaxLength: opts.virtualStoreDirMaxLength,
459
459
  allowBuilds: opts.allowBuilds,
460
+ virtualStoreOnly: opts.virtualStoreOnly,
460
461
  });
461
462
  const currentLockfileDir = path.join(rootModulesDir, '.pnpm');
462
463
  if (opts.useLockfile) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/installing.deps-restorer",
3
- "version": "1101.0.4",
3
+ "version": "1101.0.6",
4
4
  "description": "Fast installation using only pnpm-lock.yaml",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -30,42 +30,42 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@zkochan/rimraf": "^4.0.0",
33
- "p-limit": "^7.1.0",
33
+ "p-limit": "^7.3.0",
34
34
  "path-absolute": "^2.0.0",
35
35
  "path-exists": "^5.0.0",
36
36
  "ramda": "npm:@pnpm/ramda@0.28.1",
37
37
  "realpath-missing": "^2.0.0",
38
38
  "@pnpm/bins.linker": "1100.0.3",
39
- "@pnpm/building.policy": "1100.0.2",
40
- "@pnpm/building.during-install": "1101.0.3",
39
+ "@pnpm/building.during-install": "1101.0.5",
40
+ "@pnpm/building.policy": "1100.0.3",
41
41
  "@pnpm/config.package-is-installable": "1100.0.3",
42
- "@pnpm/core-loggers": "1100.0.1",
43
42
  "@pnpm/constants": "1100.0.0",
44
- "@pnpm/deps.graph-hasher": "1100.1.2",
43
+ "@pnpm/core-loggers": "1100.0.1",
44
+ "@pnpm/deps.graph-builder": "1100.0.6",
45
+ "@pnpm/deps.graph-hasher": "1100.1.3",
45
46
  "@pnpm/deps.path": "1100.0.2",
46
- "@pnpm/deps.graph-builder": "1100.0.5",
47
47
  "@pnpm/error": "1100.0.0",
48
- "@pnpm/exec.lifecycle": "1100.0.5",
48
+ "@pnpm/exec.lifecycle": "1100.0.6",
49
49
  "@pnpm/fs.symlink-dependency": "1100.0.2",
50
50
  "@pnpm/installing.linking.direct-dep-linker": "1100.0.2",
51
51
  "@pnpm/installing.linking.hoist": "1100.0.3",
52
- "@pnpm/installing.linking.modules-cleaner": "1100.0.5",
53
- "@pnpm/installing.modules-yaml": "1100.0.2",
54
- "@pnpm/installing.linking.real-hoist": "1100.0.4",
55
- "@pnpm/installing.package-requester": "1101.0.2",
56
- "@pnpm/lockfile.fs": "1100.0.4",
57
- "@pnpm/lockfile.filtering": "1100.0.5",
58
- "@pnpm/lockfile.to-pnp": "1100.0.4",
59
- "@pnpm/lockfile.utils": "1100.0.4",
52
+ "@pnpm/installing.linking.modules-cleaner": "1100.0.6",
53
+ "@pnpm/installing.linking.real-hoist": "1100.0.5",
54
+ "@pnpm/installing.modules-yaml": "1100.0.3",
55
+ "@pnpm/installing.package-requester": "1101.0.3",
56
+ "@pnpm/lockfile.filtering": "1100.0.6",
57
+ "@pnpm/lockfile.fs": "1100.0.5",
58
+ "@pnpm/lockfile.to-pnp": "1100.0.5",
59
+ "@pnpm/lockfile.utils": "1100.0.5",
60
60
  "@pnpm/patching.config": "1100.0.2",
61
61
  "@pnpm/pkg-manifest.reader": "1100.0.2",
62
- "@pnpm/store.controller-types": "1100.0.4",
63
- "@pnpm/workspace.project-manifest-reader": "1100.0.3",
64
- "@pnpm/types": "1101.0.0"
62
+ "@pnpm/store.controller-types": "1100.0.5",
63
+ "@pnpm/types": "1101.0.0",
64
+ "@pnpm/workspace.project-manifest-reader": "1100.0.3"
65
65
  },
66
66
  "peerDependencies": {
67
- "@pnpm/logger": ">=1001.0.0 <1002.0.0",
68
- "@pnpm/worker": "^1100.1.1"
67
+ "@pnpm/logger": "^1001.0.1",
68
+ "@pnpm/worker": "^1100.1.2"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@jest/globals": "30.3.0",
@@ -77,18 +77,18 @@
77
77
  "load-json-file": "^7.0.1",
78
78
  "tempy": "3.0.0",
79
79
  "write-json-file": "^7.0.0",
80
- "@pnpm/assert-project": "1100.0.4",
80
+ "@pnpm/assert-project": "1100.0.5",
81
81
  "@pnpm/crypto.object-hasher": "1100.0.0",
82
- "@pnpm/installing.deps-restorer": "1101.0.4",
83
- "@pnpm/prepare": "1100.0.4",
84
- "@pnpm/installing.read-projects-context": "1100.0.5",
85
- "@pnpm/store.cafs": "1100.1.1",
82
+ "@pnpm/installing.deps-restorer": "1101.0.6",
83
+ "@pnpm/installing.read-projects-context": "1100.0.6",
84
+ "@pnpm/logger": "1100.0.0",
85
+ "@pnpm/prepare": "1100.0.5",
86
+ "@pnpm/store.cafs": "1100.1.2",
86
87
  "@pnpm/store.index": "1100.0.0",
87
88
  "@pnpm/store.path": "1100.0.1",
88
- "@pnpm/logger": "1100.0.0",
89
89
  "@pnpm/test-fixtures": "1100.0.0",
90
90
  "@pnpm/test-ipc-server": "1100.0.0",
91
- "@pnpm/testing.temp-store": "1100.0.9"
91
+ "@pnpm/testing.temp-store": "1100.0.11"
92
92
  },
93
93
  "engines": {
94
94
  "node": ">=22.13"