@pnpm/plugin-commands-store 8.0.30 → 8.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/storeAdd.d.ts +2 -1
- package/lib/storeAdd.js +1 -0
- package/lib/storeAdd.js.map +1 -1
- package/package.json +18 -18
package/lib/storeAdd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type StoreController } from '@pnpm/store-controller-types';
|
|
2
|
-
import { type Registries } from '@pnpm/types';
|
|
2
|
+
import { type SupportedArchitectures, type Registries } from '@pnpm/types';
|
|
3
3
|
import { type ReporterFunction } from './types';
|
|
4
4
|
export declare function storeAdd(fuzzyDeps: string[], opts: {
|
|
5
5
|
prefix?: string;
|
|
@@ -7,4 +7,5 @@ export declare function storeAdd(fuzzyDeps: string[], opts: {
|
|
|
7
7
|
reporter?: ReporterFunction;
|
|
8
8
|
storeController: StoreController;
|
|
9
9
|
tag?: string;
|
|
10
|
+
supportedArchitectures?: SupportedArchitectures;
|
|
10
11
|
}): Promise<void>;
|
package/lib/storeAdd.js
CHANGED
|
@@ -24,6 +24,7 @@ async function storeAdd(fuzzyDeps, opts) {
|
|
|
24
24
|
preferredVersions: {},
|
|
25
25
|
projectDir: prefix,
|
|
26
26
|
registry: (dep.alias && (0, pick_registry_for_package_1.pickRegistryForPackage)(registries, dep.alias)) ?? registries.default,
|
|
27
|
+
supportedArchitectures: opts.supportedArchitectures,
|
|
27
28
|
});
|
|
28
29
|
await pkgResponse.fetching();
|
|
29
30
|
(0, logger_1.globalInfo)(`+ ${pkgResponse.body.id}`);
|
package/lib/storeAdd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storeAdd.js","sourceRoot":"","sources":["../src/storeAdd.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,yCAA+D;AAC/D,2EAAqE;AACrE,+EAAwE;AAKjE,KAAK,UAAU,QAAQ,CAC5B,SAAm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QAAS,EAAE,CAAA;YAC7B,IAAA,mBAAU,EAAC,KAAK,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;SACvC;QAAC,OAAO,CAAM,EAAE,EAAE,sBAAsB;YACvC,WAAW,GAAG,IAAI,CAAA;YAClB,IAAA,eAAM,EAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;SACzB;IACH,CAAC,CAAC,CAAC,CAAA;IAEH,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;QACxD,qBAAY,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;KAC9C;IAED,IAAI,WAAW,EAAE;QACf,MAAM,IAAI,iBAAS,CAAC,mBAAmB,EAAE,6CAA6C,CAAC,CAAA;KACxF;AACH,CAAC;AAhDD,4BAgDC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/plugin-commands-store",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Commands for controlling the store",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/store/plugin-commands-store#readme",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@pnpm/registry-mock": "3.
|
|
26
|
+
"@pnpm/registry-mock": "3.16.0",
|
|
27
27
|
"@types/archy": "0.0.33",
|
|
28
28
|
"@types/ramda": "0.28.20",
|
|
29
29
|
"@types/ssri": "^7.1.2",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"path-exists": "^4.0.0",
|
|
33
33
|
"ssri": "10.0.5",
|
|
34
34
|
"tempy": "^1.0.1",
|
|
35
|
-
"@pnpm/
|
|
36
|
-
"@pnpm/
|
|
37
|
-
"@pnpm/plugin-commands-store": "8.0
|
|
38
|
-
"@pnpm/prepare": "0.0.
|
|
35
|
+
"@pnpm/assert-store": "1.0.75",
|
|
36
|
+
"@pnpm/lockfile-file": "8.1.4",
|
|
37
|
+
"@pnpm/plugin-commands-store": "8.1.0",
|
|
38
|
+
"@pnpm/prepare": "0.0.83"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"archy": "^1.0.0",
|
|
@@ -44,20 +44,20 @@
|
|
|
44
44
|
"p-filter": "^2.1.0",
|
|
45
45
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
46
46
|
"render-help": "^1.0.3",
|
|
47
|
-
"@pnpm/
|
|
47
|
+
"@pnpm/cli-utils": "2.1.0",
|
|
48
|
+
"@pnpm/config": "20.1.0",
|
|
49
|
+
"@pnpm/dependency-path": "2.1.5",
|
|
48
50
|
"@pnpm/error": "5.0.2",
|
|
49
|
-
"@pnpm/get-context": "10.0.
|
|
50
|
-
"@pnpm/
|
|
51
|
-
"@pnpm/
|
|
51
|
+
"@pnpm/get-context": "10.0.5",
|
|
52
|
+
"@pnpm/lockfile-utils": "8.0.7",
|
|
53
|
+
"@pnpm/normalize-registries": "5.0.4",
|
|
52
54
|
"@pnpm/parse-wanted-dependency": "5.0.0",
|
|
53
|
-
"@pnpm/
|
|
54
|
-
"@pnpm/
|
|
55
|
-
"@pnpm/types": "
|
|
56
|
-
"@pnpm/store-
|
|
57
|
-
"@pnpm/store
|
|
58
|
-
"@pnpm/
|
|
59
|
-
"@pnpm/store.cafs": "2.0.6",
|
|
60
|
-
"@pnpm/store-path": "8.0.0"
|
|
55
|
+
"@pnpm/pick-registry-for-package": "5.0.4",
|
|
56
|
+
"@pnpm/store-connection-manager": "7.0.10",
|
|
57
|
+
"@pnpm/store-controller-types": "17.1.0",
|
|
58
|
+
"@pnpm/store-path": "8.0.0",
|
|
59
|
+
"@pnpm/store.cafs": "2.0.7",
|
|
60
|
+
"@pnpm/types": "9.4.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@pnpm/logger": "^5.0.0"
|