@pnpm/engine.runtime.bun-resolver 1002.0.1 → 1100.0.1
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 +0 -1
- package/lib/index.js +3 -1
- package/package.json +13 -14
package/lib/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export interface BunRuntimeResolveResult extends ResolveResult {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function resolveBunRuntime(ctx: {
|
|
9
9
|
fetchFromRegistry: FetchFromRegistry;
|
|
10
|
-
rawConfig: Record<string, string>;
|
|
11
10
|
offline?: boolean;
|
|
12
11
|
resolveFromNpm: NpmResolver;
|
|
13
12
|
}, wantedDependency: WantedDependency, opts?: Partial<ResolveOptions>): Promise<BunRuntimeResolveResult | null>;
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getBunBinLocationForCurrentOS } from '@pnpm/constants';
|
|
2
1
|
import { fetchShasumsFile } from '@pnpm/crypto.shasums-file';
|
|
3
2
|
import { PnpmError } from '@pnpm/error';
|
|
4
3
|
import { lexCompare } from '@pnpm/util.lex-comparator';
|
|
@@ -76,4 +75,7 @@ async function readBunAssets(fetch, version) {
|
|
|
76
75
|
}
|
|
77
76
|
return assets;
|
|
78
77
|
}
|
|
78
|
+
function getBunBinLocationForCurrentOS(platform = process.platform) {
|
|
79
|
+
return platform === 'win32' ? 'bun.exe' : 'bun';
|
|
80
|
+
}
|
|
79
81
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/engine.runtime.bun-resolver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1100.0.1",
|
|
4
4
|
"description": "Resolves the Bun runtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,22 +28,21 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@pnpm/util.lex-comparator": "^3.0.2",
|
|
30
30
|
"semver": "^7.7.2",
|
|
31
|
-
"@pnpm/
|
|
32
|
-
"@pnpm/
|
|
33
|
-
"@pnpm/error": "
|
|
34
|
-
"@pnpm/fetching.
|
|
35
|
-
"@pnpm/fetching.
|
|
36
|
-
"@pnpm/
|
|
37
|
-
"@pnpm/
|
|
38
|
-
"@pnpm/resolving.npm-resolver": "
|
|
39
|
-
"@pnpm/types": "1000.9.0"
|
|
31
|
+
"@pnpm/crypto.shasums-file": "1100.0.0",
|
|
32
|
+
"@pnpm/fetching.binary-fetcher": "1100.0.1",
|
|
33
|
+
"@pnpm/error": "1100.0.0",
|
|
34
|
+
"@pnpm/fetching.fetcher-base": "1100.0.1",
|
|
35
|
+
"@pnpm/fetching.types": "1100.0.0",
|
|
36
|
+
"@pnpm/resolving.resolver-base": "1100.0.1",
|
|
37
|
+
"@pnpm/types": "1101.0.0",
|
|
38
|
+
"@pnpm/resolving.npm-resolver": "1100.0.1"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
|
-
"@pnpm/worker": "^
|
|
41
|
+
"@pnpm/worker": "^1100.0.1"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@types/semver": "7.7.1",
|
|
46
|
-
"@pnpm/engine.runtime.bun-resolver": "
|
|
45
|
+
"@pnpm/engine.runtime.bun-resolver": "1100.0.1"
|
|
47
46
|
},
|
|
48
47
|
"engines": {
|
|
49
48
|
"node": ">=22.13"
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
},
|
|
54
53
|
"scripts": {
|
|
55
54
|
"lint": "eslint \"src/**/*.ts\"",
|
|
56
|
-
"test": "
|
|
57
|
-
"compile": "tsgo --build &&
|
|
55
|
+
"test": "pn compile",
|
|
56
|
+
"compile": "tsgo --build && pn lint --fix"
|
|
58
57
|
}
|
|
59
58
|
}
|