Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

[BUG] Does not work with package npmrc #11

@facetious

Description

@facetious

What / Why

This package does not work with the package named npmrc.

Current Behavior

Folder hierarchy causes an incorrect match:

.../node_modules/nativescript/node_modules/libnpmconfig  <--- find-up "proj" search starts
.../node_modules/npmrc <--- finds this package rather than an appropriate file

Steps to Reproduce

Easiest example I could find:

npm i -g npmrc
npm i -g nativescript

Expected Behavior

It should find a file named .npmrc or npmrc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions