@storyblok/nuxt 4.4.0 → 4.4.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/module.d.ts CHANGED
@@ -13,7 +13,7 @@ const require = __cjs_mod__.createRequire(import.meta.url);
13
13
 
14
14
  var module = defineNuxtModule({
15
15
  meta: {
16
- name: "@storyblok/nuxt-beta",
16
+ name: "@storyblok/nuxt",
17
17
  configKey: "storyblok"
18
18
  },
19
19
  defaults: {},
@@ -27,6 +27,8 @@ var module = defineNuxtModule({
27
27
  addComponentsDir({ path: "~/storyblok", global: true, pathPrefix: false });
28
28
  const runtimeDir = fileURLToPath(new URL("./runtime", import.meta.url));
29
29
  nuxt.options.build.transpile.push(runtimeDir);
30
+ nuxt.options.build.transpile.push("@storyblok/nuxt");
31
+ nuxt.options.build.transpile.push("@storyblok/vue");
30
32
  nuxt.options.runtimeConfig.public.storyblok = options;
31
33
  if (options.usePlugin !== false)
32
34
  addPlugin(resolve(__dirname, "runtime", `./plugin`));
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@storyblok/nuxt-beta",
2
+ "name": "@storyblok/nuxt",
3
3
  "configKey": "storyblok",
4
4
  "version": "0.0.1"
5
5
  }
package/dist/module.mjs CHANGED
@@ -13,7 +13,7 @@ const require = __cjs_mod__.createRequire(import.meta.url);
13
13
 
14
14
  const module = defineNuxtModule({
15
15
  meta: {
16
- name: "@storyblok/nuxt-beta",
16
+ name: "@storyblok/nuxt",
17
17
  configKey: "storyblok"
18
18
  },
19
19
  defaults: {},
@@ -27,6 +27,8 @@ const module = defineNuxtModule({
27
27
  addComponentsDir({ path: "~/storyblok", global: true, pathPrefix: false });
28
28
  const runtimeDir = fileURLToPath(new URL("./runtime", import.meta.url));
29
29
  nuxt.options.build.transpile.push(runtimeDir);
30
+ nuxt.options.build.transpile.push("@storyblok/nuxt");
31
+ nuxt.options.build.transpile.push("@storyblok/vue");
30
32
  nuxt.options.runtimeConfig.public.storyblok = options;
31
33
  if (options.usePlugin !== false)
32
34
  addPlugin(resolve(__dirname, "runtime", `./plugin`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyblok/nuxt",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "description": "Storyblok Nuxt.js module",
5
5
  "main": "./src/module.js",
6
6
  "module": "./src/module.js",
package/src/module.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
 
12
12
  export default defineNuxtModule({
13
13
  meta: {
14
- name: "@storyblok/nuxt-beta",
14
+ name: "@storyblok/nuxt",
15
15
  configKey: "storyblok"
16
16
  },
17
17
  defaults: {},
@@ -30,7 +30,8 @@ export default defineNuxtModule({
30
30
 
31
31
  const runtimeDir = fileURLToPath(new URL("./runtime", import.meta.url));
32
32
  nuxt.options.build.transpile.push(runtimeDir);
33
- // nuxt.options.build.transpile.push("@storyblok/vue");
33
+ nuxt.options.build.transpile.push("@storyblok/nuxt");
34
+ nuxt.options.build.transpile.push("@storyblok/vue");
34
35
 
35
36
  // Add plugin
36
37
  nuxt.options.runtimeConfig.public.storyblok = options;