@effected/lockfiles 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,14 +28,14 @@ Every entrypoint takes content as a **string**. The package performs no IO at al
|
|
|
28
28
|
## Install
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
npm install @effected/lockfiles @effected/jsonc @effected/semver @effected/yaml effect
|
|
31
|
+
npm install @effected/lockfiles @effected/jsonc @effected/npm @effected/semver @effected/yaml effect
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
pnpm add @effected/lockfiles @effected/jsonc @effected/semver @effected/yaml effect
|
|
35
|
+
pnpm add @effected/lockfiles @effected/jsonc @effected/npm @effected/semver @effected/yaml effect
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Requires Node.js >=24.11.0. `effect` v4, `@effected/jsonc`, `@effected/semver` and `@effected/yaml` are peer dependencies — the JSONC and YAML engines and the SemVer range checker all arrive through those siblings, so nothing outside `effect` and `@effected/*` reaches your tree. Package managers that install peers automatically will pull them in; add them to your manifest explicitly if yours does not.
|
|
38
|
+
Requires Node.js >=24.11.0. `effect` v4, `@effected/jsonc`, `@effected/npm`, `@effected/semver` and `@effected/yaml` are peer dependencies — the JSONC and YAML engines, the shared dependency-specifier vocabulary and the SemVer range checker all arrive through those siblings, so nothing outside `effect` and `@effected/*` reaches your tree. Package managers that install peers automatically will pull them in; add them to your manifest explicitly if yours does not.
|
|
39
39
|
|
|
40
40
|
All `@effected/*` packages are ESM-only: the exports maps publish only `import` conditions, so `require()` — including tools that resolve in CJS mode — fails with Node's `ERR_PACKAGE_PATH_NOT_EXPORTED` rather than loading a CJS build that does not exist. Import from an ES module.
|
|
41
41
|
|
|
@@ -103,7 +103,7 @@ yarn defines no document framing at all, so multi-document `yarn.lock` content f
|
|
|
103
103
|
- `LockfileIntegrity.compare(lockfile, manifests)` — total, pure integrity checking with no error channel; the report carries `valid`, `missingWorkspaces`, `extraWorkspaces` and `unsatisfiedConstraints`. Constraint checking is best-effort by design: `workspace:` / `link:` / `file:` specifiers and rows whose range does not parse as SemVer are skipped.
|
|
104
104
|
- `WorkspaceManifest` — the manifest input shape for integrity checking: a package name plus four optional dependency records. Deliberately a plain value rather than a strict manifest model, so consumers can derive it from anything.
|
|
105
105
|
- `ResolvedPackage` — name, version, optional integrity hash, workspace flag and relative path, dependency map.
|
|
106
|
-
- `WorkspaceDependency`
|
|
106
|
+
- `WorkspaceDependency` — a `from`/`to` edge between workspace packages, with `depType` spelled in `@effected/npm`'s `DependencyField` vocabulary and its declared constraint.
|
|
107
107
|
- `PnpmExtension` and `BunExtension` — format-specific data such as pnpm catalogs and bun trusted dependencies, preserved on the model's optional `extension` field.
|
|
108
108
|
|
|
109
109
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/lockfiles",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pure lockfile parsing for bun, npm, pnpm and yarn Berry into one unified Effect schema model, with pure integrity checking against workspace manifests.",
|
|
6
6
|
"keywords": [
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@effected/jsonc": "~0.5.1",
|
|
44
|
-
"@effected/npm": "~0.
|
|
45
|
-
"@effected/semver": "~0.
|
|
44
|
+
"@effected/npm": "~0.7.0",
|
|
45
|
+
"@effected/semver": "~0.3.0",
|
|
46
46
|
"@effected/yaml": "~0.6.0",
|
|
47
47
|
"effect": "4.0.0-beta.101"
|
|
48
48
|
},
|