@savvy-web/cli 3.7.18 → 3.7.20

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/bin/savvy.js CHANGED
@@ -1,12 +1,19 @@
1
1
  #!/usr/bin/env node
2
- import { main } from "../main.js";
3
-
4
2
  // src/bin.ts
5
3
  /**
6
4
  * The `savvy` bin. Imports `main` and calls it. Nothing else, ever.
7
5
  * @internal
8
6
  */
9
7
  /* v8 ignore start -- bin shim; covered by the silk bins e2e */
8
+ if (import.meta.url.endsWith(".ts")) {
9
+ const { register } = await import([
10
+ "tsx",
11
+ "esm",
12
+ "api"
13
+ ].join("/"));
14
+ register();
15
+ }
16
+ const { main } = await import("../main.js");
10
17
  main();
11
18
  /* v8 ignore stop */
12
19
 
@@ -19,6 +19,6 @@
19
19
  *
20
20
  * @internal
21
21
  */
22
- const BIOME_VERSION = "2.6.4";
22
+ const BIOME_VERSION = "2.6.6";
23
23
 
24
24
  export { BIOME_VERSION };
@@ -121,7 +121,7 @@ var ReposCli = class ReposCli {
121
121
  title: "dirty",
122
122
  items
123
123
  }]
124
- }), { otherwise: names }).pipe(Effect.catchTag("NotInteractive", () => Effect.succeed(names)));
124
+ }), { otherwise: names });
125
125
  };
126
126
  };
127
127
 
package/index.d.ts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * `@savvy-web/cli` — the `savvy` CLI for the Silk Suite.
3
+ *
4
+ * @remarks
5
+ * This entry point re-exports the `changeset`, `commit`, `lint`, and `repos` command
6
+ * groups and their named handlers. The assembled root `savvy` command and its merged
7
+ * runtime layer stack live in `./cli/index.js`; the process-owning `main()` that runs
8
+ * them lives at `@savvy-web/cli/main` (`./main.js`) — see `bin.ts`.
9
+ *
10
+ * @packageDocumentation
11
+ */
1
12
  import { Block, Cancelled, CliDoc, CliDocSource, CliExit, CliLinks, CliTheme, Document } from "@effected/cli-kit";
2
13
  import { BiomeSchemaSync, ChangesetConfigReader, Changesets, ConfigDiscovery, Repos } from "@savvy-web/silk-effects";
3
14
  import { Cause, Effect, FileSystem, Path } from "effect";
@@ -46,6 +46,6 @@ const yesFlag = Flag.Boolean("yes").pipe(Flag.withAlias("y"), Flag.withDescripti
46
46
  const confirmDestructive = (options) => options.yes ? Effect.succeed(true) : CliUi.prompt(Confirm.screen({ message: options.message }), { otherwise: {
47
47
  confirmed: true,
48
48
  toggles: {}
49
- } }).pipe(Effect.map((result) => result.confirmed), Effect.catchTag("NotInteractive", () => Effect.succeed(true)));
49
+ } }).pipe(Effect.map((result) => result.confirmed));
50
50
 
51
51
  export { confirmDestructive, yesFlag };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/cli",
3
- "version": "3.7.18",
3
+ "version": "3.7.20",
4
4
  "private": false,
5
5
  "description": "The savvy CLI — unified commit, changeset, and lint commands for the Silk Suite",
6
6
  "homepage": "https://github.com/savvy-web/systems/tree/main/packages/cli",
@@ -36,22 +36,23 @@
36
36
  "savvy": "bin/savvy.js"
37
37
  },
38
38
  "dependencies": {
39
- "@effect/platform-node": "~4.1.2",
40
- "@effected/cli-kit": "^0.26.0",
41
- "@effected/commands": "^0.20.0",
42
- "@effected/config-file": "^0.24.0",
43
- "@effected/env": "^0.10.0",
44
- "@effected/git": "^0.30.0",
45
- "@effected/glob": "^0.18.0",
46
- "@effected/jsonc": "^0.23.0",
47
- "@effected/kit": "^0.12.0",
48
- "@effected/templates": "^0.17.0",
49
- "@effected/toml": "^0.19.0",
50
- "@effected/walker": "^0.25.0",
51
- "@effected/workspaces": "^0.42.0",
52
- "@effected/yaml": "^0.28.0",
53
- "@savvy-web/silk-effects": "^11.0.1",
54
- "effect": "~4.1.2",
39
+ "@effect/platform-node": "4.1.3",
40
+ "@effected/changesets": "^0.4.0",
41
+ "@effected/cli-kit": "^0.28.0",
42
+ "@effected/commands": "^0.21.0",
43
+ "@effected/env": "^0.12.0",
44
+ "@effected/git": "^0.32.0",
45
+ "@effected/github": "^0.32.0",
46
+ "@effected/glob": "^0.21.0",
47
+ "@effected/jsonc": "^0.25.0",
48
+ "@effected/kit": "^0.14.0",
49
+ "@effected/templates": "^0.20.0",
50
+ "@effected/toml": "^0.20.0",
51
+ "@effected/walker": "^0.27.0",
52
+ "@effected/workspaces": "^0.45.0",
53
+ "@effected/yaml": "^0.30.0",
54
+ "@savvy-web/silk-effects": "^12.0.0",
55
+ "effect": "4.1.3",
55
56
  "ink": "^8.0.0",
56
57
  "react": "^19.3.1"
57
58
  }
package/version.js CHANGED
@@ -7,6 +7,6 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  /** @internal */
10
- const CLI_VERSION = "3.7.18";
10
+ const CLI_VERSION = "3.7.20";
11
11
 
12
12
  export { CLI_VERSION };