Open
Description
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):
// bits-ui.ts
import { runInRepo } from '../utils'
import { RunOptions } from '../types'
export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'huntabyte/bits-ui',
branch: 'main',
test: 'pnpm test',
})
}
Test for svelte-ux
(monorepo, passes):
// svelte-ux.ts
import { runInRepo } from '../utils'
import { RunOptions } from '../types'
export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'techniq/svelte-ux',
branch: 'main',
test: 'pnpm test:unit',
})
}
Metadata
Metadata
Assignees
Labels
No labels