@farming-labs/svelte 0.0.61 → 0.0.63
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/dist/api-reference.js +2 -2
- package/package.json +2 -2
package/dist/api-reference.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { buildApiReferenceHtmlDocumentAsync, resolveApiReferenceConfig, } from "@farming-labs/docs/server";
|
|
2
2
|
export function createSvelteApiReference(config) {
|
|
3
3
|
return async () => {
|
|
4
4
|
const apiReference = resolveApiReferenceConfig(config.apiReference);
|
|
@@ -6,7 +6,7 @@ export function createSvelteApiReference(config) {
|
|
|
6
6
|
return new Response("Not Found", { status: 404 });
|
|
7
7
|
}
|
|
8
8
|
const rootDir = typeof config.rootDir === "string" ? config.rootDir : process.cwd();
|
|
9
|
-
const html =
|
|
9
|
+
const html = await buildApiReferenceHtmlDocumentAsync(config, {
|
|
10
10
|
framework: "sveltekit",
|
|
11
11
|
rootDir,
|
|
12
12
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"description": "SvelteKit adapter for @farming-labs/docs — content loading and navigation utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "^22.10.0",
|
|
58
58
|
"typescript": "^5.9.3",
|
|
59
|
-
"@farming-labs/docs": "0.0.
|
|
59
|
+
"@farming-labs/docs": "0.0.63"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@farming-labs/docs": "*"
|