chore(website): Cleanup docusaurus setup (#3355)

* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
This commit is contained in:
Fleny
2024-02-09 20:34:59 +00:00
committed by GitHub
co-authored by Matt Hatcher
parent 96becc331d
commit f0ac958903
35 changed files with 1101 additions and 675 deletions
+3 -7
View File
@@ -44,12 +44,8 @@
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,html,css}": "yarn run prettier --ignore-unknown --write",
"*.{js,ts,tsx}": [
"yarn run eslint --fix --config ./packages/eslint-config-discordeno/index.js --resolve-plugins-relative-to ."
]
"!(website)/**/*.{js,ts,tsx}": "yarn run eslint --fix --config ./packages/eslint-config-discordeno/index.js --resolve-plugins-relative-to .",
"website/**/*.{js,ts,tsx}": "yarn run eslint --fix --config ./website/.eslintrc.yml --resolve-plugins-relative-to ./website"
},
"packageManager": "yarn@4.0.2",
"dependencies": {
"typedoc-plugin-missing-exports": "^2.2.0"
}
"packageManager": "yarn@4.0.2"
}