@savvy-web/cli 0.4.2 → 0.5.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
@@ -38,7 +38,7 @@ import { PackageManagerDetectorLive, WorkspaceDiscoveryLive, WorkspaceRootLive }
38
38
  * `Changesets.BranchAnalyzerLive`, which shares the single `ConfigInspectorLive`
39
39
  * instance built once via `provideMerge`.
40
40
  *
41
- * The CLI version is injected at build time via `__PACKAGE_VERSION__`.
41
+ * The CLI version is injected at build time via `process.env.__PACKAGE_VERSION__`.
42
42
  *
43
43
  * @internal
44
44
  */
@@ -56,7 +56,7 @@ const rootCommand = Command.make("savvy").pipe(Command.withSubcommands([
56
56
  ]));
57
57
  const cli = Command.run(rootCommand, {
58
58
  name: "savvy",
59
- version: process.env.__PACKAGE_VERSION__ ?? "0.0.0"
59
+ version: "0.5.0"
60
60
  });
61
61
  /**
62
62
  * Shared base layer: workspace services, the changeset config reader, and the
@@ -90,8 +90,10 @@ const BaseLive = Layer.mergeAll(WorkspaceLive, ChangesetConfigReaderLive, Manage
90
90
  * The upper services depend on members of `BaseLive`:
91
91
  * `ToolDiscoveryLive` needs `WorkspaceRoot`, `PackageManagerDetector`, and
92
92
  * `CommandExecutor`; `VersioningStrategyLive` needs `ChangesetConfigReader`;
93
- * `Changesets.ConfigInspectorLive` needs `ChangesetConfigReader` and
94
- * `WorkspaceDiscovery`; `Changesets.BranchAnalyzerLive` needs `ConfigInspector`.
93
+ * `Changesets.ConfigInspectorLive` needs `ChangesetConfigReader`,
94
+ * `WorkspaceDiscovery`, and `FileSystem` (the last for its release-surface
95
+ * fallback when no explicit `packages` record is configured);
96
+ * `Changesets.BranchAnalyzerLive` needs `ConfigInspector`.
95
97
  *
96
98
  * `ConfigInspectorLive` is built once via {@link Layer.provideMerge}: the merge
97
99
  * feeds that single `ConfigInspector` instance into `BranchAnalyzerLive` AND
package/index.d.ts CHANGED
@@ -34,7 +34,7 @@ import { JsoncParseError } from "jsonc-effect";
34
34
  * `Changesets.BranchAnalyzerLive`, which shares the single `ConfigInspectorLive`
35
35
  * instance built once via `provideMerge`.
36
36
  *
37
- * The CLI version is injected at build time via `__PACKAGE_VERSION__`.
37
+ * The CLI version is injected at build time via `process.env.__PACKAGE_VERSION__`.
38
38
  *
39
39
  * @internal
40
40
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/cli",
3
- "version": "0.4.2",
3
+ "version": "0.5.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",
@@ -23,17 +23,18 @@
23
23
  ".": {
24
24
  "types": "./index.d.ts",
25
25
  "import": "./index.js"
26
- }
26
+ },
27
+ "./package.json": "./package.json"
27
28
  },
28
29
  "bin": {
29
30
  "savvy": "bin/savvy.js"
30
31
  },
31
32
  "dependencies": {
32
- "@effect/cli": "^0.75.1",
33
+ "@effect/cli": "^0.75.2",
33
34
  "@effect/platform": "^0.96.1",
34
- "@effect/platform-node": "^0.106.0",
35
- "@savvy-web/silk-effects": "1.0.1",
36
- "effect": "^3.21.2",
35
+ "@effect/platform-node": "^0.107.0",
36
+ "@savvy-web/silk-effects": "1.1.0",
37
+ "effect": "^3.21.3",
37
38
  "jsonc-effect": "^0.2.1",
38
39
  "workspaces-effect": "^1.2.0",
39
40
  "yaml": "^2.9.0"