mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
build: only build web on vercel
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"build": "is-ci && yarn build:ci || yarn build:prod",
|
"build:local": "yarn run --top-level docs --force && yarn build:prod",
|
||||||
"build:ci": "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",
|
||||||
@@ -90,7 +89,6 @@
|
|||||||
"eslint-plugin-react": "^7.30.1",
|
"eslint-plugin-react": "^7.30.1",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"happy-dom": "^6.0.4",
|
"happy-dom": "^6.0.4",
|
||||||
"is-ci": "^3.0.1",
|
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"unocss": "^0.45.6",
|
"unocss": "^0.45.6",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": ["dist/**"]
|
"outputs": ["dist/**"]
|
||||||
},
|
},
|
||||||
"@discordjs/website#build": {
|
"@discordjs/website#build:prod": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": [".next/**"]
|
"outputs": [".next/**"]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2007,7 +2007,6 @@ __metadata:
|
|||||||
eslint-plugin-react: ^7.30.1
|
eslint-plugin-react: ^7.30.1
|
||||||
eslint-plugin-react-hooks: ^4.6.0
|
eslint-plugin-react-hooks: ^4.6.0
|
||||||
happy-dom: ^6.0.4
|
happy-dom: ^6.0.4
|
||||||
is-ci: ^3.0.1
|
|
||||||
next: ^12.2.5
|
next: ^12.2.5
|
||||||
prettier: ^2.7.1
|
prettier: ^2.7.1
|
||||||
react: ^18.2.0
|
react: ^18.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user