@savvy-web/cli 3.7.1 → 3.7.3
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Command } from "effect/cli";
|
|
2
|
-
import { resolve } from "node:path";
|
|
3
2
|
import { Commitlint } from "@savvy-web/silk-effects";
|
|
4
3
|
import { Effect, Schema } from "effect";
|
|
5
4
|
|
|
@@ -47,7 +46,7 @@ const preCommitMessageCommand = Command.make("pre-commit-message", {}, () => Eff
|
|
|
47
46
|
if (!command) return;
|
|
48
47
|
const branchInfo = yield* Commitlint.readBranchInfo();
|
|
49
48
|
const signing = yield* Commitlint.readSigningDiagnostic();
|
|
50
|
-
const issuesPath =
|
|
49
|
+
const issuesPath = yield* Commitlint.resolveIssuesCachePath();
|
|
51
50
|
const issues = (yield* Commitlint.readOpenIssuesFromCache(issuesPath)) ?? [];
|
|
52
51
|
const out = yield* Effect.promise(() => evaluateMessage(command, {
|
|
53
52
|
branchInfo,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Command } from "effect/cli";
|
|
2
|
-
import { resolve } from "node:path";
|
|
3
2
|
import { Commitlint } from "@savvy-web/silk-effects";
|
|
4
3
|
import { Effect } from "effect";
|
|
5
4
|
|
|
@@ -13,7 +12,7 @@ import { Effect } from "effect";
|
|
|
13
12
|
const sessionStartCommand = Command.make("session-start", {}, () => Effect.gen(function* () {
|
|
14
13
|
const branch = yield* Commitlint.readBranchInfo();
|
|
15
14
|
const signing = yield* Commitlint.readSigningDiagnostic();
|
|
16
|
-
const issuesCachePath =
|
|
15
|
+
const issuesCachePath = yield* Commitlint.resolveIssuesCachePath();
|
|
17
16
|
const issues = yield* Commitlint.readOrFetchOpenIssues(issuesCachePath);
|
|
18
17
|
const blocks = [];
|
|
19
18
|
blocks.push(buildSkillDirectiveBlock());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/cli",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.3",
|
|
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,8 +36,8 @@
|
|
|
36
36
|
"savvy": "bin/savvy.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@effect/platform-node": "^4.0.
|
|
40
|
-
"@effected/cli": "^0.
|
|
39
|
+
"@effect/platform-node": "^4.0.2",
|
|
40
|
+
"@effected/cli": "^0.15.0",
|
|
41
41
|
"@effected/commands": "^0.11.0",
|
|
42
42
|
"@effected/engine": "^0.4.0",
|
|
43
43
|
"@effected/env": "^0.1.0",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@effected/walker": "^0.15.0",
|
|
49
49
|
"@effected/workspaces": "^0.32.0",
|
|
50
50
|
"@effected/yaml": "^0.19.1",
|
|
51
|
-
"@savvy-web/silk-effects": "9.
|
|
52
|
-
"effect": "^4.0.
|
|
53
|
-
"ink": "^
|
|
51
|
+
"@savvy-web/silk-effects": "9.5.0",
|
|
52
|
+
"effect": "^4.0.2",
|
|
53
|
+
"ink": "^8.0.0",
|
|
54
54
|
"react": "^19.3.0"
|
|
55
55
|
}
|
|
56
56
|
}
|