Releases: dionmaicon/packdev
Releases · dionmaicon/packdev
v0.1.3 — Release Version Overrides
What's New
release dependency type — override any package with a different published npm version, without touching your package.json permanently.
packdev add lodash ^3.10.1 # override to an older version
packdev add typescript 4.9.5 # pin to an exact release
packdev init # installs the override
packdev finish # restores original versionPackDev now supports three override types:
| Type | Example | Use case |
|---|---|---|
local |
../my-lib |
Local filesystem path |
git |
github:org/repo#branch |
Git repository |
release |
^3.10.1 |
Different npm registry version |
Improvements
--original-versionflag documented — use it when packdev can't auto-detect the original version (e.g. when a package is already overridden)create-configis now optional —packdev addcreates the config automatically if it doesn't exist.packdev.jsonclarified as per-developer — should be added to.gitignoresince local paths differ between machines
Bug Fixes
validateProject/statusnow correctly reports Active when a release override is appliedaddLocalDependencynow guards against saving an active release override as the original version- Git pre-commit hook now detects release overrides and blocks accidental commits
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/dionmaicon/packdev/commits/v0.1.0