rimelight-components 2.0.32 → 2.0.33
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.json +1 -1
- package/dist/module.mjs +5 -3
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.33";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -55,7 +55,8 @@ function addBlockMapTemplates(blockNames) {
|
|
|
55
55
|
getContents: () => {
|
|
56
56
|
let content = "export const BLOCK_RENDERER_COMPONENT_MAP = {\n";
|
|
57
57
|
blockNames.forEach((name) => {
|
|
58
|
-
const
|
|
58
|
+
const fullComponentName = `${name}Renderer`;
|
|
59
|
+
const componentPath = `rimelight-components/components/blocks/renderer/${fullComponentName}.vue`;
|
|
59
60
|
content += ` '${name}': () => import('${componentPath}'),
|
|
60
61
|
`;
|
|
61
62
|
});
|
|
@@ -91,7 +92,8 @@ function addEditorBlockMapTemplates(blockNames) {
|
|
|
91
92
|
getContents: () => {
|
|
92
93
|
let content = "export const BLOCK_EDITOR_COMPONENT_MAP = {\n";
|
|
93
94
|
blockNames.forEach((name) => {
|
|
94
|
-
const
|
|
95
|
+
const fullComponentName = `${name}Editor`;
|
|
96
|
+
const componentPath = `rimelight-components/components/blocks/editor/${fullComponentName}.vue`;
|
|
95
97
|
content += ` '${name}': () => import('${componentPath}'),
|
|
96
98
|
`;
|
|
97
99
|
});
|