-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
2,740 additions
and
2,481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'starlight-openapi': minor | ||
--- | ||
|
||
Adds support for Astro v5, drops support for Astro v4. | ||
|
||
⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now `0.30.0`. | ||
|
||
Please follow the [upgrade guide](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.30.0) to update your project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.14.1 | ||
v18.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,18 +11,17 @@ | |
"build": "astro build", | ||
"preview": "astro preview", | ||
"astro": "astro", | ||
"lint": "eslint . --cache --max-warnings=0", | ||
"format": "prettier -w --cache --ignore-unknown ." | ||
"lint": "eslint . --cache --max-warnings=0" | ||
}, | ||
"dependencies": { | ||
"@astrojs/starlight": "0.26.0", | ||
"@hideoo/starlight-plugins-docs-components": "^0.2.2", | ||
"astro": "4.11.1", | ||
"sharp": "0.32.6", | ||
"@astrojs/starlight": "^0.30.2", | ||
"@hideoo/starlight-plugins-docs-components": "^0.3.0", | ||
"astro": "^5.0.9", | ||
"sharp": "^0.33.5", | ||
"starlight-openapi": "workspace:*" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
@@ -38,7 +37,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-openapi", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-openapi.git" | ||
"url": "https://github.com/HiDeoo/starlight-openapi.git", | ||
"directory": "docs" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-openapi/issues" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { docsLoader } from '@astrojs/starlight/loaders' | ||
import { docsSchema } from '@astrojs/starlight/schema' | ||
import { defineCollection } from 'astro:content' | ||
|
||
export const collections = { | ||
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,25 @@ | |
"type": "module", | ||
"scripts": { | ||
"test": "pnpm --stream -r test", | ||
"lint": "pnpm -r lint", | ||
"format": "pnpm -r format", | ||
"lint": "astro check --noSync && pnpm -r lint", | ||
"format": "prettier -w --cache --ignore-unknown .", | ||
"version": "pnpm changeset version && pnpm i --no-frozen-lockfile" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "0.5.0", | ||
"@changesets/cli": "2.27.10", | ||
"@hideoo/eslint-config": "3.0.0", | ||
"@hideoo/prettier-config": "2.0.0", | ||
"@hideoo/tsconfig": "2.0.1", | ||
"astro": "4.11.1", | ||
"eslint": "8.56.0", | ||
"prettier": "3.0.3", | ||
"prettier-plugin-astro": "0.12.0", | ||
"typescript": "5.1.6" | ||
"@astrojs/check": "^0.9.4", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "^2.27.10", | ||
"@hideoo/eslint-config": "^4.0.0", | ||
"@hideoo/prettier-config": "^2.0.0", | ||
"@hideoo/tsconfig": "^2.0.1", | ||
"astro": "^5.0.9", | ||
"eslint": "^9.17.0", | ||
"prettier": "^3.4.2", | ||
"prettier-plugin-astro": "^0.14.1", | ||
"typescript": "^5.7.2" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,27 +12,23 @@ | |
}, | ||
"scripts": { | ||
"test": "playwright install --with-deps chromium && playwright test", | ||
"lint": "eslint . --cache --max-warnings=0", | ||
"format": "prettier -w --cache --ignore-unknown ." | ||
"lint": "eslint . --cache --max-warnings=0" | ||
}, | ||
"dependencies": { | ||
"@readme/openapi-parser": "2.5.0", | ||
"github-slugger": "2.0.0" | ||
"@readme/openapi-parser": "^2.5.0", | ||
"github-slugger": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@astrojs/starlight": "0.26.0", | ||
"@playwright/test": "1.36.2", | ||
"@types/node": "18.17.3", | ||
"astro": "4.11.1", | ||
"openapi-types": "12.1.3" | ||
"@playwright/test": "^1.49.1", | ||
"@types/node": "^18.19.68", | ||
"openapi-types": "^12.1.3" | ||
}, | ||
"peerDependencies": { | ||
"@astrojs/markdown-remark": ">=4.2.0", | ||
"@astrojs/starlight": ">=0.26.0", | ||
"astro": ">=4.8.6" | ||
"@astrojs/markdown-remark": ">=6.0.0", | ||
"@astrojs/starlight": ">=0.30.0" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"publishConfig": { | ||
|
@@ -51,7 +47,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-openapi", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-openapi.git" | ||
"url": "https://github.com/HiDeoo/starlight-openapi.git", | ||
"directory": "packages/starlight-openapi" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-openapi/issues" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.