Skip to content

techfever-soft/package-ninja-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥷🏽 PackageNinja (CLI)

A CLI to simplify dependencies managment for Node.js

Features

  • Automatically synchronizes your package.json and .pkgninja files
  • Detects outdated dependencies and categorizes them (upToDate, canUpdate, outdated)
  • Provides a user-friendly CLI for managing dependencies
  • Supports dependency locking
  • Works with all project types (Node.js, Angular, React, Vue...)
  • VSCode extension for enhanced workspace integration is available here

Installation (with NPM)

To install the CLI globally:

npm install -g @techfever/package-ninja

Usage

Initial Setup

To initialize PackageNinja in your project directory :

package-ninja init

Syncing dependencies

To synchronize your dependencies :

package-ninja sync

This command ensures that your package.json and .pkgninja files are in sync.

Checking dependencies

To check your dependencies :

package-ninja check

This command will ask you if you want a report, and will categorize your dependencies as upToDate, canUpdate, or outdated.

Locking/Unlocking dependencies

package-ninja lock <dependency-name>

This command updates the .pkgninja file to lock the specified dependency. Unlock dependencies with the command :

package-ninja unlock <dependency-name>

Updating dependencies

This command upgrades dependencies that are unlocked

package-ninja update

Contributing

We welcome contributions! Please read our contributing guidelines for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

  • D-C-MATE (owner of TechFever)

Acknowledgments

Inspired by the need for a smarter package manager Thanks to the open-source community for their invaluable resources

Releases

No releases published

Packages

No packages published