flarecms 0.2.11 → 0.2.12

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.
@@ -1,4 +1,4 @@
1
- import type { PluginDescriptor, ResolvedPlugin, FlarePlugin } from './types.js';
1
+ import type { PluginDescriptor, ResolvedPlugin, FlarePlugin } from './types';
2
2
  /**
3
3
  * Adapts any plugin input (Descriptor or full Plugin object) into a ResolvedPlugin.
4
4
  */
@@ -1,5 +1,5 @@
1
- import type { FlareDb } from '../db/index.js';
2
- import type { PluginContext, PluginCapability } from './types.js';
1
+ import type { FlareDb } from '../db/index';
2
+ import type { PluginContext, PluginCapability } from './types';
3
3
  export interface ContextFactoryOptions {
4
4
  pluginId: string;
5
5
  version: string;
@@ -1,4 +1,4 @@
1
- import type { FlarePluginDefinition } from './types.js';
1
+ import type { FlarePluginDefinition } from './types';
2
2
  /**
3
3
  * definePlugin() Helper
4
4
  *
@@ -1,5 +1,5 @@
1
- import type { ResolvedPlugin } from './types.js';
2
- import type { FlareDb } from '../db/index.js';
1
+ import type { ResolvedPlugin } from './types';
2
+ import type { FlareDb } from '../db/index';
3
3
  /**
4
4
  * HookPipeline manages the registration and execution of hooks across all plugins.
5
5
  */
@@ -1,7 +1,7 @@
1
- export { definePlugin } from './define-plugin.js';
2
- export { PluginManager } from './manager.js';
3
- export { NoopSandboxRunner, SandboxNotAvailableError } from './noop-sandbox.js';
4
- export { adaptEntry } from './adapt-entry.js';
5
- export { createPluginContext } from './context.js';
6
- export { pluginMiddleware } from './middleware.js';
1
+ export { definePlugin } from './define-plugin';
2
+ export { PluginManager } from './manager';
3
+ export { NoopSandboxRunner, SandboxNotAvailableError } from './noop-sandbox';
4
+ export { adaptEntry } from './adapt-entry';
5
+ export { createPluginContext } from './context';
6
+ export { pluginMiddleware } from './middleware';
7
7
  export type { BlockInteraction, BlockResponse, FlarePluginDefinition, FlarePlugin, PluginDescriptor, PluginManifest, PluginContext, SandboxRunner, SandboxRunnerFactory, PluginCapability, SerializedRequest, RouteCtx, } from './types';
@@ -1,6 +1,6 @@
1
- import { type InvokeRouteOptions } from './routes.js';
2
- import type { ResolvedPlugin, BlockInteraction, BlockResponse } from './types.js';
3
- import type { FlareDb } from '../db/index.js';
1
+ import { type InvokeRouteOptions } from './routes';
2
+ import type { ResolvedPlugin, BlockInteraction, BlockResponse } from './types';
3
+ import type { FlareDb } from '../db/index';
4
4
  /**
5
5
  * PluginManager is the central orchestrator for the FlareCMS plugin system.
6
6
  * It coordinates hook execution, route handling, and plugin lifecycle.
@@ -1,5 +1,5 @@
1
1
  import type { MiddlewareHandler } from 'hono';
2
- import type { FlarePlugin, PluginDescriptor } from './types.js';
2
+ import type { FlarePlugin, PluginDescriptor } from './types';
3
3
  /**
4
4
  * Hono middleware to initialize the PluginManager.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { SandboxRunner, SandboxedPlugin, PluginManifest } from './types.js';
1
+ import type { SandboxRunner, SandboxedPlugin, PluginManifest } from './types';
2
2
  /**
3
3
  * Error thrown when a sandboxed operation is attempted but no sandbox runner is available.
4
4
  */
@@ -1,5 +1,5 @@
1
- import type { ResolvedPlugin, SerializedRequest } from './types.js';
2
- import type { FlareDb } from '../db/index.js';
1
+ import type { ResolvedPlugin, SerializedRequest } from './types';
2
+ import type { FlareDb } from '../db/index';
3
3
  export interface InvokeRouteOptions {
4
4
  input: unknown;
5
5
  request: SerializedRequest;
@@ -1,5 +1,5 @@
1
1
  import { WorkerEntrypoint } from 'cloudflare:workers';
2
- import type { PluginBridgeInterface, PluginBridgeEnv } from './types.js';
2
+ import type { PluginBridgeInterface, PluginBridgeEnv } from './types';
3
3
  /**
4
4
  * PluginBridge is the RPC gateway that runs in the Host process.
5
5
  * It exposes secure methods to the Sandboxed Plugin via Service Bindings.
@@ -1,5 +1,5 @@
1
- import type { SandboxRunner, SandboxedPlugin, PluginManifest, SandboxOptions } from '../types.js';
2
- import type { WorkerLoader } from './types.js';
1
+ import type { SandboxRunner, SandboxedPlugin, PluginManifest, SandboxOptions } from '../types';
2
+ import type { WorkerLoader } from './types';
3
3
  /**
4
4
  * Sandbox Runner implementation for Cloudflare Workers.
5
5
  * Uses the dynamic 'Worker Loader' API to spawn V8 isolates.
@@ -1,4 +1,4 @@
1
- import type { PluginCapability } from '../types.js';
1
+ import type { PluginCapability } from '../types';
2
2
  /**
3
3
  * Interface for the Cloudflare Worker Loader API.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { PluginManifest } from '../types.js';
1
+ import type { PluginManifest } from '../types';
2
2
  /**
3
3
  * Generates the JavaScript wrapper code that runs inside the Worker Isolate.
4
4
  * It sets up the RPC bridge to the host and provides the PluginContext.
package/dist/style.css CHANGED
@@ -5103,7 +5103,7 @@
5103
5103
  font-style: normal;
5104
5104
  font-display: swap;
5105
5105
  font-weight: 100 900;
5106
- src: url(../../../../node_modules/.bun/@fontsource-variable+geist@5.2.8/node_modules/@fontsource-variable/geist/files/geist-cyrillic-wght-normal.woff2) format('woff2-variations');
5106
+ src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-cyrillic-wght-normal.woff2) format('woff2-variations');
5107
5107
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
5108
5108
  }
5109
5109
  @font-face {
@@ -5111,7 +5111,7 @@
5111
5111
  font-style: normal;
5112
5112
  font-display: swap;
5113
5113
  font-weight: 100 900;
5114
- src: url(../../../../node_modules/.bun/@fontsource-variable+geist@5.2.8/node_modules/@fontsource-variable/geist/files/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
5114
+ src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
5115
5115
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
5116
5116
  }
5117
5117
  @font-face {
@@ -5119,7 +5119,7 @@
5119
5119
  font-style: normal;
5120
5120
  font-display: swap;
5121
5121
  font-weight: 100 900;
5122
- src: url(../../../../node_modules/.bun/@fontsource-variable+geist@5.2.8/node_modules/@fontsource-variable/geist/files/geist-latin-wght-normal.woff2) format('woff2-variations');
5122
+ src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-latin-wght-normal.woff2) format('woff2-variations');
5123
5123
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
5124
5124
  }
5125
5125
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flarecms",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "license": "MIT",
5
5
  "description": "FlareCMS Monorepo: A lightweight CMS for the AI era.",
6
6
  "files": [