@pnpm/installing.deps-installer 1012.0.1 → 1100.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.
- package/lib/getPeerDependencyIssues.d.ts +1 -1
- package/lib/install/extendInstallOptions.d.ts +3 -6
- package/lib/install/extendInstallOptions.js +8 -6
- package/lib/install/index.js +37 -6
- package/lib/install/link.js +1 -1
- package/lib/install/validateModules.d.ts +0 -2
- package/lib/install/validateModules.js +2 -3
- package/package.json +75 -74
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GetContextOptions, type ProjectOptions } from '@pnpm/installing.context';
|
|
2
2
|
import type { PeerDependencyIssuesByProjects } from '@pnpm/types';
|
|
3
3
|
import type { InstallOptions } from './install/extendInstallOptions.js';
|
|
4
|
-
export type ListMissingPeersOptions = Partial<GetContextOptions> & Pick<InstallOptions, 'hooks' | 'catalogs' | 'dedupePeerDependents' | 'ignoreCompatibilityDb' | 'linkWorkspacePackagesDepth' | 'nodeVersion' | 'nodeLinker' | 'overrides' | 'packageExtensions' | 'ignoredOptionalDependencies' | 'preferWorkspacePackages' | 'saveWorkspaceProtocol' | 'storeController' | 'useGitBranchLockfile' | 'peersSuffixMaxLength'> & Partial<Pick<InstallOptions, 'supportedArchitectures'>> & Pick<GetContextOptions, 'autoInstallPeers' | 'excludeLinksFromLockfile' | 'storeDir'> & Required<Pick<InstallOptions, 'globalVirtualStoreDir' | 'virtualStoreDirMaxLength' | 'peersSuffixMaxLength'>>;
|
|
4
|
+
export type ListMissingPeersOptions = Partial<GetContextOptions> & Pick<InstallOptions, 'hooks' | 'catalogs' | 'dedupePeerDependents' | 'dedupePeers' | 'ignoreCompatibilityDb' | 'linkWorkspacePackagesDepth' | 'nodeVersion' | 'nodeLinker' | 'overrides' | 'packageExtensions' | 'ignoredOptionalDependencies' | 'preferWorkspacePackages' | 'saveWorkspaceProtocol' | 'storeController' | 'useGitBranchLockfile' | 'peersSuffixMaxLength'> & Partial<Pick<InstallOptions, 'supportedArchitectures'>> & Pick<GetContextOptions, 'autoInstallPeers' | 'excludeLinksFromLockfile' | 'storeDir'> & Required<Pick<InstallOptions, 'globalVirtualStoreDir' | 'virtualStoreDirMaxLength' | 'peersSuffixMaxLength'>>;
|
|
5
5
|
export declare function getPeerDependencyIssues(projects: ProjectOptions[], opts: ListMissingPeersOptions): Promise<PeerDependencyIssuesByProjects>;
|
|
@@ -7,7 +7,7 @@ import type { IncludedDependencies } from '@pnpm/installing.modules-yaml';
|
|
|
7
7
|
import type { LockfileObject } from '@pnpm/lockfile.fs';
|
|
8
8
|
import type { WorkspacePackages } from '@pnpm/resolving.resolver-base';
|
|
9
9
|
import type { StoreController } from '@pnpm/store.controller-types';
|
|
10
|
-
import type { AllowedDeprecatedVersions, PackageExtension, PackageVulnerabilityAudit, PeerDependencyRules, ReadPackageHook, Registries, SupportedArchitectures, TrustPolicy } from '@pnpm/types';
|
|
10
|
+
import type { AllowedDeprecatedVersions, PackageExtension, PackageVulnerabilityAudit, PeerDependencyRules, ReadPackageHook, Registries, RegistryConfig, SupportedArchitectures, TrustPolicy } from '@pnpm/types';
|
|
11
11
|
import type { ReporterFunction } from '../types.js';
|
|
12
12
|
export interface StrictInstallOptions {
|
|
13
13
|
autoConfirmAllPrompts: boolean;
|
|
@@ -34,7 +34,6 @@ export interface StrictInstallOptions {
|
|
|
34
34
|
fixLockfile: boolean;
|
|
35
35
|
dedupe: boolean;
|
|
36
36
|
ignoreCompatibilityDb: boolean;
|
|
37
|
-
ignoreDepScripts: boolean;
|
|
38
37
|
ignorePackageManifest: boolean;
|
|
39
38
|
/**
|
|
40
39
|
* When true, skip fetching local dependencies (file: protocol pointing to directories).
|
|
@@ -56,11 +55,10 @@ export interface StrictInstallOptions {
|
|
|
56
55
|
storeDir: string;
|
|
57
56
|
reporter: ReporterFunction;
|
|
58
57
|
force: boolean;
|
|
59
|
-
forcePublicHoistPattern: boolean;
|
|
60
58
|
depth: number;
|
|
61
59
|
lockfileDir: string;
|
|
62
60
|
modulesDir: string;
|
|
63
|
-
|
|
61
|
+
configByUri: Record<string, RegistryConfig>;
|
|
64
62
|
verifyStoreIntegrity: boolean;
|
|
65
63
|
engineStrict: boolean;
|
|
66
64
|
allowBuilds?: Record<string, boolean | string>;
|
|
@@ -116,9 +114,7 @@ export interface StrictInstallOptions {
|
|
|
116
114
|
disallowWorkspaceCycles: boolean;
|
|
117
115
|
publicHoistPattern: string[] | undefined;
|
|
118
116
|
hoistPattern: string[] | undefined;
|
|
119
|
-
forceHoistPattern: boolean;
|
|
120
117
|
shamefullyHoist: boolean;
|
|
121
|
-
forceShamefullyHoist: boolean;
|
|
122
118
|
global: boolean;
|
|
123
119
|
globalBin?: string;
|
|
124
120
|
patchedDependencies?: Record<string, string>;
|
|
@@ -127,6 +123,7 @@ export interface StrictInstallOptions {
|
|
|
127
123
|
dedupeDirectDeps: boolean;
|
|
128
124
|
dedupeInjectedDeps: boolean;
|
|
129
125
|
dedupePeerDependents: boolean;
|
|
126
|
+
dedupePeers: boolean;
|
|
130
127
|
extendNodePath: boolean;
|
|
131
128
|
excludeLinksFromLockfile: boolean;
|
|
132
129
|
confirmModulesPurge: boolean;
|
|
@@ -31,7 +31,6 @@ const defaults = (opts) => {
|
|
|
31
31
|
publicHoistPattern: undefined,
|
|
32
32
|
hooks: {},
|
|
33
33
|
ignoreCurrentSpecifiers: false,
|
|
34
|
-
ignoreDepScripts: false,
|
|
35
34
|
ignoreScripts: false,
|
|
36
35
|
include: {
|
|
37
36
|
dependencies: true,
|
|
@@ -60,9 +59,9 @@ const defaults = (opts) => {
|
|
|
60
59
|
preserveWorkspaceProtocol: true,
|
|
61
60
|
pruneLockfileImporters: false,
|
|
62
61
|
pruneStore: false,
|
|
63
|
-
|
|
62
|
+
configByUri: {},
|
|
64
63
|
registries: DEFAULT_REGISTRIES,
|
|
65
|
-
resolutionMode: '
|
|
64
|
+
resolutionMode: 'highest',
|
|
66
65
|
saveWorkspaceProtocol: 'rolling',
|
|
67
66
|
scriptsPrependNodePath: false,
|
|
68
67
|
shamefullyHoist: false,
|
|
@@ -92,6 +91,7 @@ const defaults = (opts) => {
|
|
|
92
91
|
resolveSymlinksInInjectedDirs: false,
|
|
93
92
|
dedupeDirectDeps: true,
|
|
94
93
|
dedupePeerDependents: true,
|
|
94
|
+
dedupePeers: false,
|
|
95
95
|
resolvePeersFromWorkspaceRoot: true,
|
|
96
96
|
extendNodePath: true,
|
|
97
97
|
ignoreWorkspaceCycles: false,
|
|
@@ -144,9 +144,11 @@ export function extendOptions(opts) {
|
|
|
144
144
|
extendedOpts.userAgent = `${extendedOpts.packageManager.name}/${extendedOpts.packageManager.version} ${extendedOpts.userAgent}`;
|
|
145
145
|
}
|
|
146
146
|
extendedOpts.registries = normalizeRegistries(extendedOpts.registries);
|
|
147
|
-
extendedOpts.
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
if (extendedOpts.enableGlobalVirtualStore) {
|
|
148
|
+
if (extendedOpts.virtualStoreDir == null) {
|
|
149
|
+
extendedOpts.virtualStoreDir = path.join(extendedOpts.storeDir, 'links');
|
|
150
|
+
}
|
|
151
|
+
extendedOpts.allowBuilds ??= {};
|
|
150
152
|
}
|
|
151
153
|
extendedOpts.globalVirtualStoreDir = extendedOpts.enableGlobalVirtualStore
|
|
152
154
|
? extendedOpts.virtualStoreDir
|
package/lib/install/index.js
CHANGED
|
@@ -128,10 +128,8 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
128
128
|
virtualStoreDir: ctx.virtualStoreDir,
|
|
129
129
|
virtualStoreDirMaxLength: opts.virtualStoreDirMaxLength,
|
|
130
130
|
confirmModulesPurge: opts.confirmModulesPurge && !opts.ci,
|
|
131
|
-
forceHoistPattern: opts.forceHoistPattern,
|
|
132
131
|
hoistPattern: opts.hoistPattern,
|
|
133
132
|
currentHoistPattern: ctx.currentHoistPattern,
|
|
134
|
-
forcePublicHoistPattern: opts.forcePublicHoistPattern,
|
|
135
133
|
publicHoistPattern: opts.publicHoistPattern,
|
|
136
134
|
currentPublicHoistPattern: ctx.currentPublicHoistPattern,
|
|
137
135
|
global: opts.global,
|
|
@@ -188,6 +186,29 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
188
186
|
if (!opts.ignoreScripts && ignoredBuilds?.size) {
|
|
189
187
|
ignoredBuilds = await runUnignoredDependencyBuilds(opts, ignoredBuilds, allowBuild);
|
|
190
188
|
}
|
|
189
|
+
// Detect packages whose build approval was revoked between the previous
|
|
190
|
+
// and current install. A package is considered revoked when it was
|
|
191
|
+
// previously allowed (true) but is now undecided (undefined). Packages
|
|
192
|
+
// explicitly denied (false) are not added to ignoredBuilds, consistent
|
|
193
|
+
// with how buildModules treats them.
|
|
194
|
+
if (ctx.modulesFile?.allowBuilds &&
|
|
195
|
+
ctx.wantedLockfile.packages &&
|
|
196
|
+
Object.values(ctx.modulesFile.allowBuilds).some((v) => v === true)) {
|
|
197
|
+
const oldAllowBuild = createAllowBuildFunction({ allowBuilds: ctx.modulesFile.allowBuilds });
|
|
198
|
+
if (oldAllowBuild) {
|
|
199
|
+
for (const depPath of Object.keys(ctx.wantedLockfile.packages)) {
|
|
200
|
+
if (ignoredBuilds?.has(depPath))
|
|
201
|
+
continue;
|
|
202
|
+
const { name, version } = dp.parse(depPath);
|
|
203
|
+
if (!name || !version)
|
|
204
|
+
continue;
|
|
205
|
+
if (oldAllowBuild(name, version) === true && allowBuild?.(name, version) === undefined) {
|
|
206
|
+
ignoredBuilds ??= new Set();
|
|
207
|
+
ignoredBuilds.add(depPath);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
191
212
|
ignoredScriptsLogger.debug({
|
|
192
213
|
packageNames: ignoredBuilds ? dedupePackageNamesFromIgnoredBuilds(ignoredBuilds) : [],
|
|
193
214
|
});
|
|
@@ -207,7 +228,7 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
207
228
|
extraNodePaths: ctx.extraNodePaths,
|
|
208
229
|
extraEnv: opts.extraEnv,
|
|
209
230
|
preferSymlinkedExecutables: opts.preferSymlinkedExecutables,
|
|
210
|
-
|
|
231
|
+
userAgent: opts.userAgent,
|
|
211
232
|
resolveSymlinksInInjectedDirs: opts.resolveSymlinksInInjectedDirs,
|
|
212
233
|
scriptsPrependNodePath: opts.scriptsPrependNodePath,
|
|
213
234
|
scriptShell: opts.scriptShell,
|
|
@@ -231,9 +252,16 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
231
252
|
: (opts.patchedDependencies ? await calcPatchHashes(opts.patchedDependencies) : {});
|
|
232
253
|
const patchGroupInput = opts.patchedDependencies
|
|
233
254
|
? Object.fromEntries(Object.entries(patchedDependencies ?? {}).map(([key, hash]) => {
|
|
234
|
-
|
|
255
|
+
let patchFilePath = opts.patchedDependencies[key]
|
|
235
256
|
? path.resolve(opts.lockfileDir, opts.patchedDependencies[key])
|
|
236
257
|
: undefined;
|
|
258
|
+
if (!patchFilePath) {
|
|
259
|
+
const lastAt = key.lastIndexOf('@');
|
|
260
|
+
const pkgName = lastAt > 0 ? key.slice(0, lastAt) : key;
|
|
261
|
+
if (opts.patchedDependencies[pkgName]) {
|
|
262
|
+
patchFilePath = path.resolve(opts.lockfileDir, opts.patchedDependencies[pkgName]);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
237
265
|
return [key, { hash, patchFilePath }];
|
|
238
266
|
}))
|
|
239
267
|
: patchedDependencies;
|
|
@@ -246,6 +274,7 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
246
274
|
const outdatedLockfileSettingName = getOutdatedLockfileSetting(ctx.wantedLockfile, {
|
|
247
275
|
autoInstallPeers: opts.autoInstallPeers,
|
|
248
276
|
catalogs: opts.catalogs,
|
|
277
|
+
dedupePeers: opts.dedupePeers || undefined,
|
|
249
278
|
injectWorkspacePackages: opts.injectWorkspacePackages,
|
|
250
279
|
excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
|
|
251
280
|
peersSuffixMaxLength: opts.peersSuffixMaxLength,
|
|
@@ -270,6 +299,7 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
270
299
|
if (needsFullResolution) {
|
|
271
300
|
ctx.wantedLockfile.settings = {
|
|
272
301
|
autoInstallPeers: opts.autoInstallPeers,
|
|
302
|
+
dedupePeers: opts.dedupePeers || undefined,
|
|
273
303
|
excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
|
|
274
304
|
peersSuffixMaxLength: opts.peersSuffixMaxLength,
|
|
275
305
|
injectWorkspacePackages: opts.injectWorkspacePackages,
|
|
@@ -283,6 +313,7 @@ export async function mutateModules(projects, maybeOpts) {
|
|
|
283
313
|
else if (!frozenLockfile) {
|
|
284
314
|
ctx.wantedLockfile.settings = {
|
|
285
315
|
autoInstallPeers: opts.autoInstallPeers,
|
|
316
|
+
dedupePeers: opts.dedupePeers || undefined,
|
|
286
317
|
excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
|
|
287
318
|
peersSuffixMaxLength: opts.peersSuffixMaxLength,
|
|
288
319
|
injectWorkspacePackages: opts.injectWorkspacePackages,
|
|
@@ -856,6 +887,7 @@ const _installInContext = async (projects, ctx, opts) => {
|
|
|
856
887
|
dedupeDirectDeps: opts.dedupeDirectDeps,
|
|
857
888
|
dedupeInjectedDeps: opts.dedupeInjectedDeps,
|
|
858
889
|
dedupePeerDependents: opts.dedupePeerDependents,
|
|
890
|
+
dedupePeers: opts.dedupePeers,
|
|
859
891
|
dryRun: opts.lockfileOnly,
|
|
860
892
|
enableGlobalVirtualStore: opts.enableGlobalVirtualStore,
|
|
861
893
|
engineStrict: opts.engineStrict,
|
|
@@ -1012,11 +1044,10 @@ const _installInContext = async (projects, ctx, opts) => {
|
|
|
1012
1044
|
extraBinPaths: ctx.extraBinPaths,
|
|
1013
1045
|
extraNodePaths: ctx.extraNodePaths,
|
|
1014
1046
|
extraEnv,
|
|
1015
|
-
ignoreScripts: opts.ignoreScripts
|
|
1047
|
+
ignoreScripts: opts.ignoreScripts,
|
|
1016
1048
|
lockfileDir: ctx.lockfileDir,
|
|
1017
1049
|
optional: opts.include.optionalDependencies,
|
|
1018
1050
|
preferSymlinkedExecutables: opts.preferSymlinkedExecutables,
|
|
1019
|
-
rawConfig: opts.rawConfig,
|
|
1020
1051
|
rootModulesDir: ctx.virtualStoreDir,
|
|
1021
1052
|
scriptsPrependNodePath: opts.scriptsPrependNodePath,
|
|
1022
1053
|
scriptShell: opts.scriptShell,
|
package/lib/install/link.js
CHANGED
|
@@ -319,7 +319,7 @@ async function linkAllPkgs(storeController, depNodes, opts) {
|
|
|
319
319
|
depNode.requiresBuild = files.requiresBuild;
|
|
320
320
|
let sideEffectsCacheKey;
|
|
321
321
|
if (opts.sideEffectsCacheRead && files.sideEffectsMaps && !isEmpty(files.sideEffectsMaps)) {
|
|
322
|
-
if (opts
|
|
322
|
+
if (opts.allowBuild?.(depNode.name, depNode.version) === true) {
|
|
323
323
|
sideEffectsCacheKey = calcDepState(opts.depGraph, opts.depsStateCache, depNode.depPath, {
|
|
324
324
|
includeDepGraphHash: !opts.ignoreScripts && depNode.requiresBuild, // true when is built
|
|
325
325
|
patchFileHash: depNode.patch?.hash,
|
|
@@ -17,9 +17,7 @@ export declare function validateModules(modules: Modules, projects: Array<{
|
|
|
17
17
|
virtualStoreDirMaxLength: number;
|
|
18
18
|
confirmModulesPurge?: boolean;
|
|
19
19
|
hoistPattern?: string[] | undefined;
|
|
20
|
-
forceHoistPattern?: boolean;
|
|
21
20
|
publicHoistPattern?: string[] | undefined;
|
|
22
|
-
forcePublicHoistPattern?: boolean;
|
|
23
21
|
global?: boolean;
|
|
24
22
|
}): Promise<{
|
|
25
23
|
purged: boolean;
|
|
@@ -17,8 +17,7 @@ export async function validateModules(modules, projects, opts) {
|
|
|
17
17
|
throw new PnpmError('VIRTUAL_STORE_DIR_MAX_LENGTH_DIFF', 'This modules directory was created using a different virtual-store-dir-max-length value.' +
|
|
18
18
|
' Run "pnpm install" to recreate the modules directory.');
|
|
19
19
|
}
|
|
20
|
-
if (opts.
|
|
21
|
-
!equals(modules.publicHoistPattern ?? [], opts.publicHoistPattern ?? [])) {
|
|
20
|
+
if (!equals(modules.publicHoistPattern ?? [], opts.publicHoistPattern ?? [])) {
|
|
22
21
|
if (opts.forceNewModules && (rootProject != null)) {
|
|
23
22
|
await purgeModulesDirsOfImporter(opts, rootProject);
|
|
24
23
|
return { purged: true };
|
|
@@ -27,7 +26,7 @@ export async function validateModules(modules, projects, opts) {
|
|
|
27
26
|
' Run "pnpm install" to recreate the modules directory.');
|
|
28
27
|
}
|
|
29
28
|
const importersToPurge = [];
|
|
30
|
-
if (
|
|
29
|
+
if (rootProject != null) {
|
|
31
30
|
try {
|
|
32
31
|
if (!equals(opts.currentHoistPattern ?? [], opts.hoistPattern ?? [])) {
|
|
33
32
|
throw new PnpmError('HOIST_PATTERN_DIFF', 'This modules directory was created using a different hoist-pattern value.' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/installing.deps-installer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1100.0.0",
|
|
4
4
|
"description": "Fast, disk space efficient installation engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -61,68 +61,68 @@
|
|
|
61
61
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
62
62
|
"run-groups": "^5.0.0",
|
|
63
63
|
"semver": "^7.7.2",
|
|
64
|
-
"@pnpm/bins.remover": "
|
|
65
|
-
"@pnpm/building.after-install": "
|
|
66
|
-
"@pnpm/building.policy": "
|
|
67
|
-
"@pnpm/catalogs.protocol-parser": "
|
|
68
|
-
"@pnpm/
|
|
69
|
-
"@pnpm/
|
|
70
|
-
"@pnpm/
|
|
71
|
-
"@pnpm/
|
|
72
|
-
"@pnpm/
|
|
73
|
-
"@pnpm/
|
|
74
|
-
"@pnpm/
|
|
75
|
-
"@pnpm/
|
|
76
|
-
"@pnpm/core-loggers": "
|
|
77
|
-
"@pnpm/crypto.hash": "
|
|
78
|
-
"@pnpm/
|
|
79
|
-
"@pnpm/deps.
|
|
80
|
-
"@pnpm/
|
|
81
|
-
"@pnpm/
|
|
82
|
-
"@pnpm/
|
|
83
|
-
"@pnpm/
|
|
84
|
-
"@pnpm/fs.
|
|
85
|
-
"@pnpm/
|
|
86
|
-
"@pnpm/
|
|
87
|
-
"@pnpm/
|
|
88
|
-
"@pnpm/installing.context": "
|
|
89
|
-
"@pnpm/
|
|
90
|
-
"@pnpm/installing.linking.direct-dep-linker": "
|
|
91
|
-
"@pnpm/installing.
|
|
92
|
-
"@pnpm/installing.linking.
|
|
93
|
-
"@pnpm/installing.
|
|
94
|
-
"@pnpm/installing.
|
|
95
|
-
"@pnpm/installing.
|
|
96
|
-
"@pnpm/lockfile.filtering": "
|
|
97
|
-
"@pnpm/lockfile.
|
|
98
|
-
"@pnpm/lockfile.
|
|
99
|
-
"@pnpm/lockfile.
|
|
100
|
-
"@pnpm/lockfile.settings-checker": "
|
|
101
|
-
"@pnpm/lockfile.
|
|
102
|
-
"@pnpm/lockfile.
|
|
103
|
-
"@pnpm/lockfile.walker": "
|
|
104
|
-
"@pnpm/
|
|
105
|
-
"@pnpm/
|
|
106
|
-
"@pnpm/
|
|
107
|
-
"@pnpm/
|
|
108
|
-
"@pnpm/resolving.resolver-base": "
|
|
109
|
-
"@pnpm/types": "
|
|
110
|
-
"@pnpm/
|
|
111
|
-
"@pnpm/
|
|
64
|
+
"@pnpm/bins.remover": "1100.0.0",
|
|
65
|
+
"@pnpm/building.after-install": "1100.0.0",
|
|
66
|
+
"@pnpm/building.policy": "1100.0.0",
|
|
67
|
+
"@pnpm/catalogs.protocol-parser": "1100.0.0",
|
|
68
|
+
"@pnpm/building.during-install": "1100.0.0",
|
|
69
|
+
"@pnpm/catalogs.resolver": "1100.0.0",
|
|
70
|
+
"@pnpm/config.matcher": "1100.0.0",
|
|
71
|
+
"@pnpm/config.normalize-registries": "1100.0.0",
|
|
72
|
+
"@pnpm/catalogs.types": "1100.0.0",
|
|
73
|
+
"@pnpm/config.parse-overrides": "1100.0.0",
|
|
74
|
+
"@pnpm/constants": "1100.0.0",
|
|
75
|
+
"@pnpm/bins.linker": "1100.0.0",
|
|
76
|
+
"@pnpm/core-loggers": "1100.0.0",
|
|
77
|
+
"@pnpm/crypto.hash": "1100.0.0",
|
|
78
|
+
"@pnpm/crypto.object-hasher": "1100.0.0",
|
|
79
|
+
"@pnpm/deps.graph-sequencer": "1100.0.0",
|
|
80
|
+
"@pnpm/error": "1100.0.0",
|
|
81
|
+
"@pnpm/deps.graph-hasher": "1100.0.0",
|
|
82
|
+
"@pnpm/exec.lifecycle": "1100.0.0",
|
|
83
|
+
"@pnpm/deps.path": "1100.0.0",
|
|
84
|
+
"@pnpm/fs.symlink-dependency": "1100.0.0",
|
|
85
|
+
"@pnpm/hooks.types": "1100.0.0",
|
|
86
|
+
"@pnpm/fs.read-modules-dir": "1100.0.0",
|
|
87
|
+
"@pnpm/hooks.read-package-hook": "1100.0.0",
|
|
88
|
+
"@pnpm/installing.context": "1100.0.0",
|
|
89
|
+
"@pnpm/installing.deps-resolver": "1100.0.0",
|
|
90
|
+
"@pnpm/installing.linking.direct-dep-linker": "1100.0.0",
|
|
91
|
+
"@pnpm/installing.linking.hoist": "1100.0.0",
|
|
92
|
+
"@pnpm/installing.linking.modules-cleaner": "1100.0.0",
|
|
93
|
+
"@pnpm/installing.modules-yaml": "1100.0.0",
|
|
94
|
+
"@pnpm/installing.package-requester": "1100.0.0",
|
|
95
|
+
"@pnpm/installing.deps-restorer": "1100.0.0",
|
|
96
|
+
"@pnpm/lockfile.filtering": "1100.0.0",
|
|
97
|
+
"@pnpm/lockfile.pruner": "1100.0.0",
|
|
98
|
+
"@pnpm/lockfile.fs": "1100.0.0",
|
|
99
|
+
"@pnpm/lockfile.preferred-versions": "1100.0.0",
|
|
100
|
+
"@pnpm/lockfile.settings-checker": "1100.0.0",
|
|
101
|
+
"@pnpm/lockfile.to-pnp": "1100.0.0",
|
|
102
|
+
"@pnpm/lockfile.utils": "1100.0.0",
|
|
103
|
+
"@pnpm/lockfile.walker": "1100.0.0",
|
|
104
|
+
"@pnpm/patching.config": "1100.0.0",
|
|
105
|
+
"@pnpm/pkg-manifest.utils": "1100.0.0",
|
|
106
|
+
"@pnpm/lockfile.verification": "1100.0.0",
|
|
107
|
+
"@pnpm/resolving.parse-wanted-dependency": "1100.0.0",
|
|
108
|
+
"@pnpm/resolving.resolver-base": "1100.0.0",
|
|
109
|
+
"@pnpm/store.controller-types": "1100.0.0",
|
|
110
|
+
"@pnpm/types": "1100.0.0",
|
|
111
|
+
"@pnpm/workspace.project-manifest-reader": "1100.0.0"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
114
|
"@pnpm/logger": ">=1001.0.0 <1002.0.0",
|
|
115
|
-
"@pnpm/worker": "^
|
|
115
|
+
"@pnpm/worker": "^1100.0.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@jest/globals": "30.0
|
|
119
|
-
"@pnpm/registry-mock": "
|
|
120
|
-
"@types/fs-extra": "^
|
|
118
|
+
"@jest/globals": "30.3.0",
|
|
119
|
+
"@pnpm/registry-mock": "6.0.0",
|
|
120
|
+
"@types/fs-extra": "^11.0.4",
|
|
121
121
|
"@types/is-windows": "^1.0.2",
|
|
122
122
|
"@types/normalize-path": "^3.0.2",
|
|
123
|
-
"@types/ramda": "0.
|
|
123
|
+
"@types/ramda": "0.31.1",
|
|
124
124
|
"@types/semver": "7.7.1",
|
|
125
|
-
"@yarnpkg/core": "4.
|
|
125
|
+
"@yarnpkg/core": "4.5.0",
|
|
126
126
|
"ci-info": "^4.3.0",
|
|
127
127
|
"deep-require-cwd": "1.0.0",
|
|
128
128
|
"execa": "npm:safe-execa@0.3.0",
|
|
@@ -132,24 +132,25 @@
|
|
|
132
132
|
"path-name": "^1.0.0",
|
|
133
133
|
"read-yaml-file": "^3.0.0",
|
|
134
134
|
"resolve-link-target": "^3.0.0",
|
|
135
|
-
"symlink-dir": "^
|
|
135
|
+
"symlink-dir": "^10.0.1",
|
|
136
136
|
"write-json-file": "^7.0.0",
|
|
137
137
|
"write-yaml-file": "^6.0.0",
|
|
138
|
-
"@pnpm/assert-
|
|
139
|
-
"@pnpm/
|
|
140
|
-
"@pnpm/
|
|
141
|
-
"@pnpm/
|
|
142
|
-
"@pnpm/
|
|
143
|
-
"@pnpm/network.git-utils": "
|
|
144
|
-
"@pnpm/
|
|
145
|
-
"@pnpm/prepare": "
|
|
146
|
-
"@pnpm/
|
|
147
|
-
"@pnpm/store.cafs": "
|
|
148
|
-
"@pnpm/store.
|
|
149
|
-
"@pnpm/store.
|
|
150
|
-
"@pnpm/test-fixtures": "
|
|
151
|
-
"@pnpm/test-ipc-server": "
|
|
152
|
-
"@pnpm/testing.temp-store": "
|
|
138
|
+
"@pnpm/assert-store": "1100.0.0",
|
|
139
|
+
"@pnpm/lockfile.types": "1100.0.0",
|
|
140
|
+
"@pnpm/installing.deps-installer": "1100.0.0",
|
|
141
|
+
"@pnpm/assert-project": "1100.0.0",
|
|
142
|
+
"@pnpm/logger": "1100.0.0",
|
|
143
|
+
"@pnpm/network.git-utils": "1100.0.0",
|
|
144
|
+
"@pnpm/pkg-manifest.reader": "1100.0.0",
|
|
145
|
+
"@pnpm/prepare": "1100.0.0",
|
|
146
|
+
"@pnpm/resolving.registry.types": "1100.0.0",
|
|
147
|
+
"@pnpm/store.cafs": "1100.0.0",
|
|
148
|
+
"@pnpm/store.index": "1100.0.0",
|
|
149
|
+
"@pnpm/store.path": "1100.0.0",
|
|
150
|
+
"@pnpm/test-fixtures": "1100.0.0",
|
|
151
|
+
"@pnpm/test-ipc-server": "1100.0.0",
|
|
152
|
+
"@pnpm/testing.temp-store": "1100.0.0",
|
|
153
|
+
"@pnpm/testing.mock-agent": "1100.0.0"
|
|
153
154
|
},
|
|
154
155
|
"engines": {
|
|
155
156
|
"node": ">=22.13"
|
|
@@ -161,8 +162,8 @@
|
|
|
161
162
|
"start": "tsgo --watch",
|
|
162
163
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
163
164
|
"test-with-preview": "preview && pnpm run test:e2e",
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
165
|
+
"test": "pn compile && pn .test",
|
|
166
|
+
"compile": "tsgo --build && pn lint --fix",
|
|
167
|
+
".test": "cross-env PNPM_REGISTRY_MOCK_PORT=7769 NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
|
|
167
168
|
}
|
|
168
169
|
}
|