@scalar/starlight 0.2.7 → 0.2.9

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/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "openapi",
19
19
  "swagger"
20
20
  ],
21
- "version": "0.2.7",
21
+ "version": "0.2.9",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -48,16 +48,16 @@
48
48
  "documentation": "https://scalar.com/products/api-references/integrations/starlight"
49
49
  },
50
50
  "dependencies": {
51
- "@scalar/astro": "0.4.22",
52
- "@scalar/client-side-rendering": "0.4.4"
51
+ "@scalar/astro": "0.4.24",
52
+ "@scalar/client-side-rendering": "0.4.6"
53
53
  },
54
54
  "devDependencies": {
55
- "@astrojs/starlight": "0.37.7",
56
- "astro": "5.18.1"
55
+ "@astrojs/starlight": "0.42.2",
56
+ "astro": "7.2.10"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@astrojs/starlight": ">=0.32.0",
60
- "astro": "^5.0.0 || ^6.0.0"
60
+ "astro": "^5.0.0 || ^6.0.0 || ^7.0.0"
61
61
  },
62
62
  "scripts": {
63
63
  "dev": "cd playground && pnpm dev",
@@ -37,10 +37,10 @@ const references = new Map<string, ScalarReference>()
37
37
  /**
38
38
  * The subset of a Vite plugin this integration uses.
39
39
  *
40
- * Astro bundles its own Vite (currently v6), while the workspace catalog pins a
41
- * newer Vite whose `Plugin` type is not structurally identical. Describing just
42
- * the hooks used here keeps the plugin assignable to whichever Vite Astro ships,
43
- * without importing (and thereby version-locking) Vite's `Plugin` type.
40
+ * The supported Astro majors bundle different Vite versions. Astro 7 uses
41
+ * Vite 8 like the workspace, but Astro 5 and 6 use older versions whose `Plugin`
42
+ * types differ. Describing just these hooks keeps the plugin compatible with
43
+ * every supported Astro version without importing a version-specific type.
44
44
  */
45
45
  type VirtualModulePlugin = {
46
46
  name: string