nuxt-strapi-blocks-renderer 1.0.18 → 1.0.19
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
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[![Github Actions][github-actions-src]][github-actions-href]
|
|
8
8
|
[![NPM version][npm-version-src]][npm-version-href]
|
|
9
9
|
[![NPM downloads][npm-downloads-src]][npm-downloads-href]
|
|
10
|
+
[![NPM last update][npm-last-update-src]][npm-last-update-href]
|
|
10
11
|
[![License][license-src]][license-href]
|
|
11
12
|
|
|
12
13
|
A fully customizable Nuxt 3 module for rendering text with the new Blocks rich text editor element from Strapi CMS.
|
|
@@ -405,5 +406,8 @@ To release a new version of the strapi blocks renderer nuxt module, take the fol
|
|
|
405
406
|
[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
406
407
|
[npm-downloads-href]: https://npmjs.com/package/nuxt-strapi-blocks-renderer
|
|
407
408
|
|
|
409
|
+
[npm-last-update-src]: https://img.shields.io/npm/last-update/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
410
|
+
[npm-last-update-href]: https://npmjs.com/package/nuxt-strapi-blocks-renderer
|
|
411
|
+
|
|
408
412
|
[license-src]: https://img.shields.io/github/license/freb97/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
409
413
|
[license-href]: https://github.com/freb97/nuxt-strapi-blocks-renderer/blob/main/LICENSE
|
package/dist/module.json
CHANGED
|
@@ -58,10 +58,10 @@ export interface ImageBlockNode {
|
|
|
58
58
|
children: [{ type: 'text'; text: '' }];
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export type BlockNode
|
|
62
|
-
ParagraphBlockNode
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
export type BlockNode
|
|
62
|
+
= ParagraphBlockNode
|
|
63
|
+
| QuoteBlockNode
|
|
64
|
+
| CodeBlockNode
|
|
65
|
+
| HeadingBlockNode
|
|
66
|
+
| ListBlockNode
|
|
67
|
+
| ImageBlockNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BlockNode, CodeBlockNode, DefaultInlineNode, HeadingBlockNode, ImageBlockNode, LinkInlineNode, ListBlockNode, ListItemInlineNode, ParagraphBlockNode, QuoteBlockNode, TextInlineNode } from '#strapi-blocks-renderer/types';
|
|
2
1
|
import type { VNode } from 'vue';
|
|
2
|
+
import type { BlockNode, CodeBlockNode, DefaultInlineNode, HeadingBlockNode, ImageBlockNode, LinkInlineNode, ListBlockNode, ListItemInlineNode, ParagraphBlockNode, QuoteBlockNode, TextInlineNode } from '#strapi-blocks-renderer/types';
|
|
3
3
|
export declare const textInlineNode: (node: TextInlineNode, prefix: string) => (VNode | string)[] | VNode;
|
|
4
4
|
export declare const linkInlineNode: (node: LinkInlineNode, prefix: string) => VNode;
|
|
5
5
|
export declare const defaultInlineNode: (node: DefaultInlineNode, prefix: string) => (VNode | string)[] | VNode | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-strapi-blocks-renderer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Renderer for the strapi CMS blocks text content element.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"renovate:config:validate": "renovate-config-validator"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nuxt/kit": "^3.17.
|
|
47
|
+
"@nuxt/kit": "^3.17.6",
|
|
48
48
|
"defu": "^6.1.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@nuxt/devtools": "^2.
|
|
52
|
-
"@nuxt/eslint-config": "^1.
|
|
51
|
+
"@nuxt/devtools": "^2.6.2",
|
|
52
|
+
"@nuxt/eslint-config": "^1.5.2",
|
|
53
53
|
"@nuxt/module-builder": "^1.0.1",
|
|
54
|
-
"@nuxt/schema": "^3.17.
|
|
55
|
-
"@nuxt/test-utils": "^3.19.
|
|
54
|
+
"@nuxt/schema": "^3.17.6",
|
|
55
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
56
56
|
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
57
|
-
"eslint": "^9.
|
|
58
|
-
"nuxt": "^3.17.
|
|
59
|
-
"renovate": "^
|
|
60
|
-
"vitest": "^3.
|
|
61
|
-
"vue-tsc": "^
|
|
57
|
+
"eslint": "^9.31.0",
|
|
58
|
+
"nuxt": "^3.17.6",
|
|
59
|
+
"renovate": "^41.31.1",
|
|
60
|
+
"vitest": "^3.2.4",
|
|
61
|
+
"vue-tsc": "^3.0.1"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"nuxt",
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
"stackblitz": {
|
|
79
79
|
"startCommand": "npm run dev:prepare && npm run dev:custom"
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|