@savvy-web/github-action-builder 0.6.1 → 0.6.2
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/677.js +3 -2
- package/bin/github-action-builder.js +2 -2
- package/package.json +2 -2
- package/tsconfig/action.json +2 -1
package/677.js
CHANGED
|
@@ -538,13 +538,14 @@ const ACTRC_CONTENT = `--container-architecture linux/amd64
|
|
|
538
538
|
-W .github/workflows/act-test.yml
|
|
539
539
|
`;
|
|
540
540
|
const ACT_WORKFLOW_CONTENT = `name: Local Test
|
|
541
|
-
on:
|
|
541
|
+
on:
|
|
542
|
+
workflow_dispatch:
|
|
542
543
|
|
|
543
544
|
jobs:
|
|
544
545
|
test:
|
|
545
546
|
runs-on: ubuntu-latest
|
|
546
547
|
steps:
|
|
547
|
-
- uses: actions/checkout@
|
|
548
|
+
- uses: actions/checkout@v6
|
|
548
549
|
- uses: ./.github/actions/local
|
|
549
550
|
`;
|
|
550
551
|
function formatPersistResult(result) {
|
|
@@ -74,7 +74,7 @@ const actionNameArg = Args.text({
|
|
|
74
74
|
name: "action-name"
|
|
75
75
|
}).pipe(Args.withDescription("Name of the GitHub Action (also the output directory)"));
|
|
76
76
|
const forceOption = Options.boolean("force").pipe(Options.withAlias("f"), Options.withDescription("Overwrite existing files"), Options.withDefault(false));
|
|
77
|
-
const getPackageVersion = ()=>"0.6.
|
|
77
|
+
const getPackageVersion = ()=>"0.6.2";
|
|
78
78
|
const generatePackageJson = (name)=>{
|
|
79
79
|
const version = getPackageVersion();
|
|
80
80
|
const pkg = {
|
|
@@ -306,7 +306,7 @@ const rootCommand = Command.make("github-action-builder").pipe(Command.withSubco
|
|
|
306
306
|
]));
|
|
307
307
|
const cli = Command.run(rootCommand, {
|
|
308
308
|
name: "github-action-builder",
|
|
309
|
-
version: "0.6.
|
|
309
|
+
version: "0.6.2"
|
|
310
310
|
});
|
|
311
311
|
const CliLayer = Layer.merge(AppLayer, NodeContext.layer);
|
|
312
312
|
const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(CliLayer), Effect.catchAllCause((cause)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/github-action-builder",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
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": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@effect/printer": "^0.49.0",
|
|
51
51
|
"@effect/printer-ansi": "^0.49.0",
|
|
52
52
|
"@effect/typeclass": "^0.40.0",
|
|
53
|
-
"@rsbuild/core": "^1.7.
|
|
53
|
+
"@rsbuild/core": "^1.7.4",
|
|
54
54
|
"effect": "^3.21.0",
|
|
55
55
|
"jiti": "^2.6.1",
|
|
56
56
|
"picocolors": "^1.1.1",
|