@theholocron/astro-config 7.23.2 → 7.24.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +10 -3
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import react from "@astrojs/react";
1
2
  import { defineConfig as defineConfig$1 } from "astro/config";
2
3
  //#region index.ts
3
4
  function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir, base }) {
@@ -16,7 +17,7 @@ function defineConfig({ docs, starlight, docsTheme, srcDir, outDir, publicDir, b
16
17
  href: `https://github.com/theholocron/${docs.github}`
17
18
  }],
18
19
  sidebar: docs.sidebar
19
- })]
20
+ }), react()]
20
21
  });
21
22
  }
22
23
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/astro-config",
3
- "version": "7.23.2",
3
+ "version": "7.24.1",
4
4
  "description": "Astro configuration factory for theholocron docs sites.",
5
5
  "keywords": [
6
6
  "astro",
@@ -30,18 +30,25 @@
30
30
  "files": [
31
31
  "dist/"
32
32
  ],
33
+ "dependencies": {
34
+ "@astrojs/react": "^4.0.0"
35
+ },
33
36
  "devDependencies": {
34
37
  "@astrojs/starlight": "^0.41.7",
35
38
  "@theholocron/docs-theme": "^1.3.5",
36
39
  "@vitest/coverage-v8": "^4.1.10",
37
40
  "astro": "^7.2.2",
41
+ "react": "^19.0.0",
42
+ "react-dom": "^19.0.0",
38
43
  "tsdown": "^0.22.14",
39
44
  "typescript": "^5.9.3",
40
45
  "vitest": "^4.1.10",
41
- "@theholocron/tsconfig": "7.23.2"
46
+ "@theholocron/tsconfig": "7.24.1"
42
47
  },
43
48
  "peerDependencies": {
44
- "astro": ">=5.0.0"
49
+ "astro": ">=5.0.0",
50
+ "react": ">=18.0.0",
51
+ "react-dom": ">=18.0.0"
45
52
  },
46
53
  "engines": {
47
54
  "node": ">=22.0.0"