pkgs-graph
Advanced tools
Comparing version 6.0.0 to 6.1.0
# pkgs-graph | ||
## 6.1.0 | ||
### Minor Changes | ||
- dfdf669e6: Add new cli arg --filter-prod. --filter-prod acts the same as --filter, but it omits devDependencies when building dependencies | ||
### Patch Changes | ||
- Updated dependencies [85fb21a83] | ||
- @pnpm/resolve-workspace-range@2.1.0 | ||
## 6.0.0 | ||
@@ -4,0 +15,0 @@ |
@@ -23,2 +23,3 @@ export interface Manifest { | ||
export default function <T>(pkgs: Array<Package & T>, opts?: { | ||
ignoreDevDeps?: boolean; | ||
linkWorkspacePackages?: boolean; | ||
@@ -25,0 +26,0 @@ }): { |
@@ -43,3 +43,3 @@ "use strict"; | ||
const dependencies = { | ||
...pkg.manifest.devDependencies, | ||
...(!(opts === null || opts === void 0 ? void 0 : opts.ignoreDevDeps) && pkg.manifest.devDependencies), | ||
...pkg.manifest.optionalDependencies, | ||
@@ -86,3 +86,3 @@ ...pkg.manifest.dependencies, | ||
} | ||
const matched = (0, resolve_workspace_range_1.default)(rawSpec, versions); | ||
const matched = resolve_workspace_range_1.default(rawSpec, versions); | ||
if (!matched) { | ||
@@ -89,0 +89,0 @@ unmatched.push({ pkgName: depName, range: rawSpec }); |
{ | ||
"name": "pkgs-graph", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Create a graph from an array of packages", | ||
@@ -11,9 +11,2 @@ "main": "lib/index.js", | ||
], | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"prepublishOnly": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/pkgs-graph", | ||
@@ -29,11 +22,17 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/ramda": "^0.27.35", | ||
"@types/ramda": "0.27.39", | ||
"better-path-resolve": "1.0.0" | ||
}, | ||
"dependencies": { | ||
"@pnpm/resolve-workspace-range": "2.0.0", | ||
"@pnpm/resolve-workspace-range": "2.1.0", | ||
"@zkochan/npm-package-arg": "^2.0.1", | ||
"ramda": "^0.27.1" | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
"funding": "https://opencollective.com/pnpm", | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
} | ||
} |
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
9186
136
+ Added@pnpm/resolve-workspace-range@2.1.0(transitive)
- Removed@pnpm/resolve-workspace-range@2.0.0(transitive)