@theholocron/astro-config 7.22.1 → 7.22.3
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/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ interface DocsConfigInput {
|
|
|
14
14
|
srcDir?: string;
|
|
15
15
|
outDir?: string;
|
|
16
16
|
publicDir?: string;
|
|
17
|
+
base?: string;
|
|
17
18
|
}
|
|
18
|
-
declare function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir }: DocsConfigInput): import("astro").AstroUserConfig<never, never, never>;
|
|
19
|
+
declare function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir, base }: DocsConfigInput): import("astro").AstroUserConfig<never, never, never>;
|
|
19
20
|
//#endregion
|
|
20
21
|
export { DocsConfig, DocsConfigInput, defineConfig };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineConfig as defineConfig$1 } from "astro/config";
|
|
2
2
|
//#region index.ts
|
|
3
|
-
function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir }) {
|
|
3
|
+
function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir, base }) {
|
|
4
4
|
return defineConfig$1({
|
|
5
|
+
base: base ?? `/${docs.github}`,
|
|
5
6
|
...srcDir && { srcDir },
|
|
6
7
|
...outDir && { outDir },
|
|
7
8
|
...publicDir && { publicDir },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/astro-config",
|
|
3
|
-
"version": "7.22.
|
|
3
|
+
"version": "7.22.3",
|
|
4
4
|
"description": "Astro configuration factory for theholocron docs sites.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"tsdown": "^0.22.14",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^4.1.10",
|
|
41
|
-
"@theholocron/tsconfig": "7.22.
|
|
41
|
+
"@theholocron/tsconfig": "7.22.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"astro": ">=5.0.0"
|