Skip to content

Commit ebf9d2f

Browse files
committed
convert another zx script to node + zx import
1 parent e2a51a4 commit ebf9d2f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/scripts/changeset-version-with-postbump.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#!/usr/bin/env zx
2-
import 'zx/globals';
1+
#!/usr/bin/env node
2+
import { $, cd, echo, fs } from 'zx';
33

44
/**
55
* Changeset version bump with post-bump hook

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"bundle": "lage bundle",
2222
"clean": "lage clean",
2323
"change": "changeset",
24-
"changeset:version": "zx .github/scripts/changeset-version-with-postbump.mts",
25-
"changeset:validate": "zx .github/scripts/validate-changesets.mts",
24+
"changeset:version": "node .github/scripts/changeset-version-with-postbump.mts",
25+
"changeset:validate": "node .github/scripts/validate-changesets.mts",
2626
"check-publishing": "node ./scripts/src/cli.mjs check-publishing",
2727
"lint": "lage lint",
2828
"lint-fix": "cross-env FURN_FIX_MODE=true lage lint",

0 commit comments

Comments
 (0)