runtime-resolver 1.0.12 → 1.0.13

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.
@@ -6,7 +6,7 @@ import { Effect, Exit } from "effect";
6
6
  import { Command } from "effect/unstable/cli";
7
7
 
8
8
  //#region src/cli/index.ts
9
- const program = Command.runWith(cli, { version: "1.0.12" })(process.argv.slice(2)).pipe(Effect.provide(NodeCliEnvironment));
9
+ const program = Command.runWith(cli, { version: "1.0.13" })(process.argv.slice(2)).pipe(Effect.provide(NodeCliEnvironment));
10
10
  const exit = await Effect.runPromiseExit(program);
11
11
  if (Exit.isFailure(exit)) {
12
12
  process.exitCode = 1;
package/command.js CHANGED
@@ -41,8 +41,8 @@ const nodeDefaultFlag = Flag.optional(Flag.string("node-default").pipe(Flag.with
41
41
  const bunDefaultFlag = Flag.optional(Flag.string("bun-default").pipe(Flag.withDescription("Range whose newest Bun match becomes the `default` field")));
42
42
  const denoDefaultFlag = Flag.optional(Flag.string("deno-default").pipe(Flag.withDescription("Range whose newest Deno match becomes the `default` field")));
43
43
  const nodeDateFlag = Flag.optional(Flag.date("node-date").pipe(Flag.withDescription("ISO date at which to evaluate Node lifecycle phases")));
44
- const prettyFlag = Flag.boolean("pretty").pipe(Flag.withDescription("Pretty-print the JSON output with 2-space indentation"));
45
- const offlineFlag = Flag.boolean("offline").pipe(Flag.withDescription("Resolve from the bundled snapshot only; make no network requests"));
44
+ const prettyFlag = Flag.boolean("pretty").pipe(Flag.withDescription("Pretty-print the JSON output with 2-space indentation"), Flag.withDefault(false));
45
+ const offlineFlag = Flag.boolean("offline").pipe(Flag.withDescription("Resolve from the bundled snapshot only; make no network requests"), Flag.withDefault(false));
46
46
  const tokenFlag = Flag.optional(Flag.redacted("token").pipe(Flag.withDescription("GitHub personal access token used for Bun and Deno lookups")));
47
47
  /**
48
48
  * Build the `runtime-resolver` command around a resolver-layer selector.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runtime-resolver",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
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": [
@@ -37,9 +37,9 @@
37
37
  "runtime-resolver": "bin/runtime-resolver.js"
38
38
  },
39
39
  "dependencies": {
40
- "@effected/runtimes": "^0.4.6",
41
- "@effected/semver": "^0.5.1",
42
- "effect": "4.0.0-rc.109"
40
+ "@effected/runtimes": "^0.5.0",
41
+ "@effected/semver": "^0.6.0",
42
+ "effect": "4.0.0-rc.112"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24.11.0"