Skip to content

Commit

Permalink
refactor: Make setupRepository private
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
`lib/setup-repository` was removed (moved to be internally private). External packages should no longer rely on that
  • Loading branch information
medikoo committed Sep 14, 2020
1 parent 1231cc1 commit 3a590c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/private/install-maintained-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ const optionalChaining = require("es5-ext/optional-chaining")
, isDirectory = require("fs2/is-directory")
, rm = require("fs2/rm")
, NpmCrossLinkError = require("../../npm-cross-link-error")
, setupRepository = require("../../setup-repository")
, getPackageJson = require("../../get-package-json")
, getNpmModulesPath = require("../../get-npm-modules-path")
, cleanupNpmInstall = require("../cleanup-npm-install")
, setupRepository = require("../setup-repository")
, resolveExternalContext = require("../resolve-external-context")
, removeNonDirectDependencies = require("../remove-non-direct-dependencies")
, npmLink = require("./npm-link")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const isObject = require("es5-ext/object/is-object")
, log = require("log").get("npm-cross-link")
, isDirectory = require("fs2/is-directory")
, rm = require("fs2/rm")
, runProgram = require("./run-program");
, runProgram = require("../run-program");

module.exports = async (path, repoUrl, options = {}) => {
if (!isObject(options)) options = {};
Expand Down

0 comments on commit 3a590c8

Please sign in to comment.