nuxt-strapi-blocks-renderer 1.0.7 → 1.0.8

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
@@ -53,6 +53,7 @@ text editor element:
53
53
  </script>
54
54
 
55
55
  <template>
56
+ <!-- Render blocks text -->
56
57
  <StrapiBlocksText :nodes="blockNodes" />
57
58
  </template>
58
59
  ```
@@ -180,9 +181,7 @@ Custom blockquote and code tags (`<blockquote>`, `<pre>`):
180
181
 
181
182
  <!-- components/StrapiBlocksTextCodeNode.vue -->
182
183
  <template>
183
- <pre class="my-custom-class-for-pre">
184
- <slot />
185
- </pre>
184
+ <pre class="my-custom-class-for-pre"><slot /></pre>
186
185
  </template>
187
186
  ```
188
187
 
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
3
  "configKey": "strapiBlocksRenderer",
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "builder": {
6
- "@nuxt/module-builder": "0.8.0",
6
+ "@nuxt/module-builder": "0.8.1",
7
7
  "unbuild": "2.0.0"
8
8
  }
9
9
  }
@@ -1,5 +1,3 @@
1
1
  <template>
2
- <pre>
3
- <slot />
4
- </pre>
2
+ <pre><slot /></pre>
5
3
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Renderer for the strapi CMS blocks text content element.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,32 +38,34 @@
38
38
  "test:watch": "vitest watch"
39
39
  },
40
40
  "dependencies": {
41
- "@nuxt/kit": "^3.12.2",
41
+ "@nuxt/kit": "^3.12.3",
42
42
  "defu": "^6.1.4"
43
43
  },
44
44
  "devDependencies": {
45
- "@nuxt/devtools": "^1.3.7",
45
+ "@nuxt/devtools": "^1.3.9",
46
46
  "@nuxt/eslint-config": "^0.3.13",
47
- "@nuxt/module-builder": "^0.8.0",
48
- "@nuxt/schema": "^3.12.2",
47
+ "@nuxt/module-builder": "^0.8.1",
48
+ "@nuxt/schema": "^3.12.3",
49
49
  "@nuxt/test-utils": "^3.13.1",
50
50
  "@stylistic/eslint-plugin": "^2.3.0",
51
- "@types/node": "^20.14.9",
52
- "@typescript-eslint/eslint-plugin": "^7.14.1",
51
+ "@types/node": "^20.14.10",
52
+ "@typescript-eslint/eslint-plugin": "^7.16.0",
53
53
  "eslint": "^8.57.0",
54
- "nuxt": "^3.12.2",
55
- "typescript": "^5.5.2",
54
+ "nuxt": "^3.12.3",
55
+ "typescript": "^5.5.3",
56
56
  "vitest": "^1.6.0",
57
57
  "vue": "^3.4.31",
58
58
  "vue-eslint-parser": "^9.4.3",
59
- "vue-tsc": "^2.0.22"
59
+ "vue-tsc": "^2.0.26"
60
60
  },
61
+ "keywords": [
62
+ "nuxt", "nuxt3", "nuxtjs", "nuxt-module", "strapi", "strapi-cms", "json", "blocks"
63
+ ],
61
64
  "packageManager": "npm@10.2.4",
62
65
  "engines": {
63
66
  "node": "^18.x || ^20.x"
64
67
  },
65
68
  "stackblitz": {
66
- "startCommand": "npm run dev:prepare && npm run dev",
67
- "file": "playground/basic/pages/index.vue"
69
+ "startCommand": "npm run dev:prepare && npm run dev"
68
70
  }
69
71
  }