@solcreek/adapter-next-core 0.1.0 → 0.1.1
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/base-config.js +2 -2
- package/dist/cache-handler.d.ts +1 -1
- package/dist/cache-handler.js +1 -1
- package/package.json +1 -1
package/dist/base-config.js
CHANGED
|
@@ -34,12 +34,12 @@ export function applyBaseModifyConfig(config, ctx, opts) {
|
|
|
34
34
|
// path does NOT exist because pnpm only symlinks direct deps.
|
|
35
35
|
//
|
|
36
36
|
// Falls back to the dev-time path the adapter passed when the consumer
|
|
37
|
-
// tree doesn't have @solcreek/adapter-core resolvable (e.g. building
|
|
37
|
+
// tree doesn't have @solcreek/adapter-next-core resolvable (e.g. building
|
|
38
38
|
// inside the adapter monorepo itself).
|
|
39
39
|
let resolvedCacheHandlerPath = opts.cacheHandlerPath;
|
|
40
40
|
try {
|
|
41
41
|
const fromProject = createRequire(projectDir + "/_");
|
|
42
|
-
resolvedCacheHandlerPath = fromProject.resolve("@solcreek/adapter-core/cache-handler");
|
|
42
|
+
resolvedCacheHandlerPath = fromProject.resolve("@solcreek/adapter-next-core/cache-handler");
|
|
43
43
|
}
|
|
44
44
|
catch {
|
|
45
45
|
// Module not resolvable from this project — stick with the
|
package/dist/cache-handler.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* Used by both @solcreek/adapter-creek and @solcreek/adapter-creekd
|
|
15
15
|
* as the default cacheHandler — adapters wire it into next.config via
|
|
16
|
-
* cacheHandler: require.resolve("@solcreek/adapter-core/cache-handler")
|
|
16
|
+
* cacheHandler: require.resolve("@solcreek/adapter-next-core/cache-handler")
|
|
17
17
|
*
|
|
18
18
|
* Persistent / cross-instance caches are out of scope here; an
|
|
19
19
|
* adapter that needs one (e.g. CF Durable Objects, a SQLite-backed
|
package/dist/cache-handler.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* Used by both @solcreek/adapter-creek and @solcreek/adapter-creekd
|
|
15
15
|
* as the default cacheHandler — adapters wire it into next.config via
|
|
16
|
-
* cacheHandler: require.resolve("@solcreek/adapter-core/cache-handler")
|
|
16
|
+
* cacheHandler: require.resolve("@solcreek/adapter-next-core/cache-handler")
|
|
17
17
|
*
|
|
18
18
|
* Persistent / cross-instance caches are out of scope here; an
|
|
19
19
|
* adapter that needs one (e.g. CF Durable Objects, a SQLite-backed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solcreek/adapter-next-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Next.js-specific adapter utilities shared by @solcreek/adapter-creek (CF Workers) and @solcreek/adapter-creekd (creekd self-host)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|