@wixc3/resolve-directory-context

Helpers to get information about single/multi-package contexts

Usage no npm install needed!

<script type="module">
  import wixc3ResolveDirectoryContext from 'https://cdn.skypack.dev/@wixc3/resolve-directory-context';
</script>

README

@wixc3/resolve-directory-context

Build Status npm version

Helpers to get information about single/multi-package contexts.

Features

Supports:

  • single packages
  • "workspaces" in package.json (yarn or npm@7)
  • lerna.json defined workspaces

API

  • resolveDirectoryContext

License

MIT