Skip to content
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

chore(deps): update dependency prettier-plugin-organize-imports to v3 #3441

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 30, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier-plugin-organize-imports 2.3.4 -> 3.2.1 age adoption passing confidence

Release Notes

simonhaenisch/prettier-plugin-organize-imports

v3.2.1

Compare Source

This version fixes the implementation of the language service host's getCurrentDirectory method to return the directory containing the tsconfig, rather than using ts.sys.getCurrentDirectory (which returns process.cwd()). This should prevent issues with resolving compiler plugins with Volar (which is used for Vue support).

Hopefully it doesn't break anything else 🤞 I don't think the tsconfig location is always the project root because of nested/extended tsconfigs, but it should be good enough for module resolution. If someone knows a better way of finding a project's root via the TypeScript API please let me know 🙏

v3.2.0

Compare Source

This version adds and fixes support for pug templates in Vue files (via @volar/vue-language-plugin-pug). Please be aware that you'll need to update your version of the @volar/vue-typescript peer dependency from 0.x to 1.x.

v3.1.1

Compare Source

  • fix: path comparison on Windows
  • fix: bump @volar/vue-typescript peer dependency to higher version which fixes removal of imports used in the template only

v3.1.0: 3.1.0

Compare Source

New Feature: Skip Destructive Code Actions

If you don't want destructive code actions (like removing unused imports), you can enable the option organizeImportsSkipDestructiveCodeActions via your Prettier config.

// prettierrc.js

module.exports = {
  // ...
  organizeImportsSkipDestructiveCodeActions: true,
};

v3.0.3: 3.0.3

Compare Source

Fixes a performance regression that was introduced in 3.0.2.

v3.0.2: 3.0.2

Compare Source

This version fixes a regression introduced by adding some file-system related methods (fileExists and readFile) to the language service host (to fix #​63), which revealed that the implementation of getScriptSnapshot was incorrect.

v3.0.1: 3.0.1

Compare Source

  • @volar/vue-typescript is now an optional peer dependency and requires version 0.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 and readFile which should fix some issues with NodeNext module resolution.

v3.0.0: 3.0.0

Compare Source

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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the Type: Maintenance Repository Maintenance label Aug 30, 2022
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from fcd0d8b to d877634 Compare September 2, 2022 12:42
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch 2 times, most recently from b268087 to 11d0bdb Compare November 9, 2022 22:54
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from 11d0bdb to 6fef40a Compare November 25, 2022 15:00
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from 6fef40a to 568adc8 Compare December 28, 2022 23:50
@9renpoto 9renpoto merged commit d00f561 into main Dec 28, 2022
@9renpoto 9renpoto deleted the renovate/prettier-plugin-organize-imports-3.x branch December 28, 2022 23:54
This was referenced Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Repository Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant