@vcp-dev/site-edit-engine 0.10.23 → 0.10.25

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
@@ -23,6 +23,7 @@ npm install @vcp-dev/contracts @vcp-dev/site-edit-engine
23
23
  - `createPreviewSiteEditEngineRuntime`
24
24
  - `PreviewFileSystemSiteEditEngineRuntime`
25
25
  - `scanSiteEditThemeStyleViolations` / `SITE_EDIT_RAW_COLOR_LITERAL_RE`
26
+ - `parseSourceModule` / `resolveImportBase`:复用引擎的 TSX 解析与本地 import 路径规则,公开类型由独立 facade 定义,不暴露 `internal/*` 模块路径。
26
27
  - `openFileHistoryStore` / `FileHistoryStoreError`
27
28
  - 相关 runtime、style policy 与 file history public types
28
29
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export { parseSourceModule, resolveImportBase } from "./source-module.js";
2
+ export { instrumentSiteEditRuntimeAttributes } from "./site-edit-instrumentation.js";
1
3
  export { createSiteEditEngineRuntime, SnapshotSiteEditEngineRuntime, } from "./runtime.js";
2
4
  export { createPreviewSiteEditEngineRuntime, PreviewFileSystemSiteEditEngineRuntime, } from "./preview-runtime.js";
3
5
  export { scanSiteEditThemeStyleViolations, SITE_EDIT_RAW_COLOR_LITERAL_RE, } from "./materialization-style-policy.js";