mirror of
https://github.com/SrIzan10/starlight-typedoc.git
synced 2026-05-01 11:05:15 +00:00
docs: add documentation website
This commit is contained in:
13
docs/.prettierignore
Normal file
13
docs/.prettierignore
Normal file
@@ -0,0 +1,13 @@
|
||||
.astro
|
||||
.github/blocks
|
||||
.next
|
||||
.vercel
|
||||
.vscode-test
|
||||
.vscode-test-web
|
||||
build
|
||||
coverage
|
||||
dist
|
||||
dist-ssr
|
||||
out
|
||||
pnpm-lock.yaml
|
||||
src/content/docs/api*
|
||||
28
docs/README.md
Normal file
28
docs/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
<div align="center">
|
||||
<h1>starlight-typedoc 📚</h1>
|
||||
<p>Starlight plugin to generate documentation from TypeScript using TypeDoc.</p>
|
||||
</div>
|
||||
|
||||
<div align="center">
|
||||
<a href="https://github.com/HiDeoo/starlight-typedoc/actions/workflows/integration.yml">
|
||||
<img alt="Integration Status" src="https://github.com/HiDeoo/starlight-typedoc/actions/workflows/integration.yml/badge.svg" />
|
||||
</a>
|
||||
<a href="https://github.com/HiDeoo/starlight-typedoc/blob/main/LICENSE">
|
||||
<img alt="License" src="https://badgen.net/github/license/HiDeoo/starlight-typedoc" />
|
||||
</a>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
## Docs
|
||||
|
||||
Run the docs locally using your favorite package manager, e.g. with [pnpm](https://pnpm.io):
|
||||
|
||||
```shell
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT License, Copyright © HiDeoo.
|
||||
|
||||
See [LICENSE](https://github.com/HiDeoo/starlight-typedoc/blob/main/LICENSE) for more information.
|
||||
21
docs/astro.config.ts
Normal file
21
docs/astro.config.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import starlight from '@astrojs/starlight'
|
||||
import { defineConfig } from 'astro/config'
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [
|
||||
starlight({
|
||||
customCss: ['./src/styles/custom.css'],
|
||||
editLink: {
|
||||
baseUrl: 'https://github.com/HiDeoo/starlight-typedoc/edit/main/docs/',
|
||||
},
|
||||
sidebar: [
|
||||
{ label: 'Getting Started', link: '/getting-started/' },
|
||||
{ label: 'Configuration', link: '/configuration/' },
|
||||
],
|
||||
social: {
|
||||
github: 'https://github.com/HiDeoo/starlight-typedoc',
|
||||
},
|
||||
title: 'Starlight TypeDoc',
|
||||
}),
|
||||
],
|
||||
})
|
||||
39
docs/package.json
Normal file
39
docs/package.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "starlight-typedoc-docs",
|
||||
"version": "0.6.0",
|
||||
"license": "MIT",
|
||||
"description": "Starlight plugin to generate documentation from TypeScript using TypeDoc.",
|
||||
"author": "HiDeoo <github@hideoo.dev> (https://hideoo.dev)",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"lint": "prettier -c --cache . && eslint . --cache --max-warnings=0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/starlight": "0.15.1",
|
||||
"astro": "4.0.6",
|
||||
"sharp": "0.33.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.14.1"
|
||||
},
|
||||
"packageManager": "pnpm@8.6.3",
|
||||
"private": true,
|
||||
"sideEffects": false,
|
||||
"keywords": [
|
||||
"starlight",
|
||||
"typedoc",
|
||||
"typescript",
|
||||
"documentation",
|
||||
"astro"
|
||||
],
|
||||
"homepage": "https://github.com/HiDeoo/starlight-typedoc",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/HiDeoo/starlight-typedoc.git"
|
||||
},
|
||||
"bugs": "https://github.com/HiDeoo/starlight-typedoc/issues"
|
||||
}
|
||||
1
docs/public/favicon.svg
Normal file
1
docs/public/favicon.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="0.9em" font-size="90">📚</text></svg>
|
||||
|
After Width: | Height: | Size: 111 B |
BIN
docs/src/assets/deprecated.png
Normal file
BIN
docs/src/assets/deprecated.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
7
docs/src/content/config.ts
Normal file
7
docs/src/content/config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'
|
||||
import { defineCollection } from 'astro:content'
|
||||
|
||||
export const collections = {
|
||||
docs: defineCollection({ schema: docsSchema() }),
|
||||
i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
|
||||
}
|
||||
86
docs/src/content/docs/configuration.md
Normal file
86
docs/src/content/docs/configuration.md
Normal file
@@ -0,0 +1,86 @@
|
||||
---
|
||||
title: Configuration
|
||||
---
|
||||
|
||||
The Starlight TypeDoc plugin can be configured inside the `astro.config.mjs` configuration file of your project:
|
||||
|
||||
```js {11}
|
||||
// astro.config.mjs
|
||||
import starlight from '@astrojs/starlight'
|
||||
import { defineConfig } from 'astro/config'
|
||||
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [
|
||||
starlight({
|
||||
plugins: [
|
||||
starlightTypeDoc({
|
||||
// Configuration options go here.
|
||||
}),
|
||||
],
|
||||
title: 'My Docs',
|
||||
}),
|
||||
],
|
||||
})
|
||||
```
|
||||
|
||||
## Configuration options
|
||||
|
||||
You can pass the following options to the Starlight TypeDoc plugin.
|
||||
|
||||
### `entryPoints` (required)
|
||||
|
||||
**Type:** `string[]`
|
||||
|
||||
The path(s) to the entry point(s) to document.
|
||||
|
||||
### `tsconfig` (required)
|
||||
|
||||
**Type:** `string`
|
||||
|
||||
The path to the `tsconfig.json` file to use for the documentation generation.
|
||||
|
||||
### `output`
|
||||
|
||||
**Type:** `string`
|
||||
**Default:** `'api'`
|
||||
|
||||
The output directory containing the generated documentation markdown files relative to the `src/content/docs/` directory.
|
||||
|
||||
### `sidebar`
|
||||
|
||||
**Type:** [`StarlightTypeDocSidebarOptions`](#sidebar-configuration)
|
||||
|
||||
The generated documentation [sidebar configuration](#sidebar-configuration).
|
||||
|
||||
### `typeDoc`
|
||||
|
||||
**Type:** `TypeDocConfig`
|
||||
|
||||
Additional [TypeDoc](https://typedoc.org/options) or [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/next/packages/typedoc-plugin-markdown/docs/usage/options.md) configuration to override the [default settings](https://github.com/HiDeoo/starlight-typedoc/blob/main/packages/starlight-typedoc/libs/typedoc.ts#L20-L27) used by the plugin.
|
||||
|
||||
### `watch`
|
||||
|
||||
**Type:** `boolean`
|
||||
**Default:** `false`
|
||||
|
||||
Whether to watch the entry point(s) for changes and regenerate the documentation when needed.
|
||||
|
||||
## Sidebar configuration
|
||||
|
||||
The sidebar configuration is an object with the following properties:
|
||||
|
||||
### `collapsed`
|
||||
|
||||
**Type:** `boolean`
|
||||
**Default:** `false`
|
||||
|
||||
Wheter the generated documentation sidebar group should be collapsed by default.
|
||||
Note that nested sidebar groups are always collapsed.
|
||||
|
||||
### `label`
|
||||
|
||||
**Type:** `string`
|
||||
**Default:** `'API'`
|
||||
|
||||
The generated documentation sidebar group label.
|
||||
95
docs/src/content/docs/getting-started.mdx
Normal file
95
docs/src/content/docs/getting-started.mdx
Normal file
@@ -0,0 +1,95 @@
|
||||
---
|
||||
title: Getting Started
|
||||
---
|
||||
|
||||
import { Tabs, TabItem } from '@astrojs/starlight/components'
|
||||
|
||||
A [Starlight](https://starlight.astro.build) plugin using [TypeDoc](https://typedoc.org) and [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown) to generate documentation from TypeScript code.
|
||||
|
||||
Check out the [example](https://starlight-typedoc-example.vercel.app) for a preview of the generated documentation.
|
||||
|
||||
Some [TSDoc](https://tsdoc.org) tags uses a custom Markdown syntax, e.g. the `@deprecated`, `@alpha`, `@beta` and `@experimental` tags using Starlight [asides](https://starlight.astro.build/guides/authoring-content/#asides):
|
||||
|
||||

|
||||
|
||||
## Install the plugin
|
||||
|
||||
Starlight TypeDoc is a Starlight [plugin](https://starlight.astro.build/reference/plugins/). Install it and its peer dependencies using your favorite package manager:
|
||||
|
||||
<Tabs>
|
||||
<TabItem label="npm">
|
||||
|
||||
```sh
|
||||
npm install starlight-typedoc typedoc typedoc-plugin-markdown@next
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem label="pnpm">
|
||||
|
||||
```sh
|
||||
pnpm add starlight-typedoc typedoc typedoc-plugin-markdown@next
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem label="Yarn">
|
||||
|
||||
```sh
|
||||
yarn add starlight-typedoc typedoc typedoc-plugin-markdown@next
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem label="Bun">
|
||||
|
||||
```sh
|
||||
bun add starlight-typedoc typedoc typedoc-plugin-markdown@next
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem label="ni">
|
||||
|
||||
```sh
|
||||
ni starlight-typedoc typedoc typedoc-plugin-markdown@next
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
:::note
|
||||
The Starlight TypeDoc package requires at least the version `4.0.0-next.21` of `typedoc-plugin-markdown`, hence the `@next` tag in the installation command.
|
||||
:::
|
||||
|
||||
## Add the plugin
|
||||
|
||||
The Starlight TypeDoc plugin can be added to your Starlight [configuration](https://starlight.astro.build/reference/configuration/#plugins) in the `astro.config.mjs` file:
|
||||
|
||||
```diff lang="js"
|
||||
// astro.config.mjs
|
||||
import starlight from '@astrojs/starlight'
|
||||
import { defineConfig } from 'astro/config'
|
||||
+import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [
|
||||
starlight({
|
||||
+ plugins: [
|
||||
+ // Generate the documentation.
|
||||
+ starlightTypeDoc({
|
||||
+ entryPoints: ['../path/to/entry-point.ts'],
|
||||
+ tsconfig: '../path/to/tsconfig.json',
|
||||
+ }),
|
||||
+ ],
|
||||
sidebar: [
|
||||
{
|
||||
label: 'Guides',
|
||||
items: [{ label: 'Example Guide', link: '/guides/example/' }],
|
||||
},
|
||||
+ // Add the generated sidebar group to the sidebar.
|
||||
+ typeDocSidebarGroup,
|
||||
],
|
||||
title: 'My Docs',
|
||||
}),
|
||||
],
|
||||
})
|
||||
```
|
||||
|
||||
The Starlight TypeDoc plugin behavior can be tweaked using various [configuration options](/configuration).
|
||||
35
docs/src/content/docs/index.mdx
Normal file
35
docs/src/content/docs/index.mdx
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: Starlight TypeDoc
|
||||
description: Starlight plugin to generate documentation from TypeScript using TypeDoc.
|
||||
head:
|
||||
- tag: title
|
||||
content: Starlight TypeDoc
|
||||
template: splash
|
||||
editUrl: false
|
||||
lastUpdated: false
|
||||
hero:
|
||||
tagline: Starlight plugin to generate documentation from TypeScript using TypeDoc.
|
||||
image:
|
||||
html: '📚'
|
||||
actions:
|
||||
- text: Getting Started
|
||||
link: /getting-started/
|
||||
icon: rocket
|
||||
variant: primary
|
||||
- text: Example
|
||||
link: https://starlight-typedoc-example.vercel.app/api/functions/dothingc/
|
||||
icon: external
|
||||
---
|
||||
|
||||
import { Card, CardGrid } from '@astrojs/starlight/components'
|
||||
|
||||
## Next steps
|
||||
|
||||
<CardGrid stagger>
|
||||
<Card title="Configure the plugin" icon="setting">
|
||||
Edit your config in `astro.config.mjs`.
|
||||
</Card>
|
||||
<Card title="Read the docs" icon="open-book">
|
||||
Learn more in [the Starlight TypeDoc Docs](/getting-started/).
|
||||
</Card>
|
||||
</CardGrid>
|
||||
2
docs/src/env.d.ts
vendored
Normal file
2
docs/src/env.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
7
docs/src/styles/custom.css
Normal file
7
docs/src/styles/custom.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.hero-html {
|
||||
--size: 10rem;
|
||||
|
||||
font-size: var(--size);
|
||||
justify-content: center;
|
||||
line-height: var(--size);
|
||||
}
|
||||
3
docs/tsconfig.json
Normal file
3
docs/tsconfig.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "../tsconfig.json"
|
||||
}
|
||||
251
pnpm-lock.yaml
generated
251
pnpm-lock.yaml
generated
@@ -1,4 +1,4 @@
|
||||
lockfileVersion: '6.1'
|
||||
lockfileVersion: '6.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
@@ -33,6 +33,18 @@ importers:
|
||||
specifier: 5.1.6
|
||||
version: 5.1.6
|
||||
|
||||
docs:
|
||||
dependencies:
|
||||
'@astrojs/starlight':
|
||||
specifier: 0.15.1
|
||||
version: 0.15.1(astro@4.0.6)
|
||||
astro:
|
||||
specifier: 4.0.6
|
||||
version: 4.0.6(@types/node@18.16.16)(typescript@5.1.6)
|
||||
sharp:
|
||||
specifier: 0.33.1
|
||||
version: 0.33.1
|
||||
|
||||
example:
|
||||
dependencies:
|
||||
'@astrojs/starlight':
|
||||
@@ -487,6 +499,14 @@ packages:
|
||||
resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
/@emnapi/runtime@0.44.0:
|
||||
resolution: {integrity: sha512-ZX/etZEZw8DR7zAB1eVQT40lNo0jeqpb6dCgOvctB6FIQ5PoXfMuNY8+ayQfu8tNQbAB8gQWSSJupR8NxeiZXw==}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
tslib: 2.6.2
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/aix-ppc64@0.19.10:
|
||||
resolution: {integrity: sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==}
|
||||
engines: {node: '>=12'}
|
||||
@@ -849,6 +869,194 @@ packages:
|
||||
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
|
||||
dev: true
|
||||
|
||||
/@img/sharp-darwin-arm64@0.33.1:
|
||||
resolution: {integrity: sha512-esr2BZ1x0bo+wl7Gx2hjssYhjrhUsD88VQulI0FrG8/otRQUOxLWHMBd1Y1qo2Gfg2KUvXNpT0ASnV9BzJCexw==}
|
||||
engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-darwin-arm64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-darwin-x64@0.33.1:
|
||||
resolution: {integrity: sha512-YrnuB3bXuWdG+hJlXtq7C73lF8ampkhU3tMxg5Hh+E7ikxbUVOU9nlNtVTloDXz6pRHt2y2oKJq7DY/yt+UXYw==}
|
||||
engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-darwin-x64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-darwin-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-VzYd6OwnUR81sInf3alj1wiokY50DjsHz5bvfnsFpxs5tqQxESoHtJO6xyksDs3RIkyhMWq2FufXo6GNSU9BMw==}
|
||||
engines: {macos: '>=11', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-darwin-x64@1.0.0:
|
||||
resolution: {integrity: sha512-dD9OznTlHD6aovRswaPNEy8dKtSAmNo4++tO7uuR4o5VxbVAOoEQ1uSmN4iFAdQneTHws1lkTZeiXPrcCkh6IA==}
|
||||
engines: {macos: '>=10.13', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linux-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-xTYThiqEZEZc0PRU90yVtM3KE7lw1bKdnDQ9kCTHWbqWyHOe4NpPOtMGy27YnN51q0J5dqRrvicfPbALIOeAZA==}
|
||||
engines: {glibc: '>=2.26', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linux-arm@1.0.0:
|
||||
resolution: {integrity: sha512-VwgD2eEikDJUk09Mn9Dzi1OW2OJFRQK+XlBTkUNmAWPrtj8Ly0yq05DFgu1VCMx2/DqCGQVi5A1dM9hTmxf3uw==}
|
||||
engines: {glibc: '>=2.28', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linux-s390x@1.0.0:
|
||||
resolution: {integrity: sha512-o9E46WWBC6JsBlwU4QyU9578G77HBDT1NInd+aERfxeOPbk0qBZHgoDsQmA2v9TbqJRWzoBPx1aLOhprBMgPjw==}
|
||||
engines: {glibc: '>=2.28', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linux-x64@1.0.0:
|
||||
resolution: {integrity: sha512-naldaJy4hSVhWBgEjfdBY85CAa4UO+W1nx6a1sWStHZ7EUfNiuBTTN2KUYT5dH1+p/xij1t2QSXfCiFJoC5S/Q==}
|
||||
engines: {glibc: '>=2.26', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linuxmusl-arm64@1.0.0:
|
||||
resolution: {integrity: sha512-OdorplCyvmSAPsoJLldtLh3nLxRrkAAAOHsGWGDYfN0kh730gifK+UZb3dWORRa6EusNqCTjfXV4GxvgJ/nPDQ==}
|
||||
engines: {musl: '>=1.2.2', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-libvips-linuxmusl-x64@1.0.0:
|
||||
resolution: {integrity: sha512-FW8iK6rJrg+X2jKD0Ajhjv6y74lToIBEvkZhl42nZt563FfxkCYacrXZtd+q/sRQDypQLzY5WdLkVTbJoPyqNg==}
|
||||
engines: {musl: '>=1.2.2', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linux-arm64@0.33.1:
|
||||
resolution: {integrity: sha512-59B5GRO2d5N3tIfeGHAbJps7cLpuWEQv/8ySd9109ohQ3kzyCACENkFVAnGPX00HwPTQcaBNF7HQYEfZyZUFfw==}
|
||||
engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-arm64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linux-arm@0.33.1:
|
||||
resolution: {integrity: sha512-Ii4X1vnzzI4j0+cucsrYA5ctrzU9ciXERfJR633S2r39CiD8npqH2GMj63uFZRCFt3E687IenAdbwIpQOJ5BNA==}
|
||||
engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-arm': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linux-s390x@0.33.1:
|
||||
resolution: {integrity: sha512-tRGrb2pHnFUXpOAj84orYNxHADBDIr0J7rrjwQrTNMQMWA4zy3StKmMvwsI7u3dEZcgwuMMooIIGWEWOjnmG8A==}
|
||||
engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-s390x': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linux-x64@0.33.1:
|
||||
resolution: {integrity: sha512-4y8osC0cAc1TRpy02yn5omBeloZZwS62fPZ0WUAYQiLhSFSpWJfY/gMrzKzLcHB9ulUV6ExFiu2elMaixKDbeg==}
|
||||
engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linux-x64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linuxmusl-arm64@0.33.1:
|
||||
resolution: {integrity: sha512-D3lV6clkqIKUizNS8K6pkuCKNGmWoKlBGh5p0sLO2jQERzbakhu4bVX1Gz+RS4vTZBprKlWaf+/Rdp3ni2jLfA==}
|
||||
engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-linuxmusl-x64@0.33.1:
|
||||
resolution: {integrity: sha512-LOGKNu5w8uu1evVqUAUKTix2sQu1XDRIYbsi5Q0c/SrXhvJ4QyOx+GaajxmOg5PZSsSnCYPSmhjHHsRBx06/wQ==}
|
||||
engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.0.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-wasm32@0.33.1:
|
||||
resolution: {integrity: sha512-vWI/sA+0p+92DLkpAMb5T6I8dg4z2vzCUnp8yvxHlwBpzN8CIcO3xlSXrLltSvK6iMsVMNswAv+ub77rsf25lA==}
|
||||
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [wasm32]
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
'@emnapi/runtime': 0.44.0
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-win32-ia32@0.33.1:
|
||||
resolution: {integrity: sha512-/xhYkylsKL05R+NXGJc9xr2Tuw6WIVl2lubFJaFYfW4/MQ4J+dgjIo/T4qjNRizrqs/szF/lC9a5+updmY9jaQ==}
|
||||
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@img/sharp-win32-x64@0.33.1:
|
||||
resolution: {integrity: sha512-XaM69X0n6kTEsp9tVYYLhXdg7Qj32vYJlAKRutxUsm1UlgQNx6BOhHwZPwukCGXBU2+tH87ip2eV1I/E8MQnZg==}
|
||||
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@jest/schemas@29.6.3:
|
||||
resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==}
|
||||
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
||||
@@ -1612,6 +1820,7 @@ packages:
|
||||
/astro@4.0.6(@types/node@18.16.16)(typescript@5.1.6):
|
||||
resolution: {integrity: sha512-P7CfFqWKzkJozzF6IoOC6qoI2ONndV8P3ULhGDgMiXPL7xVkWI5haTBSpyrcjBx643tVXspIRsSV/v+Cx+CjGw==}
|
||||
engines: {node: '>=18.14.1', npm: '>=6.14.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@astrojs/compiler': 2.3.4
|
||||
'@astrojs/internal-helpers': 0.2.1
|
||||
@@ -1649,7 +1858,7 @@ packages:
|
||||
http-cache-semantics: 4.1.1
|
||||
js-yaml: 4.1.0
|
||||
kleur: 4.1.5
|
||||
magic-string: 0.30.3
|
||||
magic-string: 0.30.5
|
||||
mdast-util-to-hast: 13.0.2
|
||||
mime: 3.0.0
|
||||
ora: 7.0.1
|
||||
@@ -3951,18 +4160,11 @@ packages:
|
||||
resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==}
|
||||
dev: false
|
||||
|
||||
/magic-string@0.30.3:
|
||||
resolution: {integrity: sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
'@jridgewell/sourcemap-codec': 1.4.15
|
||||
|
||||
/magic-string@0.30.5:
|
||||
resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
'@jridgewell/sourcemap-codec': 1.4.15
|
||||
dev: true
|
||||
|
||||
/markdown-extensions@2.0.0:
|
||||
resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==}
|
||||
@@ -5419,6 +5621,36 @@ packages:
|
||||
tar-fs: 3.0.4
|
||||
tunnel-agent: 0.6.0
|
||||
|
||||
/sharp@0.33.1:
|
||||
resolution: {integrity: sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==}
|
||||
engines: {libvips: '>=8.15.0', node: ^18.17.0 || ^20.3.0 || >=21.0.0}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
color: 4.2.3
|
||||
detect-libc: 2.0.2
|
||||
semver: 7.5.4
|
||||
optionalDependencies:
|
||||
'@img/sharp-darwin-arm64': 0.33.1
|
||||
'@img/sharp-darwin-x64': 0.33.1
|
||||
'@img/sharp-libvips-darwin-arm64': 1.0.0
|
||||
'@img/sharp-libvips-darwin-x64': 1.0.0
|
||||
'@img/sharp-libvips-linux-arm': 1.0.0
|
||||
'@img/sharp-libvips-linux-arm64': 1.0.0
|
||||
'@img/sharp-libvips-linux-s390x': 1.0.0
|
||||
'@img/sharp-libvips-linux-x64': 1.0.0
|
||||
'@img/sharp-libvips-linuxmusl-arm64': 1.0.0
|
||||
'@img/sharp-libvips-linuxmusl-x64': 1.0.0
|
||||
'@img/sharp-linux-arm': 0.33.1
|
||||
'@img/sharp-linux-arm64': 0.33.1
|
||||
'@img/sharp-linux-s390x': 0.33.1
|
||||
'@img/sharp-linux-x64': 0.33.1
|
||||
'@img/sharp-linuxmusl-arm64': 0.33.1
|
||||
'@img/sharp-linuxmusl-x64': 0.33.1
|
||||
'@img/sharp-wasm32': 0.33.1
|
||||
'@img/sharp-win32-ia32': 0.33.1
|
||||
'@img/sharp-win32-x64': 0.33.1
|
||||
dev: false
|
||||
|
||||
/shebang-command@2.0.0:
|
||||
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
|
||||
engines: {node: '>=8'}
|
||||
@@ -5850,7 +6082,6 @@ packages:
|
||||
|
||||
/tslib@2.6.2:
|
||||
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
|
||||
dev: true
|
||||
|
||||
/tunnel-agent@0.6.0:
|
||||
resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
packages:
|
||||
- 'docs/'
|
||||
- 'example/'
|
||||
- 'fixtures/'
|
||||
- 'packages/*'
|
||||
|
||||
Reference in New Issue
Block a user