-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Let's say I have a project sv-17
(from a fresh sv create with drizzle),
I'm just above this folder. When I do:
npx sv add -C sv-17
I get the list of add-ons with drizzle visible.
Now, if I do:
cd sv-17
npx sv add

Drizzle is not visible
It's due to this: https://github.com/sveltejs/cli/blob/main/packages/addons/drizzle/index.ts#L91-L95
If somes files exists, sv
don't allow to proceed.
1/ There is a bug, it should take -C
into account. (to have the same behavior in the folder or out the folder)
2/ I'm not sure it's good to unsupport this case. Maybe we can detect this files and if we have one of them, we create all of these files in another folder like /lib/server/db3
? (and we say in next steps ?)
Metadata
Metadata
Assignees
Labels
No labels