pkgs-graph
Advanced tools
Comparing version 7.0.2 to 8.0.0
@@ -22,3 +22,3 @@ export interface Manifest { | ||
} | ||
export default function <T>(pkgs: Array<Package & T>, opts?: { | ||
export declare function createPkgGraph<T>(pkgs: Array<Package & T>, opts?: { | ||
ignoreDevDeps?: boolean; | ||
@@ -25,0 +25,0 @@ linkWorkspacePackages?: boolean; |
@@ -6,6 +6,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createPkgGraph = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const npm_package_arg_1 = __importDefault(require("@pnpm/npm-package-arg")); | ||
const resolve_workspace_range_1 = __importDefault(require("@pnpm/resolve-workspace-range")); | ||
function default_1(pkgs, opts) { | ||
const resolve_workspace_range_1 = require("@pnpm/resolve-workspace-range"); | ||
function createPkgGraph(pkgs, opts) { | ||
const pkgMap = createPkgMap(pkgs); | ||
@@ -72,3 +73,3 @@ const unmatched = []; | ||
} | ||
const matched = (0, resolve_workspace_range_1.default)(rawSpec, versions); | ||
const matched = (0, resolve_workspace_range_1.resolveWorkspaceRange)(rawSpec, versions); | ||
if (!matched) { | ||
@@ -84,3 +85,3 @@ unmatched.push({ pkgName: depName, range: rawSpec }); | ||
} | ||
exports.default = default_1; | ||
exports.createPkgGraph = createPkgGraph; | ||
function createPkgMap(pkgs) { | ||
@@ -87,0 +88,0 @@ const pkgMap = {}; |
{ | ||
"name": "pkgs-graph", | ||
"version": "7.0.2", | ||
"version": "8.0.0", | ||
"description": "Create a graph from an array of packages", | ||
@@ -21,9 +21,9 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/ramda": "0.28.14", | ||
"@types/ramda": "0.28.15", | ||
"better-path-resolve": "1.0.0", | ||
"pkgs-graph": "7.0.2" | ||
"pkgs-graph": "8.0.0" | ||
}, | ||
"dependencies": { | ||
"@pnpm/npm-package-arg": "^1.0.0", | ||
"@pnpm/resolve-workspace-range": "3.0.0", | ||
"@pnpm/resolve-workspace-range": "4.0.0", | ||
"ramda": "npm:@pnpm/ramda@0.28.1" | ||
@@ -30,0 +30,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11276
123
+ Added@pnpm/resolve-workspace-range@4.0.0(transitive)
- Removed@pnpm/resolve-workspace-range@3.0.0(transitive)