-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript added when not requested #8189
Comments
When I attempt to package my library, I get the error message: |
If TypeScript is included when the library is originally set up, then |
This happens because you chose |
Omitting the option or simply adding a comment for Skeleton selection, stating that TS will be automatically added sounds ok in my mind. As long as the user is aware of why they are getting TS, it's just fine. |
This comment was marked as off-topic.
This comment was marked as off-topic.
for a library project closes #8189
* docs: explain why typescript is added either way for a library project closes #8189 * add jsconfig for lib, closes #7475 * Update documentation/docs/30-advanced/70-packaging.md * replace icon with warning sign * changeset * unicode warning symbol looks strangely shit - use a yellow triangle instead * the bold does nothing Co-authored-by: Rich Harris <richard.a.harris@gmail.com> Co-authored-by: Rich Harris <hello@rich-harris.dev>
Describe the bug
When I create a new SvelteKit Library project using
npm create svelte@latest <name>
, I specifically request to have no TypeScript, but the package.json file has typescript and tslib as dev dependencies. Very annoying to have to remove them.Reproduction
create a new SvelteKit library project, requesting no typescript.
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: