0.0.9 • Published 3 years ago
@koc/npm_package_webapp_gatherer v0.0.9
npm_package_webapp_template
create develop branch and protect it
GITLAB CI/CD
VARIABLES
GITLAB_TOKEN
NPM_TOKEN
CAN_PUBLISH = yes only on client reposSCHEDULES
- variables
SCHEDULE_TARGET = SCOPED_VERSIONTOKENS
Settings -> Access Token -> new
- TOKEN_FOR_CI
- no expi
- Maintainer
- api
COPY
Settings -> CI/CD -> Variables -> new
- GITLAB_TOKEN
- PASTE
- PROTECTED - yes
- MASKED - yes
- Expand - no
SET DEFAULT NPM JS TOKEN to publish first version After published change npm token with granular one just for this package
https://www.npmjs.com/settings/ -> Access Token -> Generate Granular
- token name -> how to package will be called, taken from the package.json
- @koc/npm_package_webapp_temp1 example
FOR MANUAL NPM
λ npm publish --access publicNPM_TOKEN -> PASTE