Skip to content

Commit aef3eb2

Browse files
author
Loïc Mangeonjean
committed
fix: allow creating new package when publishing
1 parent 42bf8fe commit aef3eb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async function publishNpm (version: string) {
148148
await fs.writeFile(packageJsonFile, JSON.stringify(packageJson, null, 2))
149149

150150
$.cwd = libDir
151-
await $`npm publish`
151+
await $`npm publish --access public`
152152
}
153153
}
154154
}

releaseNext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function publishNpm (version: string) {
7070
await fs.writeFile(packageJsonFile, JSON.stringify(packageJson, null, 2))
7171

7272
$.cwd = libDir
73-
await $`npm publish --tag next`
73+
await $`npm publish --tag next --access public`
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)