rimelight-components 2.0.33 → 2.0.34

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
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.33";
7
+ const version = "2.0.34";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -209,13 +209,19 @@ const module$1 = defineNuxtModule().with({
209
209
  const blockRendererFiles = readdirSync(
210
210
  resolve("./runtime/components/blocks/renderer")
211
211
  ).filter((name2) => name2.endsWith(".vue"));
212
- const blockRendererNames = blockRendererFiles.map((file) => basename(file, ".vue"));
212
+ const blockRendererNames = blockRendererFiles.map((file) => {
213
+ const baseName = basename(file, ".vue");
214
+ return baseName.replace(/Renderer$/, "");
215
+ });
213
216
  const blockRendererTemplate = addBlockMapTemplates(blockRendererNames);
214
217
  nuxt.options.alias["#build/rimelight-blocks-renderer-map"] = blockRendererTemplate.dst;
215
218
  const blockEditorFiles = readdirSync(
216
219
  resolve("./runtime/components/blocks/editor")
217
220
  ).filter((name2) => name2.endsWith(".vue"));
218
- const blockEditorNames = blockEditorFiles.map((file) => basename(file, ".vue"));
221
+ const blockEditorNames = blockEditorFiles.map((file) => {
222
+ const baseName = basename(file, ".vue");
223
+ return baseName.replace(/Editor$/, "");
224
+ });
219
225
  const blockEditorTemplate = addEditorBlockMapTemplates(blockEditorNames);
220
226
  nuxt.options.alias["#build/rimelight-blocks-editor-map"] = blockEditorTemplate.dst;
221
227
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
3
  "description": "A component library by Rimelight Entertainment.",
4
- "version": "2.0.33",
4
+ "version": "2.0.34",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",