Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to configure .npmrc for bitbucket as npm registry or private registry?

Pawan Singh April 11, 2023

how to configure .npmrc  file for bitbucket as npm registry or private registry?

1 answer

1 vote
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2023

Hey Pawan,

We have documentation related to deploying to NPM via either npm or private registry located below using the npm-publish pipe:

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Atalie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2023

Is it possible not to publish in npm registry and set the url registry with credentials in .npmrc? 

Also tried ssh but npm does not recognize the ssh key 

Currently in package.json

 

dependencies:{

"test-module": "git+https://{username}:{app_password}@bitbucket.org/orgname/test-module.git#v1.0.0"

},

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events