@solcreek/cli 0.4.30 → 0.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/nextjs.js +11 -6
- package/package.json +1 -1
package/dist/utils/nextjs.js
CHANGED
|
@@ -212,12 +212,17 @@ const ADAPTER_VERSION = "^0.2.2";
|
|
|
212
212
|
// adapter and imports @prisma/adapter-d1 (an optional peer it doesn't ship).
|
|
213
213
|
const PRISMA_BSQLITE_PKG = "@prisma/adapter-better-sqlite3";
|
|
214
214
|
const PRISMA_D1_PKG = "@prisma/adapter-d1";
|
|
215
|
-
//
|
|
216
|
-
//
|
|
217
|
-
//
|
|
218
|
-
//
|
|
219
|
-
//
|
|
220
|
-
|
|
215
|
+
// Minimum adapter the CLI will REUSE from a prior .creek install; older
|
|
216
|
+
// cached copies are force-reinstalled. Each bump tracks a deploy-critical
|
|
217
|
+
// adapter fix that a stale cache would silently miss:
|
|
218
|
+
// 0.2.2 — wrangler resolved via module resolution (not a nested .bin guess)
|
|
219
|
+
// 0.2.6 — better-sqlite3 stubbed (else the native module inlines → a ~200MB
|
|
220
|
+
// worker that only fails at upload with "Payload Too Large")
|
|
221
|
+
// 0.2.7 — zero-change Prisma-on-D1 swap
|
|
222
|
+
// 0.2.10 — oversized-bundle fail-fast
|
|
223
|
+
// Kept at the latest because the reinstall cost is trivial and a cached copy
|
|
224
|
+
// in the 0.2.2–0.2.5 window builds successfully but produces a broken worker.
|
|
225
|
+
const ADAPTER_MIN_VERSION = "0.2.10";
|
|
221
226
|
/**
|
|
222
227
|
* Merge a dependency into .creek/package.json without clobbering deps that
|
|
223
228
|
* a previous install (adapter or opennext) may have already written.
|