privatenumber / ci

Licence: MIT license
Run npm ci using the appropriate Node package manager (npm, yarn, pnpm)

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ci

Have It
The fastest NPM install does nothing because you already have it
Stars: ✭ 75 (+92.31%)
Mutual labels:  yarn, install
postcss-prefixwrap
A PostCSS plugin that is used to wrap css styles with a css selector to constrain their affect on parent elements in a page.
Stars: ✭ 54 (+38.46%)
Mutual labels:  yarn, pnpm
Lmify
Install NPM dependencies programmatically 🤙
Stars: ✭ 98 (+151.28%)
Mutual labels:  yarn, install
iridium
💎 Growing collection of VS Code extensions with a fancy name
Stars: ✭ 39 (+0%)
Mutual labels:  yarn, pnpm
Verdaccio
📦🔐 A lightweight Node.js private proxy registry
Stars: ✭ 12,667 (+32379.49%)
Mutual labels:  yarn, pnpm
docker-compose-laravel
A Docker Compose setup for Laravel projects.
Stars: ✭ 23 (-41.03%)
Mutual labels:  yarn
React-Express-JWT-UserPortal
React.js & Express.js User portal Using Core UI, JWT, JWT Token, Refresh Token, Role & Permission management, User manamgenet, Event Log.
Stars: ✭ 22 (-43.59%)
Mutual labels:  yarn
ES-Timer
A USB timer powered by Digispark ATtiny85 according to 🍅 pomodoro time management technique
Stars: ✭ 45 (+15.38%)
Mutual labels:  lock
frontend-gradle-plugin
All-in-one Gradle Node plugin, Gradle NPM plugin, Gradle Yarn Berry plugin to build Javascript applications with Gradle: distribution management, built-in tasks.
Stars: ✭ 120 (+207.69%)
Mutual labels:  yarn
node-server-template
This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.
Stars: ✭ 116 (+197.44%)
Mutual labels:  yarn
async
Synchronization and asynchronous computation package for Go
Stars: ✭ 104 (+166.67%)
Mutual labels:  lock
eas-monorepo-example
Fast pnpm monorepo for cross-platform apps built with Expo / React Native and React.
Stars: ✭ 187 (+379.49%)
Mutual labels:  pnpm
ansible-role-yarn
Ansible Role - YARN Package Manager for Ubuntu/RHEL/CentOS https://galaxy.ansible.com/ocha/yarn/
Stars: ✭ 27 (-30.77%)
Mutual labels:  yarn
nuada-cli
Nuada CLI was designed to improve your development experience by using ExpressJS and Mongoose tools.
Stars: ✭ 19 (-51.28%)
Mutual labels:  yarn
algo-builder
Framework to automate development of Algorand Assets and Smart Contracts.
Stars: ✭ 132 (+238.46%)
Mutual labels:  yarn
db2-docker
Docker image to run DB2 LUW
Stars: ✭ 37 (-5.13%)
Mutual labels:  install
yarn-plugin-nixify
Yarn v3 plugin to help with Nix packaging
Stars: ✭ 41 (+5.13%)
Mutual labels:  yarn
django-concurrency-talk
🎭 Database Integrity in Django: Safely Handling Critical Data in Distributed Systems
Stars: ✭ 49 (+25.64%)
Mutual labels:  lock
website
The Algorithms website providing GitHub's largest open-source algorithm library.
Stars: ✭ 616 (+1479.49%)
Mutual labels:  yarn
react-project-tpl
react project template
Stars: ✭ 32 (-17.95%)
Mutual labels:  yarn

npx ci Latest version

A safer npm ci.

Run it in any npm project to install dependencies from lock using the appropriate package-manager (supports npm, yarn and pnpm).

If you like this project, please star it & follow me to see what other cool projects I'm working on! ❤️

Usage

Use in your npm project instead of npm ci:

npx ci

Why?

npm has a npm ci command to install dependencies from the lock file (eg. package-lock.json), ensuring all project contributors have the same dependencies.

This command is different across 3rd-party package-managers like yarn and pnpm, and can be confusing to remember when switching between projects.

This is where npx ci comes in:

  • Package-manager agnostic

    npx ci is a package-manager agnostic npm ci. You can run this in any project and dependencies will be installed appropriately.

    It's great for contributing to new projects!

  • Can use in any environment with a single command

    If yarn or pnpm isn't already installed, npx ci installs it for you.

    It's great for using it in CI/CD workflows!

  • Typo proof

    When you accidentally type npx when typing in npm ci, your dependencies still get installed.

    It's actually the safer option too!

FAQ

Can it detect the package manager without a lock file?

It's possible to detect the package manager using other signals (eg package.json#packageManager, .yarnrc.yml).

However, since npx ci is strictly an alternative to npm ci, a lock file is necessary to do a clean/immutable/frozen install.

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].