Skip to content

oxfmt: Resolve prettier dependency at npx oxfmt #15256

@leaysgur

Description

@leaysgur

Related: #15210

  • apps/oxfmt now depends on @prettier/sync and prettier
  • npm/oxfmt does not dependencies field in package.json
  • (After published [email protected], )npx oxfmt will fail because these deps are not resolved
  • oxlint fixes this issue by bundling @eslint/scope-manager

oxfmt should also follow this strategy somehow.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions