Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isaacs/publish non directories #2074

Closed
wants to merge 3 commits into from
Closed

Commits on Oct 28, 2020

  1. Support *all* conf keys in publishConfig

    This adds a flatOptions.flatten() method, which takes an object full of
    config keys, and turns it into an options object.  This method expects
    an object that already inherits from npm's defaults, and is thus
    expected to be internal only.
    
    This commit also removes some config keys which were used by npm
    dependencies at the start of the v7 beta process, but are no longer:
    
    - all lockfile configs (since we don't use lockfiles any more! for
      anything! and good riddance, they're a rats' nest of race conditions)
    - cacheMax/cacheMin (we only use preferOffline/offline/online now, so
      these are strictly legacy support as input and never shared with deps)
    
    Once this lands in cli, we can remove the publishConfig handling logic
    in npm-registry-fetch, as it will be redundant.
    isaacs committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    b9397c0 View commit details
    Browse the repository at this point in the history
  2. TEMP: depend on github:npm/libnpmpublish#pull/16

    Remove this once that PR lands
    isaacs committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    3fc9d67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e44521 View commit details
    Browse the repository at this point in the history