summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/utils.js
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2024-03-07 12:14:48 -0600
committerGravatar GitHub <noreply@github.com> 2024-03-07 12:14:48 -0600
commit2aec2cdc21f48f9b4f1dd82e2fd16fa3d653ccc5 (patch)
tree2e15977fccc9c69f3aef884c7e76b0040df249a0 /packages/create-astro/test/utils.js
parentbad9b583a267e239ba52237d45a89063ea277200 (diff)
downloadastro-2aec2cdc21f48f9b4f1dd82e2fd16fa3d653ccc5.tar.gz
astro-2aec2cdc21f48f9b4f1dd82e2fd16fa3d653ccc5.tar.zst
astro-2aec2cdc21f48f9b4f1dd82e2fd16fa3d653ccc5.zip
Adds `create-astro` fallback values for package versions (#10255)
* fix(create-astro): add fallback when registry fails to return the current package version * feat(create-astro): inline most current package versions as fallback * test(create-astro): update typescript tests to check for undefined * test(create-astro): properly reset fixtures * refactor: read dependencies from workspace root * refactor: error on missing values
Diffstat (limited to 'packages/create-astro/test/utils.js')
-rw-r--r--packages/create-astro/test/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/create-astro/test/utils.js b/packages/create-astro/test/utils.js
index cd5c923ca..62775a2ef 100644
--- a/packages/create-astro/test/utils.js
+++ b/packages/create-astro/test/utils.js
@@ -48,6 +48,7 @@ const resetNotEmptyFixture = async () => {
build: 'astro build',
preview: 'astro preview',
},
+ dependencies: undefined
});
return Promise.all([