@xdn/framework-detector

1.7.0 • Public • Published

xdn-framework-detector

Detects the framework that a project is using by analyzing its dependencies.

Adding frameworks

To add a framework, first add an entry to src/frameworks.js:

{
  name: 'Next.js', // the name of the framework - will be displayed to the user in the CLI output
  builder: '@xdn/next', // the xdn-* package used to build apps with that framework for the XDN
  command: 'xdn-next-build', // the bin command in the above package that needs to be run to build the app for deployment on the XDN
  dependency: 'next', // If this package is installed, we know we're using this framework
}

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @xdn/framework-detector

    Weekly Downloads

    1

    Version

    1.7.0

    License

    MIT

    Unpacked Size

    5.89 kB

    Total Files

    6

    Last publish

    Collaborators

    • moovweb-admin