|
|
@@ -210,6 +210,17 @@ async function main() {
|
|
|
step('\nGenerating changelog...')
|
|
|
await run(`pnpm`, ['run', 'changelog'])
|
|
|
|
|
|
+ // @ts-ignore
|
|
|
+ const { yes: changelogOk } = await prompt({
|
|
|
+ type: 'confirm',
|
|
|
+ name: 'yes',
|
|
|
+ message: `Changelog generated. Does it look good?`
|
|
|
+ })
|
|
|
+
|
|
|
+ if (!changelogOk) {
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
// update pnpm-lock.yaml
|
|
|
// skipped during canary release because the package names changed and installing with `workspace:*` would fail
|
|
|
if (!isCanary) {
|