mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Chore: Update dependencies
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
"create-fumadocs-app": patch
|
||||
"fumadocs-typescript": patch
|
||||
"fumadocs-twoslash": patch
|
||||
"fumadocs-docgen": patch
|
||||
"fumadocs-openapi": patch
|
||||
"fumadocs-core": patch
|
||||
"fumadocs-mdx": patch
|
||||
"fumadocs-ui": patch
|
||||
---
|
||||
|
||||
Bump deps
|
||||
@@ -25,23 +25,23 @@
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"geist": "^1.3.0",
|
||||
"katex": "^0.16.10",
|
||||
"lucide-react": "^0.376.0",
|
||||
"lucide-react": "^0.378.0",
|
||||
"next": "^14.2.3",
|
||||
"phenomenon": "^1.6.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"rehype-katex": "^7.0.0",
|
||||
"remark-math": "^6.0.0",
|
||||
"shiki": "^1.3.0",
|
||||
"shiki": "^1.5.2",
|
||||
"tailwind-merge": "^2.3.0",
|
||||
"zod": "^3.23.4"
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "^14.2.3",
|
||||
"@next/eslint-plugin-next": "^14.2.3",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "18.17.5",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
@@ -52,7 +52,7 @@
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsx": "^4.7.3",
|
||||
"tsx": "^4.10.3",
|
||||
"typescript": "^5.4.5",
|
||||
"webpack": "^5.90.3"
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"react-dom": "18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"autoprefixer": "10.4.19",
|
||||
"postcss": "8.4.38",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"typescript": "^5.4.5"
|
||||
}
|
||||
|
||||
+4
-4
@@ -19,18 +19,18 @@
|
||||
"prettier": "@vercel/style-guide/prettier",
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.27.1",
|
||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||
"@typescript-eslint/parser": "^7.7.1",
|
||||
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
||||
"@typescript-eslint/parser": "^7.9.0",
|
||||
"@vercel/style-guide": "^6.0.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-tailwindcss": "^3.15.1",
|
||||
"prettier": "^3.2.5",
|
||||
"rimraf": "^5.0.5",
|
||||
"rimraf": "^5.0.7",
|
||||
"tsup": "8.0.2",
|
||||
"turbo": "1.13.3",
|
||||
"typescript": "^5.4.5",
|
||||
"vitest": "^1.5.2"
|
||||
"vitest": "^1.6.0"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
|
||||
@@ -120,19 +120,19 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@formatjs/intl-localematcher": "^0.5.4",
|
||||
"@shikijs/rehype": "^1.3.0",
|
||||
"@shikijs/transformers": "^1.3.0",
|
||||
"@shikijs/rehype": "^1.5.2",
|
||||
"@shikijs/transformers": "^1.5.2",
|
||||
"flexsearch": "0.7.21",
|
||||
"github-slugger": "^2.0.0",
|
||||
"hast-util-to-estree": "^3.1.0",
|
||||
"negotiator": "^0.6.3",
|
||||
"npm-to-yarn": "^2.2.1",
|
||||
"react-remove-scroll": "^2.5.9",
|
||||
"react-remove-scroll": "^2.5.10",
|
||||
"remark": "^15.0.0",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"remark-mdx": "^3.0.1",
|
||||
"scroll-into-view-if-needed": "^3.1.0",
|
||||
"shiki": "^1.3.0",
|
||||
"shiki": "^1.5.2",
|
||||
"swr": "^2.2.5",
|
||||
"unist-util-visit": "^5.0.0"
|
||||
},
|
||||
@@ -142,10 +142,10 @@
|
||||
"@types/estree-jsx": "^1.0.5",
|
||||
"@types/flexsearch": "0.7.6",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/negotiator": "^0.6.3",
|
||||
"@types/node": "18.17.5",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"algoliasearch": "^4.23.3",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"contentlayer": "^0.3.4",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^0.7.0",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"picocolors": "^1.0.0"
|
||||
"picocolors": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
|
||||
@@ -9,7 +9,7 @@ const inter = Inter({
|
||||
|
||||
export default function Layout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<html lang="en" className={inter.className}>
|
||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||
<body>
|
||||
<RootProvider>{children}</RootProvider>
|
||||
</body>
|
||||
|
||||
@@ -9,7 +9,7 @@ const inter = Inter({
|
||||
|
||||
export default function Layout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<html lang="en" className={inter.className}>
|
||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||
<body>
|
||||
<RootProvider>{children}</RootProvider>
|
||||
</body>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"@mdx-js/mdx": "^3.0.1",
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "18.17.5",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"remark": "^15.0.0",
|
||||
|
||||
@@ -50,13 +50,13 @@
|
||||
"fast-glob": "^3.3.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"gray-matter": "^4.0.3",
|
||||
"zod": "^3.23.4"
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"next": "^14.2.3",
|
||||
"tsconfig": "workspace:*",
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apidevtools/swagger-parser": "^10.1.0",
|
||||
"@apidevtools/json-schema-ref-parser": "^11.6.1",
|
||||
"fast-glob": "^3.3.1",
|
||||
"json-schema-to-typescript": "^13.1.2",
|
||||
"openapi-sampler": "^1.5.0"
|
||||
"json-schema-to-typescript": "^14.0.4",
|
||||
"openapi-sampler": "^1.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.17.5",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Parser from '@apidevtools/swagger-parser';
|
||||
import Parser from '@apidevtools/json-schema-ref-parser';
|
||||
import type { OpenAPIV3 as OpenAPI } from 'openapi-types';
|
||||
import type { RouteInformation, MethodInformation } from './types';
|
||||
import { root } from './render/custom';
|
||||
@@ -7,7 +7,7 @@ import { renderOperation } from './render/operation';
|
||||
export async function dereference(
|
||||
pathOrDocument: string | OpenAPI.Document,
|
||||
): Promise<OpenAPI.Document> {
|
||||
return (await Parser.dereference(pathOrDocument)) as OpenAPI.Document;
|
||||
return await Parser.dereference(pathOrDocument);
|
||||
}
|
||||
|
||||
export interface GenerateOptions {
|
||||
|
||||
@@ -23,7 +23,7 @@ Return a list of upcoming special events at the museum.
|
||||
|
||||
The starting date to retrieve future operating hours from. Defaults to today's date.
|
||||
|
||||
<span>Example: `"2023-02-23T00:00:00.000Z"`</span>
|
||||
<span>Example: `"2023-02-23"`</span>
|
||||
|
||||
<span>Format: `"date"`</span>
|
||||
|
||||
@@ -33,7 +33,7 @@ The starting date to retrieve future operating hours from. Defaults to today's d
|
||||
|
||||
The end of a date range to retrieve special events for. Defaults to 7 days after `startDate`.
|
||||
|
||||
<span>Example: `"2023-04-18T00:00:00.000Z"`</span>
|
||||
<span>Example: `"2023-04-18"`</span>
|
||||
|
||||
<span>Format: `"date"`</span>
|
||||
|
||||
@@ -89,7 +89,7 @@ A list of upcoming special events
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}
|
||||
@@ -214,7 +214,7 @@ curl -X POST "https://api.fake-museum-example.com/special-events" \
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}'
|
||||
@@ -233,7 +233,7 @@ Information about a special event.
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}
|
||||
@@ -335,7 +335,7 @@ Information about a special event.
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}
|
||||
@@ -471,7 +471,7 @@ curl -X PATCH "https://api.fake-museum-example.com/special-events/dad4bce8-f5cb-
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}'
|
||||
@@ -490,7 +490,7 @@ Information about a special event.
|
||||
"location": "Computer Room",
|
||||
"eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
|
||||
"dates": [
|
||||
"2023-10-29T00:00:00.000Z"
|
||||
"2023-10-29"
|
||||
],
|
||||
"price": 25
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ Get upcoming museum operating hours
|
||||
|
||||
The starting date to retrieve future operating hours from. Defaults to today's date.
|
||||
|
||||
<span>Example: `"2023-02-23T00:00:00.000Z"`</span>
|
||||
<span>Example: `"2023-02-23"`</span>
|
||||
|
||||
<span>Format: `"date"`</span>
|
||||
|
||||
@@ -76,7 +76,7 @@ List of museum operating hours for consecutive days.
|
||||
{
|
||||
"date": "02-02-2022",
|
||||
"timeOpen": "09:00",
|
||||
"timeClose": 1080
|
||||
"timeClose": "18:00"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@ Type of ticket being purchased. Use `general` for regular museum entry and `even
|
||||
|
||||
<Property required={false} deprecated={false} name={"eventId"} type={"string"}>
|
||||
|
||||
Unique identifier for a special event. Required if purchasing tickets for the museum's special events.
|
||||
Identifier for a special event.
|
||||
|
||||
<span>Example: `"3be6453c-03eb-4357-ae5a-984a0e574a54"`</span>
|
||||
|
||||
@@ -45,7 +45,7 @@ Unique identifier for a special event. Required if purchasing tickets for the mu
|
||||
|
||||
Date that the ticket is valid for.
|
||||
|
||||
<span>Example: `"2023-10-29T00:00:00.000Z"`</span>
|
||||
<span>Example: `"2023-10-29"`</span>
|
||||
|
||||
<span>Format: `"date"`</span>
|
||||
|
||||
@@ -84,7 +84,7 @@ curl -X POST "https://api.fake-museum-example.com/tickets" \
|
||||
-d '{
|
||||
"ticketType": "event",
|
||||
"eventId": "3be6453c-03eb-4357-ae5a-984a0e574a54",
|
||||
"ticketDate": "2023-10-29T00:00:00.000Z",
|
||||
"ticketDate": "2023-10-29",
|
||||
"email": "[email protected]",
|
||||
"phone": "+1(234)-567-8910"
|
||||
}'
|
||||
@@ -102,7 +102,7 @@ Details for a museum ticket after a successful purchase.
|
||||
"eventName": "Pirate Coding Workshop",
|
||||
"ticketId": "a54a57ca-36f8-421b-a6b4-2e8f26858a4c",
|
||||
"ticketType": "event",
|
||||
"ticketDate": "2023-10-29T00:00:00.000Z",
|
||||
"ticketDate": "2023-10-29",
|
||||
"confirmationCode": "ticket-event-a98c8f-7eb12"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"tsconfig": "workspace:*"
|
||||
},
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
"devDependencies": {
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/react": "18.3.1",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/react": "18.3.2",
|
||||
"@types/react-dom": "18.3.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
|
||||
@@ -104,15 +104,15 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"cmdk": "^1.0.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"lucide-react": "^0.376.0",
|
||||
"lucide-react": "^0.378.0",
|
||||
"next-themes": "^0.3.0",
|
||||
"react-medium-image-zoom": "^5.1.11",
|
||||
"react-medium-image-zoom": "^5.2.3",
|
||||
"tailwind-merge": "^2.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@algolia/client-search": "^4.23.3",
|
||||
"@next/eslint-plugin-next": "^14.2.3",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react": "^18.3.2",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"algoliasearch": "^4.23.3",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
|
||||
Generated
+623
-877
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user