@easy-cms/nuxt 0.48.0 → 0.49.0

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/module.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_API_PATH,
11
11
  importConfig,
12
12
  resolveAdminModule
13
- } from "@easy-cms/core";
13
+ } from "@easy-cms/core/internal";
14
14
  import {
15
15
  addImports,
16
16
  addServerHandler,
@@ -111,7 +111,7 @@ declare module '${SERVER}' {
111
111
  locale: rawConfig?.admin?.locale ?? "en",
112
112
  brand: rawConfig?.admin?.brand ?? {},
113
113
  // The site is this Nuxt app.
114
- siteUrl: rawConfig?.admin?.siteUrl ?? "/"
114
+ siteURL: rawConfig?.admin?.siteURL ?? "/"
115
115
  };
116
116
  const shell = renderShell(readFileSync(shellFile, "utf8"), shellOptions);
117
117
  nitro.virtual[ADMIN_SHELL] = `export const basePath = ${JSON.stringify(adminPath)}
@@ -1,4 +1,5 @@
1
- import { createApiHandler, forwardedClientIp, platformClientIp } from "@easy-cms/core";
1
+ import { createApiHandler } from "@easy-cms/core";
2
+ import { forwardedClientIp, platformClientIp } from "@easy-cms/core/internal";
2
3
  import {
3
4
  defineEventHandler,
4
5
  getRequestHeader,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/nuxt",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "Nuxt module for Easy CMS",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@nuxt/kit": "^4.5.2",
22
22
  "h3": "^1.15.11",
23
- "@easy-cms/admin": "^0.48.0"
23
+ "@easy-cms/admin": "^0.49.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "nuxt": "^4.0.0",
27
- "@easy-cms/core": "^0.48.0"
27
+ "@easy-cms/core": "^0.49.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@nuxt/schema": "^4.5.2",
31
31
  "@nuxt/test-utils": "^4.3.2",
32
32
  "nuxt": "^4.5.2",
33
33
  "vue": "^3.5.0",
34
- "@easy-cms/core": "^0.48.0",
35
- "@easy-cms/db-sqlite": "^0.48.0"
34
+ "@easy-cms/core": "^0.49.0",
35
+ "@easy-cms/db-sqlite": "^0.49.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"