Description
Currently, --incremental hardcodes the cache to .svelte-kit or .svelte-check. On build servers (e.g., restricted CI environments), we often need to point cache outputs to specific global or shared volumes and then cache won't be wiped
Proposed solution
Introduce something like one of the following:
--cache-location (similar as https://eslint.org/docs/latest/use/command-line-interface)
--tsBuildInfoFile flag (similar as https://www.typescriptlang.org/tsconfig/#incremental)
Example Usage
# Redirect cache to a specific CI-mapped folder
svelte-check --incremental --cache-location ./node_modules/.cache/svelte-check
Alternatives
No response
Additional Information, eg. Screenshots
No response
Description
Currently, --incremental hardcodes the cache to .svelte-kit or .svelte-check. On build servers (e.g., restricted CI environments), we often need to point cache outputs to specific global or shared volumes and then cache won't be wiped
Proposed solution
Introduce something like one of the following:
--cache-location (similar as https://eslint.org/docs/latest/use/command-line-interface)
--tsBuildInfoFile flag (similar as https://www.typescriptlang.org/tsconfig/#incremental)
Example Usage
# Redirect cache to a specific CI-mapped folder svelte-check --incremental --cache-location ./node_modules/.cache/svelte-checkAlternatives
No response
Additional Information, eg. Screenshots
No response