nuxt-strapi-blocks-renderer 1.0.4 → 1.0.5

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
@@ -336,7 +336,7 @@ npm run lint:types
336
336
  To run the Vitest unit tests, run the following command:
337
337
 
338
338
  ```bash
339
- npm run lint:types
339
+ npm run test
340
340
  ````
341
341
 
342
342
  ### Release
package/dist/module.json CHANGED
@@ -1,5 +1,9 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
3
  "configKey": "strapiBlocksRenderer",
4
- "version": "1.0.4"
4
+ "version": "1.0.5",
5
+ "builder": {
6
+ "@nuxt/module-builder": "0.6.0",
7
+ "unbuild": "2.0.0"
8
+ }
5
9
  }
@@ -1,6 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { useBlocksText } from '#strapi-blocks-renderer/composables/useBlocksText';
3
3
 
4
+ import type { VNode } from 'vue';
4
5
  import type { BlockNode } from '#strapi-blocks-renderer/types';
5
6
 
6
7
  const props = defineProps<{
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Renderer for the strapi CMS blocks text content element.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/freb97/nuxt-strapi-blocks-renderer.git"
8
+ "url": "git+https://github.com/freb97/nuxt-strapi-blocks-renderer.git"
9
9
  },
10
10
  "type": "module",
11
11
  "exports": {
@@ -29,7 +29,7 @@
29
29
  "release": "npm run lint && npm run test && npm run prepack && npm publish",
30
30
  "release:ci": "npm run prepack && npm publish",
31
31
  "lint:es": "eslint './**/*.{js,ts,vue}' --max-warnings=0",
32
- "lint:types": "tsc --noEmit",
32
+ "lint:types": "vue-tsc --noEmit",
33
33
  "test": "vitest run",
34
34
  "test:watch": "vitest watch"
35
35
  },
@@ -38,18 +38,20 @@
38
38
  "defu": "^6.1.4"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "^20.12.5",
42
- "@nuxt/devtools": "^1.1.5",
43
- "@nuxt/eslint-config": "^0.3.1",
44
- "@nuxt/module-builder": "^0.5.5",
41
+ "@types/node": "^20.12.11",
42
+ "@nuxt/devtools": "^1.3.1",
43
+ "@nuxt/eslint-config": "^0.3.12",
44
+ "@nuxt/module-builder": "^0.6.0",
45
45
  "@nuxt/schema": "^3.11.2",
46
- "@nuxt/test-utils": "^3.12.0",
47
- "@stylistic/eslint-plugin": "^1.7.0",
46
+ "@nuxt/test-utils": "^3.12.1",
47
+ "@stylistic/eslint-plugin": "^1.8.1",
48
48
  "eslint": "^8.57.0",
49
49
  "nuxt": "^3.11.2",
50
- "vitest": "^1.4.0",
51
- "vue": "^3.4.21",
52
- "vue-eslint-parser": "^9.4.2"
50
+ "vitest": "^1.6.0",
51
+ "vue": "^3.4.27",
52
+ "vue-tsc": "^2.0.17",
53
+ "vue-eslint-parser": "^9.4.2",
54
+ "typescript": "^5.4.5"
53
55
  },
54
56
  "packageManager": "npm@10.2.4",
55
57
  "engines": {