Releases: simonhaenisch/prettier-plugin-organize-imports
Releases · simonhaenisch/prettier-plugin-organize-imports
3.0.2
3.0.1
@volar/vue-typescript
is now an optional peer dependency and requires version0.39.0
or later. This should fix a couple of issues, e.g. not removing imports anymore when a component was used in the template via kebab-case.- The language service host now implements
fileExists
andreadFile
which should fix some issues withNodeNext
module resolution.
3.0.0
Switched to a different package for Vue support, so if you're using this plugin with Vue, you'll have to install @volar/vue-typescript
as a dev dependency now, and you can remove @vue/compiler-sfc
/@vue/component-compiler-utils
/vue-template-compiler
.
Otherwise, no breaking changes.
2.3.4
Fixed a bug where empty comment lines were inserted into Vue 2 files.
2.3.3
- Fixed a bug where default imports were erroneously removed.
v2.3.2
- Try to use
@vue/compiler-sfc
(Vue 3.x) first before the@vue/component-compiler-utils
andvue-template-compiler
combo (which -theoretically is for Vue 2.x but probably also works for 3.x).
2.3.1
The version published to npm was missing files which has been fixed now.