Jump to content
Search Community

cjstage

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by cjstage

  1. Following up here.  I managed to get it working by adding - npm config set @gsap:registry https://npm.greensock.com/ to my pipeline script just before npm install.  You need the npmrc file but through researching how to get this setup it appears it's not recommended to keep your npmrc file commit so you should setup a env var and have the pipeline script generate the npmrc file when it first runs.

     

    Cheers,

    • Like 1
    • Thanks 1
  2. Hello!

     

    I have bitbucket pipelines setup on my repo where I'm using gsap's private registry.  I see a CI/CD tab and have created the .npmrc file in my project root but each pipeline fails... It either says @gsap/business@latest' is not in the npm registry. or if I add npm install gsap --registry https://npm.greensock.com as a step in my pipeline then other packages in my package.json file are no longer found ( I assume because it's checking the private registry for other packages)?

     

    What would be the way to set this up correctly so that it only checks the private repo for gsap packages?

×
×
  • Create New...