This commit is contained in:
Dax Raad
2025-12-09 21:06:57 -05:00
parent 6dbcacf3ea
commit 78c51371af
3 changed files with 4 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ for (const [name] of Object.entries(binaries)) {
process.chdir(dir)
}
}
await $`cd ./dist/${pkg.name} && bun publish --access public --tag ${Script.channel}`
await $`cd ./dist/${pkg.name} && bun pm pack && npm publish *.tgz --access public --tag ${Script.channel}`
if (!Script.preview) {
const major = Script.version.split(".")[0]

View File

@@ -17,5 +17,5 @@ for (const [key, value] of Object.entries(pkg.exports)) {
}
}
await Bun.write("package.json", JSON.stringify(pkg, null, 2))
await $`bun publish --tag ${Script.channel} --access public`
await $`bun pm pack && npm publish *.tgz --tag ${Script.channel} --access public`
await Bun.write("package.json", JSON.stringify(original, null, 2))

View File

@@ -19,5 +19,6 @@ for (const [key, value] of Object.entries(pkg.exports)) {
}
}
await Bun.write("package.json", JSON.stringify(pkg, null, 2))
await $`bun publish --tag ${Script.channel} --access public`
await $`bun pm pack`
await $`npm publish *.tgz --tag ${Script.channel} --access public`
await Bun.write("package.json", JSON.stringify(original, null, 2))