(name: string, version: string)
| 8 | process.chdir(dir) |
| 9 | |
| 10 | async function published(name: string, version: string) { |
| 11 | return (await $`npm view ${name}@${version} version`.nothrow()).exitCode === 0 |
| 12 | } |
| 13 | |
| 14 | async function publish(dir: string, name: string, version: string) { |
| 15 | // GitHub artifact downloads can drop the executable bit, and Docker uses the |