Skip to content

Missing dependency on acornΒ #2634

@aqeelat

Description

@aqeelat

Initial checklist

Affected package

@mdx-js/mdx

Steps to reproduce

node corepack enable
yarn set version 4.9.0
yarn add @mdx-js/mdx

Actual behavior

p853b8 β†’ ✘ @mdx-js/mdx@npm:3.1.0 doesn't provide acorn to recma-jsx@npm:1.0.1 [8c510] and 1 other dependency

Expected behavior

To provide the dependency.

The way I fix it is by adding this to my .yarnrc.yml

packageExtensions:
  "@mdx-js/mdx@^3.0.0":
    dependencies:
      acorn: ^8.0.0

Runtime

[email protected]

Package manager

[email protected]

Operating system

No response

Build and bundle tools

Vite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions