@astrojs/starlight 0.5.3 → 0.5.5
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/CHANGELOG.md +12 -0
- package/components/Footer.astro +1 -1
- package/package.json +5 -4
- package/utils/head.ts +1 -1
- package/utils/navigation.ts +1 -1
- package/utils/routing.ts +2 -2
- package/utils/translations.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @astrojs/starlight
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a161c05`](https://github.com/withastro/starlight/commit/a161c05b74d2300c1fe49bfd8e111cc45c9a5bff) Thanks [@delucis](https://github.com/delucis)! - Fix missing metadata required for `astro add` support
|
|
8
|
+
|
|
9
|
+
## 0.5.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#360](https://github.com/withastro/starlight/pull/360) [`8415df6`](https://github.com/withastro/starlight/commit/8415df63e502d517b68d7665d9257726e3dde246) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fix build warnings when using the TypeScript [`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax) compiler option
|
|
14
|
+
|
|
3
15
|
## 0.5.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/components/Footer.astro
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
import config from 'virtual:starlight/user-config';
|
|
3
|
-
import { SidebarEntry, getPrevNextLinks } from '../utils/navigation';
|
|
3
|
+
import { type SidebarEntry, getPrevNextLinks } from '../utils/navigation';
|
|
4
4
|
import type { StarlightDocsEntry } from '../utils/routing';
|
|
5
5
|
import type { LocaleData } from '../utils/slugs';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/starlight",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Build beautiful, high-performance documentation websites with Astro",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
7
7
|
"documentation",
|
|
8
8
|
"astro",
|
|
9
|
-
"withastro"
|
|
9
|
+
"withastro",
|
|
10
|
+
"astro-integration"
|
|
10
11
|
],
|
|
11
12
|
"author": "Chris Swithinbank <swithinbank@gmail.com>",
|
|
12
13
|
"license": "MIT",
|
|
@@ -30,8 +31,8 @@
|
|
|
30
31
|
"astro": "^2.5.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@types/node": "^18.
|
|
34
|
-
"astro": "2.
|
|
34
|
+
"@types/node": "^18.16.19",
|
|
35
|
+
"astro": "^2.8.5"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"@astrojs/mdx": "^0.19.7",
|
package/utils/head.ts
CHANGED
package/utils/navigation.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { basename, dirname } from 'node:path';
|
|
|
2
2
|
import config from 'virtual:starlight/user-config';
|
|
3
3
|
import { pathWithBase } from './base';
|
|
4
4
|
import { pickLang } from './i18n';
|
|
5
|
-
import { Route, getLocaleRoutes, routes } from './routing';
|
|
5
|
+
import { type Route, getLocaleRoutes, routes } from './routing';
|
|
6
6
|
import { localeToLang, slugToPathname } from './slugs';
|
|
7
7
|
import type {
|
|
8
8
|
AutoSidebarGroup,
|
package/utils/routing.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { GetStaticPathsItem } from 'astro';
|
|
2
|
-
import { CollectionEntry, getCollection } from 'astro:content';
|
|
2
|
+
import { type CollectionEntry, getCollection } from 'astro:content';
|
|
3
3
|
import config from 'virtual:starlight/user-config';
|
|
4
4
|
import {
|
|
5
|
-
LocaleData,
|
|
5
|
+
type LocaleData,
|
|
6
6
|
localizedId,
|
|
7
7
|
localizedSlug,
|
|
8
8
|
slugToLocaleData,
|
package/utils/translations.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionEntry, getCollection } from 'astro:content';
|
|
1
|
+
import { type CollectionEntry, getCollection } from 'astro:content';
|
|
2
2
|
import config from 'virtual:starlight/user-config';
|
|
3
3
|
import builtinTranslations from '../translations';
|
|
4
4
|
import { localeToLang } from './slugs';
|