You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package being published as vite-plugin-svelte-md on npm, I would like npm i and sv add command to point to the same name, i.e.sv add vite-plugin-svelte-md
Allow a non-empty dependencies record in package.json. I know that they won't be installed, but the ./sv entrypoint will be self-contained. The dependencies record is for the root entrypoint.
`Invalid add-on package detected: '${specifier}'\nCommunity add-ons should not have any 'dependencies'. Use 'peerDependencies' for 'sv' and bundle everything else`
);
}
Also, as @sveltejs/sv-utils is a dependency of sv, it should be possible not to bundle it as well
Hi there!
I'm trying to create a
sv addaddon for https://github.com/ota-meshi/vite-plugin-svelte-md but it would make my life simpler if some requirements were relaxed:The package being published as
vite-plugin-svelte-mdon npm, I would likenpm iandsv addcommand to point to the same name, i.e.sv add vite-plugin-svelte-mdCovered by npx sv create --template addon shouldn't require an organization #1101
Allow a non-empty
dependenciesrecord in package.json. I know that they won't be installed, but the./sventrypoint will be self-contained. Thedependenciesrecord is for the root entrypoint.cli/documentation/docs/30-add-ons/99-community.md
Line 153 in 78f6b7a
cli/packages/sv/src/core/fetch-packages.ts
Lines 29 to 33 in 78f6b7a
Also, as @sveltejs/sv-utils is a dependency of
sv, it should be possible not to bundle it as wellYou can find my WIP here: ota-meshi/vite-plugin-svelte-md#157