@devkong/cli
v0.0.56
Published
1. Start local registry: `npx nx run kong-cli:local-registry` 2. Update versions: `npx nx release version --git-commit=false --stage-changes=false` 3. Build kong-cli: `npx nx run-many -t build -p kong-cli kong-cli-nx` 4. Publish kong-cli: `npx nx release
Keywords
Readme
Local debug
- Start local registry:
npx nx run kong-cli:local-registry - Update versions:
npx nx release version --git-commit=false --stage-changes=false - Build kong-cli:
npx nx run-many -t build -p kong-cli kong-cli-nx - Publish kong-cli:
npx nx release publish --git-commit=false - Install kong-cli:
npm i -g @devkong/cli@latest --registry="http://localhost:4873/" - Generate test template:
kong generate <extension-name>
Publish to the @devkong
- Modify .npmrc file:
//registry.npmjs.org/:_authToken=<PUT ACCESS TOKEN> - Update versions:
npx nx release version --git-commit=false --stage-changes=falseor change manually - Build kong-cli:
npx nx run-many -t build -p kong-cli kong-cli-nx - Publish kong-cli:
npx nx release publish --git-commit=false --access=public - Install kong-cli:
npm i -g @devkong/cli@latest - Generate test template:
kong generate <extension-name>
Publish to the Nexus
code ~/.npmrc
@kong:registry=https://nexus.shared.sg.app-dts.net/repository/npm-hosted/
//nexus.shared.sg.app-dts.net/repository/npm-hosted/:username=kong
//nexus.shared.sg.app-dts.net/repository/npm-hosted/:_password={BASE_64_PASSWORD}
//nexus.shared.sg.app-dts.net/repository/npm-hosted/:always-auth=true