create-nextblock 0.2.53 → 0.2.57

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextblock",
3
- "version": "0.2.53",
3
+ "version": "0.2.57",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -17,8 +17,8 @@ import { getTranslations } from '@/app/cms/settings/extra-translations/actions';
17
17
  import type { Database } from '@nextblock-cms/db';
18
18
  import { headers, cookies } from 'next/headers';
19
19
 
20
- const defaultUrl = process.env.VERCEL_URL
21
- ? `https://${process.env.VERCEL_URL}`
20
+ const defaultUrl = process.env.NEXT_PUBLIC_URL
21
+ ? `https://${process.env.NEXT_PUBLIC_URL}`
22
22
  : "http://localhost:3000";
23
23
 
24
24
  const DEFAULT_LOCALE_FOR_LAYOUT = 'en';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
- import "./.next/dev/types/routes.d.ts";
3
+ import "./.next/types/routes.d.ts";
4
4
 
5
5
  // NOTE: This file should not be edited
6
6
  // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextblock-cms/template",
3
- "version": "0.2.31",
3
+ "version": "0.2.35",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev",