vitepress-plugin-api-extractor 0.6.3 → 0.6.5

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/ApiExtractor.js CHANGED
@@ -1,8 +1,8 @@
1
+ import { Effect, Layer, ManagedRuntime } from "effect";
1
2
  import { generate } from "./Generate.js";
2
3
  import { PlatformLive, RegistryLive } from "./Registry.js";
3
4
  import { environmentHash, makeTwoslashTransformer } from "./Twoslash.js";
4
5
  import { TwoslashCacheStore } from "./TwoslashCache.js";
5
- import { Effect, Layer, ManagedRuntime } from "effect";
6
6
 
7
7
  // src/ApiExtractor.ts
8
8
  const AppLive = Layer.mergeAll(PlatformLive, RegistryLive, TwoslashCacheStore.layer);
package/Generate.js CHANGED
@@ -1,15 +1,15 @@
1
- import { DEFAULT_CATEGORIES, navCategory } from "./Categories.js";
2
- import { emitFrontmatter } from "./emit/frontmatter.js";
3
- import { emitMarkdownBody } from "./emit/markdown.js";
4
- import { sidebarFor } from "./emit/sidebar.js";
5
- import { externalPackagesOf, loadExternalTypes } from "./Registry.js";
6
- import { Effect, FileSystem, Option, Path } from "effect";
7
1
  import { PackageManifest } from "@effected/package-json";
8
2
  import { loadBundle, publishBundleAssets, resolveBundleFrom } from "@tsdoctor/bundle";
9
3
  import { ApiExtractedPackage, CrossLinker, Model, TypeReferenceExtractor } from "@tsdoctor/model";
10
4
  import { buildIndexPage, buildNav, buildPage, prepareWorkItems, unscopedName } from "@tsdoctor/pages";
11
5
  import { attributionFacts, deriveScriptBody, deriveSiteUrl, headTags, packageContext } from "@tsdoctor/seo";
12
6
  import { resolveTypeScriptConfig } from "@tsdoctor/vfs";
7
+ import { Effect, FileSystem, Option, Path } from "effect";
8
+ import { DEFAULT_CATEGORIES, navCategory } from "./Categories.js";
9
+ import { emitFrontmatter } from "./emit/frontmatter.js";
10
+ import { emitMarkdownBody } from "./emit/markdown.js";
11
+ import { sidebarFor } from "./emit/sidebar.js";
12
+ import { externalPackagesOf, loadExternalTypes } from "./Registry.js";
13
13
 
14
14
  // src/Generate.ts
15
15
  /**
package/Registry.js CHANGED
@@ -1,9 +1,9 @@
1
- import { registryHttpClientLayer } from "./RegistryHttpClient.js";
2
- import { Effect, Layer, Path } from "effect";
3
1
  import { NodeFileSystem } from "@effect/platform-node";
4
2
  import { Cache } from "@effected/store";
5
3
  import { AppDirs, Xdg } from "@effected/xdg";
6
4
  import { PackageFetcher, PackageSpec, RegistryObserver, TypeCache, TypeRegistry } from "@tsdoctor/registry";
5
+ import { Effect, Layer, Path } from "effect";
6
+ import { registryHttpClientLayer } from "./RegistryHttpClient.js";
7
7
 
8
8
  // src/Registry.ts
9
9
  /**
@@ -1,8 +1,8 @@
1
- import { Cause, Effect, Layer } from "effect";
2
1
  import { NodeHttpClient } from "@effect/platform-node";
3
2
  import { ErrorText } from "@effected/kit";
4
3
  import { NpmHttpClient } from "@effected/npm/node";
5
4
  import { PnpmNpmConfig } from "@effected/pnpm";
5
+ import { Cause, Effect, Layer } from "effect";
6
6
  import * as HttpClient from "effect/http/HttpClient";
7
7
 
8
8
  // src/RegistryHttpClient.ts
package/Twoslash.js CHANGED
@@ -1,5 +1,5 @@
1
- import { DEFAULT_COMPILER_OPTIONS, toProgrammaticCompilerOptions, twoslashEnvHash } from "@tsdoctor/vfs";
2
1
  import { transformerTwoslash } from "@shikijs/vitepress-twoslash";
2
+ import { DEFAULT_COMPILER_OPTIONS, toProgrammaticCompilerOptions, twoslashEnvHash } from "@tsdoctor/vfs";
3
3
  import ts from "typescript";
4
4
 
5
5
  // src/Twoslash.ts
package/TwoslashCache.js CHANGED
@@ -1,8 +1,8 @@
1
- import { AppDirsLive, PlatformLive } from "./Registry.js";
2
- import { Context, Effect, Layer, Option, Path } from "effect";
3
- import { decodeTwoslashCache, encodeTwoslashCache, makeTwoslashCache, twoslashBlobKey } from "@tsdoctor/vfs";
4
1
  import { Cache } from "@effected/store";
5
2
  import { AppDirs } from "@effected/xdg";
3
+ import { decodeTwoslashCache, encodeTwoslashCache, makeTwoslashCache, twoslashBlobKey } from "@tsdoctor/vfs";
4
+ import { Context, Effect, Layer, Option, Path } from "effect";
5
+ import { AppDirsLive, PlatformLive } from "./Registry.js";
6
6
 
7
7
  // src/TwoslashCache.ts
8
8
  /**
package/emit/markdown.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Result } from "effect";
2
1
  import { Blockquote, Code, Heading, InlineCode, Link, List, ListItem, Markdown, Paragraph, Root, Strong, Table, TableCell, TableRow, Text } from "@effected/markdown";
2
+ import { Result } from "effect";
3
3
 
4
4
  // src/emit/markdown.ts
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitepress-plugin-api-extractor",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "private": false,
5
5
  "description": "VitePress adapter for generating API documentation from TypeScript API Extractor models: markdown pages over the @tsdoctor/pages IR, a sidebar from its navigation tree, and Twoslash type-checking over the same virtual file system the RSPress plugin resolves.",
6
6
  "keywords": [
@@ -37,12 +37,12 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "dependencies": {
40
- "@effect/platform-node": "4.1.4",
40
+ "@effect/platform-node": "4.1.5",
41
41
  "@effected/commands": "0.22.0",
42
42
  "@effected/config-file": "0.29.0",
43
43
  "@effected/crypto": "0.7.0",
44
44
  "@effected/files": "0.3.0",
45
- "@effected/github": "0.33.0",
45
+ "@effected/github": "0.34.0",
46
46
  "@effected/github-references": "0.15.0",
47
47
  "@effected/glob": "0.23.0",
48
48
  "@effected/images": "0.10.0",
@@ -67,13 +67,13 @@
67
67
  "@microsoft/api-extractor-model": "^7.33.16",
68
68
  "@shikijs/twoslash": "^4.6.0",
69
69
  "@shikijs/vitepress-twoslash": "^4.4.3",
70
- "@tsdoctor/bundle": "0.9.6",
70
+ "@tsdoctor/bundle": "0.9.7",
71
71
  "@tsdoctor/model": "0.10.8",
72
72
  "@tsdoctor/pages": "0.5.10",
73
73
  "@tsdoctor/registry": "0.7.9",
74
74
  "@tsdoctor/seo": "0.6.5",
75
75
  "@tsdoctor/vfs": "0.7.7",
76
- "effect": "4.1.4",
76
+ "effect": "4.1.5",
77
77
  "shiki": "^4.6.0",
78
78
  "typescript": "^6.0.3"
79
79
  },