question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prettier old version

See original GitHub issue

Affected Packages

apply-release-plan

Problem

It’s relying on an old version of prettier: https://github.com/atlassian/changesets/blob/main/packages/apply-release-plan/package.json#L20

Proposed solution

Is it necessary to ship prettier as a dependency of this package? Could it be moved to devDependencies? If not, upgrade prettier to v2.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
emmatowncommented, Oct 11, 2021

Yeah, and maybe until the next major we could try requiring prettier from the project root and use our version if that fails and in a major we’d not use prettier if we can’t require it from the project root.

1reaction
Andaristcommented, Aug 10, 2022

I’ve created a PR that, I hope, should fix most of the problems like this: https://github.com/changesets/changesets/pull/905

Read more comments on GitHub >

github_iconTop Results From Across the Web

stable - Prettier
Prettier Versions. Version, Install with, Documentation. 2.8.1, npm install prettier, stable (latest). 2.9.0-dev, npm install prettier/prettier, next (main) ...
Read more >
prettier - npm
Prettier is an opinionated code formatter. Latest version: 2.8.1, last published: 12 days ago. Start using prettier in your project by ...
Read more >
Releases · prettier/prettier - GitHub
If you are a plugin developer, please try this version and send us your feedback! Full Changelog: 2.7.1...3.0.0-alpha.0. Assets 2.
Read more >
prettier | RubyGems.org | your community gem host
prettier 2.0.0. prettier plugin for the Ruby programming language. Versions: 3.2.2 - September 20, 2022 (2 MB) ... Previous version Next version →....
Read more >
How to make Prettier plugin work in PhpStorm? - Stack Overflow
My guess is that you're running an old version of Node.js that doesn't support optional catch binding. What Node.js version is chosen in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found