ende unlink
The ende unlink command removes a local package link created with
ende link, so imports resolve to the published
registry version again. It edits the
links array in the
nearest ende.json for you.
Removing a link
You can remove an entry by its path or by the linked package's JSR name:
# By the path you linked
ende unlink ../my-local-pkg
# By the package's JSR name
ende unlink @scope/name
Path arguments resolve relative to the current working directory, the same way
ende link resolves them, so
ende unlink ../pkg matches an entry created by ende link ../pkg from the
same directory. When the links array becomes empty it is removed entirely.
If no argument matches a linked entry, ende unlink exits with a non-zero
status rather than reporting success, so a mistyped path or name is detectable
in scripts and CI. It never creates a ende.json: if there is none, there are
no linked packages to remove.
Command line usage:
unlinkRemove a linked local package from the current project
Options
--frozen-lockfile
Error out if lockfile is out of date.
--lock
Check the specified lock file. (If value is not provided, defaults to "./ende.lock").
--lockfile-only
Install only updating the lockfile.
--no-lock
Disable auto discovery of the lock file.