Skip to content

Commit 44d3c17

Browse files
committed
docs: Update dependencies
1 parent 4a466b6 commit 44d3c17

File tree

4 files changed

+3345
-5460
lines changed

4 files changed

+3345
-5460
lines changed

docs/docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
// @ts-check
2+
/** @type {import('@docusaurus/types').Config} */
13
module.exports = {
24
title: '@typeofweb/schema',
35
tagline:
46
'@typeofweb/schema is a lightweight and extensible library for data validation with full TypeScript support!',
5-
url: 'https://www.npmjs.com/package/@typeofweb/schema',
7+
url: 'https://schema.typeofweb.com/',
68
baseUrl: '/',
79
onBrokenLinks: 'throw',
810
onBrokenMarkdownLinks: 'throw',
@@ -98,6 +100,7 @@ module.exports = {
98100
presets: [
99101
[
100102
'@docusaurus/preset-classic',
103+
/** @type {import('@docusaurus/preset-classic').Options} */
101104
{
102105
docs: {
103106
showLastUpdateAuthor: true,

docs/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"clear": "docusaurus clear"
1313
},
1414
"dependencies": {
15-
"@docusaurus/core": "latest",
16-
"@docusaurus/plugin-google-gtag": "latest",
17-
"@docusaurus/plugin-sitemap": "latest",
18-
"@docusaurus/preset-classic": "latest",
15+
"@docusaurus/core": "2.0.0-beta.13",
16+
"@docusaurus/plugin-google-gtag": "2.0.0-beta.13",
17+
"@docusaurus/plugin-sitemap": "2.0.0-beta.13",
18+
"@docusaurus/preset-classic": "2.0.0-beta.13",
1919
"@mdx-js/react": "1.6.22",
2020
"clsx": "1.1.1",
21-
"react": "17.0.1",
22-
"react-dom": "17.0.1"
21+
"react": "17.0.2",
22+
"react-dom": "17.0.2"
2323
},
2424
"browserslist": {
2525
"production": [
@@ -34,11 +34,11 @@
3434
]
3535
},
3636
"devDependencies": {
37-
"@docusaurus/module-type-aliases": "latest",
38-
"@tsconfig/docusaurus": "1.0.2",
39-
"@types/react": "17.0.1",
40-
"@types/react-helmet": "6.1.0",
41-
"@types/react-router-dom": "5.1.7",
42-
"typescript": "4.1.3"
37+
"@docusaurus/module-type-aliases": "2.0.0-beta.13",
38+
"@tsconfig/docusaurus": "1.0.4",
39+
"@types/react": "17.0.37",
40+
"@types/react-helmet": "6.1.4",
41+
"@types/react-router-dom": "5.3.2",
42+
"typescript": "4.5.4"
4343
}
4444
}

docs/src/pages/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ function Home() {
6060
const { siteConfig = {} } = context;
6161
return (
6262
<Layout title={`${siteConfig.title} validation library`} description={siteConfig.tagline}>
63+
<script defer data-domain="schema.typeofweb.com" data-api="https://typeofweb.com/api/event" src="https://typeofweb.com/js/script.js" />
64+
6365
<header className={clsx('hero hero--primary', styles.heroBanner)}>
6466
<div className="container">
6567
<h1 className="hero__title">

0 commit comments

Comments
 (0)