Skip to content

.npmrc instruction hard to follow #113

@JakeBeaver

Description

@JakeBeaver

The instruction for setting up the internal repo link breaks my brain a little every time I need to go through it, and it needs doing every time credentials expire

Here's the script that works, can we put it in the readme please?

copy this into cmd 👇

cd %USERPROFILE%

(
echo registry=https://registry.npmjs.org/
echo @neworbit:registry=https://pkgs.dev.azure.com/neworbit/_packaging/NewOrbit/npm/registry/
echo always-auth=true
)>".npmrc"

npx vsts-npm-auth -config .npmrc

npm uninstall -g twotime

npm install -g @neworbit/twotime

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