mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Upgrade to turbo v2 (#11705)
This commit is contained in:
parent
b860a9998d
commit
4a2cb3d1a9
3 changed files with 96 additions and 77 deletions
|
@ -65,7 +65,7 @@
|
|||
"only-allow": "^1.2.1",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"turbo": "^1.13.4",
|
||||
"turbo": "^2.0.12",
|
||||
"typescript": "~5.5.4",
|
||||
"typescript-eslint": "^8.0.1"
|
||||
},
|
||||
|
|
|
@ -52,8 +52,8 @@ importers:
|
|||
specifier: ^0.14.1
|
||||
version: 0.14.1
|
||||
turbo:
|
||||
specifier: ^1.13.4
|
||||
version: 1.13.4
|
||||
specifier: ^2.0.12
|
||||
version: 2.0.12
|
||||
typescript:
|
||||
specifier: ~5.5.4
|
||||
version: 5.5.4
|
||||
|
@ -8281,7 +8281,7 @@ packages:
|
|||
resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==}
|
||||
|
||||
concat-map@0.0.1:
|
||||
resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
|
||||
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
||||
|
||||
consola@3.2.3:
|
||||
resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==}
|
||||
|
@ -11224,38 +11224,38 @@ packages:
|
|||
tslib@2.6.2:
|
||||
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
|
||||
|
||||
turbo-darwin-64@1.13.4:
|
||||
resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==}
|
||||
turbo-darwin-64@2.0.12:
|
||||
resolution: {integrity: sha512-NAgfgbXxX/JScWQmmQnGbPuFZq7LIswHfcMk5JwyBXQM/xmklNOxxac7MnGGIOf19Z2f6S3qHy17VIj0SeGfnA==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
turbo-darwin-arm64@1.13.4:
|
||||
resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==}
|
||||
turbo-darwin-arm64@2.0.12:
|
||||
resolution: {integrity: sha512-cP02uer5KSJ+fXL+OfRRk5hnVjV0c60hxDgNcJxrZpfhun7HHoKDDR7w2xhQntiA45aC6ZZEXRqMKpj6GAmKbg==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
turbo-linux-64@1.13.4:
|
||||
resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==}
|
||||
turbo-linux-64@2.0.12:
|
||||
resolution: {integrity: sha512-+mQgGfg1eq5qF+wenK/FKJaNMNAo5DQLC4htQy+8osW+fx6U+8+6UlPQPaycAWDEqwOI7NwuqkeHfkEQLQUTyQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
turbo-linux-arm64@1.13.4:
|
||||
resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==}
|
||||
turbo-linux-arm64@2.0.12:
|
||||
resolution: {integrity: sha512-KFyEZDXfPU1DK4zimxdCcqAcK7IIttX4mfsgB7NsSEOmH0dhHOih/YFYiyEDC1lTRx0C2RlzQ0Kjjdz48AN5Eg==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
turbo-windows-64@1.13.4:
|
||||
resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==}
|
||||
turbo-windows-64@2.0.12:
|
||||
resolution: {integrity: sha512-kJj4KCkZTkDTDCqsSw1m1dbO4WeoQq1mYUm/thXOH0OkeqYbSMt0EyoTcJOgKUDsrMnzZD2gPfYrlYHtV69lVA==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
turbo-windows-arm64@1.13.4:
|
||||
resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==}
|
||||
turbo-windows-arm64@2.0.12:
|
||||
resolution: {integrity: sha512-TY3ROxguDilN2olCwcZMaePdW01Xhma0pZU7bNhsQEqca9RGAmsZBuzfGnTMcWPmv4tpnb/PlX1hrt1Hod/44Q==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
turbo@1.13.4:
|
||||
resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==}
|
||||
turbo@2.0.12:
|
||||
resolution: {integrity: sha512-8s2KwqjwQj7z8Z53SUZSKVkQOZ2/Sl4D2F440oaBY/k2lGju60dW6srEpnn8/RIDeICZmQn3pQHF79Jfnc5Skw==}
|
||||
hasBin: true
|
||||
|
||||
type-check@0.4.0:
|
||||
|
@ -17872,32 +17872,32 @@ snapshots:
|
|||
|
||||
tslib@2.6.2: {}
|
||||
|
||||
turbo-darwin-64@1.13.4:
|
||||
turbo-darwin-64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo-darwin-arm64@1.13.4:
|
||||
turbo-darwin-arm64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo-linux-64@1.13.4:
|
||||
turbo-linux-64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo-linux-arm64@1.13.4:
|
||||
turbo-linux-arm64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo-windows-64@1.13.4:
|
||||
turbo-windows-64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo-windows-arm64@1.13.4:
|
||||
turbo-windows-arm64@2.0.12:
|
||||
optional: true
|
||||
|
||||
turbo@1.13.4:
|
||||
turbo@2.0.12:
|
||||
optionalDependencies:
|
||||
turbo-darwin-64: 1.13.4
|
||||
turbo-darwin-arm64: 1.13.4
|
||||
turbo-linux-64: 1.13.4
|
||||
turbo-linux-arm64: 1.13.4
|
||||
turbo-windows-64: 1.13.4
|
||||
turbo-windows-arm64: 1.13.4
|
||||
turbo-darwin-64: 2.0.12
|
||||
turbo-darwin-arm64: 2.0.12
|
||||
turbo-linux-64: 2.0.12
|
||||
turbo-linux-arm64: 2.0.12
|
||||
turbo-windows-64: 2.0.12
|
||||
turbo-windows-arm64: 2.0.12
|
||||
|
||||
type-check@0.4.0:
|
||||
dependencies:
|
||||
|
|
111
turbo.json
111
turbo.json
|
@ -1,48 +1,67 @@
|
|||
{
|
||||
"$schema": "https://turborepo.org/schema.json",
|
||||
"pipeline": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": [
|
||||
"**/*",
|
||||
"!test/**/*",
|
||||
"!e2e/**/*",
|
||||
"!performance/**/*",
|
||||
"!.astro/**/*",
|
||||
"!.cache/**/*",
|
||||
"!mod.js",
|
||||
"!mod.js.map"
|
||||
],
|
||||
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
|
||||
"outputMode": "new-only"
|
||||
},
|
||||
"build:ci": {
|
||||
"dependsOn": ["^build:ci"],
|
||||
"inputs": [
|
||||
"**/*",
|
||||
"!test/**/*",
|
||||
"!e2e/**/*",
|
||||
"!performance/**/*",
|
||||
"!.astro/**/*",
|
||||
"!.cache/**/*",
|
||||
"!mod.js",
|
||||
"!mod.js.map"
|
||||
],
|
||||
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
|
||||
"outputMode": "new-only"
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": ["^test"],
|
||||
"env": ["RUNNER_OS", "NODE_VERSION"],
|
||||
"outputMode": "new-only"
|
||||
},
|
||||
"test:hosted": {
|
||||
"outputMode": "new-only",
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
"$schema": "https://turborepo.org/schema.json",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
],
|
||||
"inputs": [
|
||||
"**/*",
|
||||
"!test/**/*",
|
||||
"!e2e/**/*",
|
||||
"!performance/**/*",
|
||||
"!.astro/**/*",
|
||||
"!.cache/**/*",
|
||||
"!mod.js",
|
||||
"!mod.js.map"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**/*",
|
||||
"!vendor/**",
|
||||
"mod.js",
|
||||
"mod.js.map"
|
||||
],
|
||||
"outputLogs": "new-only"
|
||||
},
|
||||
"build:ci": {
|
||||
"dependsOn": [
|
||||
"^build:ci"
|
||||
],
|
||||
"inputs": [
|
||||
"**/*",
|
||||
"!test/**/*",
|
||||
"!e2e/**/*",
|
||||
"!performance/**/*",
|
||||
"!.astro/**/*",
|
||||
"!.cache/**/*",
|
||||
"!mod.js",
|
||||
"!mod.js.map"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**/*",
|
||||
"!vendor/**",
|
||||
"mod.js",
|
||||
"mod.js.map"
|
||||
],
|
||||
"outputLogs": "new-only"
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": [
|
||||
"^test"
|
||||
],
|
||||
"env": [
|
||||
"RUNNER_OS",
|
||||
"NODE_VERSION"
|
||||
],
|
||||
"outputLogs": "new-only"
|
||||
},
|
||||
"test:hosted": {
|
||||
"cache": false,
|
||||
"outputLogs": "new-only"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue