runtime-resolver 0.3.2 → 0.3.4
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/711.js +4 -0
- package/README.md +3 -1
- package/bin/runtime-resolver.js +1 -1
- package/package.json +7 -5
package/711.js
CHANGED
|
@@ -3,6 +3,10 @@ import { Range, SemVer, SemVerParserLive, VersionCache, VersionCacheLive } from
|
|
|
3
3
|
import { Octokit } from "octokit";
|
|
4
4
|
import { createAppAuth } from "@octokit/auth-app";
|
|
5
5
|
const bunDefaultInputs = [
|
|
6
|
+
{
|
|
7
|
+
version: "1.3.13",
|
|
8
|
+
date: "2026-04-20T08:07:57Z"
|
|
9
|
+
},
|
|
6
10
|
{
|
|
7
11
|
version: "1.3.12",
|
|
8
12
|
date: "2026-04-10T03:04:46Z"
|
package/README.md
CHANGED
|
@@ -24,6 +24,8 @@ Resolve semver-compatible versions of Node.js, Bun and Deno runtimes. Fetches av
|
|
|
24
24
|
npm install runtime-resolver
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
The Effect packages (`effect`, `@effect/cli`, `@effect/platform`, `@effect/platform-node`) are declared as peer dependencies. npm 7+ and pnpm auto-install them by default. If you already use Effect in your project, your existing versions will be reused.
|
|
28
|
+
|
|
27
29
|
## Quick Start
|
|
28
30
|
|
|
29
31
|
```typescript
|
|
@@ -38,7 +40,7 @@ const bun = await resolveBun({ semverRange: ">=1.1", increments: "minor" });
|
|
|
38
40
|
const deno = await resolveDeno({ semverRange: ">=2", increments: "minor" });
|
|
39
41
|
```
|
|
40
42
|
|
|
41
|
-
Set a `
|
|
43
|
+
Set a `GITHUB_PERSONAL_ACCESS_TOKEN` or `GITHUB_TOKEN` environment variable for authenticated requests. Without one, the resolver falls back to cached data.
|
|
42
44
|
|
|
43
45
|
### CLI
|
|
44
46
|
|
package/bin/runtime-resolver.js
CHANGED
|
@@ -259,7 +259,7 @@ const rootCommand = Command.make("runtime-resolver", {
|
|
|
259
259
|
}, resolveHandler);
|
|
260
260
|
const cli = Command.run(rootCommand, {
|
|
261
261
|
name: "runtime-resolver",
|
|
262
|
-
version: "0.3.
|
|
262
|
+
version: "0.3.4"
|
|
263
263
|
});
|
|
264
264
|
const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(NodeContext.layer), Effect.catchAllCause((cause)=>{
|
|
265
265
|
const defects = Cause.defects(cause);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runtime-resolver",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Resolve semver-compatible versions of Node.js, Bun, and Deno runtimes with Effect-based architecture and offline fallback.",
|
|
6
6
|
"keywords": [
|
|
@@ -42,14 +42,16 @@
|
|
|
42
42
|
"runtime-resolver": "./bin/runtime-resolver.js"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@effect/cli": "^0.75.0",
|
|
46
|
-
"@effect/platform": "^0.96.0",
|
|
47
|
-
"@effect/platform-node": "^0.106.0",
|
|
48
45
|
"@octokit/auth-app": "^8.2.0",
|
|
49
|
-
"effect": "^3.21.0",
|
|
50
46
|
"octokit": "^5.0.5",
|
|
51
47
|
"semver-effect": "^0.2.1"
|
|
52
48
|
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@effect/cli": ">=0.75.0",
|
|
51
|
+
"@effect/platform": ">=0.96.0",
|
|
52
|
+
"@effect/platform-node": ">=0.106.0",
|
|
53
|
+
"effect": ">=3.21.0"
|
|
54
|
+
},
|
|
53
55
|
"files": [
|
|
54
56
|
"!runtime-resolver.api.json",
|
|
55
57
|
"!tsconfig.json",
|