mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-30 04:52:04 -04:00
refactor: rename lockfile-walker to lockfile.walker
This commit is contained in:
5
.changeset/loud-grapes-draw.md
Normal file
5
.changeset/loud-grapes-draw.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/lockfile.walker": major
|
||||
---
|
||||
|
||||
Renamed package from `@pnpm/lockfile-walker`.
|
||||
@@ -61,7 +61,7 @@
|
||||
"@pnpm/link-bins": "workspace:*",
|
||||
"@pnpm/lockfile.types": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/modules-yaml": "workspace:*",
|
||||
"@pnpm/normalize-registries": "workspace:*",
|
||||
"@pnpm/npm-package-arg": "catalog:",
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
packageIsIndependent,
|
||||
type PackageSnapshots,
|
||||
} from '@pnpm/lockfile.utils'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile-walker'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile.walker'
|
||||
import { logger, streamParser } from '@pnpm/logger'
|
||||
import { writeModulesManifest } from '@pnpm/modules-yaml'
|
||||
import { createOrConnectStoreController } from '@pnpm/store-connection-manager'
|
||||
|
||||
@@ -39,15 +39,15 @@
|
||||
{
|
||||
"path": "../../deps/graph-sequencer"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/types"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/utils"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/walker"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/calc-dep-state"
|
||||
},
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"@pnpm/list": "workspace:*",
|
||||
"@pnpm/lockfile.types": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/lockfile.detect-dep-types": "workspace:*",
|
||||
"@pnpm/read-project-manifest": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import path from 'path'
|
||||
import { type Lockfile, type TarballResolution } from '@pnpm/lockfile.types'
|
||||
import { nameVerFromPkgSnapshot } from '@pnpm/lockfile.utils'
|
||||
import { lockfileWalkerGroupImporterSteps, type LockfileWalkerStep } from '@pnpm/lockfile-walker'
|
||||
import { lockfileWalkerGroupImporterSteps, type LockfileWalkerStep } from '@pnpm/lockfile.walker'
|
||||
import { detectDepTypes, type DepTypes, DepType } from '@pnpm/lockfile.detect-dep-types'
|
||||
import { type DependenciesField, type ProjectId } from '@pnpm/types'
|
||||
import { safeReadProjectManifestOnly } from '@pnpm/read-project-manifest'
|
||||
|
||||
@@ -39,14 +39,14 @@
|
||||
{
|
||||
"path": "../fs"
|
||||
},
|
||||
{
|
||||
"path": "../lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../types"
|
||||
},
|
||||
{
|
||||
"path": "../utils"
|
||||
},
|
||||
{
|
||||
"path": "../walker"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"@pnpm/error": "workspace:*",
|
||||
"@pnpm/lockfile.types": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/package-is-installable": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"ramda": "catalog:"
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
type Lockfile,
|
||||
type PackageSnapshots,
|
||||
} from '@pnpm/lockfile.types'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile-walker'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile.walker'
|
||||
import { logger } from '@pnpm/logger'
|
||||
import { type DependenciesField, type DepPath, type ProjectId } from '@pnpm/types'
|
||||
import { filterImporter } from './filterImporter'
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
{
|
||||
"path": "../../packages/types"
|
||||
},
|
||||
{
|
||||
"path": "../lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../types"
|
||||
},
|
||||
{
|
||||
"path": "../utils"
|
||||
},
|
||||
{
|
||||
"path": "../walker"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pnpm/lockfile-walker",
|
||||
"version": "9.0.4",
|
||||
"name": "@pnpm/lockfile.walker",
|
||||
"version": "0.0.0",
|
||||
"description": "Walk over all the dependencies in a lockfile",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@@ -17,7 +17,7 @@
|
||||
"prepublishOnly": "pnpm run compile",
|
||||
"compile": "tsc --build && pnpm run lint --fix"
|
||||
},
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/lockfile/lockfile-walker",
|
||||
"repository": "https://github.com/pnpm/pnpm/blob/main/lockfile/walker",
|
||||
"keywords": [
|
||||
"pnpm9",
|
||||
"pnpm",
|
||||
@@ -28,9 +28,9 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/pnpm/pnpm/issues"
|
||||
},
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/lockfile/lockfile-walker#readme",
|
||||
"homepage": "https://github.com/pnpm/pnpm/blob/main/lockfile/walker#readme",
|
||||
"devDependencies": {
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"tempy": "catalog:"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -39,7 +39,7 @@
|
||||
"@pnpm/lockfile.fs": "workspace:*",
|
||||
"@pnpm/lockfile-to-pnp": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/lockfile.preferred-versions": "workspace:*",
|
||||
"@pnpm/manifest-utils": "workspace:*",
|
||||
"@pnpm/matcher": "workspace:*",
|
||||
|
||||
@@ -72,9 +72,6 @@
|
||||
{
|
||||
"path": "../../lockfile/lockfile-to-pnp"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/preferred-versions"
|
||||
},
|
||||
@@ -90,6 +87,9 @@
|
||||
{
|
||||
"path": "../../lockfile/verification"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/walker"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/calc-dep-state"
|
||||
},
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"@pnpm/link-bins": "workspace:*",
|
||||
"@pnpm/lockfile.types": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/matcher": "workspace:*",
|
||||
"@pnpm/types": "workspace:*",
|
||||
"@pnpm/util.lex-comparator": "catalog:",
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
type Lockfile,
|
||||
nameVerFromPkgSnapshot,
|
||||
} from '@pnpm/lockfile.utils'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile-walker'
|
||||
import { lockfileWalker, type LockfileWalkerStep } from '@pnpm/lockfile.walker'
|
||||
import { logger } from '@pnpm/logger'
|
||||
import { createMatcher } from '@pnpm/matcher'
|
||||
import { type DepPath, type HoistedDependencies, type ProjectId } from '@pnpm/types'
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
{
|
||||
"path": "../../config/matcher"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/types"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/utils"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/walker"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/constants"
|
||||
},
|
||||
|
||||
74
pnpm-lock.yaml
generated
74
pnpm-lock.yaml
generated
@@ -1949,15 +1949,15 @@ importers:
|
||||
'@pnpm/link-bins':
|
||||
specifier: workspace:*
|
||||
version: link:../../pkg-manager/link-bins
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-walker
|
||||
'@pnpm/lockfile.types':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/types
|
||||
'@pnpm/lockfile.utils':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/utils
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -2696,9 +2696,6 @@ importers:
|
||||
'@pnpm/list':
|
||||
specifier: workspace:*
|
||||
version: link:../../reviewing/list
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-walker
|
||||
'@pnpm/lockfile.detect-dep-types':
|
||||
specifier: workspace:*
|
||||
version: link:../detect-dep-types
|
||||
@@ -2708,6 +2705,9 @@ importers:
|
||||
'@pnpm/lockfile.utils':
|
||||
specifier: workspace:*
|
||||
version: link:../utils
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -2770,15 +2770,15 @@ importers:
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../lockfile-walker
|
||||
'@pnpm/lockfile.types':
|
||||
specifier: workspace:*
|
||||
version: link:../types
|
||||
'@pnpm/lockfile.utils':
|
||||
specifier: workspace:*
|
||||
version: link:../utils
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -2939,25 +2939,6 @@ importers:
|
||||
specifier: 'catalog:'
|
||||
version: 0.29.12
|
||||
|
||||
lockfile/lockfile-walker:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile.types':
|
||||
specifier: workspace:*
|
||||
version: link:../types
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
devDependencies:
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
tempy:
|
||||
specifier: 'catalog:'
|
||||
version: 1.0.1
|
||||
|
||||
lockfile/merge-lockfile-changes:
|
||||
dependencies:
|
||||
'@pnpm/lockfile.types':
|
||||
@@ -3217,6 +3198,25 @@ importers:
|
||||
specifier: 'catalog:'
|
||||
version: 7.5.3
|
||||
|
||||
lockfile/walker:
|
||||
dependencies:
|
||||
'@pnpm/dependency-path':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/dependency-path
|
||||
'@pnpm/lockfile.types':
|
||||
specifier: workspace:*
|
||||
version: link:../types
|
||||
'@pnpm/types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/types
|
||||
devDependencies:
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: 'link:'
|
||||
tempy:
|
||||
specifier: 'catalog:'
|
||||
version: 1.0.1
|
||||
|
||||
modules-mounter/daemon:
|
||||
dependencies:
|
||||
'@pnpm/config':
|
||||
@@ -3873,9 +3873,6 @@ importers:
|
||||
'@pnpm/lockfile-to-pnp':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-to-pnp
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-walker
|
||||
'@pnpm/lockfile.filtering':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/filtering
|
||||
@@ -3891,6 +3888,9 @@ importers:
|
||||
'@pnpm/lockfile.verification':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/verification
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -4372,15 +4372,15 @@ importers:
|
||||
'@pnpm/link-bins':
|
||||
specifier: workspace:*
|
||||
version: link:../link-bins
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-walker
|
||||
'@pnpm/lockfile.types':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/types
|
||||
'@pnpm/lockfile.utils':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/utils
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -6188,9 +6188,6 @@ importers:
|
||||
'@pnpm/error':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/error
|
||||
'@pnpm/lockfile-walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/lockfile-walker
|
||||
'@pnpm/lockfile.detect-dep-types':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/detect-dep-types
|
||||
@@ -6203,6 +6200,9 @@ importers:
|
||||
'@pnpm/lockfile.utils':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/utils
|
||||
'@pnpm/lockfile.walker':
|
||||
specifier: workspace:*
|
||||
version: link:../../lockfile/walker
|
||||
'@pnpm/logger':
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"@pnpm/lockfile.fs": "workspace:*",
|
||||
"@pnpm/lockfile.types": "workspace:*",
|
||||
"@pnpm/lockfile.utils": "workspace:*",
|
||||
"@pnpm/lockfile-walker": "workspace:*",
|
||||
"@pnpm/lockfile.walker": "workspace:*",
|
||||
"@pnpm/lockfile.detect-dep-types": "workspace:*",
|
||||
"@pnpm/package-is-installable": "workspace:*",
|
||||
"@pnpm/read-package-json": "workspace:*",
|
||||
|
||||
@@ -4,7 +4,7 @@ import { packageIsInstallable } from '@pnpm/package-is-installable'
|
||||
import {
|
||||
lockfileWalkerGroupImporterSteps,
|
||||
type LockfileWalkerStep,
|
||||
} from '@pnpm/lockfile-walker'
|
||||
} from '@pnpm/lockfile.walker'
|
||||
import { type DepTypes, DepType, detectDepTypes } from '@pnpm/lockfile.detect-dep-types'
|
||||
import { type SupportedArchitectures, type DependenciesField, type ProjectId, type Registries } from '@pnpm/types'
|
||||
import { getPkgInfo } from './getPkgInfo'
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
{
|
||||
"path": "../../lockfile/fs"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/lockfile-walker"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/types"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/utils"
|
||||
},
|
||||
{
|
||||
"path": "../../lockfile/walker"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/constants"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user