@savvy-web/cli 2.9.2 → 2.10.0

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/cli/index.js CHANGED
@@ -76,7 +76,7 @@ const rootCommand = Command.make("savvy").pipe(Command.withSubcommands([
76
76
  * CLI application: reads argv from the Stdio service provided by NodeServices.
77
77
  * (v4's `Command.run` takes only `version` — the name comes from the root command.)
78
78
  */
79
- const cli = Command.run(rootCommand, { version: "2.9.2" });
79
+ const cli = Command.run(rootCommand, { version: "2.10.0" });
80
80
  /**
81
81
  * Shared workspace services from `@effected/workspaces`, wired as a
82
82
  * self-contained unit and built ONCE (layers memoize by reference).
@@ -19,7 +19,7 @@
19
19
  *
20
20
  * @internal
21
21
  */
22
- const BIOME_VERSION = "2.5.11";
22
+ const BIOME_VERSION = "2.5.12";
23
23
 
24
24
  //#endregion
25
25
  export { BIOME_VERSION };
package/index.d.ts CHANGED
@@ -65,7 +65,7 @@ import { JsoncParseError } from "@effected/jsonc";
65
65
  *
66
66
  * @internal
67
67
  */
68
- declare function runCli(): void;
68
+ export declare function runCli(): void;
69
69
  //#endregion
70
70
  //#region src/commands/changeset/commands/check.d.ts
71
71
  /**
@@ -79,7 +79,7 @@ declare function runCli(): void;
79
79
  *
80
80
  * @internal
81
81
  */
82
- declare function runChangesetCheck(dir: string): Effect.Effect<void, Error>;
82
+ export declare function runChangesetCheck(dir: string): Effect.Effect<void, Error>;
83
83
  //#endregion
84
84
  //#region src/commands/changeset/commands/init.d.ts
85
85
  /**
@@ -93,7 +93,7 @@ declare function runChangesetCheck(dir: string): Effect.Effect<void, Error>;
93
93
  *
94
94
  * @internal
95
95
  */
96
- declare function runChangesetInit(opts: {
96
+ export declare function runChangesetInit(opts: {
97
97
  force: boolean;
98
98
  quiet: boolean;
99
99
  skipMarkdownlint: boolean;
@@ -116,7 +116,7 @@ declare function runChangesetInit(opts: {
116
116
  * `Command.withSubcommands` propagates each subcommand's requirements up into
117
117
  * the group's `R`, which the root assembly discharges via `AppLive`.
118
118
  */
119
- declare const changesetCommand: Command.Command<"changeset", Record<string, never>, Record<string, never>, Changesets.ConfigurationError | Error | Changesets.ReleasePlanError | Cause.UnknownError | Changesets.DepsRegenPlanError, ChildProcessSpawner.ChildProcessSpawner | Changesets.ConfigInspector | FileSystem.FileSystem | Path.Path | Changesets.ReleasePlanner>;
119
+ export declare const changesetCommand: Command.Command<"changeset", Record<string, never>, Record<string, never>, Changesets.ConfigurationError | Error | Changesets.ReleasePlanError | Cause.UnknownError | Changesets.DepsRegenPlanError, ChildProcessSpawner.ChildProcessSpawner | Changesets.ConfigInspector | FileSystem.FileSystem | Path.Path | Changesets.ReleasePlanner>;
120
120
  //#endregion
121
121
  //#region src/commands/check.d.ts
122
122
  /**
@@ -131,7 +131,7 @@ declare const changesetCommand: Command.Command<"changeset", Record<string, neve
131
131
  * @returns An Effect that resolves to `void` on success, or fails with the
132
132
  * union of all failing steps' errors.
133
133
  */
134
- declare function runCheck<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint>(steps: {
134
+ export declare function runCheck<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint>(steps: {
135
135
  changeset: Effect.Effect<unknown, EChangeset, RChangeset>;
136
136
  commit: Effect.Effect<unknown, ECommit, RCommit>;
137
137
  lint: Effect.Effect<unknown, ELint, RLint>;
@@ -144,7 +144,7 @@ declare function runCheck<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint
144
144
  * errors from Effect's internal types. Task B7 should use this via
145
145
  * `Command.withSubcommands([checkCommand as never])` or re-infer the type.
146
146
  */
147
- declare const checkCommand: Command.Command<"check", {
147
+ export declare const checkCommand: Command.Command<"check", {
148
148
  readonly changesetDir: string;
149
149
  readonly quiet: boolean;
150
150
  }, {}, Error | import("@effected/jsonc").JsoncParseError | import("effect/PlatformError").PlatformError | import("@effected/templates").SectionFileError | import("@effected/templates").SectionParseError, import("@savvy-web/silk-effects").ChangesetConfigReader | import("@savvy-web/silk-effects").ConfigDiscovery | import("effect/FileSystem").FileSystem | import("@effected/templates").ManagedSection | import("@effected/workspaces").PublishabilityDetector | import("@effected/commands").ToolDiscovery | import("@effected/workspaces").WorkspaceDiscovery>;
@@ -160,7 +160,7 @@ declare const checkCommand: Command.Command<"check", {
160
160
  *
161
161
  * @internal
162
162
  */
163
- declare function runCommitCheck(): Effect.Effect<void, SectionParseError | SectionFileError | PlatformError, ManagedSection | FileSystem.FileSystem | ChangesetConfigReader | PublishabilityDetector | WorkspaceDiscovery>;
163
+ export declare function runCommitCheck(): Effect.Effect<void, SectionParseError | SectionFileError | PlatformError, ManagedSection | FileSystem.FileSystem | ChangesetConfigReader | PublishabilityDetector | WorkspaceDiscovery>;
164
164
  //#endregion
165
165
  //#region src/commands/commit/init.d.ts
166
166
  /**
@@ -174,7 +174,7 @@ declare function runCommitCheck(): Effect.Effect<void, SectionParseError | Secti
174
174
  *
175
175
  * @internal
176
176
  */
177
- declare function runCommitInit(opts: {
177
+ export declare function runCommitInit(opts: {
178
178
  force: boolean;
179
179
  config: string;
180
180
  }): Effect.Effect<void, Error | SectionParseError | SectionRenderError | SectionFileError | PlatformError, ManagedSection | FileSystem.FileSystem>;
@@ -188,7 +188,7 @@ declare function runCommitInit(opts: {
188
188
  * errors from Effect's internal types. Task B7 should import and use this directly
189
189
  * as `Command.withSubcommands([commitCommand])` — the cast is for declaration emit only.
190
190
  */
191
- declare const commitCommand: Command.Command<"commit", {}, {}, import("effect/unstable/cli/CliError").UserError, import("effect/unstable/process/ChildProcessSpawner").ChildProcessSpawner | import("@effected/git").Git>;
191
+ export declare const commitCommand: Command.Command<"commit", {}, {}, import("effect/unstable/cli/CliError").UserError, import("effect/unstable/process/ChildProcessSpawner").ChildProcessSpawner | import("@effected/git").Git>;
192
192
  //#endregion
193
193
  //#region src/commands/init.d.ts
194
194
  /**
@@ -201,7 +201,7 @@ declare const commitCommand: Command.Command<"commit", {}, {}, import("effect/un
201
201
  * @returns An Effect that resolves to `void` on success, or fails with the
202
202
  * error of the first failing step.
203
203
  */
204
- declare function runInit<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint>(steps: {
204
+ export declare function runInit<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint>(steps: {
205
205
  changeset: Effect.Effect<unknown, EChangeset, RChangeset>;
206
206
  commit: Effect.Effect<unknown, ECommit, RCommit>;
207
207
  lint: Effect.Effect<unknown, ELint, RLint>;
@@ -214,7 +214,7 @@ declare function runInit<EChangeset, RChangeset, ECommit, RCommit, ELint, RLint>
214
214
  * errors from Effect's internal types. Task B7 should use this via
215
215
  * `Command.withSubcommands([initCommand as never])` or re-infer the type.
216
216
  */
217
- declare const initCommand: Command.Command<"init", {
217
+ export declare const initCommand: Command.Command<"init", {
218
218
  readonly force: boolean;
219
219
  readonly commitConfig: string;
220
220
  readonly lintConfig: string;
@@ -233,7 +233,7 @@ declare const initCommand: Command.Command<"init", {
233
233
  *
234
234
  * @internal
235
235
  */
236
- declare function runLintCheck(opts: {
236
+ export declare function runLintCheck(opts: {
237
237
  quiet: boolean;
238
238
  }): Effect.Effect<void, JsoncParseError | SectionParseError | SectionFileError | PlatformError, ManagedSection | FileSystem.FileSystem | ToolDiscovery | ConfigDiscovery>;
239
239
  //#endregion
@@ -249,7 +249,7 @@ declare function runLintCheck(opts: {
249
249
  *
250
250
  * @internal
251
251
  */
252
- declare function runLintInit(opts: {
252
+ export declare function runLintInit(opts: {
253
253
  force: boolean;
254
254
  config: string;
255
255
  preset: "minimal" | "standard" | "silk";
@@ -264,7 +264,7 @@ declare function runLintInit(opts: {
264
264
  * errors from Effect's internal types. Task B7 should import and use this directly
265
265
  * as `Command.withSubcommands([lintCommand])` — the cast is for declaration emit only.
266
266
  */
267
- declare const lintCommand: Command.Command<"lint", {}, {}, import("@effected/yaml").YamlParseError, never>;
267
+ export declare const lintCommand: Command.Command<"lint", {}, {}, import("@effected/yaml").YamlParseError, never>;
268
268
  //#endregion
269
269
  //#region src/commands/repos/commands/status.d.ts
270
270
  /**
@@ -272,7 +272,7 @@ declare const lintCommand: Command.Command<"lint", {}, {}, import("@effected/yam
272
272
  *
273
273
  * @internal
274
274
  */
275
- declare const runReposStatus: (cwd: string, json: boolean, drift?: boolean) => Effect.Effect<void, Repos.GitSubmoduleError, Repos.ReposDrift | Repos.ReposManager>;
275
+ export declare const runReposStatus: (cwd: string, json: boolean, drift?: boolean) => Effect.Effect<void, Repos.GitSubmoduleError, Repos.ReposDrift | Repos.ReposManager>;
276
276
  //#endregion
277
277
  //#region src/commands/repos/commands/sync.d.ts
278
278
  /**
@@ -280,7 +280,7 @@ declare const runReposStatus: (cwd: string, json: boolean, drift?: boolean) => E
280
280
  *
281
281
  * @internal
282
282
  */
283
- declare const runReposSync: (cwd: string) => Effect.Effect<void, never, Repos.ReposManager>;
283
+ export declare const runReposSync: (cwd: string) => Effect.Effect<void, never, Repos.ReposManager>;
284
284
  //#endregion
285
285
  //#region src/commands/repos/index.d.ts
286
286
  /**
@@ -311,7 +311,6 @@ declare const runReposSync: (cwd: string) => Effect.Effect<void, never, Repos.Re
311
311
  * or (under `--drift`) `Repos.ReposDrift.check` is the sole channel that
312
312
  * escapes uncaught, so it is the only member left in this union.
313
313
  */
314
- declare const reposCommand: Command.Command<"repos", Record<string, never>, Record<string, never>, Repos.GitSubmoduleError, Repos.ReposManager | Repos.ReposDrift>;
314
+ export declare const reposCommand: Command.Command<"repos", Record<string, never>, Record<string, never>, Repos.GitSubmoduleError, Repos.ReposManager | Repos.ReposDrift>;
315
315
  //#endregion
316
- export { changesetCommand, checkCommand, commitCommand, initCommand, lintCommand, reposCommand, runChangesetCheck, runChangesetInit, runCheck, runCli, runCommitCheck, runCommitInit, runInit, runLintCheck, runLintInit, runReposStatus, runReposSync };
317
316
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/cli",
3
- "version": "2.9.2",
3
+ "version": "2.10.0",
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,9 +36,9 @@
36
36
  "@effected/git": "^0.10.0",
37
37
  "@effected/jsonc": "^0.8.1",
38
38
  "@effected/templates": "^0.4.0",
39
- "@effected/workspaces": "^0.18.3",
39
+ "@effected/workspaces": "^0.19.0",
40
40
  "@effected/yaml": "^0.12.0",
41
- "@savvy-web/silk-effects": "7.3.2",
41
+ "@savvy-web/silk-effects": "7.4.0",
42
42
  "effect": "4.0.0-rc.109"
43
43
  }
44
44
  }