@ecopages/core 0.2.0-beta.36 → 0.2.0-beta.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecopages/core",
3
- "version": "0.2.0-beta.36",
3
+ "version": "0.2.0-beta.37",
4
4
  "description": "Core package for Ecopages",
5
5
  "keywords": [
6
6
  "ecopages",
@@ -17,7 +17,7 @@
17
17
  "directory": "packages/core"
18
18
  },
19
19
  "dependencies": {
20
- "@ecopages/file-system": "0.2.0-beta.36",
20
+ "@ecopages/file-system": "0.2.0-beta.37",
21
21
  "@ecopages/logger": "^0.2.3",
22
22
  "@ecopages/scripts-injector": "^0.1.5",
23
23
  "@oxc-project/runtime": "0.141.0",
@@ -32,7 +32,7 @@
32
32
  "@standard-schema/utils": "^0.3.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "@ecopages/dev-toolbar": "0.2.0-beta.36"
35
+ "@ecopages/dev-toolbar": "0.2.0-beta.37"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@ecopages/dev-toolbar": {
@@ -14,16 +14,16 @@ Server-side wiring for the development-only in-browser inspector. Public docs: [
14
14
 
15
15
  ## Module map
16
16
 
17
- | File | Role |
18
- | ------------------------------ | -------------------------------------------------------------------------- |
19
- | `dev-toolbar-host.ts` | Enablement, manifest contribution, runtime bundling, HTML injection |
17
+ | File | Role |
18
+ | ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19
+ | `dev-toolbar-host.ts` | Enablement, manifest contribution, runtime bundling, HTML injection |
20
20
  | `dev-toolbar-manifest-contract.ts` | `#__ECO_DEV_MANIFEST__` id and payload types (public: `@ecopages/core/dev-toolbar/dev-toolbar-manifest-contract`; mirrored in `@ecopages/dev-toolbar` for browser bundling) |
21
- | `dev-toolbar-manifest.ts` | Builds and serializes the per-page dev manifest |
22
- | `dev-toolbar-package.ts` | Resolves `devToolbar.package` bootstrap entry (`bootstrap.js`, then `.ts`) |
23
- | `dev-toolbar-config.ts` | `isDevToolbarEnabled` — watch mode, env var, package required |
24
- | `dev-toolbar-html-response.ts` | Adapter helpers for injecting `import '/_dev_toolbar.js'` |
25
- | `dev-toolbar-runtime-paths.ts` | `/_dev_toolbar.js` URL and work-dir paths |
26
- | `define-dev-tool.ts` | Config helper for bring-your-own client packages |
21
+ | `dev-toolbar-manifest.ts` | Builds and serializes the per-page dev manifest |
22
+ | `dev-toolbar-package.ts` | Resolves `devToolbar.package` bootstrap entry (`bootstrap.js`, then `.ts`) |
23
+ | `dev-toolbar-config.ts` | `isDevToolbarEnabled` — watch mode, env var, package required |
24
+ | `dev-toolbar-html-response.ts` | Adapter helpers for injecting `import '/_dev_toolbar.js'` |
25
+ | `dev-toolbar-runtime-paths.ts` | `/_dev_toolbar.js` URL and work-dir paths |
26
+ | `define-dev-tool.ts` | Config helper for bring-your-own client packages |
27
27
 
28
28
  ## Injection order
29
29
 
package/src/hmr/README.md CHANGED
@@ -37,11 +37,11 @@ Hosts call `prepareHmrFileChange()` before HMR dispatch (`hmr/hmr-file-change-pr
37
37
 
38
38
  ## Client events
39
39
 
40
- | Event | Client behavior |
41
- | --- | --- |
42
- | `update` | Cache-bust and re-import the changed module URL (or reload the active page module) |
43
- | `css-update` | Refresh matching stylesheet `link` hrefs |
40
+ | Event | Client behavior |
41
+ | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
42
+ | `update` | Cache-bust and re-import the changed module URL (or reload the active page module) |
43
+ | `css-update` | Refresh matching stylesheet `link` hrefs |
44
44
  | `layout-update` | Soft current-page reload with layout cache cleared (`persistLayouts` remounts the updated layout without a full document reload). Falls back to `location.reload()` only if no navigation owner handles it |
45
- | `reload` | Full `location.reload()` |
45
+ | `reload` | Full `location.reload()` |
46
46
 
47
47
  Dev-transform local imports are rewritten with a content-hash query (`?v=…`) so transitive layout/component modules get a new ESM module-map key after invalidation. Soft `layout-update` then picks up the new layout while shared outer layout persistence still applies across normal SPA navigations.