@kiminix/tp-client
v2.39.0
Published
- build the project: `npm run build` - upgrade the version in `package.json` - commit the changes - create a tag: `git tag v0.0.0` - push the changes: `git push origin master --tags` - publish the package to npmjs: `npm publish --access public`
Readme
step of release:
- build the project:
npm run build - upgrade the version in
package.json - commit the changes
- create a tag:
git tag v0.0.0 - push the changes:
git push origin master --tags - publish the package to npmjs:
npm publish --access public
local dev & test
- run
npm run build - then in the project you want to use this package run
npm i /Users/kamoun/workspace/tayara.promo/webapps/tp-client - to remove the dep
npm remove @kiminix/tp-client - to install the package from npmjs
npm i @kiminix/tp-client
🚀 Publishing with 2FA Bypass (Granular Access Token) if expired (every 90 days)
If you are publishing via a CI/CD pipeline or need to bypass two-factor authentication, follow these steps to configure a granular access token:
Generate the Token on npm:
- Go to npmjs.com → Access Tokens.
- Click Generate New Token → Select Granular Access Token.
- Check the box "Bypass two-factor authentication".
- Under permissions, grant Read and write access specifically for the
@kiminix/tp-clientpackage.
Configure the Token Locally: Run the following command in your terminal (replace
<your_token>with the generated token):
npm config set //registry.npmjs.org/:_authToken <your_token>
