Skip to content

Missing prettier_print dependency #1232

Closed
@molawson

Description

@molawson

Metadata

  • Operating system: macOS
  • Ruby version: 2.7.6
  • Node version: 14.19.1
  • prettier gem version: 3.1.2
  • syntax_tree version: 2.3.1

Issue

I upgraded an app to the most recent version of the prettier gem this morning (v3.1.2), but running prettier raised an error because it was unable to load prettier_print.

Updating the version of syntax_tree to v2.6.0 brought the new dependency along with it.

Should v3.1.2 require syntax_tree 2.5.0 or higher to make sure prettier_print is included? Or does it make sense to add prettier_print to the gemspec directly since its class is referenced directly in server.rb?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions