Gathering detailed insights and metrics for @shipzone/npmci
Gathering detailed insights and metrics for @shipzone/npmci
npm install @shipzone/npmci
Typescript
Module System
Node Version
NPM Version
49.3
Supply Chain
58.9
Quality
66.8
Maintenance
50
Vulnerability
96.4
License
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
34,411
Last Day
1
Last Week
6
Last Month
384
Last Year
2,243
Latest Version
4.1.25
Package Id
@shipzone/npmci@4.1.25
Unpacked Size
191.69 kB
Size
43.88 kB
File Count
110
NPM Version
9.5.0
Node Version
18.14.2
Published on
Aug 09, 2023
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-81.8%
6
Compared to previous week
Last Month
128.6%
384
Compared to previous month
Last Year
-76.6%
2,243
Compared to previous year
25
node and docker in gitlab ci on steroids
Use TypeScript for best in class instellisense.
npmci is designed to work in docker CI environments. The following docker images come with npmci presinstalled:
Docker Hub:
npmci can be called from commandline and handle a lot of tasks durug ci:
1# Handle node versions 2npmci node install stable # will install latest stable node version and update PATH for node and npm 3npmci node install lts # will install latest LTS node version and update PATH for node and npm versions 4npmci node install legacy # will install latest legacy node version and update PATH for node and npm 5npmci node install x.x.x # will install any specific node version. 6 7# Handle npm and yarn tasks 8npmcu npm login # logs in npm using the auth key provided at env var "NPMCI_TOKEN_NPM" 9npmci npm install # installs dependencies using npm or yarn dependending on availablity 10npmci npm test # tests the package 11npmci npm publish # builds a package and publishes it 12 13# handle docker tasks 14npmci docker prepare 15## npmci test docker will look at all Dockerfiles and look for according tags on GitLab container registry 16 17 18# prepare tools 19npmci prepare npm # will look for $NPMCI_TOKEN_NPM env var and create .npmrc, so npm is authenticated 20npmci prepare docker # will look for $NPMCI_LOGIN_DOCKER in form username|password and authenticate docker 21npmci prepare docker-gitlab # will authenticate docker for gitlab container registry 22 23# build containers 24npmci docker build # will build containers 25## all Dockerfiles named Dockerfile* are picked up. 26## specify tags like this Dockerfile_[tag] 27## uploads all built images as [username]/[reponame]:[tag]_test to GitLab 28## then test in next step with "npmci test docker" 29 30# publish npm module 31npmci publish npm # will look vor $NPMCI_TOKEN_NPM env var and push any module in cwd to npm 32npmci publish docker 33 34# trigger webhooks 35npmci trigger # will look for NPMCI_TRIGGER_1 to NPMCI_TRIGGER_100 in form domain|id|token|ref|name
npmci supports the use of npmextra.
To configure npmci create a npmextra.json
file at the root of your project
1{ 2 "npmci": { 3 "globalNpmTools": ["npm-check-updates", "protractor", "npmts", "gitzone"] 4 } 5}
Available options
setting | example | description |
---|---|---|
globalNpmTools | "globalNpmTools": ["gitbook"] | Will look for the specified package names locally and (if not yet present) install them from npm. |
For further information read the linked docs at the top of this README.
Use TypeScript for best in class instellisense.
We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)
For further information read the linked docs at the top of this readme.
MIT licensed | © Task Venture Capital GmbH | By using this npm module you agree to our privacy policy
No vulnerabilities found.
No security vulnerabilities found.