Open AdrianGonz97 opened 10 months ago
if you want other dependencies besides svelte itself overridden (eg sveltekit, vite-plugin-svelte) you have to add them as overrides. Available overrides are defined in the builds directory
https://github.com/sveltejs/svelte-ecosystem-ci/tree/main/builds
how do use them can be seen here https://github.com/sveltejs/svelte-ecosystem-ci/blob/677fb3bce71f6ce2222d09bf1447aaf9630087bc/tests/sveltekit.ts#L9
While investigating #13, I noticed that libraries who utilize monorepos aren't getting their svelte dependencies (like
@sveltejs/kit
) replaced. e.g. Skeleton and Melt both use SK v1, yet Melt fails and Skeleton does not.Here are two more libraries that I used to test locally to confirm (they both also use SK v1):
Test for
bits-ui
(normal repo, fails):Test for
svelte-ux
(monorepo, passes):