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

Update dependency prettier-plugin-organize-imports to v3 - autoclosed #7

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 18, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

simonhaenisch/prettier-plugin-organize-imports (prettier-plugin-organize-imports)

v3.2.4: 3.2.4

Compare Source

What's Changed

New Contributors

Full Changelog: simonhaenisch/prettier-plugin-organize-imports@v3.2.3...v3.2.4

v3.2.3

Compare Source

v3.2.2: 3.2.2

Compare Source

Fixes a performance regression introduced in 3.2.0 (see #​90).

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.

@codecov
Copy link

codecov bot commented Jun 18, 2022

Codecov Report

Merging #7 (b98746d) into main (780d4e3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           33        33           
  Branches         4         4           
=========================================
  Hits            33        33           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@renovate renovate bot changed the title Update dependency prettier-plugin-organize-imports to v3 Update dependency prettier-plugin-organize-imports to v3 - autoclosed Jul 2, 2024
@renovate renovate bot closed this Jul 2, 2024
@renovate renovate bot deleted the renovate/prettier-plugin-organize-imports-3.x branch July 2, 2024 23:48
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.

None yet

0 participants