@effected/lockfiles 0.7.0 → 0.8.0
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/index.d.ts +18 -18
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
|
|
|
19
19
|
*
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
declare class BunExtension extends BunExtension_base {}
|
|
22
|
+
export declare class BunExtension extends BunExtension_base {}
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/ImporterDependency.d.ts
|
|
25
25
|
declare const ImporterDependency_base: Schema.Class<ImporterDependency, Schema.Struct<{
|
|
@@ -58,7 +58,7 @@ declare const ImporterDependency_base: Schema.Class<ImporterDependency, Schema.S
|
|
|
58
58
|
*
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
|
-
declare class ImporterDependency extends ImporterDependency_base {}
|
|
61
|
+
export declare class ImporterDependency extends ImporterDependency_base {}
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/LockfileFormat.d.ts
|
|
64
64
|
/**
|
|
@@ -78,13 +78,13 @@ declare class ImporterDependency extends ImporterDependency_base {}
|
|
|
78
78
|
*
|
|
79
79
|
* @public
|
|
80
80
|
*/
|
|
81
|
-
declare const LockfileFormat: Schema.Literals<readonly ["bun", "npm", "pnpm", "yarn"]>;
|
|
81
|
+
export declare const LockfileFormat: Schema.Literals<readonly ["bun", "npm", "pnpm", "yarn"]>;
|
|
82
82
|
/**
|
|
83
83
|
* The union of supported lockfile format names.
|
|
84
84
|
*
|
|
85
85
|
* @public
|
|
86
86
|
*/
|
|
87
|
-
type LockfileFormat = typeof LockfileFormat.Type;
|
|
87
|
+
export type LockfileFormat = typeof LockfileFormat.Type;
|
|
88
88
|
/**
|
|
89
89
|
* The conventional lockfile filename for a format: `"bun.lock"`,
|
|
90
90
|
* `"package-lock.json"`, `"pnpm-lock.yaml"` or `"yarn.lock"`.
|
|
@@ -95,7 +95,7 @@ type LockfileFormat = typeof LockfileFormat.Type;
|
|
|
95
95
|
*
|
|
96
96
|
* @public
|
|
97
97
|
*/
|
|
98
|
-
declare const filenameFor: (format: LockfileFormat) => string;
|
|
98
|
+
export declare const filenameFor: (format: LockfileFormat) => string;
|
|
99
99
|
/**
|
|
100
100
|
* Every filename a format is genuinely written under, primary first.
|
|
101
101
|
*
|
|
@@ -118,7 +118,7 @@ declare const filenameFor: (format: LockfileFormat) => string;
|
|
|
118
118
|
*
|
|
119
119
|
* @public
|
|
120
120
|
*/
|
|
121
|
-
declare const filenamesFor: (format: LockfileFormat) => readonly [string, ...ReadonlyArray<string>];
|
|
121
|
+
export declare const filenamesFor: (format: LockfileFormat) => readonly [string, ...ReadonlyArray<string>];
|
|
122
122
|
/**
|
|
123
123
|
* The format a lockfile filename identifies, if any.
|
|
124
124
|
*
|
|
@@ -129,7 +129,7 @@ declare const filenamesFor: (format: LockfileFormat) => readonly [string, ...Rea
|
|
|
129
129
|
*
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
declare const fromFilename: (name: string) => Option.Option<LockfileFormat>;
|
|
132
|
+
export declare const fromFilename: (name: string) => Option.Option<LockfileFormat>;
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/LockfileImporter.d.ts
|
|
135
135
|
declare const LockfileImporter_base: Schema.Class<LockfileImporter, Schema.Struct<{
|
|
@@ -154,7 +154,7 @@ declare const LockfileImporter_base: Schema.Class<LockfileImporter, Schema.Struc
|
|
|
154
154
|
*
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
declare class LockfileImporter extends LockfileImporter_base {}
|
|
157
|
+
export declare class LockfileImporter extends LockfileImporter_base {}
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region src/PnpmExtension.d.ts
|
|
160
160
|
/**
|
|
@@ -195,7 +195,7 @@ declare const PnpmExtension_base: Schema.Class<PnpmExtension, Schema.Struct<{
|
|
|
195
195
|
*
|
|
196
196
|
* @public
|
|
197
197
|
*/
|
|
198
|
-
declare class PnpmExtension extends PnpmExtension_base {}
|
|
198
|
+
export declare class PnpmExtension extends PnpmExtension_base {}
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/ResolvedPackage.d.ts
|
|
201
201
|
declare const ResolvedPackage_base: Schema.Class<ResolvedPackage, Schema.Struct<{
|
|
@@ -292,7 +292,7 @@ declare const ResolvedPackage_base: Schema.Class<ResolvedPackage, Schema.Struct<
|
|
|
292
292
|
*
|
|
293
293
|
* @public
|
|
294
294
|
*/
|
|
295
|
-
declare class ResolvedPackage extends ResolvedPackage_base {}
|
|
295
|
+
export declare class ResolvedPackage extends ResolvedPackage_base {}
|
|
296
296
|
//#endregion
|
|
297
297
|
//#region src/WorkspaceDependency.d.ts
|
|
298
298
|
declare const WorkspaceDependency_base: Schema.Class<WorkspaceDependency, Schema.Struct<{
|
|
@@ -315,7 +315,7 @@ declare const WorkspaceDependency_base: Schema.Class<WorkspaceDependency, Schema
|
|
|
315
315
|
*
|
|
316
316
|
* @public
|
|
317
317
|
*/
|
|
318
|
-
declare class WorkspaceDependency extends WorkspaceDependency_base {}
|
|
318
|
+
export declare class WorkspaceDependency extends WorkspaceDependency_base {}
|
|
319
319
|
//#endregion
|
|
320
320
|
//#region src/Lockfile.d.ts
|
|
321
321
|
declare const LockfileParseError_base: Schema.Class<LockfileParseError, Schema.TaggedStruct<"LockfileParseError", {
|
|
@@ -341,7 +341,7 @@ declare const LockfileParseError_base: Schema.Class<LockfileParseError, Schema.T
|
|
|
341
341
|
*
|
|
342
342
|
* @public
|
|
343
343
|
*/
|
|
344
|
-
declare class LockfileParseError extends LockfileParseError_base {
|
|
344
|
+
export declare class LockfileParseError extends LockfileParseError_base {
|
|
345
345
|
get message(): string;
|
|
346
346
|
}
|
|
347
347
|
declare const LockfileFramingError_base: Schema.Class<LockfileFramingError, Schema.TaggedStruct<"LockfileFramingError", {
|
|
@@ -381,7 +381,7 @@ declare const LockfileFramingError_base: Schema.Class<LockfileFramingError, Sche
|
|
|
381
381
|
*
|
|
382
382
|
* @public
|
|
383
383
|
*/
|
|
384
|
-
declare class LockfileFramingError extends LockfileFramingError_base {
|
|
384
|
+
export declare class LockfileFramingError extends LockfileFramingError_base {
|
|
385
385
|
get message(): string;
|
|
386
386
|
}
|
|
387
387
|
declare const Lockfile_base: Schema.Class<Lockfile, Schema.Struct<{
|
|
@@ -415,7 +415,7 @@ declare const Lockfile_base: Schema.Class<Lockfile, Schema.Struct<{
|
|
|
415
415
|
*
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
|
-
declare class Lockfile extends Lockfile_base {
|
|
418
|
+
export declare class Lockfile extends Lockfile_base {
|
|
419
419
|
#private;
|
|
420
420
|
/**
|
|
421
421
|
* Parse lockfile content of a known format into the unified model — the
|
|
@@ -510,7 +510,7 @@ declare const WorkspaceManifest_base: Schema.Class<WorkspaceManifest, Schema.Str
|
|
|
510
510
|
*
|
|
511
511
|
* @public
|
|
512
512
|
*/
|
|
513
|
-
declare class WorkspaceManifest extends WorkspaceManifest_base {}
|
|
513
|
+
export declare class WorkspaceManifest extends WorkspaceManifest_base {}
|
|
514
514
|
declare const LockfileIntegrity_base: Schema.Class<LockfileIntegrity, Schema.Struct<{
|
|
515
515
|
readonly valid: Schema.Boolean;
|
|
516
516
|
readonly missingWorkspaces: Schema.$Array<Schema.String>;
|
|
@@ -541,7 +541,7 @@ declare const LockfileIntegrity_base: Schema.Class<LockfileIntegrity, Schema.Str
|
|
|
541
541
|
*
|
|
542
542
|
* @public
|
|
543
543
|
*/
|
|
544
|
-
declare class LockfileIntegrity extends LockfileIntegrity_base {
|
|
544
|
+
export declare class LockfileIntegrity extends LockfileIntegrity_base {
|
|
545
545
|
/**
|
|
546
546
|
* Check a lockfile's consistency against workspace manifests — a total,
|
|
547
547
|
* pure function: no Effect, no error channel, no IO.
|
|
@@ -631,7 +631,7 @@ interface UnsupportedLockfileVersion {
|
|
|
631
631
|
*
|
|
632
632
|
* @public
|
|
633
633
|
*/
|
|
634
|
-
declare const isUnsupportedLockfileVersion: (cause: unknown) => cause is UnsupportedLockfileVersion;
|
|
634
|
+
export declare const isUnsupportedLockfileVersion: (cause: unknown) => cause is UnsupportedLockfileVersion;
|
|
635
635
|
//#endregion
|
|
636
|
-
export {
|
|
636
|
+
export type { PnpmCatalogs, UnsupportedLockfileVersion };
|
|
637
637
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/lockfiles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
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": [
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"./package.json": "./package.json"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@effected/jsonc": "^0.
|
|
44
|
-
"@effected/npm": "^0.
|
|
45
|
-
"@effected/semver": "^0.
|
|
46
|
-
"@effected/yaml": "^0.
|
|
47
|
-
"effect": "4.0.0-rc.
|
|
43
|
+
"@effected/jsonc": "^0.9.0",
|
|
44
|
+
"@effected/npm": "^0.13.0",
|
|
45
|
+
"@effected/semver": "^0.6.0",
|
|
46
|
+
"@effected/yaml": "^0.13.0",
|
|
47
|
+
"effect": "4.0.0-rc.112"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=24.11.0"
|