mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: optimize Turbo pipelines (#7236)
This commit is contained in:
23
package.json
23
package.json
@@ -46,7 +46,7 @@
|
|||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"lint-staged": "^12.1.7",
|
"lint-staged": "^12.1.7",
|
||||||
"prettier": "^2.5.1",
|
"prettier": "^2.5.1",
|
||||||
"turbo": "^1.0.24-canary.2"
|
"turbo": "^1.0.24"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
@@ -67,20 +67,33 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
|
"outputs": [
|
||||||
|
"coverage/**"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rest#test": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"build"
|
||||||
],
|
],
|
||||||
"outputs": []
|
"outputs": [
|
||||||
|
"coverage/**"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
"rest#lint": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"build"
|
||||||
],
|
],
|
||||||
"outputs": []
|
"outputs": []
|
||||||
},
|
},
|
||||||
"lint:fix": {
|
"lint:fix": {
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
"rest#lint:fix": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"build"
|
||||||
],
|
],
|
||||||
"outputs": []
|
"outputs": []
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"description": "The REST API for discord.js",
|
"description": "The REST API for discord.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup && tsc --emitDeclarationOnly --incremental",
|
"build": "tsup && tsc --emitDeclarationOnly --incremental",
|
||||||
"test": " jest --pass-with-no-tests --collect-coverage",
|
"test": "jest --pass-with-no-tests --collect-coverage",
|
||||||
"lint": "eslint src __tests__ --ext mjs,js,ts",
|
"lint": "eslint src __tests__ --ext mjs,js,ts",
|
||||||
"lint:fix": "eslint src __tests__ --ext mjs,js,ts --fix",
|
"lint:fix": "eslint src __tests__ --ext mjs,js,ts --fix",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"description": "Implementation of the Discord Voice API for node.js",
|
"description": "Implementation of the Discord Voice API for node.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup && node scripts/postbuild.mjs",
|
"build": "tsup && node scripts/postbuild.mjs",
|
||||||
"test": " jest --pass-with-no-tests --collect-coverage",
|
"test": "jest --pass-with-no-tests --collect-coverage",
|
||||||
"lint": "eslint src --ext mjs,js,ts",
|
"lint": "eslint src --ext mjs,js,ts",
|
||||||
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
|
|||||||
@@ -7667,7 +7667,7 @@ turbo-windows-64@1.0.24:
|
|||||||
resolved "https://registry.yarnpkg.com/turbo-windows-64/-/turbo-windows-64-1.0.24.tgz#5dd30b10110f2bb69caa479ddd72b4c471fb0dea"
|
resolved "https://registry.yarnpkg.com/turbo-windows-64/-/turbo-windows-64-1.0.24.tgz#5dd30b10110f2bb69caa479ddd72b4c471fb0dea"
|
||||||
integrity sha512-YHAWha5XkW0Ate1HtwhzFD32kZFXtC8KB4ReEvHc9GM2inQob1ZinvktS0xi5MC5Sxl9+bObOWmsxeZPOgNCFA==
|
integrity sha512-YHAWha5XkW0Ate1HtwhzFD32kZFXtC8KB4ReEvHc9GM2inQob1ZinvktS0xi5MC5Sxl9+bObOWmsxeZPOgNCFA==
|
||||||
|
|
||||||
turbo@^1.0.24-canary.2:
|
turbo@^1.0.24:
|
||||||
version "1.0.24"
|
version "1.0.24"
|
||||||
resolved "https://registry.yarnpkg.com/turbo/-/turbo-1.0.24.tgz#5efdeb44aab2f5e97b24a3e0ed4a159bfcd0a877"
|
resolved "https://registry.yarnpkg.com/turbo/-/turbo-1.0.24.tgz#5efdeb44aab2f5e97b24a3e0ed4a159bfcd0a877"
|
||||||
integrity sha512-bfOr7iW48+chDl+yKiZ5FIWzXOF6xOIyrAGPaWI+I5CdD27IZCEGvqvTV/weaHvjLbV7otybHQ56XCybBlVjoA==
|
integrity sha512-bfOr7iW48+chDl+yKiZ5FIWzXOF6xOIyrAGPaWI+I5CdD27IZCEGvqvTV/weaHvjLbV7otybHQ56XCybBlVjoA==
|
||||||
|
|||||||
Reference in New Issue
Block a user