0.3.0 • Published 9 months ago

@ahteslabs-components/shared-eslint v0.3.0

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

This is a repository for a common eslint

How to publish

  1. Put your GH token in the GITHUB_TOKEN_PACKAGE_REGISTRY env var, recommended to do that via .bashrc/.zshrc etc. with export GITHUB_TOKEN_PACKAGE_REGISTRY=your-token added to the bottom of the file
  2. Do your changes
  3. Bump the package version in package.json file
  4. Run yarn npm publish

export NPM_TOKEN=98a782bc-ab44-3f71-89a1-06d0ea26dce1

npm adduser --auth-type=legacy --registry=https://nexus.tools.ahteslabs.com/repository/npm-hosted/ npm login --auth-type=legacy --registry=https://nexus.tools.ahteslabs.com/repository/npm-hosted/

npm config set _auth

NEXUS_URL=https://nexus.tools.ahteslabs.com/repository/npm-hosted NEXUS_USERNAME=cicd NEXUS_USERNAME=cicd1234 npm config set registry="$NEXUS_URL" npm config set _auth="$(echo -n "$NEXUS_USERNAME:$NEXUS_PASS" | base64)" npm config ls npm publish --registry $NEXUS_URL

@ahteslabs-components:registry=https://nexus.tools.ahteslabs.com/repository/npm-hosted/ //nexus.tools.ahteslabs.com/repository/npm-hosted/:_auth=YWRtaW46Qm8xMjA1Y2E=

export TOKEN=$(echo -n "cicd:cicd1234" | base64) npm publish --registry https://nexus.tools.ahteslabs.com/repository/npm-hosted

npm adduser --registry https://nexus.tools.ahteslabs.com/repository/npm-hosted