Skip to content

Inconsistency between repository and npm for pkg2 and pkg3 #18

@BurtHarris

Description

@BurtHarris

Thanks for this sample, it hit the spot. However, It seems like the npm published packages @ryancavanaugh/pkg2 and @ryancavanaugh/pkg3 are not up-to-date with the latest checked-in package.json files. @ryancavanaugh/pkg1 seems OK.

Simple example from command line:

PS C:\> npm info @ryancavanaugh/pkg1 main   
lib/index.js
PS C:\> npm info @ryancavanaugh/pkg2 main
index.js
PS C:\> 

Expected: the main file for pkg2 should read lib/index.js, like pkg1.

I don't understand why this is inconstant, clearly the checked in pkg2/package.json has the lib/ prefix on it's main entry. However the lack of the proper entry causes code trying to use pkg2 or pkg3 to fail at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions