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

feat(scopes): new scopeTargets option #59

Merged
merged 1 commit into from
Mar 9, 2017
Merged

feat(scopes): new scopeTargets option #59

merged 1 commit into from
Mar 9, 2017

Conversation

zkat
Copy link
Owner

@zkat zkat commented Mar 9, 2017

This is a relatively small step as far as having a good
story around auth, but I think at least making it a bit
clearer what these options are and where they come from
is going to be nice.

At least opt-check doesn't have a ton of random @-opts now.

This is a relatively small step as far as having a good
story around auth, but I think at least making it a bit
clearer what these options are and where they come from
is going to be nice.

At least opt-check doesn't have a ton of random @-opts now.
@zkat zkat added this to the 1.0.0 milestone Mar 9, 2017
@zkat zkat merged commit b5db7ae into latest Mar 9, 2017
@zkat zkat deleted the zkat/scopetargets branch March 9, 2017 11:45
strugee pushed a commit to strugee/pacote that referenced this pull request Mar 9, 2021
Occasionally, a package installed from a hosted git repo requires its
.gitignore in order to properly run its install/prepare process.  Since
we should treat git dependencies as being just like installing from an
install cut from the actual git repo itself, it's inappropriate to munge
the .gitignore into .npmignore at this step (even though it _is_
appropriate to do so in most other cases with remote tarballs).

This adds the `allowGitIgnore` flag, which is then in turn used by the
GitFetcher when it makes its call to RemoteFetcher to download and
extract the hosted tarball for preparation.

This was not an issue in npm v6, because prior to npm v7, hosted
git snapshot tarballs were not used, so it never would go through the
code path of using a 'remote' type fetcher to download the contents of a
git repository (which was also much slower).

Fixes: npm/cli#2144

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

Successfully merging this pull request may close these issues.

1 participant