mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
build(deps-dev): Update turbo to v2 (#3735)
* Update turbo to v2 Also some small config changes * Remove test for the non-exiting "client" pkg * Re-add build:type dependency to lint * Add missing comma * Use turbo in build:watch
This commit is contained in:
13
.github/workflows/lib-check.yml
vendored
13
.github/workflows/lib-check.yml
vendored
@@ -155,19 +155,6 @@ jobs:
|
||||
with:
|
||||
package: bot
|
||||
|
||||
client-unit-test:
|
||||
name: Client
|
||||
needs: build-dist
|
||||
uses: ./.github/workflows/unit-test.yml
|
||||
with:
|
||||
package: client
|
||||
client-other-runtime-test:
|
||||
name: Client
|
||||
needs: client-unit-test
|
||||
uses: ./.github/workflows/other-runtime-unit-test.yml
|
||||
with:
|
||||
package: client
|
||||
|
||||
discordeno-unit-test:
|
||||
name: Discordeno
|
||||
needs: build-dist
|
||||
|
||||
33
package.json
33
package.json
@@ -7,32 +7,31 @@
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "turbo run build --no-daemon",
|
||||
"build:watch": "echo \"Starting build in watch mode...\" && chokidar \"packages/**/*.ts\" --ignore \"packages/**/dist/**/*.d.ts\" -c \"yarn run build && yarn run build:type\"",
|
||||
"build": "turbo run build",
|
||||
"build:watch": "echo \"Starting build in watch mode...\" && chokidar \"packages/**/*.ts\" --ignore \"packages/**/dist/**/*.d.ts\" -c \"turbo run build build:type\"",
|
||||
"build:doc": "typedoc --options ./typedoc.json && node scripts/finalizeTypedocs.js",
|
||||
"build:type": "turbo run build:type --no-daemon",
|
||||
"dev": "turbo run dev --parallel --no-daemon",
|
||||
"fmt": "turbo run fmt --no-daemon",
|
||||
"build:type": "turbo run build:type",
|
||||
"release-build": "turbo run build build:type",
|
||||
"test:bun-unit": "turbo run test:bun-unit",
|
||||
"test:deno-unit": "turbo run test:deno-unit",
|
||||
"test:e2e": "turbo run test:e2e",
|
||||
"test:integration": "turbo run test:integration",
|
||||
"test:test-type": "turbo run test:test-type",
|
||||
"test:type": "turbo run build:type",
|
||||
"test:unit": "turbo run test:unit",
|
||||
"test:unit-coverage": "turbo run test:unit-coverage",
|
||||
"fmt": "turbo run fmt",
|
||||
"format": "biome format --write",
|
||||
"lint": "turbo run lint --no-daemon",
|
||||
"lint": "turbo run lint",
|
||||
"prepare": "husky",
|
||||
"release-build": "turbo run release-build --no-daemon",
|
||||
"setup-dd": "husky",
|
||||
"test:bun-unit": "turbo run test:bun-unit --no-daemon",
|
||||
"test:deno-unit": "turbo run test:deno-unit --no-daemon",
|
||||
"test:e2e": "turbo run test:e2e --no-daemon",
|
||||
"test:integration": "turbo run test:integration --no-daemon",
|
||||
"test:test-type": "turbo run test:test-type --no-daemon",
|
||||
"test:type": "turbo run build:type --no-daemon",
|
||||
"test:unit": "turbo run test:unit --no-daemon",
|
||||
"test:unit-coverage": "turbo run test:unit-coverage --no-daemon"
|
||||
"setup-dd": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.8.0",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"husky": "^9.0.11",
|
||||
"lint-staged": "^15.2.7",
|
||||
"turbo": "^1.11.3",
|
||||
"turbo": "^2.0.6",
|
||||
"typedoc": "^0.26.4",
|
||||
"typedoc-plugin-markdown": "^4.1.2",
|
||||
"typescript": "^5.5.3"
|
||||
|
||||
14
turbo.json
14
turbo.json
@@ -1,17 +1,13 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"pipeline": {
|
||||
"tasks": {
|
||||
"build": {
|
||||
"outputs": ["dist/**/*.js"],
|
||||
"inputs": ["src/**/*.ts"]
|
||||
},
|
||||
"build:type": {
|
||||
"dependsOn": ["^build:type"],
|
||||
"outputs": ["dist/**/*.d.ts", "dist/**/*.d.ts.map", "dist/tsconfig.tsbuildinfo"]
|
||||
},
|
||||
"release-build": {
|
||||
"dependsOn": ["^release-build"],
|
||||
"outputs": ["dist/**"]
|
||||
"outputs": ["dist/types/**/*.d.ts", "dist/types/**/*.d.ts.map", "dist/tsconfig.tsbuildinfo"]
|
||||
},
|
||||
"test:unit-coverage": {
|
||||
"dependsOn": ["^build"],
|
||||
@@ -41,12 +37,10 @@
|
||||
"outputs": ["coverage/**"]
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["^build:type"]
|
||||
"dependsOn": ["build:type"],
|
||||
"cache": false
|
||||
},
|
||||
"fmt": {
|
||||
"dependsOn": ["^build:type"]
|
||||
},
|
||||
"dev": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
|
||||
70
yarn.lock
70
yarn.lock
@@ -1535,7 +1535,7 @@ __metadata:
|
||||
chokidar-cli: "npm:^3.0.0"
|
||||
husky: "npm:^9.0.11"
|
||||
lint-staged: "npm:^15.2.7"
|
||||
turbo: "npm:^1.11.3"
|
||||
turbo: "npm:^2.0.6"
|
||||
typedoc: "npm:^0.26.4"
|
||||
typedoc-plugin-markdown: "npm:^4.1.2"
|
||||
typescript: "npm:^5.5.3"
|
||||
@@ -2376,9 +2376,9 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"lilconfig@npm:~3.1.1":
|
||||
version: 3.1.1
|
||||
resolution: "lilconfig@npm:3.1.1"
|
||||
checksum: c80fbf98ae7d1daf435e16a83fe3c63743b9d92804cac6dc53ee081c7c265663645c3162d8a0d04ff1874f9c07df145519743317dee67843234c6ed279300f83
|
||||
version: 3.1.2
|
||||
resolution: "lilconfig@npm:3.1.2"
|
||||
checksum: 8058403850cfad76d6041b23db23f730e52b6c17a8c28d87b90766639ca0ee40c748a3e85c2d7bd133d572efabff166c4b015e5d25e01fd666cb4b13cfada7f0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3351,9 +3351,9 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"rfdc@npm:^1.3.1":
|
||||
version: 1.3.1
|
||||
resolution: "rfdc@npm:1.3.1"
|
||||
checksum: 44cc6a82e2fe1db13b7d3c54e9ffd0b40ef070cbde69ffbfbb38dab8cee46bd68ba686784b96365ff08d04798bc121c3465663a0c91f2c421c90546c4366f4a6
|
||||
version: 1.4.1
|
||||
resolution: "rfdc@npm:1.4.1"
|
||||
checksum: 2f3d11d3d8929b4bfeefc9acb03aae90f971401de0add5ae6c5e38fec14f0405e6a4aad8fdb76344bfdd20c5193110e3750cbbd28ba86d73729d222b6cf4a729
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3849,58 +3849,58 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"turbo-darwin-64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-darwin-64@npm:1.11.3"
|
||||
"turbo-darwin-64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-darwin-64@npm:2.0.6"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-darwin-arm64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-darwin-arm64@npm:1.11.3"
|
||||
"turbo-darwin-arm64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-darwin-arm64@npm:2.0.6"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-linux-64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-linux-64@npm:1.11.3"
|
||||
"turbo-linux-64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-linux-64@npm:2.0.6"
|
||||
conditions: os=linux & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-linux-arm64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-linux-arm64@npm:1.11.3"
|
||||
"turbo-linux-arm64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-linux-arm64@npm:2.0.6"
|
||||
conditions: os=linux & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-windows-64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-windows-64@npm:1.11.3"
|
||||
"turbo-windows-64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-windows-64@npm:2.0.6"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-windows-arm64@npm:1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo-windows-arm64@npm:1.11.3"
|
||||
"turbo-windows-arm64@npm:2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo-windows-arm64@npm:2.0.6"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo@npm:^1.11.3":
|
||||
version: 1.11.3
|
||||
resolution: "turbo@npm:1.11.3"
|
||||
"turbo@npm:^2.0.6":
|
||||
version: 2.0.6
|
||||
resolution: "turbo@npm:2.0.6"
|
||||
dependencies:
|
||||
turbo-darwin-64: "npm:1.11.3"
|
||||
turbo-darwin-arm64: "npm:1.11.3"
|
||||
turbo-linux-64: "npm:1.11.3"
|
||||
turbo-linux-arm64: "npm:1.11.3"
|
||||
turbo-windows-64: "npm:1.11.3"
|
||||
turbo-windows-arm64: "npm:1.11.3"
|
||||
turbo-darwin-64: "npm:2.0.6"
|
||||
turbo-darwin-arm64: "npm:2.0.6"
|
||||
turbo-linux-64: "npm:2.0.6"
|
||||
turbo-linux-arm64: "npm:2.0.6"
|
||||
turbo-windows-64: "npm:2.0.6"
|
||||
turbo-windows-arm64: "npm:2.0.6"
|
||||
dependenciesMeta:
|
||||
turbo-darwin-64:
|
||||
optional: true
|
||||
@@ -3916,7 +3916,7 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
turbo: bin/turbo
|
||||
checksum: 649938c8fecc7f4a9f0995fc41593216eadf51bd8314e1d5a6f45603d6a15e0ea2a7b108de7feb617e6ee5b1cab2505c7b843cd26d1c2164b14a665b6adcf886
|
||||
checksum: 685b12a565c823d3392992d77619b860999861a53e046c196a09b03e3ba001db96f62192a0bf68c92b26e3629d91de40f2bd17ec67f83a1f694dfb34d5f480b9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user