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

build(deps-dev): bump prettier-plugin-organize-imports from 2.3.3 to 3.2.3 #309

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2023

Bumps prettier-plugin-organize-imports from 2.3.3 to 3.2.3.

Release notes

Sourced from prettier-plugin-organize-imports's releases.

3.2.2

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

v3.2.1

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

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

  • 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

3.1.0

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,
};

3.0.3

Fixes a performance regression that was introduced in 3.0.2.

3.0.2

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.

3.0.1

  • @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.

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.

Commits
  • 16df387 3.2.3
  • 1c91f0a docs(readme): update link for removal of automatic plugin discovery in pretti...
  • 4734c22 docs(readme): add usage instructions for Prettier 3
  • ed94b3e docs(readme): improve structure and content
  • b15df6a chore: update prettier to version 3
  • d588db2 chore: update dev dependencies
  • d5ac2f4 chore(devDeps): bump typescript to v5
  • fee3c1f 3.2.2
  • 2a8c713 docs: update changelog
  • 691c3ed fix: performance regression introduced by 290a1fd (PR #79)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports) from 2.3.3 to 3.2.3.
- [Release notes](https://github.com/simonhaenisch/prettier-plugin-organize-imports/releases)
- [Commits](simonhaenisch/prettier-plugin-organize-imports@v2.3.3...v3.2.3)

---
updated-dependencies:
- dependency-name: prettier-plugin-organize-imports
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added automerge Automatically Merge this request Content - Dependences Changes that affect the dependences Type - Chore Changes to the build process or auxiliary tools and libraries such as documentation generation Versioning - Patch Patch version to be incremented due to backwards compatible bug fixes are introduced. labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically Merge this request Content - Dependences Changes that affect the dependences Type - Chore Changes to the build process or auxiliary tools and libraries such as documentation generation Versioning - Patch Patch version to be incremented due to backwards compatible bug fixes are introduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants