Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 27, 2022

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier-plugin-organize-imports 2.3.4 -> 3.2.4 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.

@renovate renovate bot added the renovate label Oct 27, 2022
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from fac0942 to e215385 Compare November 9, 2022 20:53
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from e215385 to ef5e803 Compare November 25, 2022 17:24
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from ef5e803 to 0e7d5d2 Compare March 18, 2023 00:12
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from 0e7d5d2 to 516d519 Compare July 13, 2023 21:20
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from 516d519 to 2fd325b Compare August 14, 2023 01:13
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from 2fd325b to eba1d22 Compare August 22, 2023 02:25
@renovate renovate bot force-pushed the renovate/prettier-plugin-organize-imports-3.x branch from eba1d22 to 917ef38 Compare November 9, 2023 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants