Skip to content

Ensure dependencies are correctly declared #417

Open

Description

@kadamwhite

As noted in #414, v1.2.0 was released without properly identifying that li was listed as a devDependency instead of a regular dependency. We should either implement an eslint rule to validate imports, or else add a build validation step to test out a dependencies-only install before releasing, to spare the developers who depend on this library some frustration.

Activity

  1. added this to the 2.0 milestone on Jan 24, 2019
  2. KenEucker commented on Jan 27, 2020

    @KenEucker

    +1 to this

    I am trying to get this library to work but I get the following error when including the package:

    Error: Cannot find module 'li'
    Require stack:
    - /XXX/node_modules/wpapi/lib/autodiscovery.js
    - /XXX/node_modules/wpapi/wpapi.js
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions