https://github.com/techfever-soft/package-ninja-cli
A smart package for managing NPM dependencies
https://github.com/techfever-soft/package-ninja-cli
cli dependencies nodejs npm package
Last synced: 22 days ago
JSON representation
A smart package for managing NPM dependencies
- Host: GitHub
- URL: https://github.com/techfever-soft/package-ninja-cli
- Owner: techfever-soft
- License: mit
- Created: 2024-07-04T12:10:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T09:03:11.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T09:48:42.073Z (over 1 year ago)
- Topics: cli, dependencies, nodejs, npm, package
- Language: TypeScript
- Homepage: https://package-ninja.web.app
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
# 🥷🏽 PackageNinja (CLI)
A CLI to simplify dependencies managment for Node.js
### [DEMO](https://package-ninja.web.app/#demo)
### [Other installation methods](https://package-ninja.web.app/#get-started)
## 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](https://marketplace.visualstudio.com/items?itemName=techfever.packageninja-extension)
## Installation (with NPM)
To install the CLI globally:
```bash
npm install -g @techfever/package-ninja
```
## Usage
### Initial Setup
To initialize PackageNinja in your project directory :
```bash
package-ninja init
```
### Syncing dependencies
To synchronize your dependencies :
```bash
package-ninja sync
```
This command ensures that your package.json and .pkgninja files are in sync.
### Checking dependencies
To check your dependencies :
```bash
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
```bash
package-ninja lock
```
This command updates the .pkgninja file to lock the specified dependency.
Unlock dependencies with the command :
```bash
package-ninja unlock
```
### Updating dependencies
This command upgrades dependencies that are unlocked
```bash
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