-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
adapters - generalSupport for functionality general to all adaptersSupport for functionality general to all adaptersfeature / enhancementNew feature or requestNew feature or requestp2-nice-to-haveSvelteKit cannot be used by a small number of people, quality of life improvements, etc.SvelteKit cannot be used by a small number of people, quality of life improvements, etc.
Milestone
Description
Describe the problem
Different adapters require different ignore settings.
The current proposed soln that is in use today is for all adapter output to be under .svelte-kit/<somedir> though this may change in future per adapter.
The proposed solution would provide adapter authors with an alternative.
Describe the proposed solution
Use gitignore-parser to let Adapters to loudly warn users. From this exchange:
Should we expect to see
gitignore-parserprovided via the Adapter API in the near future?
Yes, I think we should — we could have an API like
utils.warn_if_unignored([opts.output])
Alternatives considered
Writing this in my documentation
Importance
would make my life easier
Additional Information
raising the issues:
- Adapter build outputs are linted, formatted, and synced to Git #1832
- kit@110: removed lines from .gitignore in demo project #1581
initial proposition:
revert of initial proposition
Metadata
Metadata
Assignees
Labels
adapters - generalSupport for functionality general to all adaptersSupport for functionality general to all adaptersfeature / enhancementNew feature or requestNew feature or requestp2-nice-to-haveSvelteKit cannot be used by a small number of people, quality of life improvements, etc.SvelteKit cannot be used by a small number of people, quality of life improvements, etc.