rimelight-components 2.0.75 → 2.0.77

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.75",
3
+ "version": "2.0.77",
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.75";
7
+ const version = "2.0.77";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -215,7 +215,7 @@ const module$1 = defineNuxtModule().with({
215
215
  return baseName.replace(/Renderer$/, "");
216
216
  });
217
217
  const blockRendererTemplate = addBlockMapTemplates(blockRendererNames);
218
- nuxt.options.alias["#build/rimelight-block-renderer-map"] = blockRendererTemplate.dst;
218
+ nuxt.options.alias["#rimelight-components/rimelight-block-renderer-map"] = blockRendererTemplate.dst;
219
219
  const blockEditorFiles = readdirSync(
220
220
  resolve("./runtime/components/blocks/editor")
221
221
  ).filter((name2) => name2.endsWith(".vue"));
@@ -224,7 +224,12 @@ const module$1 = defineNuxtModule().with({
224
224
  return baseName.replace(/Editor$/, "");
225
225
  });
226
226
  const blockEditorTemplate = addEditorBlockMapTemplates(blockEditorNames);
227
- nuxt.options.alias["#build/rimelight-block-editor-map"] = blockEditorTemplate.dst;
227
+ nuxt.options.alias["#rimelight-components/rimelight-block-editor-map"] = blockEditorTemplate.dst;
228
+ nuxt.hook("nitro:config", (nitroConfig) => {
229
+ nitroConfig.alias = nitroConfig.alias || {};
230
+ nitroConfig.alias["#rimelight-components/rimelight-block-renderer-map"] = blockRendererTemplate.dst;
231
+ nitroConfig.alias["#rimelight-components/rimelight-block-editor-map"] = blockEditorTemplate.dst;
232
+ });
228
233
  }
229
234
  });
230
235
 
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent } from "vue";
2
- import { BLOCK_RENDERER_COMPONENT_MAP } from "#build/rimelight-block-renderer-map";
3
- import { BLOCK_EDITOR_COMPONENT_MAP } from "#build/rimelight-block-editor-map";
2
+ import { BLOCK_RENDERER_COMPONENT_MAP } from "#rimelight-components/rimelight-block-renderer-map";
3
+ import { BLOCK_EDITOR_COMPONENT_MAP } from "#rimelight-components/rimelight-block-editor-map";
4
4
  export const getBlockRendererComponent = (type) => {
5
5
  const componentImporter = BLOCK_RENDERER_COMPONENT_MAP[type];
6
6
  if (!componentImporter) {
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.75",
4
+ "version": "2.0.77",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",