summaryrefslogtreecommitdiff
path: root/patches/@changesets__cli@2.23.0.patch
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-05-30 19:51:09 -0400
committerGravatar GitHub <noreply@github.com> 2023-05-30 19:51:09 -0400
commit290e344dee4092ce592490d1f58ef389831e4ad0 (patch)
tree0b0b42eb525e791992b3a8d8ea25493c3dfc7dba /patches/@changesets__cli@2.23.0.patch
parentba865f5d6412b33d96e4473b9a2b5d1d5ff30323 (diff)
downloadastro-290e344dee4092ce592490d1f58ef389831e4ad0.tar.gz
astro-290e344dee4092ce592490d1f58ef389831e4ad0.tar.zst
astro-290e344dee4092ce592490d1f58ef389831e4ad0.zip
Fix out-of-date example dependencies (#7248)
* revert changeset patch * deps: bump astro across examples * deps: bump @astrojs packages across examples * deps: bump @astrojs/markdoc
Diffstat (limited to 'patches/@changesets__cli@2.23.0.patch')
-rw-r--r--patches/@changesets__cli@2.23.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/@changesets__cli@2.23.0.patch b/patches/@changesets__cli@2.23.0.patch
new file mode 100644
index 000000000..621c0596e
--- /dev/null
+++ b/patches/@changesets__cli@2.23.0.patch
@@ -0,0 +1,14 @@
+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 \ No newline at end of file