cloudflare-next-intl 0.10.23 → 0.10.25
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/bin/db_codegen.mjs +2 -0
- package/package.json +2 -2
package/bin/db_codegen.mjs
CHANGED
|
@@ -10,6 +10,8 @@ import { dirname, join } from 'node:path';
|
|
|
10
10
|
// package.json (and therefore its package root) resolves directly —
|
|
11
11
|
// unlike the runtime db package, this one isn't trying to restrict its
|
|
12
12
|
// public surface to a curated set of subpaths.
|
|
13
|
+
process.env.CFNI_DB_SCHEMA_IMPORT ??= 'cloudflare-next-intl/dbSchema';
|
|
14
|
+
|
|
13
15
|
const pkgPath = createRequire(import.meta.url).resolve('cloudflare-next-intl-db-codegen/package.json');
|
|
14
16
|
const codegenPackageRoot = dirname(fileURLToPath(pathToFileURL(pkgPath)));
|
|
15
17
|
await import(pathToFileURL(join(codegenPackageRoot, 'bin', 'db_codegen.mjs')).href);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudflare-next-intl",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.25",
|
|
4
4
|
"description": "Optimized Next Intl Package Special for App Router and Cloudflare",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"dependencies": {
|
|
360
360
|
"@microsoft/clarity": "^1.0.2",
|
|
361
361
|
"cloudflare-next-intl-db": "^0.3.0",
|
|
362
|
-
"cloudflare-next-intl-db-codegen": "^0.1.
|
|
362
|
+
"cloudflare-next-intl-db-codegen": "^0.1.4",
|
|
363
363
|
"jose": "^6.2.8",
|
|
364
364
|
"sharp": "^0.34.5 || ^0.35.0"
|
|
365
365
|
},
|