Turbo kannte die Ausgabe des Builds nicht
In turbo.json standen als Ausgabe dist/** und .next/**, Medusa schreibt aber nach .medusa/**. Turbo meldete deshalb einen Treffer im Zwischenspeicher, führte den Build nicht aus und legte nichts ab — im Image fehlte anschließend das Ergebnis, und der Bau brach ab. Jetzt steht .medusa/** in den Ausgaben. Zusätzlich bleibt der Turbo-Zwischenspeicher aus dem Image heraus, er hat dort nichts zu suchen. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,3 +6,6 @@ node_modules
|
|||||||
**/.env
|
**/.env
|
||||||
.git
|
.git
|
||||||
*.log
|
*.log
|
||||||
|
apps/*/.medusa
|
||||||
|
.turbo
|
||||||
|
**/.turbo
|
||||||
|
|||||||
+11
-3
@@ -2,15 +2,23 @@
|
|||||||
"$schema": "https://turbo.build/schema.json",
|
"$schema": "https://turbo.build/schema.json",
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": [
|
||||||
"outputs": ["dist/**", ".next/**"]
|
"^build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
".medusa/**",
|
||||||
|
"dist/**",
|
||||||
|
".next/**"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"cache": false,
|
"cache": false,
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"dependsOn": ["^build"]
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"outputs": []
|
"outputs": []
|
||||||
|
|||||||
Reference in New Issue
Block a user