nuxt-strapi-blocks-renderer 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -34,7 +34,7 @@ text editor element:
34
34
 
35
35
  ```vue
36
36
  <script setup lang="ts">
37
- import type { BlockNode } from 'nuxt-strapi-blocks-renderer/dist/runtime/types';
37
+ import type { BlockNode } from '#strapi-blocks-renderer/types';
38
38
  import type { Restaurant } from '~/types';
39
39
 
40
40
  const route = useRoute();
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
3
  "configKey": "strapiBlocksRenderer",
4
- "version": "1.0.2"
4
+ "version": "1.0.3"
5
5
  }
@@ -1,3 +1,4 @@
1
+ import type { VNode } from 'vue';
1
2
  import type { BlockNode } from '#strapi-blocks-renderer/types';
2
3
  export declare const textInlineNode: (node: TextInlineNode) => VNode | string;
3
4
  export declare const linkInlineNode: (node: LinkInlineNode) => VNode;
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import type { ModuleOptions } from './module'
2
+ import type { ModuleOptions } from './module.js'
3
3
 
4
4
 
5
5
  declare module '@nuxt/schema' {
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
13
13
  }
14
14
 
15
15
 
16
- export type { ModuleOptions, default } from './module'
16
+ export type { ModuleOptions, default } from './module.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Renderer for the strapi blocks text element.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,26 +28,27 @@
28
28
  "dev:custom": "nuxi dev playground/custom",
29
29
  "release": "npm run lint && npm run test && npm run prepack && npm publish",
30
30
  "release:ci": "npm run prepack && npm publish",
31
- "lint": "eslint './**/*.{js,ts,vue}' --max-warnings=0",
31
+ "lint:es": "eslint './**/*.{js,ts,vue}' --max-warnings=0",
32
+ "lint:types": "tsc",
32
33
  "test": "vitest run",
33
34
  "test:watch": "vitest watch"
34
35
  },
35
36
  "dependencies": {
36
- "@nuxt/kit": "^3.8.2",
37
- "defu": "^6.1.3"
37
+ "@nuxt/kit": "^3.10.2",
38
+ "defu": "^6.1.4"
38
39
  },
39
40
  "devDependencies": {
40
- "@types/node": "^20.10.3",
41
- "@nuxt/devtools": "^1.0.6",
41
+ "@types/node": "^20.11.19",
42
+ "@nuxt/devtools": "^1.0.8",
42
43
  "@nuxt/eslint-config": "^0.2.0",
43
- "@nuxt/module-builder": "^0.5.4",
44
- "@nuxt/schema": "^3.8.2",
45
- "@nuxt/test-utils": "^3.8.1",
46
- "@stylistic/eslint-plugin": "^1.5.1",
47
- "eslint": "^8.55.0",
48
- "nuxt": "^3.8.2",
49
- "vitest": "^1.1.0",
50
- "vue": "^3.3.13",
51
- "vue-eslint-parser": "^9.3.2"
44
+ "@nuxt/module-builder": "^0.5.5",
45
+ "@nuxt/schema": "^3.10.2",
46
+ "@nuxt/test-utils": "^3.11.0",
47
+ "@stylistic/eslint-plugin": "^1.6.2",
48
+ "eslint": "^8.56.0",
49
+ "nuxt": "^3.10.2",
50
+ "vitest": "^1.3.0",
51
+ "vue": "^3.4.19",
52
+ "vue-eslint-parser": "^9.4.2"
52
53
  }
53
54
  }