Skip to content

Commit

Permalink
docs: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Dec 21, 2021
1 parent 4a466b6 commit 44d3c17
Show file tree
Hide file tree
Showing 4 changed files with 3,345 additions and 5,460 deletions.
5 changes: 4 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// @ts-check
/** @type {import('@docusaurus/types').Config} */
module.exports = {
title: '@typeofweb/schema',
tagline:
'@typeofweb/schema is a lightweight and extensible library for data validation with full TypeScript support!',
url: 'https://www.npmjs.com/package/@typeofweb/schema',
url: 'https://schema.typeofweb.com/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
Expand Down Expand Up @@ -98,6 +100,7 @@ module.exports = {
presets: [
[
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
{
docs: {
showLastUpdateAuthor: true,
Expand Down
24 changes: 12 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "latest",
"@docusaurus/plugin-google-gtag": "latest",
"@docusaurus/plugin-sitemap": "latest",
"@docusaurus/preset-classic": "latest",
"@docusaurus/core": "2.0.0-beta.13",
"@docusaurus/plugin-google-gtag": "2.0.0-beta.13",
"@docusaurus/plugin-sitemap": "2.0.0-beta.13",
"@docusaurus/preset-classic": "2.0.0-beta.13",
"@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
"react": "17.0.1",
"react-dom": "17.0.1"
"react": "17.0.2",
"react-dom": "17.0.2"
},
"browserslist": {
"production": [
Expand All @@ -34,11 +34,11 @@
]
},
"devDependencies": {
"@docusaurus/module-type-aliases": "latest",
"@tsconfig/docusaurus": "1.0.2",
"@types/react": "17.0.1",
"@types/react-helmet": "6.1.0",
"@types/react-router-dom": "5.1.7",
"typescript": "4.1.3"
"@docusaurus/module-type-aliases": "2.0.0-beta.13",
"@tsconfig/docusaurus": "1.0.4",
"@types/react": "17.0.37",
"@types/react-helmet": "6.1.4",
"@types/react-router-dom": "5.3.2",
"typescript": "4.5.4"
}
}
2 changes: 2 additions & 0 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ function Home() {
const { siteConfig = {} } = context;
return (
<Layout title={`${siteConfig.title} validation library`} description={siteConfig.tagline}>
<script defer data-domain="schema.typeofweb.com" data-api="https://typeofweb.com/api/event" src="https://typeofweb.com/js/script.js" />

<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">
Expand Down
Loading

1 comment on commit 44d3c17

@vercel
Copy link

@vercel vercel bot commented on 44d3c17 Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.