@savvy-web/github-action-builder 2.4.6 → 2.4.8
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.
|
@@ -5,8 +5,9 @@ import { initCommand } from "../cli/commands/init.js";
|
|
|
5
5
|
import { validateCommand } from "../cli/commands/validate.js";
|
|
6
6
|
import "../cli/commands/index.js";
|
|
7
7
|
import { Effect, Layer } from "effect";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
|
|
9
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
10
|
+
import { Command } from "effect/cli";
|
|
10
11
|
|
|
11
12
|
//#region src/cli/index.ts
|
|
12
13
|
/* v8 ignore start - CLI entry point requires integration testing */
|
|
@@ -24,7 +25,7 @@ const rootCommand = Command.make("github-action-builder").pipe(Command.withSubco
|
|
|
24
25
|
/**
|
|
25
26
|
* CLI application: reads argv from the Stdio service provided by NodeServices.
|
|
26
27
|
*/
|
|
27
|
-
const cli = Command.run(rootCommand, { version: "2.4.
|
|
28
|
+
const cli = Command.run(rootCommand, { version: "2.4.8" });
|
|
28
29
|
/**
|
|
29
30
|
* Combined layer: AppLayer + the Node implementations of the CLI
|
|
30
31
|
* environment (FileSystem, Path, Terminal, Stdio, ChildProcessSpawner).
|
package/cli/commands/build.js
CHANGED
|
@@ -4,7 +4,7 @@ import { BuildService } from "../../services/build.js";
|
|
|
4
4
|
import { PersistLocalService } from "../../services/persist-local.js";
|
|
5
5
|
import { ValidationService } from "../../services/validation.js";
|
|
6
6
|
import { Console, Effect, Option } from "effect";
|
|
7
|
-
import { Command, Flag } from "effect/
|
|
7
|
+
import { Command, Flag } from "effect/cli";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/commands/build.ts
|
|
10
10
|
/* v8 ignore start - CLI commands require integration testing */
|
package/cli/commands/init.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Console, Effect } from "effect";
|
|
2
2
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
|
-
import { Argument, Command, Flag } from "effect/
|
|
4
|
+
import { Argument, Command, Flag } from "effect/cli";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/commands/init.ts
|
|
7
7
|
/* v8 ignore start - CLI commands require integration testing */
|
|
@@ -20,7 +20,7 @@ const forceOption = Flag.Boolean("force").pipe(Flag.withAlias("f"), Flag.withDes
|
|
|
20
20
|
* Get current package version (replaced at build time).
|
|
21
21
|
*/
|
|
22
22
|
const getPackageVersion = () => {
|
|
23
|
-
return "2.4.
|
|
23
|
+
return "2.4.8";
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Generate package.json content.
|
package/cli/commands/validate.js
CHANGED
|
@@ -2,7 +2,7 @@ import { ConfigService } from "../../services/config.js";
|
|
|
2
2
|
import { ValidationService } from "../../services/validation.js";
|
|
3
3
|
import { configOption, quietOption } from "./build.js";
|
|
4
4
|
import { Console, Effect, Option } from "effect";
|
|
5
|
-
import { Command } from "effect/
|
|
5
|
+
import { Command } from "effect/cli";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/commands/validate.ts
|
|
8
8
|
/* v8 ignore start - CLI commands require integration testing */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/github-action-builder",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A zero-config build tool for creating GitHub Actions from TypeScript. Bundles with rsbuild, validates action.yml against GitHub's schema, and outputs production-ready Node.js 24 actions.",
|
|
6
6
|
"keywords": [
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"github-action-builder": "bin/github-action-builder.js"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
52
|
-
"@effected/yaml": "^0.
|
|
51
|
+
"@effect/platform-node": "4.0.0-rc.118",
|
|
52
|
+
"@effected/yaml": "^0.18.0",
|
|
53
53
|
"@rsbuild/core": "^2.2.9",
|
|
54
|
-
"effect": "4.0.0-rc.
|
|
54
|
+
"effect": "4.0.0-rc.118",
|
|
55
55
|
"jiti": "^2.7.0",
|
|
56
56
|
"picocolors": "^1.1.1"
|
|
57
57
|
},
|