@savvy-web/cli 3.7.19 → 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 +9 -2
- package/commands/lint/biome-version.js +1 -1
- package/index.d.ts +11 -0
- package/package.json +18 -16
- package/version.js +1 -1
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
|
|
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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/cli",
|
|
3
|
-
"version": "3.7.
|
|
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,21 +36,23 @@
|
|
|
36
36
|
"savvy": "bin/savvy.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@effect/platform-node": "
|
|
40
|
-
"@effected/
|
|
41
|
-
"@effected/
|
|
42
|
-
"@effected/
|
|
43
|
-
"@effected/
|
|
44
|
-
"@effected/
|
|
45
|
-
"@effected/
|
|
46
|
-
"@effected/
|
|
47
|
-
"@effected/
|
|
48
|
-
"@effected/
|
|
49
|
-
"@effected/
|
|
50
|
-
"@effected/
|
|
51
|
-
"@effected/
|
|
52
|
-
"@
|
|
53
|
-
"
|
|
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",
|
|
54
56
|
"ink": "^8.0.0",
|
|
55
57
|
"react": "^19.3.1"
|
|
56
58
|
}
|