mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
upgrade deps, add typescript
This commit is contained in:
parent
13b25c2933
commit
b3317734c0
@ -1,5 +1,7 @@
|
||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
module.exports = {
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
const config : Config = {
|
||||
title: "ZITADEL Docs",
|
||||
trailingSlash: false,
|
||||
url: "https://zitadel.com",
|
||||
@ -223,7 +225,7 @@ module.exports = {
|
||||
showLastUpdateTime: true,
|
||||
editUrl: "https://github.com/zitadel/zitadel/edit/main/docs/",
|
||||
remarkPlugins: [require("mdx-mermaid")],
|
||||
docLayoutComponent: "@theme/DocPage",
|
||||
docRootComponent: "@theme/DocPage",
|
||||
docItemComponent: '@theme/ApiItem'
|
||||
},
|
||||
theme: {
|
||||
@ -342,3 +344,5 @@ module.exports = {
|
||||
],
|
||||
themes: ["@saucelabs/theme-github-codeblock", "docusaurus-theme-openapi-docs"],
|
||||
};
|
||||
|
||||
export default config;
|
@ -20,24 +20,25 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@bufbuild/buf": "^1.14.0",
|
||||
"@docusaurus/core": "2.2.0",
|
||||
"@docusaurus/preset-classic": "2.2.0",
|
||||
"@docusaurus/theme-search-algolia": "2.2.0",
|
||||
"@docusaurus/core": "^3.2.0",
|
||||
"@docusaurus/preset-classic": "^3.2.0",
|
||||
"@docusaurus/theme-search-algolia": "^3.2.0",
|
||||
"@headlessui/react": "^1.7.4",
|
||||
"@heroicons/react": "^2.0.13",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
"@saucelabs/theme-github-codeblock": "^0.2.3",
|
||||
"@swc/core": "^1.3.74",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"clsx": "^1.2.1",
|
||||
"docusaurus-plugin-image-zoom": "^1.0.1",
|
||||
"docusaurus-plugin-openapi-docs": "^1.7.3",
|
||||
"docusaurus-theme-openapi-docs": "^1.7.3",
|
||||
"mdx-mermaid": "^1.1.0",
|
||||
"docusaurus-plugin-openapi-docs": "3.0.0-beta.10",
|
||||
"docusaurus-theme-openapi-docs": "3.0.0-beta.10",
|
||||
"mdx-mermaid": "^2.0.0",
|
||||
"postcss": "^8.4.31",
|
||||
"raw-loader": "^4.0.2",
|
||||
"react": "17.0.2",
|
||||
"react": "^18.2.0",
|
||||
"react-copy-to-clipboard": "^5.1.0",
|
||||
"react-dom": "17.0.2",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-player": "^2.15.1",
|
||||
"sitemap": "7.1.1",
|
||||
"swc-loader": "^0.2.3",
|
||||
@ -56,7 +57,10 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "2.2.0",
|
||||
"tailwindcss": "^3.2.4"
|
||||
"@docusaurus/module-type-aliases": "^3.2.0",
|
||||
"@docusaurus/tsconfig": "^3.2.0",
|
||||
"@docusaurus/types": "^3.2.0",
|
||||
"tailwindcss": "^3.2.4",
|
||||
"typescript": "^5.4.3"
|
||||
}
|
||||
}
|
||||
|
@ -570,7 +570,7 @@ module.exports = {
|
||||
description:
|
||||
"The authentication API (aka Auth API) is used for all operations on the currently logged in user. The user id is taken from the sub claim in the token.",
|
||||
},
|
||||
items: require("./docs/apis/resources/auth/sidebar.js"),
|
||||
items: require("./docs/apis/resources/auth/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -582,7 +582,7 @@ module.exports = {
|
||||
description:
|
||||
"The management API is as the name states the interface where systems can mutate IAM objects like, organizations, projects, clients, users and so on if they have the necessary access rights. To identify the current organization you can send a header x-zitadel-orgid or if no header is set, the organization of the authenticated user is set.",
|
||||
},
|
||||
items: require("./docs/apis/resources/mgmt/sidebar.js"),
|
||||
items: require("./docs/apis/resources/mgmt/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -594,7 +594,7 @@ module.exports = {
|
||||
description:
|
||||
"This API is intended to configure and manage one ZITADEL instance itself.",
|
||||
},
|
||||
items: require("./docs/apis/resources/admin/sidebar.js"),
|
||||
items: require("./docs/apis/resources/admin/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -608,7 +608,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"Checkout the guide how to access the ZITADEL System API.",
|
||||
},
|
||||
items: require("./docs/apis/resources/system/sidebar.js"),
|
||||
items: require("./docs/apis/resources/system/sidebar.ts"),
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -633,7 +633,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in beta state. It can AND will continue breaking until the services provide the same functionality as the current login.",
|
||||
},
|
||||
items: require("./docs/apis/resources/user_service/sidebar.js"),
|
||||
items: require("./docs/apis/resources/user_service/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -647,7 +647,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in beta state. It can AND will continue breaking until the services provide the same functionality as the current login.",
|
||||
},
|
||||
items: require("./docs/apis/resources/session_service/sidebar.js"),
|
||||
items: require("./docs/apis/resources/session_service/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -661,7 +661,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in beta state. It can AND will continue breaking until the services provide the same functionality as the current login.",
|
||||
},
|
||||
items: require("./docs/apis/resources/oidc_service/sidebar.js"),
|
||||
items: require("./docs/apis/resources/oidc_service/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -675,7 +675,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in beta state. It can AND will continue to break until the services provide the same functionality as the current login.",
|
||||
},
|
||||
items: require("./docs/apis/resources/settings_service/sidebar.js"),
|
||||
items: require("./docs/apis/resources/settings_service/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -689,7 +689,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in beta state. It can AND will continue breaking until a stable version is released.",
|
||||
},
|
||||
items: require("./docs/apis/resources/feature_service_v2/sidebar.js"),
|
||||
items: require("./docs/apis/resources/feature_service_v2/sidebar.ts"),
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -714,7 +714,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in Preview state. It can AND will continue breaking until the service provides the same functionality as the v1 and v2 user services.",
|
||||
},
|
||||
items: require("./docs/apis/resources/user_schema_service_v3/sidebar.js"),
|
||||
items: require("./docs/apis/resources/user_schema_service_v3/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -728,7 +728,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in Preview state. It can AND will continue breaking until the service provides the same functionality as the v1 and v2 user services.",
|
||||
},
|
||||
items: require("./docs/apis/resources/user_service_v3/sidebar.js"),
|
||||
items: require("./docs/apis/resources/user_service_v3/sidebar.ts"),
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@ -742,7 +742,7 @@ module.exports = {
|
||||
"\n" +
|
||||
"This project is in Preview state. It can AND will continue breaking until the services provide the same functionality as the current actions.",
|
||||
},
|
||||
items: require("./docs/apis/resources/execution_service_v3/sidebar.js"),
|
||||
items: require("./docs/apis/resources/execution_service_v3/sidebar.ts"),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
6
docs/tsconfig.json
Normal file
6
docs/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "@docusaurus/tsconfig",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
}
|
||||
}
|
6496
docs/yarn.lock
6496
docs/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user