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
|
||||
.git
|
||||
*.log
|
||||
apps/*/.medusa
|
||||
.turbo
|
||||
**/.turbo
|
||||
|
||||
+11
-3
@@ -2,15 +2,23 @@
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**", ".next/**"]
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
],
|
||||
"outputs": [
|
||||
".medusa/**",
|
||||
"dist/**",
|
||||
".next/**"
|
||||
]
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"start": {
|
||||
"dependsOn": ["^build"]
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"outputs": []
|
||||
|
||||
Reference in New Issue
Block a user