@ahteslabs-components/shared-eslint v0.3.0
This is a repository for a common eslint
How to publish
- 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-tokenadded to the bottom of the file - Do your changes
- Bump the package version in package.json file
- 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
9 months ago