@theholocron/docs-theme 1.10.5-alpha.1 → 1.11.0-alpha.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/content.d.mts +1 -0
- package/dist/content.mjs +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/loader.d.mts +4 -0
- package/package.json +17 -17
package/dist/content.d.mts
CHANGED
package/dist/content.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import { docsLoader } from "@astrojs/starlight/loaders";
|
|
|
2
2
|
import { docsSchema } from "@astrojs/starlight/schema";
|
|
3
3
|
import { defineCollection } from "astro:content";
|
|
4
4
|
// src/content.ts
|
|
5
|
+
/** The `docs` content collection for `src/content.config.ts`: Starlight's docs loader and schema. Exported from `@theholocron/docs-theme/content`. */
|
|
5
6
|
function createDocsCollections() {
|
|
6
7
|
return { docs: defineCollection({
|
|
7
8
|
loader: docsLoader(),
|
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
2
|
// src/index.ts
|
|
3
3
|
const styles = fileURLToPath(new URL("./styles.css", import.meta.url));
|
|
4
|
+
/** A Starlight plugin that puts the theme's stylesheet ahead of the site's own custom CSS. */
|
|
4
5
|
function docsTheme() {
|
|
5
6
|
return {
|
|
6
7
|
name: "@theholocron/docs-theme",
|
package/dist/loader.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/docs-theme",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-alpha.3",
|
|
4
4
|
"description": "Starlight plugin providing the shared docs theme.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -49,21 +49,21 @@
|
|
|
49
49
|
"gray-matter": "^4.0.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@astrojs/starlight": "^0.
|
|
53
|
-
"@theholocron/eslint-config": "^8.8.2",
|
|
54
|
-
"@theholocron/tsdown-config": "^8.8.2",
|
|
55
|
-
"@theholocron/vitest-config": "^8.8.2",
|
|
52
|
+
"@astrojs/starlight": "^0.42.11",
|
|
56
53
|
"@tsconfig/node-lts": "^24.0.1",
|
|
57
54
|
"@types/node": "^26",
|
|
58
|
-
"@vitest/coverage-v8": "^5.0
|
|
59
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
60
|
-
"astro": "^7.
|
|
61
|
-
"eslint": "^10.
|
|
62
|
-
"eslint-plugin-n": "^18.
|
|
63
|
-
"globals": "^17.
|
|
64
|
-
"tsdown": "^0.23.
|
|
55
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
56
|
+
"@vitest/eslint-plugin": "^1.6.28",
|
|
57
|
+
"astro": "^7.4.7",
|
|
58
|
+
"eslint": "^10.14.0",
|
|
59
|
+
"eslint-plugin-n": "^18.5.0",
|
|
60
|
+
"globals": "^17.14.0",
|
|
61
|
+
"tsdown": "^0.23.7",
|
|
65
62
|
"typescript": "^5.9.3",
|
|
66
|
-
"vitest": "^5.0
|
|
63
|
+
"vitest": "^5.1.0",
|
|
64
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.20",
|
|
65
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.20",
|
|
66
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.20"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@astrojs/starlight": ">=0.30.0",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
|
-
"
|
|
80
|
-
"
|
|
79
|
+
"build": "tsdown && cp src/styles.css dist/",
|
|
80
|
+
"lint:code": "eslint .",
|
|
81
|
+
"test:unit": "vitest run --coverage",
|
|
81
82
|
"test:watch": "vitest",
|
|
82
|
-
"
|
|
83
|
-
"verification.unitTests": "vitest run"
|
|
83
|
+
"typecheck": "tsc --noEmit"
|
|
84
84
|
}
|
|
85
85
|
}
|