mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
+3
-7
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user