build: fix website build

This commit is contained in:
iCrawl 2022-09-02 22:03:32 +02:00
parent 1d460e0434
commit 0238588067
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2
9 changed files with 11 additions and 35 deletions

View file

@ -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

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -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",

View file

@ -1,7 +1,3 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json"
"plugins": ["eslint-plugin-tsdoc"],
"rules": {
"tsdoc/syntax": "warn"
}
} }

View file

@ -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: