@tsdoctor/manifest 0.2.8 → 0.2.10
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/BundleManifest.js +1 -2
- package/ManifestSource.js +1 -2
- package/index.d.ts +0 -4
- package/package.json +2 -2
package/BundleManifest.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect, Schema } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/BundleManifest.ts
|
|
4
4
|
/**
|
|
5
5
|
* The registry protocol families this reader knows how to do more than link
|
|
6
6
|
* to. `"npm"` means an npm-compatible registry — install commands and tarball
|
|
@@ -205,5 +205,4 @@ function encodeBundleManifest(manifest) {
|
|
|
205
205
|
return Schema.encodeEffect(BundleManifest)(manifest).pipe(Effect.mapError((cause) => new BundleManifestError({ cause })));
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
//#endregion
|
|
209
208
|
export { BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, OpenGraphConfig, OpenGraphImage, ProjectIdentity, RegistryRef, SbomRef, TSDOCTOR_MANIFEST_FILENAME, decodeBundleManifest, encodeBundleManifest, isKnownRegistryType };
|
package/ManifestSource.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BundleManifest, BundleManifestError } from "./BundleManifest.js";
|
|
2
2
|
import { Effect, Schema } from "effect";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/ManifestSource.ts
|
|
5
5
|
/**
|
|
6
6
|
* The shape an author checks in as a `tsdoctor.json` SOURCE file, at a
|
|
7
7
|
* package root (the leaf tier) or a workspace root (the project tier).
|
|
@@ -34,5 +34,4 @@ function decodeManifestSource(input, path) {
|
|
|
34
34
|
})));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
//#endregion
|
|
38
37
|
export { ManifestSource, decodeManifestSource };
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Effect, Schema } from "effect";
|
|
2
|
-
//#region src/BundleManifest.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* The registry protocol families this reader knows how to do more than link
|
|
5
4
|
* to. `"npm"` means an npm-compatible registry — install commands and tarball
|
|
@@ -283,8 +282,6 @@ export declare const TSDOCTOR_MANIFEST_FILENAME = "tsdoctor.json";
|
|
|
283
282
|
* @public
|
|
284
283
|
*/
|
|
285
284
|
export declare function encodeBundleManifest(manifest: BundleManifest): Effect.Effect<unknown, BundleManifestError>;
|
|
286
|
-
//#endregion
|
|
287
|
-
//#region src/ManifestSource.d.ts
|
|
288
285
|
/**
|
|
289
286
|
* The shape an author checks in as a `tsdoctor.json` SOURCE file, at a
|
|
290
287
|
* package root (the leaf tier) or a workspace root (the project tier).
|
|
@@ -334,6 +331,5 @@ export type ManifestSource = typeof ManifestSource.Type;
|
|
|
334
331
|
* @public
|
|
335
332
|
*/
|
|
336
333
|
export declare function decodeManifestSource(input: unknown, path?: string): Effect.Effect<ManifestSource, BundleManifestError>;
|
|
337
|
-
//#endregion
|
|
338
334
|
export type { KnownRegistryType };
|
|
339
335
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsdoctor/manifest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The tsdoctor.json bundle manifest: the spec-1 schema, encode/decode boundaries and the authoring-file shape shared by bundlers that write it and readers that consume it.",
|
|
6
6
|
"keywords": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"./package.json": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"effect": "^4.0.
|
|
38
|
+
"effect": "^4.0.6"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=24.11.0"
|