Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pnpm/pacquet
experimental package manager for node.js
https://github.com/pnpm/pacquet
Last synced: 7 days ago
JSON representation
experimental package manager for node.js
- Host: GitHub
- URL: https://github.com/pnpm/pacquet
- Owner: pnpm
- License: apache-2.0
- Created: 2023-07-12T17:29:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-12T00:10:17.000Z (9 months ago)
- Last Synced: 2024-04-14T05:11:25.304Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 1000 KB
- Stars: 749
- Watchers: 11
- Forks: 21
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- jimsghstars - pnpm/pacquet - experimental package manager for node.js (Rust)
README
# pacquet
Experimental package manager for node.js written in rust.
### TODO
- [x] `.npmrc` support (for supported features [readme.md](./crates/npmrc/README.md))
- [x] CLI commands (for supported features [readme.md](./crates/cli/README.md))
- [x] Content addressable file store support
- [ ] Shrink-file support in sync with `pnpm-lock.yml`
- [x] Frozen lockfile
- [ ] Update outdated lockfile
- [ ] Creating lockfile
- [ ] Workspace support
- [ ] Full sync with [pnpm error codes](https://pnpm.io/errors)
- [ ] Generate a `node_modules/.bin` folder
- [ ] Add CLI report## Debugging
```shell
TRACE=pacquet_tarball just cli add fastify
```## Testing
```sh
# Install necessary dependencies
just install# Start a mocked registry server (optional)
just registry-mock launch# Run test
just test
```## Benchmarking
### Install between multiple revisions
First, you to start a local registry server, such as [verdaccio](https://verdaccio.org/):
```sh
verdaccio
```Then, you can use the script named `integrated-benchmark` to run the various benchmark, For example:
```sh
# Comparing the branch you're working on against main
just integrated-benchmark --scenario=frozen-lockfile my-branch main
``````sh
# Comparing current commit against the previous commit
just integrated-benchmark --scenario=frozen-lockfile HEAD HEAD~
``````sh
# Comparing pacquet of current commit against pnpm
just integrated-benchmark --scenario=frozen-lockfile --with-pnpm HEAD
``````sh
# Comparing pacquet of current commit, pacquet of main, and pnpm against each other
just integrated-benchmark --scenario=frozen-lockfile --with-pnpm HEAD main
``````sh
# See more options
just integrated-benchmark --help
```