diff --git a/@theme/font/DMMono-Medium.woff2 b/@theme/font/DMMono-Medium.woff2 new file mode 100644 index 000000000..67698d873 Binary files /dev/null and b/@theme/font/DMMono-Medium.woff2 differ diff --git a/@theme/font/DMMono-Regular.woff2 b/@theme/font/DMMono-Regular.woff2 new file mode 100644 index 000000000..03e485981 Binary files /dev/null and b/@theme/font/DMMono-Regular.woff2 differ diff --git a/@theme/styles.css b/@theme/styles.css index 833df520a..f460a6c40 100644 --- a/@theme/styles.css +++ b/@theme/styles.css @@ -182,6 +182,20 @@ src: url('./font/GemunuLibre-ExtraBold.woff2') format('woff2'); } +@font-face { + font-family: 'DM Mono'; + font-style: normal; + font-weight: 400; + src: url('./font/DMMono-Regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'DM Mono'; + font-style: normal; + font-weight: 500; + src: url('./font/DMMono-Medium.woff2') format('woff2'); +} + @font-face { font-family: 'SF Mono'; src: url('./font/SFMono-Semibold.otf'); diff --git a/package-lock.json b/package-lock.json index 1877a928a..e7b8f2a1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "UNLICENSED", "dependencies": { - "@redocly/marketing-pages": "^0.2.35", + "@redocly/marketing-pages": "^0.2.37", "@redocly/realm": "0.137.0-next.9", "buffer": "^6.0.3", "events": "^3.3.0", @@ -2248,9 +2248,9 @@ "license": "SEE LICENSE IN LICENSE" }, "node_modules/@redocly/marketing-pages": { - "version": "0.2.35", - "resolved": "https://registry.npmjs.org/@redocly/marketing-pages/-/marketing-pages-0.2.35.tgz", - "integrity": "sha512-tryCagpX/bBdDPNNxqItsWSAkh8qEW0uldwuo1DTj1sQw7ZT8Oyj0/z30OWSPxwGl01OU8s8vQRgCXtngkQz4g==", + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/@redocly/marketing-pages/-/marketing-pages-0.2.37.tgz", + "integrity": "sha512-vYboNxWotERKPmBRBOD2zTRho8pVVix2Ii5JSOoHn48+WxHSTX02OSC1DjRzGX9SiF1+DIzauweMPznOnU569A==", "license": "UNLICENSED", "dependencies": { "@codemirror/lang-json": "^6.0.1", @@ -2262,7 +2262,7 @@ "@react-spring/web": "^10.1.0", "@rebilly/lead-source-tracker": "^8.29.0", "@redocly/json-to-json-schema": "^0.0.1", - "@redocly/openapi-language-server": "0.10.12", + "@redocly/openapi-language-server": "0.10.13", "@uiw/react-codemirror": "^4.21.20", "csstype": "^3.1.2", "dayjs": "1.11.21", @@ -2270,7 +2270,7 @@ "highlight-words-core": "1.2.2", "html2canvas": "^1.4.1", "js-cookie": "^3.0.6", - "js-yaml": "4.3.1", + "js-yaml": "4.3.2", "json-schema-to-ts": "^3.1.0", "jspdf": "^4.2.1", "lottie-react": "^2.4.0", @@ -2289,26 +2289,125 @@ "ulid": "^2.3.0" }, "peerDependencies": { - "@redocly/realm": "0.137.0-next.10", - "@redocly/theme": "0.69.0-next.9", + "@redocly/realm": "0.137.0", + "@redocly/theme": "0.69.0", "react": "^19.2.7", "react-dom": "^19.2.7", "styled-components": "^6.4.2" } }, + "node_modules/@redocly/marketing-pages/node_modules/@redocly/config": { + "version": "0.56.0", + "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.56.0.tgz", + "integrity": "sha512-sGEC13BWOSKgFEHSPmFmTHpRt+zfNOc4+5+COe3Z4TD37glshCzM8qaeX7fIddGf6akRSs1tz3j+2FZVEQtCWw==", + "license": "MIT", + "dependencies": { + "json-schema-to-ts": "2.7.2" + } + }, + "node_modules/@redocly/marketing-pages/node_modules/@redocly/config/node_modules/json-schema-to-ts": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-2.7.2.tgz", + "integrity": "sha512-R1JfqKqbBR4qE8UyBR56Ms30LL62/nlhoz+1UkfI/VE7p54Awu919FZ6ZUPG8zIa3XB65usPJgr1ONVncUGSaQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@types/json-schema": "^7.0.9", + "ts-algebra": "^1.2.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@redocly/marketing-pages/node_modules/@redocly/openapi-core": { + "version": "2.53.0", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-2.53.0.tgz", + "integrity": "sha512-IBp04IO0rXvIwdgxolUmtcrnBm0XIuYTdY/mtxYAsquwJGcVoz9oTgkfmgfo/d7hbfhvRDy8LhLLzUAZ5klrNw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@redocly/ajv": "^8.18.3", + "@redocly/config": "^0.56.0", + "ajv": "npm:@redocly/ajv@^8.18.3", + "ajv-formats": "^3.0.1", + "colorette": "^1.2.0", + "graphql": "^16.14.1", + "js-levenshtein": "^1.1.6", + "js-yaml": "^5.2.2", + "picomatch": "^4.0.4", + "pluralize": "^8.0.0", + "yaml-ast-parser": "0.0.43" + }, + "engines": { + "node": ">=22.12.0 || >=20.19.0 <21.0.0", + "npm": ">=10" + } + }, + "node_modules/@redocly/marketing-pages/node_modules/@redocly/openapi-core/node_modules/js-yaml": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.2.tgz", + "integrity": "sha512-m+aqu+LwO1O6sIopafj8HUVl5aawITwZQe/yHpMCKjaWBaA/d07B/QdMb3529REftiU+RMMHL3Vlsw3hON7vWg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "peer": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.mjs" + } + }, + "node_modules/@redocly/marketing-pages/node_modules/@redocly/openapi-language-server": { + "version": "0.10.13", + "resolved": "https://registry.npmjs.org/@redocly/openapi-language-server/-/openapi-language-server-0.10.13.tgz", + "integrity": "sha512-KqRmcyMqBxMEGInEZR502RJjD+ZteSZK2Kd2r7P5N8mb93682ljBZ3jWLAWwBaWf6rxcFQmhzydFPfUbZTdWuA==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@redocly/config": "0.56.0", + "@redocly/yaml-language-server-parser": "^0.3.0", + "vscode-languageserver": "^9.0.1", + "vscode-languageserver-textdocument": "^1.0.12", + "vscode-uri": "^3.1.0" + }, + "peerDependencies": { + "@redocly/openapi-core": "2.53.0" + } + }, "node_modules/@redocly/marketing-pages/node_modules/highlight-words-core": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/highlight-words-core/-/highlight-words-core-1.2.2.tgz", "integrity": "sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg==", "license": "MIT" }, - "node_modules/@redocly/marketing-pages/node_modules/js-cookie": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.7.tgz", - "integrity": "sha512-z/wZZgDrkNV1eA0ULjM/F9/50Ya8fbzgKneSpoPsXSGd0KnpdtHfOZWK+GcwLk+EZbS4F9RBhU+K2RgzuDaItw==", + "node_modules/@redocly/marketing-pages/node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], "license": "MIT", - "engines": { - "node": ">=20" + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, "node_modules/@redocly/marketing-pages/node_modules/monaco-editor": { @@ -2321,6 +2420,12 @@ "@codingame/monaco-vscode-api": "25.1.2" } }, + "node_modules/@redocly/marketing-pages/node_modules/ts-algebra": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-1.2.2.tgz", + "integrity": "sha512-kloPhf1hq3JbCPOTYoOWDKxebWjNb2o/LKnNfkWhxVVisFFmMJPPdJeGoGmM+iRLyoXAR61e08Pb+vUXINg8aA==", + "license": "MIT" + }, "node_modules/@redocly/mock-server": { "version": "0.11.0-next.1", "resolved": "https://registry.npmjs.org/@redocly/mock-server/-/mock-server-0.11.0-next.1.tgz", @@ -2417,51 +2522,6 @@ "js-yaml": "bin/js-yaml.mjs" } }, - "node_modules/@redocly/openapi-language-server": { - "version": "0.10.12", - "resolved": "https://registry.npmjs.org/@redocly/openapi-language-server/-/openapi-language-server-0.10.12.tgz", - "integrity": "sha512-R/F261h/ajwTPIq7QaUX+oxDyHQuHd5cvsBVKo7y+B3qexqkueb6U/dJ7ad+/BxUEdxdpUO65O76JA3yJhFNWw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@redocly/config": "0.56.0", - "@redocly/yaml-language-server-parser": "^0.3.0", - "vscode-languageserver": "^9.0.1", - "vscode-languageserver-textdocument": "^1.0.12", - "vscode-uri": "^3.1.0" - }, - "peerDependencies": { - "@redocly/openapi-core": "2.51.2" - } - }, - "node_modules/@redocly/openapi-language-server/node_modules/@redocly/config": { - "version": "0.56.0", - "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.56.0.tgz", - "integrity": "sha512-sGEC13BWOSKgFEHSPmFmTHpRt+zfNOc4+5+COe3Z4TD37glshCzM8qaeX7fIddGf6akRSs1tz3j+2FZVEQtCWw==", - "license": "MIT", - "dependencies": { - "json-schema-to-ts": "2.7.2" - } - }, - "node_modules/@redocly/openapi-language-server/node_modules/json-schema-to-ts": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-2.7.2.tgz", - "integrity": "sha512-R1JfqKqbBR4qE8UyBR56Ms30LL62/nlhoz+1UkfI/VE7p54Awu919FZ6ZUPG8zIa3XB65usPJgr1ONVncUGSaQ==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@types/json-schema": "^7.0.9", - "ts-algebra": "^1.2.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@redocly/openapi-language-server/node_modules/ts-algebra": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-1.2.2.tgz", - "integrity": "sha512-kloPhf1hq3JbCPOTYoOWDKxebWjNb2o/LKnNfkWhxVVisFFmMJPPdJeGoGmM+iRLyoXAR61e08Pb+vUXINg8aA==", - "license": "MIT" - }, "node_modules/@redocly/portal-legacy-ui": { "version": "0.19.0", "resolved": "https://registry.npmjs.org/@redocly/portal-legacy-ui/-/portal-legacy-ui-0.19.0.tgz", diff --git a/package.json b/package.json index 992e9a115..0153b0f49 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "author": "team@redocly.com", "license": "UNLICENSED", "dependencies": { - "@redocly/marketing-pages": "^0.2.35", + "@redocly/marketing-pages": "^0.2.37", "@redocly/realm": "0.137.0-next.9", "buffer": "^6.0.3", "events": "^3.3.0", diff --git a/pages/drift/drift.page.tsx b/pages/drift/drift.page.tsx new file mode 100644 index 000000000..3b9e93882 --- /dev/null +++ b/pages/drift/drift.page.tsx @@ -0,0 +1,12 @@ +import Page from '@redocly/marketing-pages/pages/drift/drift.page.js'; + +export const frontmatter = { + seo: { + title: 'Drift – Redocly CLI', + description: + 'Detect drift between recorded HTTP traffic and your OpenAPI description. Record with redocly proxy, judge with redocly drift, and gate your CI on the result.', + }, + slug: '/drift', +}; + +export default Page;