We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30557a8 commit afcbc3aCopy full SHA for afcbc3a
scripts/dist.ts
@@ -38,6 +38,7 @@ contents.version = spawnSync("git", ["describe", "--tags"], {
38
encoding: "utf-8",
39
})
40
.stdout.trim()
41
- .replace(/-[[:digit:]]\+-g/, "+");
+ .replace(/-[[:digit:]]\+-g/, "+")
42
+ .replace(/^v/, "");
43
delete contents.devDependencies["bun-plugin-dts"];
44
await Bun.write("dist/package.json", JSON.stringify(contents, null, 2));
0 commit comments