Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

feat(directory): directory dep support #68

Merged
merged 1 commit into from
Mar 11, 2017
Merged

Conversation

zkat
Copy link
Owner

@zkat zkat commented Mar 11, 2017

directory deps are a weird creature -- they require that npm actually go through some lifecycles and such. On top of that, npm/npm#15900 is changing the way directory deps work, to make them symlink.

This PR compromises by letting npm do the heavy lifting on this front. pacote will still be able to read local directory manifests for the CLI, but the CLI will have to do its own linking, do its own filtering so it doesn't ask pacote to extract a directory dep, and, if it wants to use pacote before the new behavior is out, pack its own tarball and then switch to local tarball mode for the rest of the process.

@zkat zkat merged commit 6d5307a into latest Mar 11, 2017
@zkat zkat deleted the zkat/local-directory branch March 11, 2017 09:40
strugee pushed a commit to strugee/pacote that referenced this pull request Mar 9, 2021
Exposes `tar.c` options as a helper util. Useful for other apps that
might want to replicate the same tarball creation from the npm cli in
different contexts.

Related to: npm/libnpmdiff#3

PR-URL: npm/pacote#68
Credit: @ruyadorno
Close: zkat#68
Reviewed-by: @isaacs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant