-
Notifications
You must be signed in to change notification settings - Fork 9
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
35 changed files
with
2,665 additions
and
2,342 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-typedoc': 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 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 |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
build | ||
coverage | ||
dist | ||
dist-multiple-entrypoints | ||
dist-ssr | ||
lerna-debug.log* | ||
logs | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ dist | |
dist-ssr | ||
out | ||
pnpm-lock.yaml | ||
src/content/docs/api* | ||
example/src/content/docs/api* |
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,13 @@ | ||
{ | ||
"eslint.useFlatConfig": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"html", | ||
"vue", | ||
"markdown", | ||
"astro" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -10,17 +10,16 @@ | |
"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.25.0", | ||
"@hideoo/starlight-plugins-docs-components": "^0.2.2", | ||
"astro": "4.16.10", | ||
"sharp": "0.32.6" | ||
"@astrojs/starlight": "^0.30.2", | ||
"@hideoo/starlight-plugins-docs-components": "^0.3.0", | ||
"astro": "^5.0.5", | ||
"sharp": "^0.33.5" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
@@ -36,7 +35,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-typedoc", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git" | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git", | ||
"directory": "docs" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-typedoc/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
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,3 @@ | ||
import hideoo from '@hideoo/eslint-config' | ||
|
||
export default hideoo() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,25 +11,31 @@ | |
"dev:multiple-entrypoints": "astro dev --config astro.multiple-entrypoints.config.ts", | ||
"dev:packages-entrypoints": "pnpm -C ../fixtures/packages run build && astro dev --config astro.packages-entrypoints.config.ts", | ||
"dev:multiple-plugins": "astro dev --config astro.multiple-plugins.config.ts", | ||
"start": "astro dev", | ||
"build": "astro build", | ||
"build:single-entrypoints": "astro build --config astro.config.ts", | ||
"build:multiple-entrypoints": "astro build --config astro.multiple-entrypoints.config.ts", | ||
"build:packages-entrypoints": "pnpm -C ../fixtures/packages run build && astro build --config astro.packages-entrypoints.config.ts", | ||
"build:multiple-plugins": "astro build --config astro.multiple-plugins.config.ts", | ||
"preview": "astro preview", | ||
"preview:single-entrypoints": "astro preview --config astro.config.ts", | ||
"preview:multiple-entrypoints": "astro preview --config astro.multiple-entrypoints.config.ts", | ||
"preview:packages-entrypoints": "astro preview --config astro.packages-entrypoints.config.ts", | ||
"preview:multiple-plugins": "astro preview --config astro.multiple-plugins.config.ts", | ||
"astro": "astro", | ||
"lint": "eslint . --cache --max-warnings=0", | ||
"format": "prettier -w --cache --ignore-unknown ." | ||
"lint": "eslint . --cache --max-warnings=0" | ||
}, | ||
"dependencies": { | ||
"@astrojs/starlight": "0.25.0", | ||
"astro": "4.16.10", | ||
"sharp": "0.32.6", | ||
"@astrojs/starlight": "^0.30.2", | ||
"astro": "^5.0.5", | ||
"sharp": "^0.33.5", | ||
"starlight-typedoc": "workspace:*", | ||
"typedoc": "0.26.5", | ||
"typedoc-plugin-frontmatter": "1.0.0", | ||
"typedoc-plugin-markdown": "4.1.1", | ||
"typedoc-plugin-mdn-links": "3.0.3" | ||
"typedoc": "^0.26.5", | ||
"typedoc-plugin-frontmatter": "^1.0.0", | ||
"typedoc-plugin-markdown": "^4.1.1", | ||
"typedoc-plugin-mdn-links": "^3.0.3" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
@@ -45,7 +51,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-typedoc", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git" | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git", | ||
"directory": "example" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-typedoc/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
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 |
---|---|---|
|
@@ -6,10 +6,10 @@ | |
"author": "HiDeoo <[email protected]> (https://hideoo.dev)", | ||
"type": "module", | ||
"dependencies": { | ||
"typescript": "5.1.6" | ||
"typescript": "^5.7.2" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
@@ -25,7 +25,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-typedoc", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git" | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git", | ||
"directory": "fixtures/basics" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-typedoc/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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json" | ||
"extends": "@hideoo/tsconfig" | ||
} |
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 |
---|---|---|
|
@@ -9,10 +9,10 @@ | |
"build": "tsc --build" | ||
}, | ||
"dependencies": { | ||
"typescript": "5.1.6" | ||
"typescript": "^5.7.2" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
|
@@ -28,7 +28,8 @@ | |
"homepage": "https://github.com/HiDeoo/starlight-typedoc", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git" | ||
"url": "https://github.com/HiDeoo/starlight-typedoc.git", | ||
"directory": "fixtures/packages" | ||
}, | ||
"bugs": "https://github.com/HiDeoo/starlight-typedoc/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 |
---|---|---|
|
@@ -7,28 +7,30 @@ | |
"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": "2.0.1", | ||
"@hideoo/prettier-config": "2.0.0", | ||
"@hideoo/tsconfig": "2.0.1", | ||
"eslint": "8.48.0", | ||
"prettier": "3.0.3", | ||
"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.5", | ||
"eslint": "^9.17.0", | ||
"prettier": "^3.4.2", | ||
"typescript": "^5.7.2" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.1" | ||
"node": ">=18.17.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"peerDependencyRules": { | ||
"allowedVersions": { | ||
"typescript": "5.1.6" | ||
"typescript": "5.7.2" | ||
} | ||
} | ||
}, | ||
|
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,5 +1,5 @@ | ||
.eslintcache | ||
eslint.config.mjs | ||
playwright.config.ts | ||
tests | ||
tsconfig.json | ||
vitest.config.ts |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import hideoo from '@hideoo/eslint-config' | ||
|
||
export default hideoo({ | ||
ignores: ['eslint.config.mjs'], | ||
languageOptions: { | ||
parserOptions: { | ||
project: ['../../tsconfig.json'], | ||
}, | ||
}, | ||
}) |
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.