syntax-tree / mdast-util-directive

mdast extension to parse and serialize generic directives (`:cite[smith04]`)
https://unifiedjs.com
MIT License
14 stars 6 forks source link

Missing `@types/unist` in package.json dependencies #3

Closed alvinleung1996 closed 2 years ago

alvinleung1996 commented 2 years ago

Initial checklist

Affected packages and versions

mdast-util-directive 2.1.1

Link to runnable example

No response

Steps to reproduce

When using Yarn with strict PnP mode, complex-types.d.ts cannot import unist because @types/unist is not explicitly listed in the package.json dependencies field. This causes the interfaces TextDirective, LeafDirective and ContainerDirective to be incomplete because they cannot resolve the parent interface Parent from unist.

Expected behavior

@types/unist is explicitly listed in the package.json dependencies field.

Actual behavior

@types/unist is not explicitly listed in the package.json dependencies field.

Runtime

Node v16

Package manager

Other (please specify in steps to reproduce)

OS

Linux

Build and bundle tools

Webpack

wooorm commented 2 years ago

👍 PR welcome!

github-actions[bot] commented 2 years ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.