mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 18:44:43 +12:00
build: fix website build
This commit is contained in:
parent
1d460e0434
commit
0238588067
9 changed files with 11 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
yarn build && yarn lint-staged
|
yarn build && yarn workspace @discordjs/website run build:local && yarn lint-staged
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"build:local": "yarn run --top-level docs --force && yarn build:prod",
|
"build:local": "NEXT_PUBLIC_LOCAL_DEV=true yarn run --top-level docs --force && yarn build:prod",
|
||||||
"build:prod": "yarn build:css && yarn build:next",
|
"build:prod": "yarn build:css && yarn build:next",
|
||||||
"build:next": "next build",
|
"build:next": "next build",
|
||||||
"build:css": "yarn generate:css",
|
"build:css": "yarn generate:css",
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
"@mantine/next": "^5.2.4",
|
"@mantine/next": "^5.2.4",
|
||||||
"@mantine/nprogress": "^5.2.4",
|
"@mantine/nprogress": "^5.2.4",
|
||||||
"@mantine/spotlight": "^5.2.4",
|
"@mantine/spotlight": "^5.2.4",
|
||||||
"@microsoft/api-extractor-model": "^7.23.3",
|
"@microsoft/api-extractor-model": "7.23.3",
|
||||||
"@microsoft/tsdoc": "0.14.1",
|
"@microsoft/tsdoc": "0.14.1",
|
||||||
"@microsoft/tsdoc-config": "0.16.1",
|
"@microsoft/tsdoc-config": "0.16.1",
|
||||||
"@vscode/codicons": "^0.0.32",
|
"@vscode/codicons": "^0.0.32",
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "../../.eslintrc.json",
|
"extends": "../../.eslintrc.json"
|
||||||
"plugins": ["eslint-plugin-tsdoc"],
|
|
||||||
"rules": {
|
|
||||||
"tsdoc/syntax": "warn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1968,7 +1968,7 @@ __metadata:
|
||||||
"@mantine/next": ^5.2.4
|
"@mantine/next": ^5.2.4
|
||||||
"@mantine/nprogress": ^5.2.4
|
"@mantine/nprogress": ^5.2.4
|
||||||
"@mantine/spotlight": ^5.2.4
|
"@mantine/spotlight": ^5.2.4
|
||||||
"@microsoft/api-extractor-model": ^7.23.3
|
"@microsoft/api-extractor-model": 7.23.3
|
||||||
"@microsoft/tsdoc": 0.14.1
|
"@microsoft/tsdoc": 0.14.1
|
||||||
"@microsoft/tsdoc-config": 0.16.1
|
"@microsoft/tsdoc-config": 0.16.1
|
||||||
"@testing-library/react": ^13.3.0
|
"@testing-library/react": ^13.3.0
|
||||||
|
@ -2896,7 +2896,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@microsoft/api-extractor-model@npm:7.24.0, @microsoft/api-extractor-model@npm:^7.23.3":
|
"@microsoft/api-extractor-model@npm:7.24.0":
|
||||||
version: 7.24.0
|
version: 7.24.0
|
||||||
resolution: "@microsoft/api-extractor-model@npm:7.24.0"
|
resolution: "@microsoft/api-extractor-model@npm:7.24.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue