Skip to content

Conversation

@dummdidumm
Copy link
Member

  • don't update './$types' import in SvelteKit route files
  • when transforming imports, be more cautius with import paths (old could be a subpath of new and vice versa; both can be present, the one with more updates is likely the correct one)
  • lock documents not created through the TS plugin but still used by it later
  • correctly delete snapshots, taking into account files as well as dirs

#1625

- don't update './$types' import in SvelteKit route files
- when transforming imports, be more cautius with import paths (old could be a subpath of new and vice versa; both can be present, the one with more updates is likely the correct one)
- lock documents not created through the TS plugin but still used by it later
- correctly delete snapshots, taking into account files as well as dirs

sveltejs#1625
@dummdidumm dummdidumm merged commit 5ebd899 into sveltejs:master Sep 22, 2022
@dummdidumm dummdidumm deleted the fix-update-imports branch September 22, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant