fix: externalize lzma for import build
Local Build and Deploy / deploy (push) Successful in 49s

This commit is contained in:
Simo committed 2026-07-12 19:15:08 +02:00
1 parent eb759f54bf
commit c0ffc74f9b
52 files changed
+1 -52

No files matched your search

@@ -19,4 +19,3 @@ describe('resolveGamedataFile', () => {
expect(resolveGamedataFile(absolutePath, 'FigureMap.json')).toBe(absolutePath)
})
})
@@ -26,4 +26,3 @@ export function resolveGamedataFile(url: string, fallbackName: string): string {
if (existsSync(/*turbopackIgnore: true*/ gamedata)) return gamedata
return configured
}
@@ -18,4 +18,3 @@ describe('import/core/download validators', () => {
expect(validatePngBytes(Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]))).toBe(false)
})
})
-1
View File
@@ -65,4 +65,3 @@ export async function downloadFile(
}
return { ok: false, size: 0 }
}
@@ -41,4 +41,3 @@ describe('import/core/gamedata-json', () => {
expect(d.effects).toHaveLength(4) // 1 seed + 3 appended, none lost
})
})
@@ -61,4 +61,3 @@ export async function writeGamedataJsonAtomic(filePath: string, data: unknown):
await fs.writeFile(/*turbopackIgnore: true*/ tmp, JSON.stringify(data, null, 2), 'utf-8')
await fs.rename(/*turbopackIgnore: true*/ tmp, filePath)
}
@@ -29,4 +29,3 @@ describe('import/core/gordon', () => {
await expect(resolveGordonBuildUrl()).rejects.toThrow()
})
})
-1
View File
@@ -20,4 +20,3 @@ export async function resolveGordonBuildUrl(): Promise<string> {
gordonCache = { url: normalized, ts: now }
return normalized
}
@@ -26,4 +26,3 @@ describe('import/core/sse-batch', () => {
expect(events.at(-1)).toMatchObject({ type: 'batch_complete', succeeded: 2, failed: 1 })
})
})
@@ -103,4 +103,3 @@ export function runSseBatch<T>(opts: RunSseBatchOptions<T>): Response {
},
})
}