Bump prettier from 2.7.1 to 3.1.0
Bumps prettier from 2.7.1 to 3.1.0.
Release notes
Sourced from prettier's releases.
3.1.0
🔗 Release note
3.0.3
🔗 Changelog
3.0.2
🔗 Changelog
3.0.1
🔗 Changelog
3.0.0
🔗 Release note
3.0.0-alpha.6
What's Changed
- Update
.d.tsfiles of plugins to useexport default ...by@​fiskerin prettier/prettier#14435Other changes since v2, see
3.0.0-alpha.1release notesFull Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6
3.0.0-alpha.5
What's Changed
- Add
.d.tsfiles by@​sosukesuzukiin prettier/prettier#14212- Support TypeScript 5 via
babel-tsparser by@​fiskerin prettier/prettier#14391Other changes since v2, see
3.0.0-alpha.1release notesFull Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5
3.0.0-alpha.4
What's Changed
- Remove support for Flow comment types by
@​thorn0in prettier/prettier#13687- Make
resolveParserwork like v2 by@​fiskerin prettier/prettier#13732- Add
__debugapis to cjs version by@​fiskerin prettier/prettier#13731Other changes since v2, see
3.0.0-alpha.1release notesFull Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4
3.0.0-alpha.3
- Fix
exportsfield inpackage.jsonfileOther changes since v2, see
3.0.0-alpha.1release notes
... (truncated)
Changelog
Sourced from prettier's changelog.
3.1.0
🔗 Release Notes
3.0.3
Add
preferUnplugged: truetopackage.json(#15169 by@​fiskerand@​so1ve)Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add
preferUnplugged: truetopackage.json, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()(#15233 by@​fisker)If an external shared config package is used, and the package
exportsdon't haverequireordefaultexport.In Prettier 3.0.2 Prettier fails when attempt to
require()the package, and throws an error.Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.jsonAllow argument of
require()to break (#15256 by@​fisker)// Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") );// Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, ".."));
// Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") );
Do not print trailing commas in arrow function type parameter lists in
tscode blocks (#15286 by@​sosukesuzuki)
... (truncated)
Commits
e8ac9f8Release 3.1.06a1d409chore(deps): update dependency eslint-plugin-regexp to v2 (#15521)f4d93d3chore(deps): update dependency esbuild to v0.19.5 (#15630)4fc71a5chore(deps): update dependency flow-parser to v0.221.0 (#15637)d452f45chore(deps): update dependency eslint-plugin-jest to v27.6.0 (#15635)eb84a60chore(deps): update dependency@​types/estreeto v1.0.5 (#15625)2af23eechore(deps): update dependency webpack to v5.89.0 (#15640)8f27c73chore(deps): update dependency eslint-plugin-unicorn to v49 (#15642)cdc5f5achore(deps): update dependency webpack to v5.89.0 (#15639)14607efchore(deps): update dependency eslint-plugin-n to v16.3.1 (#15636)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) -
@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) -
@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) -
@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions