mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-30 04:52:04 -04:00
refactor: all packages should be in the @pnpm scope (#5785)
This commit is contained in:
5
.changeset/fifty-olives-travel.md
Normal file
5
.changeset/fifty-olives-travel.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/workspace.pkgs-graph": major
|
||||
---
|
||||
|
||||
Project renamed from `pkgs-graph` to `@pnpm/workspace.pkgs-graph`.
|
||||
5
.changeset/heavy-hairs-shop.md
Normal file
5
.changeset/heavy-hairs-shop.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/dependency-path": major
|
||||
---
|
||||
|
||||
Project renamed from `dependency-path` to `@pnpm/dependency-path`.
|
||||
5
.changeset/little-pugs-decide.md
Normal file
5
.changeset/little-pugs-decide.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/reviewing.dependencies-hierarchy": major
|
||||
---
|
||||
|
||||
Project renamed from `dependencies-hierarchy` to `@pnpm/reviewing.dependencies-hierarchy`.
|
||||
5
.changeset/silly-walls-nail.md
Normal file
5
.changeset/silly-walls-nail.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/fs.find-packages": major
|
||||
---
|
||||
|
||||
Project renamed from `find-packages` to `@pnpm/fs.find-packages`.
|
||||
@@ -66,7 +66,7 @@
|
||||
"@pnpm/store-connection-manager": "workspace:*",
|
||||
"@pnpm/store-controller-types": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"load-json-file": "^6.2.0",
|
||||
"mem": "^8.1.1",
|
||||
"p-limit": "^3.1.0",
|
||||
|
||||
@@ -21,7 +21,7 @@ import { logger, streamParser } from '@pnpm/logger'
|
||||
import { writeModulesManifest } from '@pnpm/modules-yaml'
|
||||
import { createOrConnectStoreController } from '@pnpm/store-connection-manager'
|
||||
import { ProjectManifest } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import runGroups from 'run-groups'
|
||||
import graphSequencer from '@pnpm/graph-sequencer'
|
||||
import npa from '@pnpm/npm-package-arg'
|
||||
|
||||
@@ -1,398 +0,0 @@
|
||||
# find-packages
|
||||
|
||||
## 10.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@4.1.1
|
||||
|
||||
## 10.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [fec9e3149]
|
||||
- Updated dependencies [0d12d38fd]
|
||||
- @pnpm/read-project-manifest@4.1.0
|
||||
|
||||
## 10.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2e9790722: Use deterministic sorting.
|
||||
- Updated dependencies [702e847c1]
|
||||
- @pnpm/types@8.9.0
|
||||
- @pnpm/read-project-manifest@4.0.2
|
||||
|
||||
## 10.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [844e82f3a]
|
||||
- @pnpm/types@8.8.0
|
||||
- @pnpm/read-project-manifest@4.0.1
|
||||
|
||||
## 10.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 043d988fc: Breaking change to the API. Defaul export is not used.
|
||||
- f884689e0: Require `@pnpm/logger` v5.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [f884689e0]
|
||||
- @pnpm/read-project-manifest@4.0.0
|
||||
|
||||
## 9.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@3.0.13
|
||||
|
||||
## 9.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@3.0.12
|
||||
|
||||
## 9.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d665f3ff7]
|
||||
- @pnpm/types@8.7.0
|
||||
- @pnpm/read-project-manifest@3.0.11
|
||||
|
||||
## 9.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [156cc1ef6]
|
||||
- @pnpm/types@8.6.0
|
||||
- @pnpm/read-project-manifest@3.0.10
|
||||
|
||||
## 9.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [39c040127]
|
||||
- @pnpm/read-project-manifest@3.0.9
|
||||
|
||||
## 9.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c90798461]
|
||||
- @pnpm/types@8.5.0
|
||||
- @pnpm/read-project-manifest@3.0.8
|
||||
|
||||
## 9.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [01c5834bf]
|
||||
- @pnpm/read-project-manifest@3.0.7
|
||||
|
||||
## 9.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e5b77ef6]
|
||||
- @pnpm/types@8.4.0
|
||||
- @pnpm/read-project-manifest@3.0.6
|
||||
|
||||
## 9.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2a34b21ce]
|
||||
- @pnpm/types@8.3.0
|
||||
- @pnpm/read-project-manifest@3.0.5
|
||||
|
||||
## 9.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [fb5bbfd7a]
|
||||
- @pnpm/types@8.2.0
|
||||
- @pnpm/read-project-manifest@3.0.4
|
||||
|
||||
## 9.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4d39e4a0c]
|
||||
- @pnpm/types@8.1.0
|
||||
- @pnpm/read-project-manifest@3.0.3
|
||||
|
||||
## 9.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [18ba5e2c0]
|
||||
- @pnpm/types@8.0.1
|
||||
- @pnpm/read-project-manifest@3.0.2
|
||||
|
||||
## 9.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@3.0.1
|
||||
|
||||
## 9.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 542014839: Node.js 12 is not supported.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d504dc380]
|
||||
- Updated dependencies [542014839]
|
||||
- @pnpm/types@8.0.0
|
||||
- @pnpm/read-project-manifest@3.0.0
|
||||
|
||||
## 8.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@2.0.13
|
||||
|
||||
## 8.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b138d048c]
|
||||
- @pnpm/types@7.10.0
|
||||
- @pnpm/read-project-manifest@2.0.12
|
||||
|
||||
## 8.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [26cd01b88]
|
||||
- @pnpm/types@7.9.0
|
||||
- @pnpm/read-project-manifest@2.0.11
|
||||
|
||||
## 8.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5734a4a7]
|
||||
- @pnpm/types@7.8.0
|
||||
- @pnpm/read-project-manifest@2.0.10
|
||||
|
||||
## 8.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [6493e0c93]
|
||||
- @pnpm/types@7.7.1
|
||||
- @pnpm/read-project-manifest@2.0.9
|
||||
|
||||
## 8.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ba9b2eba1]
|
||||
- @pnpm/types@7.7.0
|
||||
- @pnpm/read-project-manifest@2.0.8
|
||||
|
||||
## 8.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [302ae4f6f]
|
||||
- @pnpm/types@7.6.0
|
||||
- @pnpm/read-project-manifest@2.0.7
|
||||
|
||||
## 8.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4ab87844a]
|
||||
- @pnpm/types@7.5.0
|
||||
- @pnpm/read-project-manifest@2.0.6
|
||||
|
||||
## 8.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b734b45ea]
|
||||
- @pnpm/types@7.4.0
|
||||
- @pnpm/read-project-manifest@2.0.5
|
||||
|
||||
## 8.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e76690f4]
|
||||
- @pnpm/types@7.3.0
|
||||
- @pnpm/read-project-manifest@2.0.4
|
||||
|
||||
## 8.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [724c5abd8]
|
||||
- @pnpm/types@7.2.0
|
||||
- @pnpm/read-project-manifest@2.0.3
|
||||
|
||||
## 8.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@2.0.2
|
||||
|
||||
## 8.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [6e9c112af]
|
||||
- Updated dependencies [97c64bae4]
|
||||
- @pnpm/read-project-manifest@2.0.1
|
||||
- @pnpm/types@7.1.0
|
||||
|
||||
## 8.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97b986fbc]
|
||||
- @pnpm/read-project-manifest@2.0.0
|
||||
- @pnpm/types@7.0.0
|
||||
|
||||
## 7.0.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ad113645b]
|
||||
- @pnpm/read-project-manifest@1.1.7
|
||||
|
||||
## 7.0.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [9ad8c27bf]
|
||||
- @pnpm/types@6.4.0
|
||||
- @pnpm/read-project-manifest@1.1.6
|
||||
|
||||
## 7.0.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.1.5
|
||||
|
||||
## 7.0.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.1.4
|
||||
|
||||
## 7.0.20
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.1.3
|
||||
|
||||
## 7.0.19
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5d694e7f]
|
||||
- @pnpm/types@6.3.1
|
||||
- @pnpm/read-project-manifest@1.1.2
|
||||
|
||||
## 7.0.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d54043ee4]
|
||||
- @pnpm/types@6.3.0
|
||||
- @pnpm/read-project-manifest@1.1.1
|
||||
|
||||
## 7.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2762781cc]
|
||||
- @pnpm/read-project-manifest@1.1.0
|
||||
|
||||
## 7.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.0.13
|
||||
|
||||
## 7.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.0.12
|
||||
|
||||
## 7.0.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.0.11
|
||||
|
||||
## 7.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3bd3253e3]
|
||||
- @pnpm/read-project-manifest@1.0.10
|
||||
|
||||
## 7.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [db17f6f7b]
|
||||
- @pnpm/types@6.2.0
|
||||
- @pnpm/read-project-manifest@1.0.9
|
||||
|
||||
## 7.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1520e3d6f: Update fast-glob to v3.2.4
|
||||
|
||||
## 7.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [71a8c8ce3]
|
||||
- @pnpm/types@6.1.0
|
||||
- @pnpm/read-project-manifest@1.0.8
|
||||
|
||||
## 7.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [57c510f00]
|
||||
- @pnpm/read-project-manifest@1.0.7
|
||||
|
||||
## 7.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [da091c711]
|
||||
- @pnpm/types@6.0.0
|
||||
- @pnpm/read-project-manifest@1.0.6
|
||||
|
||||
## 7.0.8-alpha.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [da091c71]
|
||||
- @pnpm/types@6.0.0-alpha.0
|
||||
- @pnpm/read-project-manifest@1.0.6-alpha.0
|
||||
|
||||
## 7.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/read-project-manifest@1.0.5
|
||||
@@ -1,22 +1,22 @@
|
||||
# find-packages
|
||||
# @pnpm/fs.find-packages
|
||||
|
||||
> Find all packages inside a directory
|
||||
|
||||
<!--@shields('npm')-->
|
||||
[](https://www.npmjs.com/package/find-packages)
|
||||
[](https://www.npmjs.com/package/@pnpm/fs.find-packages)
|
||||
<!--/@-->
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
pnpm add find-packages
|
||||
pnpm add @pnpm/fs.find-packages
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const path = require('path')
|
||||
const findPkgs = require('find-packages')
|
||||
const findPkgs = require('@pnpm/fs.find-packages')
|
||||
|
||||
findPkgs(path.join(__dirname, 'test', 'fixture'))
|
||||
.then(pkgs => console.log(pkgs))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const path = require('path')
|
||||
const findPkgs = require('find-packages')
|
||||
const findPkgs = require('@pnpm/fs.find-packages')
|
||||
|
||||
findPkgs(path.join(__dirname, 'test/fixtures/one-pkg'))
|
||||
.then(pkgs => console.log(pkgs))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "find-packages",
|
||||
"version": "10.0.4",
|
||||
"name": "@pnpm/fs.find-packages",
|
||||
"version": "0.0.0",
|
||||
"description": "Find all packages inside a directory",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
"devDependencies": {
|
||||
"find-packages": "workspace:*"
|
||||
"@pnpm/fs.find-packages": "workspace:*"
|
||||
},
|
||||
"exports": {
|
||||
".": "./lib/index.js"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/// <reference path="../../../__typings__/index.d.ts"/>
|
||||
import path from 'path'
|
||||
import { findPackages } from 'find-packages'
|
||||
import { findPackages } from '@pnpm/fs.find-packages'
|
||||
|
||||
const fixtures = path.join(__dirname, 'fixtures')
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/package-is-installable": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -8,7 +8,7 @@ import { nameVerFromPkgSnapshot } from '@pnpm/lockfile-utils'
|
||||
import { logger } from '@pnpm/logger'
|
||||
import { packageIsInstallable } from '@pnpm/package-is-installable'
|
||||
import { DependenciesField } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import mapValues from 'ramda/src/map'
|
||||
import pickBy from 'ramda/src/pickBy'
|
||||
import unnest from 'ramda/src/unnest'
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"@pnpm/util.lex-comparator": "1.0.0",
|
||||
"@zkochan/rimraf": "^2.1.2",
|
||||
"comver-to-semver": "^1.0.0",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"js-yaml": "npm:@zkochan/js-yaml@^0.0.6",
|
||||
"normalize-path": "^3.0.0",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1",
|
||||
|
||||
@@ -4,7 +4,7 @@ import { DEPENDENCIES_FIELDS } from '@pnpm/types'
|
||||
import { Lockfile, ProjectSnapshot } from '@pnpm/lockfile-types'
|
||||
import { WANTED_LOCKFILE } from '@pnpm/constants'
|
||||
import rimraf from '@zkochan/rimraf'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import yaml from 'js-yaml'
|
||||
import equals from 'ramda/src/equals'
|
||||
import pickBy from 'ramda/src/pickBy'
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"@pnpm/lockfile-utils": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@yarnpkg/pnp": "^2.3.2",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"normalize-path": "^3.0.0",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
nameVerFromPkgSnapshot,
|
||||
} from '@pnpm/lockfile-utils'
|
||||
import { Registries } from '@pnpm/types'
|
||||
import { depPathToFilename, refToRelative } from 'dependency-path'
|
||||
import { depPathToFilename, refToRelative } from '@pnpm/dependency-path'
|
||||
import { generateInlinedScript, PackageRegistry } from '@yarnpkg/pnp'
|
||||
import normalizePath from 'normalize-path'
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"@pnpm/lockfile-types": "workspace:*",
|
||||
"@pnpm/resolver-base": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"get-npm-tarball-url": "^2.0.3",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import path from 'path'
|
||||
import { Lockfile } from '@pnpm/lockfile-types'
|
||||
import { depPathToFilename } from 'dependency-path'
|
||||
import { depPathToFilename } from '@pnpm/dependency-path'
|
||||
import fromPairs from 'ramda/src/fromPairs'
|
||||
|
||||
type GetLocalLocations = (depPath: string, pkgName: string) => string[]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { refToRelative } from 'dependency-path'
|
||||
import { refToRelative } from '@pnpm/dependency-path'
|
||||
|
||||
export { extendProjectsWithTargetDirs } from './extendProjectsWithTargetDirs'
|
||||
export { nameVerFromPkgSnapshot } from './nameVerFromPkgSnapshot'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { PackageSnapshot } from '@pnpm/lockfile-types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
|
||||
export function nameVerFromPkgSnapshot (
|
||||
depPath: string,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { PackageSnapshot } from '@pnpm/lockfile-types'
|
||||
import { Registries } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
|
||||
export function packageIdFromSnapshot (
|
||||
depPath: string,
|
||||
|
||||
@@ -2,7 +2,7 @@ import url from 'url'
|
||||
import { PackageSnapshot } from '@pnpm/lockfile-types'
|
||||
import { Resolution } from '@pnpm/resolver-base'
|
||||
import { Registries } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import getNpmTarballUrl from 'get-npm-tarball-url'
|
||||
import { nameVerFromPkgSnapshot } from './nameVerFromPkgSnapshot'
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"dependencies": {
|
||||
"@pnpm/lockfile-types": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Lockfile, PackageSnapshot } from '@pnpm/lockfile-types'
|
||||
import { DependenciesField } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
|
||||
export interface LockedDependency {
|
||||
depPath: string
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"@pnpm/constants": "workspace:*",
|
||||
"@pnpm/lockfile-types": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
ResolvedDependencies,
|
||||
} from '@pnpm/lockfile-types'
|
||||
import { PackageManifest } from '@pnpm/types'
|
||||
import { refToRelative } from 'dependency-path'
|
||||
import { refToRelative } from '@pnpm/dependency-path'
|
||||
import difference from 'ramda/src/difference'
|
||||
import isEmpty from 'ramda/src/isEmpty'
|
||||
import unnest from 'ramda/src/unnest'
|
||||
|
||||
@@ -1,302 +0,0 @@
|
||||
# dependency-path
|
||||
|
||||
## 9.2.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [702e847c1]
|
||||
- @pnpm/types@8.9.0
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [844e82f3a]
|
||||
- @pnpm/types@8.8.0
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d665f3ff7]
|
||||
- @pnpm/types@8.7.0
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [156cc1ef6]
|
||||
- @pnpm/types@8.6.0
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c90798461]
|
||||
- @pnpm/types@8.5.0
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2bca856e0]
|
||||
- @pnpm/crypto.base32-hash@1.0.1
|
||||
|
||||
## 9.2.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- fc581d371: Remove patchFileHash from createPeersFolderSuffix().
|
||||
|
||||
## 9.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e5b77ef6]
|
||||
- @pnpm/types@8.4.0
|
||||
|
||||
## 9.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- c635f9fc1: Add patchFileHash as an optional argument to createPeersFolderSuffix().
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2a34b21ce]
|
||||
- @pnpm/types@8.3.0
|
||||
|
||||
## 9.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 725636a90: Use @pnpm/crypto.base32-hash.
|
||||
- Updated dependencies [fb5bbfd7a]
|
||||
- Updated dependencies [725636a90]
|
||||
- @pnpm/types@8.2.0
|
||||
- @pnpm/crypto.base32-hash@1.0.0
|
||||
|
||||
## 9.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4d39e4a0c]
|
||||
- @pnpm/types@8.1.0
|
||||
|
||||
## 9.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- c57695550: Sanitize the directory names created inside `node_modules/.pnpm` and inside the global store [#4716](https://github.com/pnpm/pnpm/issues/4716)
|
||||
|
||||
## 9.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [18ba5e2c0]
|
||||
- @pnpm/types@8.0.1
|
||||
|
||||
## 9.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 0a70aedb1: Export new function: createPeersFolderSuffix().
|
||||
|
||||
## 9.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- faf830b8f: Use a nicer path for saving local dependencies in the virtual store.
|
||||
- 542014839: Node.js 12 is not supported.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d504dc380]
|
||||
- Updated dependencies [542014839]
|
||||
- @pnpm/types@8.0.0
|
||||
|
||||
## 8.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b138d048c]
|
||||
- @pnpm/types@7.10.0
|
||||
|
||||
## 8.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [26cd01b88]
|
||||
- @pnpm/types@7.9.0
|
||||
|
||||
## 8.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5734a4a7]
|
||||
- @pnpm/types@7.8.0
|
||||
|
||||
## 8.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [6493e0c93]
|
||||
- @pnpm/types@7.7.1
|
||||
|
||||
## 8.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ba9b2eba1]
|
||||
- @pnpm/types@7.7.0
|
||||
|
||||
## 8.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [302ae4f6f]
|
||||
- @pnpm/types@7.6.0
|
||||
|
||||
## 8.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4ab87844a]
|
||||
- @pnpm/types@7.5.0
|
||||
|
||||
## 8.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b734b45ea]
|
||||
- @pnpm/types@7.4.0
|
||||
|
||||
## 8.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e76690f4]
|
||||
- @pnpm/types@7.3.0
|
||||
|
||||
## 8.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 6c418943c: Fix `tryGetPackageId()`, it should parse correctly a dependency path that has peer dependency names with underscores.
|
||||
|
||||
## 8.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [724c5abd8]
|
||||
- @pnpm/types@7.2.0
|
||||
|
||||
## 8.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 20e2f235d: Add a unique prefix to any directory name inside the virtual store that has non-lowercase characters. This is important to avoid conflicts in case insensitive filesystems.
|
||||
|
||||
## 7.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97c64bae4]
|
||||
- @pnpm/types@7.1.0
|
||||
|
||||
## 7.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 9ceab68f0: Use + instead of # to escape / in paths.
|
||||
|
||||
## 6.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
|
||||
- f2bb5cbeb: All packages inside the virtual store directory should be on the same depth. Instead of subdirectories, one directory is used with # instead of slashes.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- e4efddbd2: Don't use ":" in path to dependency.
|
||||
- Updated dependencies [97b986fbc]
|
||||
- @pnpm/types@7.0.0
|
||||
|
||||
## 5.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [9ad8c27bf]
|
||||
- @pnpm/types@6.4.0
|
||||
|
||||
## 5.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- e27dcf0dc: Add depPathToFilename().
|
||||
|
||||
## 5.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 39142e2ad: Update encode-registry to v3.
|
||||
|
||||
## 5.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5d694e7f]
|
||||
- @pnpm/types@6.3.1
|
||||
|
||||
## 5.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d54043ee4]
|
||||
- @pnpm/types@6.3.0
|
||||
|
||||
## 5.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a2ef8084f: Use the same versions of dependencies across the pnpm monorepo.
|
||||
|
||||
## 5.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [db17f6f7b]
|
||||
- @pnpm/types@6.2.0
|
||||
|
||||
## 5.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [71a8c8ce3]
|
||||
- @pnpm/types@6.1.0
|
||||
|
||||
## 5.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 41d92948b: relative() should always remove the registry from the IDs start.
|
||||
|
||||
## 4.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [da091c711]
|
||||
- @pnpm/types@6.0.0
|
||||
|
||||
## 4.0.7-alpha.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [da091c71]
|
||||
- @pnpm/types@6.0.0-alpha.0
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dependency-path",
|
||||
"version": "9.2.8",
|
||||
"name": "@pnpm/dependency-path",
|
||||
"version": "0.0.0",
|
||||
"description": "Utilities for working with symlinked node_modules",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/semver": "7.3.13",
|
||||
"dependency-path": "workspace:*"
|
||||
"@pnpm/dependency-path": "workspace:*"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
"exports": {
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
relative,
|
||||
resolve,
|
||||
tryGetPackageId,
|
||||
} from 'dependency-path'
|
||||
} from '@pnpm/dependency-path'
|
||||
|
||||
test('isAbsolute()', () => {
|
||||
expect(isAbsolute('/foo/1.0.0')).toBeFalsy()
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"@pnpm/logger": "^5.0.0",
|
||||
"@pnpm/store-path": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"hyperdrive-schemas": "^2.0.0",
|
||||
"load-json-file": "^6.2.0",
|
||||
"normalize-path": "^3.0.0"
|
||||
|
||||
@@ -2,7 +2,7 @@ import path from 'path'
|
||||
import { Lockfile } from '@pnpm/lockfile-file'
|
||||
import { DEPENDENCIES_FIELDS } from '@pnpm/types'
|
||||
import { nameVerFromPkgSnapshot } from '@pnpm/lockfile-utils'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import normalize from 'normalize-path'
|
||||
|
||||
type DirEntry = {
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/which-version-is-pinned": "workspace:*",
|
||||
"@zkochan/rimraf": "^2.1.2",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"is-inner-link": "^4.0.0",
|
||||
"load-json-file": "^6.2.0",
|
||||
"normalize-path": "^3.0.0",
|
||||
|
||||
@@ -4,7 +4,7 @@ import { addDependenciesToPackage, install, mutateModules, mutateModulesInSingle
|
||||
import { prepareEmpty, preparePackages } from '@pnpm/prepare'
|
||||
import { addDistTag, REGISTRY_MOCK_PORT } from '@pnpm/registry-mock'
|
||||
import rimraf from '@zkochan/rimraf'
|
||||
import { createPeersFolderSuffix } from 'dependency-path'
|
||||
import { createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import { testDefaults } from '../utils'
|
||||
|
||||
test('auto install non-optional peer dependencies', async () => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { prepareEmpty } from '@pnpm/prepare'
|
||||
import { addDistTag } from '@pnpm/registry-mock'
|
||||
import { addDependenciesToPackage } from '@pnpm/core'
|
||||
import deepRequireCwd from 'deep-require-cwd'
|
||||
import { createPeersFolderSuffix } from 'dependency-path'
|
||||
import { createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import exists from 'path-exists'
|
||||
import { testDefaults } from '../utils'
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
mutateModulesInSingleProject,
|
||||
} from '@pnpm/core'
|
||||
import rimraf from '@zkochan/rimraf'
|
||||
import { createPeersFolderSuffix } from 'dependency-path'
|
||||
import { createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import loadJsonFile from 'load-json-file'
|
||||
import exists from 'path-exists'
|
||||
import pick from 'ramda/src/pick'
|
||||
|
||||
@@ -18,7 +18,7 @@ import rimraf from '@zkochan/rimraf'
|
||||
import exists from 'path-exists'
|
||||
import sinon from 'sinon'
|
||||
import deepRequireCwd from 'deep-require-cwd'
|
||||
import { createPeersFolderSuffix } from 'dependency-path'
|
||||
import { createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import { testDefaults } from '../utils'
|
||||
|
||||
const f = fixtures(__dirname)
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
"@pnpm/symlink-dependency": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@zkochan/rimraf": "^2.1.2",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"p-limit": "^3.1.0",
|
||||
"path-absolute": "^1.0.1",
|
||||
"path-exists": "^4.0.0",
|
||||
|
||||
@@ -56,7 +56,7 @@ import {
|
||||
} from '@pnpm/store-controller-types'
|
||||
import { symlinkDependency } from '@pnpm/symlink-dependency'
|
||||
import { DependencyManifest, HoistedDependencies, ProjectManifest, Registries } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import pLimit from 'p-limit'
|
||||
import pathAbsolute from 'path-absolute'
|
||||
import equals from 'ramda/src/equals'
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
PackageFilesResponse,
|
||||
StoreController,
|
||||
} from '@pnpm/store-controller-types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import pathExists from 'path-exists'
|
||||
import equals from 'ramda/src/equals'
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
StoreController,
|
||||
} from '@pnpm/store-controller-types'
|
||||
import { hoist, HoistingLimits, HoisterResult } from '@pnpm/real-hoist'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import {
|
||||
DependenciesGraph,
|
||||
DepHierarchy,
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"@pnpm/matcher": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/util.lex-comparator": "1.0.0",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"is-subdir": "^1.2.0",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1",
|
||||
"resolve-link-target": "^2.0.0",
|
||||
|
||||
@@ -12,7 +12,7 @@ import { logger } from '@pnpm/logger'
|
||||
import { createMatcher } from '@pnpm/matcher'
|
||||
import { HoistedDependencies } from '@pnpm/types'
|
||||
import { lexCompare } from '@pnpm/util.lex-comparator'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import isSubdir from 'is-subdir'
|
||||
import mapObjIndexed from 'ramda/src/mapObjIndexed'
|
||||
import resolveLinkTarget from 'resolve-link-target'
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"@pnpm/store-controller-types": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@zkochan/rimraf": "^2.1.2",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
HoistedDependencies,
|
||||
Registries,
|
||||
} from '@pnpm/types'
|
||||
import { depPathToFilename } from 'dependency-path'
|
||||
import { depPathToFilename } from '@pnpm/dependency-path'
|
||||
import rimraf from '@zkochan/rimraf'
|
||||
import difference from 'ramda/src/difference'
|
||||
import equals from 'ramda/src/equals'
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"@pnpm/resolver-base": "workspace:*",
|
||||
"@pnpm/store-controller-types": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"load-json-file": "^6.2.0",
|
||||
"p-defer": "^3.0.0",
|
||||
"p-limit": "^3.1.0",
|
||||
|
||||
@@ -40,7 +40,7 @@ import {
|
||||
WantedDependency,
|
||||
} from '@pnpm/store-controller-types'
|
||||
import { DependencyManifest } from '@pnpm/types'
|
||||
import { depPathToFilename } from 'dependency-path'
|
||||
import { depPathToFilename } from '@pnpm/dependency-path'
|
||||
import pMapValues from 'p-map-values'
|
||||
import PQueue from 'p-queue'
|
||||
import loadJsonFile from 'load-json-file'
|
||||
|
||||
@@ -11,7 +11,7 @@ import { REGISTRY_MOCK_PORT } from '@pnpm/registry-mock'
|
||||
import { fixtures } from '@pnpm/test-fixtures'
|
||||
import { DependencyManifest } from '@pnpm/types'
|
||||
import delay from 'delay'
|
||||
import { depPathToFilename } from 'dependency-path'
|
||||
import { depPathToFilename } from '@pnpm/dependency-path'
|
||||
import loadJsonFile from 'load-json-file'
|
||||
import nock from 'nock'
|
||||
import normalize from 'normalize-path'
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@pnpm/error": "workspace:*",
|
||||
"@pnpm/lockfile-utils": "workspace:*",
|
||||
"@yarnpkg/nm": "4.0.0-rc.27",
|
||||
"dependency-path": "workspace:*"
|
||||
"@pnpm/dependency-path": "workspace:*"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
"devDependencies": {
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
Lockfile,
|
||||
nameVerFromPkgSnapshot,
|
||||
} from '@pnpm/lockfile-utils'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import { hoist as _hoist, HoisterDependencyKind, HoisterTree, HoisterResult } from '@yarnpkg/nm'
|
||||
|
||||
export type HoistingLimits = Map<string, Set<string>>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/which-version-is-pinned": "workspace:*",
|
||||
"@yarnpkg/core": "4.0.0-rc.27",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"encode-registry": "^3.0.0",
|
||||
"filenamify": "^4.3.0",
|
||||
"get-npm-tarball-url": "^2.0.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Resolution } from '@pnpm/resolver-base'
|
||||
import { Registries } from '@pnpm/types'
|
||||
import { getRegistryByPackageName } from 'dependency-path'
|
||||
import { getRegistryByPackageName } from '@pnpm/dependency-path'
|
||||
import encodeRegistry from 'encode-registry'
|
||||
|
||||
export function depPathToRef (
|
||||
|
||||
@@ -38,7 +38,7 @@ import {
|
||||
ReadPackageHook,
|
||||
Registries,
|
||||
} from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import normalizePath from 'normalize-path'
|
||||
import exists from 'path-exists'
|
||||
import pDefer from 'p-defer'
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
PeerDependencyIssues,
|
||||
PeerDependencyIssuesByProjects,
|
||||
} from '@pnpm/types'
|
||||
import { depPathToFilename, createPeersFolderSuffix } from 'dependency-path'
|
||||
import { depPathToFilename, createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import { KeyValuePair } from 'ramda'
|
||||
import fromPairs from 'ramda/src/fromPairs'
|
||||
import isEmpty from 'ramda/src/isEmpty'
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
} from '@pnpm/prune-lockfile'
|
||||
import { Resolution } from '@pnpm/resolver-base'
|
||||
import { Registries } from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import getNpmTarballUrl from 'get-npm-tarball-url'
|
||||
import { KeyValuePair } from 'ramda'
|
||||
import isEmpty from 'ramda/src/isEmpty'
|
||||
|
||||
164
pnpm-lock.yaml
generated
164
pnpm-lock.yaml
generated
@@ -964,6 +964,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/find-workspace-packages':
|
||||
specifier: workspace:*
|
||||
version: link:../../workspace/find-workspace-packages
|
||||
@@ -1009,9 +1012,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
load-json-file:
|
||||
specifier: ^6.2.0
|
||||
version: 6.2.0
|
||||
@@ -1390,7 +1390,7 @@ importers:
|
||||
specifier: ^2.1.0
|
||||
version: 2.1.0
|
||||
devDependencies:
|
||||
find-packages:
|
||||
'@pnpm/fs.find-packages':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
|
||||
@@ -1616,6 +1616,9 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -1637,9 +1640,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -1668,6 +1668,9 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -1695,9 +1698,6 @@ importers:
|
||||
comver-to-semver:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
js-yaml:
|
||||
specifier: npm:@zkochan/js-yaml@^0.0.6
|
||||
version: /@zkochan/js-yaml/0.0.6
|
||||
@@ -1750,6 +1750,9 @@ importers:
|
||||
|
||||
lockfile/lockfile-to-pnp:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile-file':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-file
|
||||
@@ -1765,9 +1768,6 @@ importers:
|
||||
'@yarnpkg/pnp':
|
||||
specifier: ^2.3.2
|
||||
version: 2.3.2
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
normalize-path:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
@@ -1800,6 +1800,9 @@ importers:
|
||||
|
||||
lockfile/lockfile-utils:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile-types':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-types
|
||||
@@ -1809,9 +1812,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
get-npm-tarball-url:
|
||||
specifier: ^2.0.3
|
||||
version: 2.0.3
|
||||
@@ -1840,15 +1840,15 @@ importers:
|
||||
|
||||
lockfile/lockfile-walker:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile-types':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-types
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -1963,15 +1963,15 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile-types':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-types
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -2103,12 +2103,12 @@ importers:
|
||||
specifier: ^7.3.8
|
||||
version: 7.3.8
|
||||
devDependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
'@types/semver':
|
||||
specifier: 7.3.13
|
||||
version: 7.3.13
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
|
||||
packages/error:
|
||||
dependencies:
|
||||
@@ -2187,6 +2187,9 @@ importers:
|
||||
'@pnpm/config':
|
||||
specifier: workspace:*
|
||||
version: link:../../config/config
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../dependency-path
|
||||
'@pnpm/lockfile-file':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-file
|
||||
@@ -2202,9 +2205,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../dependency-path
|
||||
hyperdrive-schemas:
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.0
|
||||
@@ -2479,6 +2479,9 @@ importers:
|
||||
'@pnpm/crypto.base32-hash':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/crypto.base32-hash
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -2584,9 +2587,6 @@ importers:
|
||||
'@zkochan/rimraf':
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.2
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
is-inner-link:
|
||||
specifier: ^4.0.0
|
||||
version: 4.0.0
|
||||
@@ -2815,6 +2815,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -2878,9 +2881,6 @@ importers:
|
||||
'@zkochan/rimraf':
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.2
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
p-limit:
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0
|
||||
@@ -2966,6 +2966,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/link-bins':
|
||||
specifier: workspace:*
|
||||
version: link:../link-bins
|
||||
@@ -2990,9 +2993,6 @@ importers:
|
||||
'@pnpm/util.lex-comparator':
|
||||
specifier: 1.0.0
|
||||
version: 1.0.0
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
is-subdir:
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0
|
||||
@@ -3100,6 +3100,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/filter-lockfile':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/filter-lockfile
|
||||
@@ -3127,9 +3130,6 @@ importers:
|
||||
'@zkochan/rimraf':
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.2
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -3199,6 +3199,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -3229,9 +3232,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
load-json-file:
|
||||
specifier: ^6.2.0
|
||||
version: 6.2.0
|
||||
@@ -3547,6 +3547,9 @@ importers:
|
||||
|
||||
pkg-manager/real-hoist:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -3556,9 +3559,6 @@ importers:
|
||||
'@yarnpkg/nm':
|
||||
specifier: 4.0.0-rc.27
|
||||
version: 4.0.0-rc.27_typanion@3.12.1
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
devDependencies:
|
||||
'@pnpm/lockfile-file':
|
||||
specifier: workspace:*
|
||||
@@ -3612,6 +3612,9 @@ importers:
|
||||
'@pnpm/core-loggers':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/core-loggers
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -3654,9 +3657,6 @@ importers:
|
||||
'@yarnpkg/core':
|
||||
specifier: 4.0.0-rc.27
|
||||
version: 4.0.0-rc.27_typanion@3.12.1
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
encode-registry:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
@@ -3904,6 +3904,9 @@ importers:
|
||||
'@pnpm/default-reporter':
|
||||
specifier: workspace:*
|
||||
version: link:../cli/default-reporter
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/dependency-path
|
||||
'@pnpm/filter-workspace-packages':
|
||||
specifier: workspace:*
|
||||
version: link:../workspace/filter-workspace-packages
|
||||
@@ -4003,6 +4006,9 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/types
|
||||
'@pnpm/workspace.pkgs-graph':
|
||||
specifier: workspace:*
|
||||
version: link:../workspace/pkgs-graph
|
||||
'@pnpm/write-project-manifest':
|
||||
specifier: workspace:*
|
||||
version: link:../pkg-manifest/write-project-manifest
|
||||
@@ -4048,9 +4054,6 @@ importers:
|
||||
delay:
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../packages/dependency-path
|
||||
dir-is-case-sensitive:
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.0
|
||||
@@ -4093,9 +4096,6 @@ importers:
|
||||
path-name:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
pkgs-graph:
|
||||
specifier: workspace:*
|
||||
version: link:../workspace/pkgs-graph
|
||||
ps-list:
|
||||
specifier: ^7.2.0
|
||||
version: 7.2.0
|
||||
@@ -4612,6 +4612,9 @@ importers:
|
||||
|
||||
reviewing/dependencies-hierarchy:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile-file':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-file
|
||||
@@ -4633,9 +4636,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
normalize-path:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
@@ -4649,21 +4649,24 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/reviewing.dependencies-hierarchy':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
'@pnpm/test-fixtures':
|
||||
specifier: workspace:*
|
||||
version: link:../../__utils__/test-fixtures
|
||||
'@types/normalize-path':
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
dependencies-hierarchy:
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
|
||||
reviewing/license-scanner:
|
||||
dependencies:
|
||||
'@pnpm/cafs':
|
||||
specifier: workspace:*
|
||||
version: link:../../store/cafs
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/directory-fetcher':
|
||||
specifier: workspace:*
|
||||
version: link:../../fetching/directory-fetcher
|
||||
@@ -4694,9 +4697,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
load-json-file:
|
||||
specifier: ^6.2.0
|
||||
version: 6.2.0
|
||||
@@ -4734,6 +4734,9 @@ importers:
|
||||
'@pnpm/read-project-manifest':
|
||||
specifier: workspace:*
|
||||
version: link:../../pkg-manifest/read-project-manifest
|
||||
'@pnpm/reviewing.dependencies-hierarchy':
|
||||
specifier: workspace:*
|
||||
version: link:../dependencies-hierarchy
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
@@ -4746,9 +4749,6 @@ importers:
|
||||
cli-columns:
|
||||
specifier: ^4.0.0
|
||||
version: 4.0.0
|
||||
dependencies-hierarchy:
|
||||
specifier: workspace:*
|
||||
version: link:../dependencies-hierarchy
|
||||
p-limit:
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0
|
||||
@@ -4783,6 +4783,9 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -4813,9 +4816,6 @@ importers:
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -5331,6 +5331,9 @@ importers:
|
||||
'@pnpm/config':
|
||||
specifier: workspace:*
|
||||
version: link:../../config/config
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
@@ -5367,9 +5370,6 @@ importers:
|
||||
archy:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
dependency-path:
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
dint:
|
||||
specifier: ^5.1.0
|
||||
version: 5.1.0
|
||||
@@ -5610,6 +5610,9 @@ importers:
|
||||
'@pnpm/matcher':
|
||||
specifier: workspace:*
|
||||
version: link:../../config/matcher
|
||||
'@pnpm/workspace.pkgs-graph':
|
||||
specifier: workspace:*
|
||||
version: link:../pkgs-graph
|
||||
execa:
|
||||
specifier: npm:safe-execa@^0.1.2
|
||||
version: /safe-execa/0.1.2
|
||||
@@ -5622,9 +5625,6 @@ importers:
|
||||
micromatch:
|
||||
specifier: ^4.0.5
|
||||
version: 4.0.5
|
||||
pkgs-graph:
|
||||
specifier: workspace:*
|
||||
version: link:../pkgs-graph
|
||||
ramda:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
@@ -5681,15 +5681,15 @@ importers:
|
||||
'@pnpm/constants':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/constants
|
||||
'@pnpm/fs.find-packages':
|
||||
specifier: workspace:*
|
||||
version: link:../../fs/find-packages
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
'@pnpm/util.lex-comparator':
|
||||
specifier: 1.0.0
|
||||
version: 1.0.0
|
||||
find-packages:
|
||||
specifier: workspace:*
|
||||
version: link:../../fs/find-packages
|
||||
read-yaml-file:
|
||||
specifier: ^2.1.0
|
||||
version: 2.1.0
|
||||
@@ -5710,15 +5710,15 @@ importers:
|
||||
specifier: npm:@pnpm/ramda@0.28.1
|
||||
version: /@pnpm/ramda/0.28.1
|
||||
devDependencies:
|
||||
'@pnpm/workspace.pkgs-graph':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
'@types/ramda':
|
||||
specifier: 0.28.20
|
||||
version: 0.28.20
|
||||
better-path-resolve:
|
||||
specifier: 1.0.0
|
||||
version: 1.0.0
|
||||
pkgs-graph:
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
|
||||
workspace/resolve-workspace-range:
|
||||
dependencies:
|
||||
|
||||
@@ -21,11 +21,6 @@ const pnpmPackageJson = JSON.parse(fs.readFileSync(pathLib.join(__dirname, 'pack
|
||||
const spnpmImportsPlugin = {
|
||||
name: 'spnpmImports',
|
||||
setup: (build) => {
|
||||
// This is an exception to the rule that all local packages start with `@pnpm`
|
||||
build.onResolve({ filter: /^dependency-path$/ }, ({path, resolveDir}) => ({
|
||||
path: pathLib.resolve(dirByPackageName['dependency-path'], 'src', 'index.ts')
|
||||
}))
|
||||
|
||||
// E.g. @pnpm/config -> /<some_dir>/pnpm/packages/config/src/index.ts
|
||||
build.onResolve({ filter: /@pnpm\// }, ({path, resolveDir}) => {
|
||||
const pathParts = path.split('/')
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
"@pnpm/test-fixtures": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/write-project-manifest": "workspace:*",
|
||||
"@pnpm/workspace.pkgs-graph": "workspace:*",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/is-ci": "^3.0.0",
|
||||
"@types/is-windows": "^1.0.0",
|
||||
@@ -78,7 +79,7 @@
|
||||
"cross-var-no-babel": "^1.2.0",
|
||||
"deep-require-cwd": "1.0.0",
|
||||
"delay": "^5.0.0",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"dir-is-case-sensitive": "^2.0.0",
|
||||
"esbuild": "^0.15.16",
|
||||
"execa": "npm:safe-execa@^0.1.2",
|
||||
@@ -93,7 +94,6 @@
|
||||
"p-defer": "^3.0.0",
|
||||
"path-exists": "^4.0.0",
|
||||
"path-name": "^1.0.0",
|
||||
"pkgs-graph": "workspace:*",
|
||||
"ps-list": "^7.2.0",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1",
|
||||
"read-yaml-file": "^2.1.0",
|
||||
|
||||
@@ -2,7 +2,7 @@ import { promises as fs } from 'fs'
|
||||
import path from 'path'
|
||||
import { Lockfile } from '@pnpm/lockfile-types'
|
||||
import { prepare, preparePackages } from '@pnpm/prepare'
|
||||
import { createPeersFolderSuffix } from 'dependency-path'
|
||||
import { createPeersFolderSuffix } from '@pnpm/dependency-path'
|
||||
import readYamlFile from 'read-yaml-file'
|
||||
import loadJsonFile from 'load-json-file'
|
||||
import writeYamlFile from 'write-yaml-file'
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
"@pnpm/utils",
|
||||
"@pnpm/write-project-manifest",
|
||||
"dependencies-hierarchy",
|
||||
"dependency-path",
|
||||
"@pnpm/dependency-path",
|
||||
"fetch-from-npm-registry",
|
||||
"find-packages",
|
||||
"npm",
|
||||
|
||||
@@ -1,857 +0,0 @@
|
||||
# dependencies-hierarchy
|
||||
|
||||
## 12.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a9d59d8bc]
|
||||
- @pnpm/lockfile-file@6.0.3
|
||||
- @pnpm/read-package-json@7.0.3
|
||||
|
||||
## 12.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ecc8794bb]
|
||||
- Updated dependencies [ecc8794bb]
|
||||
- @pnpm/lockfile-utils@5.0.0
|
||||
|
||||
## 12.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [702e847c1]
|
||||
- @pnpm/types@8.9.0
|
||||
- dependency-path@9.2.8
|
||||
- @pnpm/lockfile-file@6.0.2
|
||||
- @pnpm/lockfile-utils@4.2.8
|
||||
- @pnpm/modules-yaml@11.0.2
|
||||
- @pnpm/normalize-registries@4.0.2
|
||||
- @pnpm/read-package-json@7.0.2
|
||||
|
||||
## 12.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [844e82f3a]
|
||||
- @pnpm/types@8.8.0
|
||||
- dependency-path@9.2.7
|
||||
- @pnpm/lockfile-file@6.0.1
|
||||
- @pnpm/lockfile-utils@4.2.7
|
||||
- @pnpm/modules-yaml@11.0.1
|
||||
- @pnpm/normalize-registries@4.0.1
|
||||
- @pnpm/read-package-json@7.0.1
|
||||
|
||||
## 12.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 043d988fc: Breaking change to the API. Defaul export is not used.
|
||||
- f884689e0: Require `@pnpm/logger` v5.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [72f7d6b3b]
|
||||
- Updated dependencies [f884689e0]
|
||||
- @pnpm/modules-yaml@11.0.0
|
||||
- @pnpm/lockfile-file@6.0.0
|
||||
- @pnpm/normalize-registries@4.0.0
|
||||
- @pnpm/read-modules-dir@5.0.0
|
||||
- @pnpm/read-package-json@7.0.0
|
||||
|
||||
## 11.0.26
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [7c296fe9b]
|
||||
- @pnpm/lockfile-file@5.3.8
|
||||
|
||||
## 11.0.25
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@5.3.7
|
||||
- @pnpm/read-package-json@6.0.11
|
||||
|
||||
## 11.0.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d665f3ff7]
|
||||
- @pnpm/types@8.7.0
|
||||
- dependency-path@9.2.6
|
||||
- @pnpm/lockfile-file@5.3.6
|
||||
- @pnpm/lockfile-utils@4.2.6
|
||||
- @pnpm/modules-yaml@10.0.8
|
||||
- @pnpm/normalize-registries@3.0.8
|
||||
- @pnpm/read-package-json@6.0.10
|
||||
|
||||
## 11.0.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [156cc1ef6]
|
||||
- @pnpm/types@8.6.0
|
||||
- dependency-path@9.2.5
|
||||
- @pnpm/lockfile-file@5.3.5
|
||||
- @pnpm/lockfile-utils@4.2.5
|
||||
- @pnpm/modules-yaml@10.0.7
|
||||
- @pnpm/normalize-registries@3.0.7
|
||||
- @pnpm/read-package-json@6.0.9
|
||||
|
||||
## 11.0.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0373af22e]
|
||||
- @pnpm/lockfile-file@5.3.4
|
||||
|
||||
## 11.0.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [07bc24ad1]
|
||||
- @pnpm/read-package-json@6.0.8
|
||||
|
||||
## 11.0.20
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-utils@4.2.4
|
||||
|
||||
## 11.0.19
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [1e5482da4]
|
||||
- @pnpm/lockfile-file@5.3.3
|
||||
|
||||
## 11.0.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8103f92bd]
|
||||
- @pnpm/lockfile-file@5.3.2
|
||||
- @pnpm/lockfile-utils@4.2.3
|
||||
|
||||
## 11.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [44544b493]
|
||||
- Updated dependencies [c90798461]
|
||||
- @pnpm/lockfile-file@5.3.1
|
||||
- @pnpm/types@8.5.0
|
||||
- dependency-path@9.2.4
|
||||
- @pnpm/lockfile-utils@4.2.2
|
||||
- @pnpm/modules-yaml@10.0.6
|
||||
- @pnpm/normalize-registries@3.0.6
|
||||
- @pnpm/read-package-json@6.0.7
|
||||
|
||||
## 11.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c83f40c10]
|
||||
- @pnpm/lockfile-utils@4.2.1
|
||||
|
||||
## 11.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8dcfbe357]
|
||||
- @pnpm/lockfile-file@5.3.0
|
||||
- @pnpm/lockfile-utils@4.2.0
|
||||
|
||||
## 11.0.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4fa1091c8]
|
||||
- @pnpm/lockfile-file@5.2.0
|
||||
|
||||
## 11.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [e3f4d131c]
|
||||
- @pnpm/lockfile-utils@4.1.0
|
||||
|
||||
## 11.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- dependency-path@9.2.3
|
||||
- @pnpm/lockfile-utils@4.0.10
|
||||
|
||||
## 11.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ab684d77e]
|
||||
- @pnpm/lockfile-file@5.1.4
|
||||
|
||||
## 11.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [5f643f23b]
|
||||
- @pnpm/lockfile-file@5.1.3
|
||||
- @pnpm/lockfile-utils@4.0.9
|
||||
|
||||
## 11.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [fc581d371]
|
||||
- dependency-path@9.2.2
|
||||
- @pnpm/lockfile-utils@4.0.8
|
||||
|
||||
## 11.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e5b77ef6]
|
||||
- @pnpm/types@8.4.0
|
||||
- @pnpm/lockfile-file@5.1.2
|
||||
- @pnpm/lockfile-utils@4.0.7
|
||||
- dependency-path@9.2.1
|
||||
- @pnpm/modules-yaml@10.0.5
|
||||
- @pnpm/normalize-registries@3.0.5
|
||||
- @pnpm/read-package-json@6.0.6
|
||||
|
||||
## 11.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2a34b21ce]
|
||||
- Updated dependencies [c635f9fc1]
|
||||
- @pnpm/types@8.3.0
|
||||
- dependency-path@9.2.0
|
||||
- @pnpm/lockfile-file@5.1.1
|
||||
- @pnpm/lockfile-utils@4.0.6
|
||||
- @pnpm/modules-yaml@10.0.4
|
||||
- @pnpm/normalize-registries@3.0.4
|
||||
- @pnpm/read-package-json@6.0.5
|
||||
|
||||
## 11.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [fb5bbfd7a]
|
||||
- Updated dependencies [56cf04cb3]
|
||||
- Updated dependencies [725636a90]
|
||||
- @pnpm/types@8.2.0
|
||||
- @pnpm/lockfile-file@5.1.0
|
||||
- dependency-path@9.1.4
|
||||
- @pnpm/lockfile-utils@4.0.5
|
||||
- @pnpm/modules-yaml@10.0.3
|
||||
- @pnpm/normalize-registries@3.0.3
|
||||
- @pnpm/read-package-json@6.0.4
|
||||
|
||||
## 11.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4d39e4a0c]
|
||||
- @pnpm/types@8.1.0
|
||||
- dependency-path@9.1.3
|
||||
- @pnpm/lockfile-file@5.0.4
|
||||
- @pnpm/lockfile-utils@4.0.4
|
||||
- @pnpm/modules-yaml@10.0.2
|
||||
- @pnpm/normalize-registries@3.0.2
|
||||
- @pnpm/read-package-json@6.0.3
|
||||
|
||||
## 11.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [c57695550]
|
||||
- dependency-path@9.1.2
|
||||
- @pnpm/lockfile-utils@4.0.3
|
||||
|
||||
## 11.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [52b0576af]
|
||||
- @pnpm/lockfile-file@5.0.3
|
||||
|
||||
## 11.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [18ba5e2c0]
|
||||
- @pnpm/types@8.0.1
|
||||
- dependency-path@9.1.1
|
||||
- @pnpm/lockfile-file@5.0.2
|
||||
- @pnpm/lockfile-utils@4.0.2
|
||||
- @pnpm/modules-yaml@10.0.1
|
||||
- @pnpm/normalize-registries@3.0.1
|
||||
- @pnpm/read-package-json@6.0.2
|
||||
|
||||
## 11.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0a70aedb1]
|
||||
- Updated dependencies [688b0eaff]
|
||||
- dependency-path@9.1.0
|
||||
- @pnpm/lockfile-utils@4.0.1
|
||||
- @pnpm/lockfile-file@5.0.1
|
||||
- @pnpm/read-package-json@6.0.1
|
||||
|
||||
## 11.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 542014839: Node.js 12 is not supported.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d504dc380]
|
||||
- Updated dependencies [faf830b8f]
|
||||
- Updated dependencies [542014839]
|
||||
- @pnpm/types@8.0.0
|
||||
- dependency-path@9.0.0
|
||||
- @pnpm/lockfile-file@5.0.0
|
||||
- @pnpm/lockfile-utils@4.0.0
|
||||
- @pnpm/modules-yaml@10.0.0
|
||||
- @pnpm/normalize-registries@3.0.0
|
||||
- @pnpm/read-modules-dir@4.0.0
|
||||
- @pnpm/read-package-json@6.0.0
|
||||
|
||||
## 10.0.25
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@4.3.1
|
||||
- @pnpm/read-package-json@5.0.12
|
||||
|
||||
## 10.0.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b138d048c]
|
||||
- @pnpm/lockfile-file@4.3.0
|
||||
- @pnpm/types@7.10.0
|
||||
- @pnpm/lockfile-utils@3.2.1
|
||||
- dependency-path@8.0.11
|
||||
- @pnpm/modules-yaml@9.1.1
|
||||
- @pnpm/normalize-registries@2.0.13
|
||||
- @pnpm/read-package-json@5.0.11
|
||||
|
||||
## 10.0.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [cdc521cfa]
|
||||
- Updated dependencies [cdc521cfa]
|
||||
- @pnpm/modules-yaml@9.1.0
|
||||
- @pnpm/lockfile-utils@3.2.0
|
||||
|
||||
## 10.0.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [26cd01b88]
|
||||
- @pnpm/types@7.9.0
|
||||
- dependency-path@8.0.10
|
||||
- @pnpm/lockfile-file@4.2.6
|
||||
- @pnpm/lockfile-utils@3.1.6
|
||||
- @pnpm/modules-yaml@9.0.11
|
||||
- @pnpm/normalize-registries@2.0.12
|
||||
- @pnpm/read-package-json@5.0.10
|
||||
|
||||
## 10.0.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [7375396db]
|
||||
- @pnpm/modules-yaml@9.0.10
|
||||
|
||||
## 10.0.20
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5734a4a7]
|
||||
- @pnpm/types@7.8.0
|
||||
- dependency-path@8.0.9
|
||||
- @pnpm/lockfile-file@4.2.5
|
||||
- @pnpm/lockfile-utils@3.1.5
|
||||
- @pnpm/modules-yaml@9.0.9
|
||||
- @pnpm/normalize-registries@2.0.11
|
||||
- @pnpm/read-package-json@5.0.9
|
||||
|
||||
## 10.0.19
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [eb9ebd0f3]
|
||||
- Updated dependencies [eb9ebd0f3]
|
||||
- @pnpm/lockfile-file@4.2.4
|
||||
|
||||
## 10.0.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [6493e0c93]
|
||||
- @pnpm/types@7.7.1
|
||||
- dependency-path@8.0.8
|
||||
- @pnpm/lockfile-file@4.2.3
|
||||
- @pnpm/lockfile-utils@3.1.4
|
||||
- @pnpm/modules-yaml@9.0.8
|
||||
- @pnpm/normalize-registries@2.0.10
|
||||
- @pnpm/read-package-json@5.0.8
|
||||
|
||||
## 10.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [30bfca967]
|
||||
- Updated dependencies [ba9b2eba1]
|
||||
- @pnpm/normalize-registries@2.0.9
|
||||
- @pnpm/types@7.7.0
|
||||
- dependency-path@8.0.7
|
||||
- @pnpm/lockfile-file@4.2.2
|
||||
- @pnpm/lockfile-utils@3.1.3
|
||||
- @pnpm/modules-yaml@9.0.7
|
||||
- @pnpm/read-package-json@5.0.7
|
||||
|
||||
## 10.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [46aaf7108]
|
||||
- @pnpm/normalize-registries@2.0.8
|
||||
|
||||
## 10.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3cf543fc1]
|
||||
- @pnpm/lockfile-utils@3.1.2
|
||||
|
||||
## 10.0.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a7ff2d5ce]
|
||||
- @pnpm/normalize-registries@2.0.7
|
||||
|
||||
## 10.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [302ae4f6f]
|
||||
- @pnpm/types@7.6.0
|
||||
- dependency-path@8.0.6
|
||||
- @pnpm/lockfile-file@4.2.1
|
||||
- @pnpm/lockfile-utils@3.1.1
|
||||
- @pnpm/modules-yaml@9.0.6
|
||||
- @pnpm/normalize-registries@2.0.6
|
||||
- @pnpm/read-package-json@5.0.6
|
||||
|
||||
## 10.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [4ab87844a]
|
||||
- Updated dependencies [4ab87844a]
|
||||
- Updated dependencies [4ab87844a]
|
||||
- @pnpm/types@7.5.0
|
||||
- @pnpm/lockfile-file@4.2.0
|
||||
- @pnpm/lockfile-utils@3.1.0
|
||||
- dependency-path@8.0.5
|
||||
- @pnpm/modules-yaml@9.0.5
|
||||
- @pnpm/normalize-registries@2.0.5
|
||||
- @pnpm/read-package-json@5.0.5
|
||||
|
||||
## 10.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [71aab049d]
|
||||
- @pnpm/read-modules-dir@3.0.1
|
||||
|
||||
## 10.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b734b45ea]
|
||||
- @pnpm/types@7.4.0
|
||||
- dependency-path@8.0.4
|
||||
- @pnpm/lockfile-file@4.1.1
|
||||
- @pnpm/lockfile-utils@3.0.8
|
||||
- @pnpm/modules-yaml@9.0.4
|
||||
- @pnpm/normalize-registries@2.0.4
|
||||
- @pnpm/read-package-json@5.0.4
|
||||
|
||||
## 10.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [8e76690f4]
|
||||
- Updated dependencies [8e76690f4]
|
||||
- @pnpm/lockfile-file@4.1.0
|
||||
- @pnpm/types@7.3.0
|
||||
- dependency-path@8.0.3
|
||||
- @pnpm/lockfile-utils@3.0.7
|
||||
- @pnpm/modules-yaml@9.0.3
|
||||
- @pnpm/normalize-registries@2.0.3
|
||||
- @pnpm/read-package-json@5.0.3
|
||||
|
||||
## 10.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [6c418943c]
|
||||
- dependency-path@8.0.2
|
||||
- @pnpm/lockfile-utils@3.0.6
|
||||
|
||||
## 10.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2dc5a7a4c]
|
||||
- @pnpm/lockfile-file@4.0.4
|
||||
|
||||
## 10.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [724c5abd8]
|
||||
- @pnpm/types@7.2.0
|
||||
- dependency-path@8.0.1
|
||||
- @pnpm/lockfile-file@4.0.3
|
||||
- @pnpm/lockfile-utils@3.0.5
|
||||
- @pnpm/modules-yaml@9.0.2
|
||||
- @pnpm/normalize-registries@2.0.2
|
||||
- @pnpm/read-package-json@5.0.2
|
||||
|
||||
## 10.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a1a03d145]
|
||||
- @pnpm/lockfile-file@4.0.2
|
||||
- @pnpm/lockfile-utils@3.0.4
|
||||
|
||||
## 10.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a7de89feb: Do not include linked dependencies in search results if they do not match.
|
||||
|
||||
## 10.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [20e2f235d]
|
||||
- dependency-path@8.0.0
|
||||
- @pnpm/lockfile-utils@3.0.3
|
||||
|
||||
## 10.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97c64bae4]
|
||||
- @pnpm/types@7.1.0
|
||||
- dependency-path@7.0.1
|
||||
- @pnpm/lockfile-file@4.0.1
|
||||
- @pnpm/lockfile-utils@3.0.2
|
||||
- @pnpm/modules-yaml@9.0.1
|
||||
- @pnpm/normalize-registries@2.0.1
|
||||
- @pnpm/read-package-json@5.0.1
|
||||
|
||||
## 10.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [9ceab68f0]
|
||||
- dependency-path@7.0.0
|
||||
- @pnpm/lockfile-utils@3.0.1
|
||||
|
||||
## 10.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97b986fbc]
|
||||
- Updated dependencies [155e70597]
|
||||
- Updated dependencies [9c2a878c3]
|
||||
- Updated dependencies [e4efddbd2]
|
||||
- Updated dependencies [8b66f26dc]
|
||||
- Updated dependencies [f2bb5cbeb]
|
||||
- Updated dependencies [f7750baed]
|
||||
- Updated dependencies [78470a32d]
|
||||
- Updated dependencies [9c2a878c3]
|
||||
- dependency-path@6.0.0
|
||||
- @pnpm/lockfile-file@4.0.0
|
||||
- @pnpm/lockfile-utils@3.0.0
|
||||
- @pnpm/modules-yaml@9.0.0
|
||||
- @pnpm/normalize-registries@2.0.0
|
||||
- @pnpm/read-modules-dir@3.0.0
|
||||
- @pnpm/read-package-json@5.0.0
|
||||
- @pnpm/types@7.0.0
|
||||
|
||||
## 9.0.19
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d853fb14a]
|
||||
- @pnpm/read-package-json@4.0.0
|
||||
|
||||
## 9.0.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [51e1456dd]
|
||||
- @pnpm/lockfile-file@3.2.1
|
||||
|
||||
## 9.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [9ad8c27bf]
|
||||
- Updated dependencies [9ad8c27bf]
|
||||
- @pnpm/lockfile-file@3.2.0
|
||||
- @pnpm/types@6.4.0
|
||||
- @pnpm/lockfile-utils@2.0.22
|
||||
- dependency-path@5.1.1
|
||||
- @pnpm/modules-yaml@8.0.6
|
||||
- @pnpm/normalize-registries@1.0.6
|
||||
- @pnpm/read-package-json@3.1.9
|
||||
|
||||
## 9.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [af897c324]
|
||||
- @pnpm/lockfile-file@3.1.4
|
||||
|
||||
## 9.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [1e4a3a17a]
|
||||
- @pnpm/lockfile-file@3.1.3
|
||||
|
||||
## 9.0.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [e27dcf0dc]
|
||||
- dependency-path@5.1.0
|
||||
- @pnpm/lockfile-utils@2.0.21
|
||||
|
||||
## 9.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [fba715512]
|
||||
- @pnpm/lockfile-file@3.1.2
|
||||
|
||||
## 9.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-utils@2.0.20
|
||||
|
||||
## 9.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@3.1.1
|
||||
- @pnpm/read-package-json@3.1.8
|
||||
|
||||
## 9.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3776b5a52]
|
||||
- @pnpm/lockfile-file@3.1.0
|
||||
|
||||
## 9.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [dbcc6c96f]
|
||||
- Updated dependencies [09492b7b4]
|
||||
- @pnpm/lockfile-file@3.0.18
|
||||
- @pnpm/modules-yaml@8.0.5
|
||||
|
||||
## 9.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [39142e2ad]
|
||||
- Updated dependencies [aa6bc4f95]
|
||||
- dependency-path@5.0.6
|
||||
- @pnpm/lockfile-file@3.0.17
|
||||
- @pnpm/lockfile-utils@2.0.19
|
||||
|
||||
## 9.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [b5d694e7f]
|
||||
- @pnpm/types@6.3.1
|
||||
- @pnpm/lockfile-file@3.0.16
|
||||
- @pnpm/lockfile-utils@2.0.18
|
||||
- dependency-path@5.0.5
|
||||
- @pnpm/modules-yaml@8.0.4
|
||||
- @pnpm/normalize-registries@1.0.5
|
||||
- @pnpm/read-package-json@3.1.7
|
||||
|
||||
## 9.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [d54043ee4]
|
||||
- Updated dependencies [212671848]
|
||||
- @pnpm/types@6.3.0
|
||||
- @pnpm/read-package-json@3.1.6
|
||||
- @pnpm/lockfile-file@3.0.15
|
||||
- @pnpm/lockfile-utils@2.0.17
|
||||
- dependency-path@5.0.4
|
||||
- @pnpm/modules-yaml@8.0.3
|
||||
- @pnpm/normalize-registries@1.0.4
|
||||
|
||||
## 9.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@3.0.14
|
||||
- @pnpm/read-package-json@3.1.5
|
||||
|
||||
## 9.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [9f5803187]
|
||||
- Updated dependencies [9550b0505]
|
||||
- @pnpm/read-package-json@3.1.4
|
||||
- @pnpm/lockfile-file@3.0.13
|
||||
|
||||
## 9.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@3.0.12
|
||||
|
||||
## 9.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [24af41f20]
|
||||
- @pnpm/read-modules-dir@2.0.3
|
||||
|
||||
## 9.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a2ef8084f: Use the same versions of dependencies across the pnpm monorepo.
|
||||
- Updated dependencies [1140ef721]
|
||||
- Updated dependencies [a2ef8084f]
|
||||
- @pnpm/lockfile-utils@2.0.16
|
||||
- dependency-path@5.0.3
|
||||
- @pnpm/modules-yaml@8.0.2
|
||||
- @pnpm/read-modules-dir@2.0.2
|
||||
|
||||
## 9.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- c776db1a7: Look for dependencies at the correct location.
|
||||
The dependency paths have changed in the `node_modules` created by pnpm v5.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [db17f6f7b]
|
||||
- @pnpm/types@6.2.0
|
||||
- dependency-path@5.0.2
|
||||
- @pnpm/lockfile-file@3.0.11
|
||||
- @pnpm/lockfile-utils@2.0.15
|
||||
- @pnpm/modules-yaml@8.0.1
|
||||
- @pnpm/normalize-registries@1.0.3
|
||||
- @pnpm/read-package-json@3.1.3
|
||||
|
||||
## 8.0.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [71a8c8ce3]
|
||||
- Updated dependencies [71a8c8ce3]
|
||||
- @pnpm/types@6.1.0
|
||||
- @pnpm/modules-yaml@8.0.0
|
||||
- dependency-path@5.0.1
|
||||
- @pnpm/lockfile-file@3.0.10
|
||||
- @pnpm/lockfile-utils@2.0.14
|
||||
- @pnpm/normalize-registries@1.0.2
|
||||
- @pnpm/read-package-json@3.1.2
|
||||
|
||||
## 8.0.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [41d92948b]
|
||||
- dependency-path@5.0.0
|
||||
- @pnpm/lockfile-utils@2.0.13
|
||||
|
||||
## 8.0.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3f73eaf0c]
|
||||
- Updated dependencies [da091c711]
|
||||
- Updated dependencies [802d145fc]
|
||||
- @pnpm/modules-yaml@7.0.0
|
||||
- @pnpm/types@6.0.0
|
||||
- dependency-path@4.0.7
|
||||
- @pnpm/lockfile-file@3.0.9
|
||||
- @pnpm/lockfile-utils@2.0.12
|
||||
- @pnpm/normalize-registries@1.0.1
|
||||
- @pnpm/read-modules-dir@2.0.2
|
||||
- @pnpm/read-package-json@3.1.1
|
||||
|
||||
## 8.0.21-alpha.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@3.0.9-alpha.2
|
||||
- @pnpm/lockfile-utils@2.0.12-alpha.1
|
||||
|
||||
## 8.0.21-alpha.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3f73eaf0]
|
||||
- Updated dependencies [da091c71]
|
||||
- @pnpm/modules-yaml@7.0.0-alpha.0
|
||||
- @pnpm/types@6.0.0-alpha.0
|
||||
- dependency-path@4.0.7-alpha.0
|
||||
- @pnpm/lockfile-file@3.0.9-alpha.1
|
||||
- @pnpm/lockfile-utils@2.0.12-alpha.0
|
||||
- @pnpm/normalize-registries@1.0.1-alpha.0
|
||||
- @pnpm/read-package-json@3.1.1-alpha.0
|
||||
|
||||
## 8.0.21-alpha.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/lockfile-file@3.0.9-alpha.0
|
||||
|
||||
## 8.0.20
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [907c63a48]
|
||||
- Updated dependencies [907c63a48]
|
||||
- Updated dependencies [907c63a48]
|
||||
- @pnpm/lockfile-file@3.0.8
|
||||
- @pnpm/lockfile-utils@2.0.11
|
||||
- @pnpm/modules-yaml@6.0.2
|
||||
@@ -1,4 +1,4 @@
|
||||
# dependencies-hierarchy
|
||||
# @pnpm/reviewing.dependencies-hierarchy
|
||||
|
||||
> Creates a dependencies hierarchy for a symlinked \`node_modules\`
|
||||
|
||||
@@ -11,7 +11,7 @@ A symlinked `node_modules` is created when installing using [pnpm](https://githu
|
||||
## Installation
|
||||
|
||||
```
|
||||
pnpm add dependencies-hierarchy
|
||||
pnpm add @pnpm/reviewing.dependencies-hierarchy
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dependencies-hierarchy",
|
||||
"version": "12.0.4",
|
||||
"name": "@pnpm/reviewing.dependencies-hierarchy",
|
||||
"version": "0.0.0",
|
||||
"description": "Creates a dependencies hierarchy for a symlinked `node_modules`",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@@ -39,7 +39,7 @@
|
||||
"@pnpm/read-modules-dir": "workspace:*",
|
||||
"@pnpm/read-package-json": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"normalize-path": "^3.0.0",
|
||||
"realpath-missing": "^1.1.0",
|
||||
"resolve-link-target": "^2.0.0"
|
||||
@@ -48,7 +48,7 @@
|
||||
"@pnpm/constants": "workspace:*",
|
||||
"@pnpm/test-fixtures": "workspace:*",
|
||||
"@types/normalize-path": "^3.0.0",
|
||||
"dependencies-hierarchy": "workspace:*"
|
||||
"@pnpm/reviewing.dependencies-hierarchy": "workspace:*"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
"exports": {
|
||||
|
||||
@@ -17,7 +17,7 @@ import { normalizeRegistries } from '@pnpm/normalize-registries'
|
||||
import { readModulesDir } from '@pnpm/read-modules-dir'
|
||||
import { safeReadPackageJsonFromDir } from '@pnpm/read-package-json'
|
||||
import { DependenciesField, DEPENDENCIES_FIELDS, Registries } from '@pnpm/types'
|
||||
import { depPathToFilename, refToRelative } from 'dependency-path'
|
||||
import { depPathToFilename, refToRelative } from '@pnpm/dependency-path'
|
||||
import normalizePath from 'normalize-path'
|
||||
import realpathMissing from 'realpath-missing'
|
||||
import resolveLinkTarget from 'resolve-link-target'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import path from 'path'
|
||||
import { WANTED_LOCKFILE } from '@pnpm/constants'
|
||||
import { fixtures } from '@pnpm/test-fixtures'
|
||||
import { buildDependenciesHierarchy, PackageNode } from 'dependencies-hierarchy'
|
||||
import { buildDependenciesHierarchy, PackageNode } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
|
||||
const f = fixtures(__dirname)
|
||||
const generalFixture = f.find('general')
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
"@pnpm/package-is-installable": "workspace:*",
|
||||
"@pnpm/read-package-json": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"load-json-file": "^6.2.0",
|
||||
"p-limit": "^3.1.0",
|
||||
"path-absolute": "^1.0.1",
|
||||
|
||||
@@ -2,7 +2,7 @@ import path from 'path'
|
||||
import pathAbsolute from 'path-absolute'
|
||||
import { readFile } from 'fs/promises'
|
||||
import { readPackageJson } from '@pnpm/read-package-json'
|
||||
import { depPathToFilename } from 'dependency-path'
|
||||
import { depPathToFilename } from '@pnpm/dependency-path'
|
||||
import pLimit from 'p-limit'
|
||||
import { PackageManifest, Registries } from '@pnpm/types'
|
||||
import {
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/reviewing/list#readme",
|
||||
"dependencies": {
|
||||
"@pnpm/reviewing.dependencies-hierarchy": "workspace:*",
|
||||
"@pnpm/matcher": "workspace:*",
|
||||
"@pnpm/npm-package-arg": "^1.0.0",
|
||||
"@pnpm/read-package-json": "workspace:*",
|
||||
@@ -42,7 +43,6 @@
|
||||
"archy": "^1.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"cli-columns": "^4.0.0",
|
||||
"dependencies-hierarchy": "workspace:*",
|
||||
"p-limit": "^3.1.0",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1",
|
||||
"semver": "^7.3.8"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { createMatcher } from '@pnpm/matcher'
|
||||
import npa from '@pnpm/npm-package-arg'
|
||||
import { SearchFunction } from 'dependencies-hierarchy'
|
||||
import { SearchFunction } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
import semver from 'semver'
|
||||
|
||||
export function createPackagesSearcher (queries: string[]) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { readProjectManifestOnly } from '@pnpm/read-project-manifest'
|
||||
import { DependenciesField, Registries } from '@pnpm/types'
|
||||
import { buildDependenciesHierarchy } from 'dependencies-hierarchy'
|
||||
import { buildDependenciesHierarchy } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
import { createPackagesSearcher } from './createPackagesSearcher'
|
||||
import { renderJson } from './renderJson'
|
||||
import { renderParseable } from './renderParseable'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { DEPENDENCIES_FIELDS } from '@pnpm/types'
|
||||
import { PackageNode } from 'dependencies-hierarchy'
|
||||
import { PackageNode } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
import sortBy from 'ramda/src/sortBy'
|
||||
import path from 'ramda/src/path'
|
||||
import { Ord } from 'ramda'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PackageNode } from 'dependencies-hierarchy'
|
||||
import { PackageNode } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
import sortBy from 'ramda/src/sortBy'
|
||||
import prop from 'ramda/src/prop'
|
||||
import { PackageDependencyHierarchy } from './types'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import path from 'path'
|
||||
import { PackageNode } from 'dependencies-hierarchy'
|
||||
import { PackageNode } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
import { DEPENDENCIES_FIELDS } from '@pnpm/types'
|
||||
import archy from 'archy'
|
||||
import chalk from 'chalk'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DependenciesHierarchy } from 'dependencies-hierarchy'
|
||||
import { DependenciesHierarchy } from '@pnpm/reviewing.dependencies-hierarchy'
|
||||
|
||||
export type PackageDependencyHierarchy = DependenciesHierarchy & {
|
||||
name?: string
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"@pnpm/npm-resolver": "workspace:*",
|
||||
"@pnpm/pick-registry-for-package": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1",
|
||||
"semver": "^7.3.8"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
ProjectManifest,
|
||||
Registries,
|
||||
} from '@pnpm/types'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import semver from 'semver'
|
||||
|
||||
export * from './createManifestGetter'
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"@pnpm/store-path": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"archy": "^1.0.0",
|
||||
"dependency-path": "workspace:*",
|
||||
"@pnpm/dependency-path": "workspace:*",
|
||||
"dint": "^5.1.0",
|
||||
"load-json-file": "^6.2.0",
|
||||
"p-filter": "^2.1.0",
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
packageIdFromSnapshot,
|
||||
} from '@pnpm/lockfile-utils'
|
||||
import { streamParser } from '@pnpm/logger'
|
||||
import * as dp from 'dependency-path'
|
||||
import * as dp from '@pnpm/dependency-path'
|
||||
import dint from 'dint'
|
||||
import loadJsonFile from 'load-json-file'
|
||||
import pFilter from 'p-filter'
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
"@pnpm/error": "workspace:*",
|
||||
"@pnpm/find-workspace-packages": "workspace:*",
|
||||
"@pnpm/matcher": "workspace:*",
|
||||
"@pnpm/workspace.pkgs-graph": "workspace:*",
|
||||
"execa": "npm:safe-execa@^0.1.2",
|
||||
"find-up": "^5.0.0",
|
||||
"is-subdir": "^1.2.0",
|
||||
"micromatch": "^4.0.5",
|
||||
"pkgs-graph": "workspace:*",
|
||||
"ramda": "npm:@pnpm/ramda@0.28.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { findWorkspacePackages, Project } from '@pnpm/find-workspace-packages'
|
||||
import { createMatcher } from '@pnpm/matcher'
|
||||
import { createPkgGraph, Package, PackageNode } from 'pkgs-graph'
|
||||
import { createPkgGraph, Package, PackageNode } from '@pnpm/workspace.pkgs-graph'
|
||||
import isSubdir from 'is-subdir'
|
||||
import difference from 'ramda/src/difference'
|
||||
import partition from 'ramda/src/partition'
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@pnpm/constants": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/util.lex-comparator": "1.0.0",
|
||||
"find-packages": "workspace:*",
|
||||
"@pnpm/fs.find-packages": "workspace:*",
|
||||
"read-yaml-file": "^2.1.0"
|
||||
},
|
||||
"funding": "https://opencollective.com/pnpm",
|
||||
|
||||
@@ -3,7 +3,7 @@ import { packageIsInstallable } from '@pnpm/cli-utils'
|
||||
import { WORKSPACE_MANIFEST_FILENAME } from '@pnpm/constants'
|
||||
import { Project } from '@pnpm/types'
|
||||
import { lexCompare } from '@pnpm/util.lex-comparator'
|
||||
import { findPackages } from 'find-packages'
|
||||
import { findPackages } from '@pnpm/fs.find-packages'
|
||||
import readYamlFile from 'read-yaml-file'
|
||||
|
||||
export { Project }
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# pkgs-graph
|
||||
|
||||
## 8.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- f884689e0: Require `@pnpm/logger` v5.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [f884689e0]
|
||||
- @pnpm/resolve-workspace-range@4.0.0
|
||||
|
||||
## 7.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 8103f92bd: Use a patched version of ramda to fix deprecation warnings on Node.js 16. Related issue: https://github.com/ramda/ramda/pull/3270
|
||||
|
||||
## 7.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5f643f23b: Update ramda to v0.28.
|
||||
- 42c1ea1c0: Update validate-npm-package-name to v4.
|
||||
|
||||
## 7.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 542014839: Node.js 12 is not supported.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [542014839]
|
||||
- @pnpm/resolve-workspace-range@3.0.0
|
||||
|
||||
## 6.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f82cc7f77: fix: when set workspace protocol the pkgs in workspace without version not ignore
|
||||
|
||||
## 6.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a1a03d145: Import only the required functions from ramda.
|
||||
|
||||
## 6.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1084ca1a7: Include dependencies with workspace version aliases in 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
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [97b986fbc]
|
||||
- @pnpm/resolve-workspace-range@2.0.0
|
||||
|
||||
## 5.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- e37a5a175: Support linkedWorkspacePackages=false.
|
||||
|
||||
## 5.1.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @pnpm/resolve-workspace-range@1.0.2
|
||||
@@ -1,4 +1,4 @@
|
||||
# pkgs-graph
|
||||
# @pnpm/workspace.pkgs-graph
|
||||
|
||||
> Create a graph from an array of packages
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
## Installation
|
||||
|
||||
```
|
||||
pnpm add pkgs-graph
|
||||
pnpm add @pnpm/workspace.pkgs-graph
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -57,11 +57,6 @@ console.log(graph)
|
||||
// }
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
* [find-packages](https://github.com/zkochan/find-packages) - Find all packages inside a directory
|
||||
* [sort-pkgs](https://github.com/zkochan/sort-pkgs) - Sort packages. Dependents first.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE) © [Zoltan Kochan](https://www.kochan.io)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pkgs-graph",
|
||||
"version": "8.0.0",
|
||||
"name": "@pnpm/workspace.pkgs-graph",
|
||||
"version": "0.0.0",
|
||||
"description": "Create a graph from an array of packages",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@@ -27,7 +27,7 @@
|
||||
"devDependencies": {
|
||||
"@types/ramda": "0.28.20",
|
||||
"better-path-resolve": "1.0.0",
|
||||
"pkgs-graph": "workspace:*"
|
||||
"@pnpm/workspace.pkgs-graph": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pnpm/npm-package-arg": "^1.0.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/// <reference path="../../../__typings__/local.d.ts"/>
|
||||
import { createPkgGraph } from 'pkgs-graph'
|
||||
import { createPkgGraph } from '@pnpm/workspace.pkgs-graph'
|
||||
import pathResolve from 'better-path-resolve'
|
||||
|
||||
const BAR1_PATH = pathResolve('/zkochan/src/bar')
|
||||
|
||||
Reference in New Issue
Block a user