Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

npmrc handling polishing #87

@guybedford

Description

@guybedford

We need to integrate more thorough parsing of the npmrc handling.

For example:

  • We should respect ignoring the npmrc when it has permission 0600.
  • We should handle array properties
  • The registry-specific property handling at https://github.com/jspm/npm/blob/master/lib/npmrc.js#L30 to remove a leading "https://" is just plain wrong for "//registry.com/..." style registry names - properties need better normalization.
  • All of this work should be done with a careful test suite and test cases against the variations.
  • We should be reading alwaysAuth and respecting that.

Only then can we be sure we can exactly trust the npmrc values to use them automatically for authenticating.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions