mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
0e01e0bb58
* chore: upgrade to pnpm@7.4.0, remove `patch-package` * chore: update contributing * chore: pnpm@7.4.1 * chore: bump to pnpm@7.5.0 Co-authored-by: Nate Moore <nate@astro.build>
14 lines
No EOL
820 B
Diff
14 lines
No EOL
820 B
Diff
diff --git a/dist/cli.cjs.dev.js b/dist/cli.cjs.dev.js
|
|
index 5511d0c05d3b7472876dcc8410e938ccf612654f..aa75e3982b68e1226ba1877a7f32017e517480f5 100644
|
|
--- a/dist/cli.cjs.dev.js
|
|
+++ b/dist/cli.cjs.dev.js
|
|
@@ -279,6 +279,9 @@ async function confirmMajorRelease(pkgJSON) {
|
|
}
|
|
|
|
async function getPackagesToRelease(changedPackages, allPackages) {
|
|
+ const isPrivate = (name) => name === 'astro-scripts' || name.startsWith('@example/') || name.startsWith('@test/') || name.startsWith('@e2e/');
|
|
+ changedPackages = changedPackages.filter(name => !isPrivate(name));
|
|
+ allPackages = allPackages.filter(({ packageJson: { name }}) => !isPrivate(name));
|
|
function askInitialReleaseQuestion(defaultChoiceList) {
|
|
return askCheckboxPlus( // TODO: Make this wording better
|
|
// TODO: take objects and be fancy with matching
|