@tsdoctor/bundle 0.9.5 → 0.9.7
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/BundleAssets.js +2 -2
- package/BundleDiscovery.js +3 -3
- package/BundleFetch.js +5 -5
- package/BundleHash.js +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
package/BundleAssets.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isSafeAssetPath } from "./internal/asset-path.js";
|
|
2
|
-
import { Effect, FileSystem, Path, Result, Schema } from "effect";
|
|
3
1
|
import { ImageFacts } from "@effected/images";
|
|
2
|
+
import { Effect, FileSystem, Path, Result, Schema } from "effect";
|
|
3
|
+
import { isSafeAssetPath } from "./internal/asset-path.js";
|
|
4
4
|
|
|
5
5
|
// src/BundleAssets.ts
|
|
6
6
|
/**
|
package/BundleDiscovery.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobPatternOptions } from "@effected/glob";
|
|
2
2
|
import { BUNDLE_MANIFEST_FILENAME } from "@effected/manifest";
|
|
3
3
|
import { LenientManifest } from "@effected/package-json";
|
|
4
|
-
import { Effect, FileSystem, Option, Path, Schema } from "effect";
|
|
5
|
-
import { GlobPatternOptions } from "@effected/glob";
|
|
6
4
|
import { compileAndExpand } from "@effected/walker";
|
|
5
|
+
import { Effect, FileSystem, Option, Path, Schema } from "effect";
|
|
6
|
+
import { readApiModelInfo, readBundle } from "./Bundle.js";
|
|
7
7
|
|
|
8
8
|
// src/BundleDiscovery.ts
|
|
9
9
|
/**
|
package/BundleFetch.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { readBundle } from "./Bundle.js";
|
|
2
|
-
import { discoverBundle } from "./BundleDiscovery.js";
|
|
3
|
-
import { isSafeAssetPath } from "./internal/asset-path.js";
|
|
4
|
-
import { decodeBundleManifest } from "@effected/manifest";
|
|
5
|
-
import { Effect, FileSystem, Option, Path, Schema } from "effect";
|
|
6
1
|
import { GitHubRelease, Repo, RepoRef } from "@effected/github";
|
|
2
|
+
import { decodeBundleManifest } from "@effected/manifest";
|
|
7
3
|
import { NpmRegistry, PackageTarball, PublishedVersion } from "@effected/npm";
|
|
8
4
|
import { Cache } from "@effected/store";
|
|
9
5
|
import { AppDirs } from "@effected/xdg";
|
|
6
|
+
import { Effect, FileSystem, Option, Path, Schema } from "effect";
|
|
7
|
+
import { readBundle } from "./Bundle.js";
|
|
8
|
+
import { discoverBundle } from "./BundleDiscovery.js";
|
|
9
|
+
import { isSafeAssetPath } from "./internal/asset-path.js";
|
|
10
10
|
|
|
11
11
|
// src/BundleFetch.ts
|
|
12
12
|
/**
|
package/BundleHash.js
CHANGED
package/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, ManifestSource, OpenGraphConfig, OpenGraphImage, ProjectIdentity, RegistryRef, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
|
|
1
2
|
import { BundleLayerError, readApiModelInfo, readBundle } from "./Bundle.js";
|
|
2
3
|
import { BundleAssetError, publishBundleAssets } from "./BundleAssets.js";
|
|
3
4
|
import { BundleDiscoveryError, discoverBundle, discoverBundles, loadBundle, loadBundles } from "./BundleDiscovery.js";
|
|
@@ -5,6 +6,5 @@ import { BundleFetchError, fetchGitHubReleaseBundle, fetchNpmBundle } from "./Bu
|
|
|
5
6
|
import { fingerprintResolvedBundle, hashJsonValue, hashLayerText, hashText, normalizeText } from "./BundleHash.js";
|
|
6
7
|
import { resolveBundle, resolveBundleFrom } from "./BundleResolver.js";
|
|
7
8
|
import { PlatformOverrides, decodePlatformOverrides } from "./PlatformOverrides.js";
|
|
8
|
-
import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, ManifestSource, OpenGraphConfig, OpenGraphImage, ProjectIdentity, RegistryRef, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
|
|
9
9
|
|
|
10
10
|
export { BUNDLE_MANIFEST_FILENAME, BundleAssetError, BundleDiscoveryError, BundleFetchError, BundleLayerError, BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, ManifestSource, OpenGraphConfig, OpenGraphImage, PlatformOverrides, ProjectIdentity, RegistryRef, SbomRef, decodeBundleManifest, decodeManifestSource, decodePlatformOverrides, discoverBundle, discoverBundles, encodeBundleManifest, fetchGitHubReleaseBundle, fetchNpmBundle, fingerprintResolvedBundle, hashJsonValue, hashLayerText, hashText, isKnownRegistryType, loadBundle, loadBundles, normalizeText, publishBundleAssets, readApiModelInfo, readBundle, resolveBundle, resolveBundleFrom };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsdoctor/bundle",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The tsdoctor bundle spec: layered bundle discovery, the versioned bundle.json sidecar manifest, provenance-carrying resolution and canonical input hashing for API documentation bundles.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@effected/glob": "0.
|
|
42
|
+
"@effected/glob": "0.23.0",
|
|
43
43
|
"@effected/images": "0.10.0",
|
|
44
|
-
"@effected/walker": "0.
|
|
44
|
+
"@effected/walker": "0.30.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@effected/github": "^0.
|
|
47
|
+
"@effected/github": "^0.34.0",
|
|
48
48
|
"@effected/jsonc": "^0.25.0",
|
|
49
49
|
"@effected/manifest": "^0.2.0",
|
|
50
50
|
"@effected/npm": "^0.35.0",
|
|
51
51
|
"@effected/package-json": "^0.32.0",
|
|
52
52
|
"@effected/store": "^0.25.0",
|
|
53
|
-
"@effected/tsconfig-json": "^0.
|
|
54
|
-
"@effected/xdg": "^0.
|
|
53
|
+
"@effected/tsconfig-json": "^0.23.0",
|
|
54
|
+
"@effected/xdg": "^0.22.0",
|
|
55
55
|
"effect": "~4.1.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|