Skip to content

Commit

Permalink
build: upgrade deps for documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed May 24, 2024
1 parent d912bf1 commit 8c15775
Show file tree
Hide file tree
Showing 9 changed files with 18,315 additions and 13,583 deletions.
14 changes: 9 additions & 5 deletions website/docusaurus.config.js → website/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const simplePlantUML = require('@akebifiky/remark-simple-plantuml')
import simplePlantUML from '@akebifiky/remark-simple-plantuml'
import type { Config } from '@docusaurus/types'
import { themes } from 'prism-react-renderer'

module.exports = {
const config: Config = {
title: 'ts-jest',
tagline: 'A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.',
url: 'https://kulshekhar.github.io',
Expand Down Expand Up @@ -84,7 +86,7 @@ module.exports = {
docs: {
showLastUpdateAuthor: true,
showLastUpdateTime: true,
sidebarPath: require.resolve('./sidebars.js'),
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/kulshekhar/ts-jest/edit/main/website',
remarkPlugins: [
simplePlantUML,
Expand Down Expand Up @@ -115,8 +117,8 @@ module.exports = {
'⭐️ If you like ts-jest, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/kulshekhar/ts-jest">GitHub</a>! ⭐️',
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
theme: themes.github,
darkTheme: themes.dracula,
},
navbar: {
hideOnScroll: true,
Expand Down Expand Up @@ -203,3 +205,5 @@ module.exports = {
},
},
}

export default config
31,681 changes: 18,205 additions & 13,476 deletions website/package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
},
"dependencies": {
"@akebifiky/remark-simple-plantuml": "^1.0.2",
"@docusaurus/core": "^2.4.3",
"@docusaurus/plugin-ideal-image": "^2.4.3",
"@docusaurus/plugin-pwa": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus-remark-plugin-tab-blocks": "^1.3.1",
"latest-version": "^7.0.0",
"react": "^16.14.0",
"react-dom": "^16.14.0"
"@docusaurus/core": "^3.3.2",
"@docusaurus/plugin-ideal-image": "^3.3.2",
"@docusaurus/plugin-pwa": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@docusaurus/remark-plugin-npm2yarn": "^3.3.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.1",
"docusaurus-remark-plugin-tab-blocks": "^3.1.0",
"latest-version": "^9.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@docusaurus/module-type-aliases": "^2.4.3",
"@tsconfig/docusaurus": "^1.0.7",
"@types/react": "^16.14.24",
"typescript": "~5.1.3"
"@docusaurus/module-type-aliases": "^3.3.2",
"@docusaurus/tsconfig": "^3.3.2",
"@docusaurus/types": "^3.3.2",
"@types/react": "^18.3.3",
"typescript": "~5.4.5"
},
"browserslist": {
"production": [
Expand Down
5 changes: 2 additions & 3 deletions website/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "@tsconfig/docusaurus/tsconfig.json",
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"skipLibCheck": true,
"resolveJsonModule": true
"baseUrl": "."
}
}
34 changes: 17 additions & 17 deletions website/versioned_sidebars/version-26.5-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"items": [
{
"type": "doc",
"id": "version-26.5/introduction"
"id": "introduction"
},
{
"type": "doc",
"id": "version-26.5/processing"
"id": "processing"
},
{
"type": "doc",
"id": "version-26.5/contributing"
"id": "contributing"
}
]
},
Expand All @@ -26,23 +26,23 @@
"items": [
{
"type": "doc",
"id": "version-26.5/getting-started/installation"
"id": "getting-started/installation"
},
{
"type": "doc",
"id": "version-26.5/getting-started/presets"
"id": "getting-started/presets"
},
{
"type": "doc",
"id": "version-26.5/getting-started/options"
"id": "getting-started/options"
},
{
"type": "doc",
"id": "version-26.5/getting-started/paths-mapping"
"id": "getting-started/paths-mapping"
},
{
"type": "doc",
"id": "version-26.5/getting-started/version-checking"
"id": "getting-started/version-checking"
}
]
},
Expand All @@ -53,41 +53,41 @@
"items": [
{
"type": "doc",
"id": "version-26.5/guides/esm-support"
"id": "guides/esm-support"
},
{
"type": "doc",
"id": "version-26.5/guides/mock-es6-class"
"id": "guides/mock-es6-class"
},
{
"type": "doc",
"id": "version-26.5/guides/react-native"
"id": "guides/react-native"
},
{
"type": "doc",
"id": "version-26.5/guides/test-helpers"
"id": "guides/test-helpers"
},
{
"type": "doc",
"id": "version-26.5/guides/troubleshooting"
"id": "guides/troubleshooting"
},
{
"type": "doc",
"id": "version-26.5/guides/using-with-monorepo"
"id": "guides/using-with-monorepo"
}
]
},
{
"type": "doc",
"id": "version-26.5/babel7-or-ts"
"id": "babel7-or-ts"
},
{
"type": "doc",
"id": "version-26.5/migration"
"id": "migration"
},
{
"type": "doc",
"id": "version-26.5/debugging"
"id": "debugging"
}
]
}
34 changes: 17 additions & 17 deletions website/versioned_sidebars/version-27.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"items": [
{
"type": "doc",
"id": "version-27.0/introduction"
"id": "introduction"
},
{
"type": "doc",
"id": "version-27.0/processing"
"id": "processing"
},
{
"type": "doc",
"id": "version-27.0/contributing"
"id": "contributing"
}
]
},
Expand All @@ -26,23 +26,23 @@
"items": [
{
"type": "doc",
"id": "version-27.0/getting-started/installation"
"id": "getting-started/installation"
},
{
"type": "doc",
"id": "version-27.0/getting-started/presets"
"id": "getting-started/presets"
},
{
"type": "doc",
"id": "version-27.0/getting-started/options"
"id": "getting-started/options"
},
{
"type": "doc",
"id": "version-27.0/getting-started/paths-mapping"
"id": "getting-started/paths-mapping"
},
{
"type": "doc",
"id": "version-27.0/getting-started/version-checking"
"id": "getting-started/version-checking"
}
]
},
Expand All @@ -53,41 +53,41 @@
"items": [
{
"type": "doc",
"id": "version-27.0/guides/esm-support"
"id": "guides/esm-support"
},
{
"type": "doc",
"id": "version-27.0/guides/mock-es6-class"
"id": "guides/mock-es6-class"
},
{
"type": "doc",
"id": "version-27.0/guides/react-native"
"id": "guides/react-native"
},
{
"type": "doc",
"id": "version-27.0/guides/test-helpers"
"id": "guides/test-helpers"
},
{
"type": "doc",
"id": "version-27.0/guides/troubleshooting"
"id": "guides/troubleshooting"
},
{
"type": "doc",
"id": "version-27.0/guides/using-with-monorepo"
"id": "guides/using-with-monorepo"
}
]
},
{
"type": "doc",
"id": "version-27.0/babel7-or-ts"
"id": "babel7-or-ts"
},
{
"type": "doc",
"id": "version-27.0/migration"
"id": "migration"
},
{
"type": "doc",
"id": "version-27.0/debugging"
"id": "debugging"
}
]
}
34 changes: 17 additions & 17 deletions website/versioned_sidebars/version-27.1-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"items": [
{
"type": "doc",
"id": "version-27.1/introduction"
"id": "introduction"
},
{
"type": "doc",
"id": "version-27.1/processing"
"id": "processing"
},
{
"type": "doc",
"id": "version-27.1/contributing"
"id": "contributing"
}
]
},
Expand All @@ -26,23 +26,23 @@
"items": [
{
"type": "doc",
"id": "version-27.1/getting-started/installation"
"id": "getting-started/installation"
},
{
"type": "doc",
"id": "version-27.1/getting-started/presets"
"id": "getting-started/presets"
},
{
"type": "doc",
"id": "version-27.1/getting-started/options"
"id": "getting-started/options"
},
{
"type": "doc",
"id": "version-27.1/getting-started/paths-mapping"
"id": "getting-started/paths-mapping"
},
{
"type": "doc",
"id": "version-27.1/getting-started/version-checking"
"id": "getting-started/version-checking"
}
]
},
Expand All @@ -53,41 +53,41 @@
"items": [
{
"type": "doc",
"id": "version-27.1/guides/esm-support"
"id": "guides/esm-support"
},
{
"type": "doc",
"id": "version-27.1/guides/mock-es6-class"
"id": "guides/mock-es6-class"
},
{
"type": "doc",
"id": "version-27.1/guides/react-native"
"id": "guides/react-native"
},
{
"type": "doc",
"id": "version-27.1/guides/test-helpers"
"id": "guides/test-helpers"
},
{
"type": "doc",
"id": "version-27.1/guides/troubleshooting"
"id": "guides/troubleshooting"
},
{
"type": "doc",
"id": "version-27.1/guides/using-with-monorepo"
"id": "guides/using-with-monorepo"
}
]
},
{
"type": "doc",
"id": "version-27.1/babel7-or-ts"
"id": "babel7-or-ts"
},
{
"type": "doc",
"id": "version-27.1/migration"
"id": "migration"
},
{
"type": "doc",
"id": "version-27.1/debugging"
"id": "debugging"
}
]
}
Loading

0 comments on commit 8c15775

Please sign in to comment.