sync
This commit is contained in:
parent
6357869e81
commit
22d92aa505
20 changed files with 126 additions and 964 deletions
11
packages/plugin/script/publish.ts
Executable file
11
packages/plugin/script/publish.ts
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bun
|
||||
|
||||
import { $ } from "bun"
|
||||
|
||||
const dir = new URL("..", import.meta.url).pathname
|
||||
const version = process.env["VERSION"]
|
||||
if (!version) throw new Error("VERSION is required")
|
||||
|
||||
await $`bun pm pkg set version="${version}"`
|
||||
await $`tsc`.cwd(dir)
|
||||
await $`bun publish`
|
||||
Loading…
Add table
Add a link
Reference in a new issue