Skip to main content

Deployment

For the deployment you need some preparation since the package is stored in Google Cloud Artifact Registry.

Create a .npmrc file in the root of the project and insert the following content:

@bassboost:registry=https://europe-west1-npm.pkg.dev/bassboost/frontend-core/
//europe-west1-npm.pkg.dev/bassboost/frontend-core/:always-auth=true

Execute npm run artifactregistry-login. This needs the gcloud CLI to be installed and authenticated.

note

This authentication needs to be done periodically.

Bump the version number by executing npm version <patch | minor | major>

After that the deployment is really straightforward, just execute npm publish.