@pnpm/testing.temp-store 1100.0.16 → 1100.1.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/index.d.ts +2 -0
- package/lib/index.js +2 -1
- package/package.json +6 -5
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type ClientOptions } from '@pnpm/installing.client';
|
|
2
|
+
import type { ResolutionVerifier } from '@pnpm/resolving.resolver-base';
|
|
2
3
|
import { type CreatePackageStoreOptions } from '@pnpm/store.controller';
|
|
3
4
|
import type { StoreController } from '@pnpm/store.controller-types';
|
|
4
5
|
export interface CreateTempStoreResult {
|
|
5
6
|
storeController: StoreController;
|
|
6
7
|
storeDir: string;
|
|
7
8
|
cacheDir: string;
|
|
9
|
+
resolutionVerifiers: ResolutionVerifier[];
|
|
8
10
|
}
|
|
9
11
|
export declare function createTempStore(opts?: {
|
|
10
12
|
fastUnpack?: boolean;
|
package/lib/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export function createTempStore(opts) {
|
|
|
9
9
|
const cacheDir = path.resolve('cache');
|
|
10
10
|
const storeDir = opts?.storeDir ?? path.resolve('.store');
|
|
11
11
|
const storeIndex = new StoreIndex(storeDir);
|
|
12
|
-
const { resolve, fetchers, clearResolutionCache } = createClient({
|
|
12
|
+
const { resolve, fetchers, clearResolutionCache, resolutionVerifiers } = createClient({
|
|
13
13
|
configByUri,
|
|
14
14
|
retry: {
|
|
15
15
|
retries: 4,
|
|
@@ -39,6 +39,7 @@ export function createTempStore(opts) {
|
|
|
39
39
|
storeController,
|
|
40
40
|
storeDir,
|
|
41
41
|
cacheDir,
|
|
42
|
+
resolutionVerifiers,
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/testing.temp-store",
|
|
3
|
-
"version": "1100.0
|
|
3
|
+
"version": "1100.1.0",
|
|
4
4
|
"description": "A temporary store for testing purposes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -26,13 +26,14 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@pnpm/registry-mock": "6.0.0",
|
|
29
|
-
"@pnpm/
|
|
29
|
+
"@pnpm/installing.client": "1100.1.0",
|
|
30
|
+
"@pnpm/store.controller": "1101.0.7",
|
|
31
|
+
"@pnpm/store.controller-types": "1100.1.0",
|
|
30
32
|
"@pnpm/store.index": "1100.1.0",
|
|
31
|
-
"@pnpm/
|
|
32
|
-
"@pnpm/store.controller": "1101.0.6"
|
|
33
|
+
"@pnpm/resolving.resolver-base": "1100.2.0"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@pnpm/testing.temp-store": "1100.0
|
|
36
|
+
"@pnpm/testing.temp-store": "1100.1.0"
|
|
36
37
|
},
|
|
37
38
|
"engines": {
|
|
38
39
|
"node": ">=22.13"
|