@motionstudies/core 0.1.0-alpha.32 → 0.1.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +22 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,6 +25,28 @@ Build release candidates with `npm run build:packages`. Distribution manifests a
25
25
 
26
26
  Source workspace manifests always stay private. `npm run check:release` builds public candidates, tests their packed consumer and records the tested tarball hashes; `npm run release:dry-run` inspects the publication without writing to npm. The manual main-branch `release.yml` workflow publishes those same tarballs with public access and provenance. See [release instructions](https://github.com/emmettl/motionstudies/blob/main/docs/RELEASING.md) for bootstrap-token and trusted-publisher setup. All four shared packages are MIT-licensed; each distribution includes `LICENSE`.
27
27
 
28
+ ## Edition maintenance and layout observation
29
+
30
+ These exports are introduced in coordinated release `0.1.0-alpha.33`; earlier releases do not expose them.
31
+
32
+ `checkEditionBoundary` from `@motionstudies/data/edition-boundary` verifies the four
33
+ shared registry pins, lockfile metadata, installed package identity, public exports
34
+ and declared source imports. Pass `directories` for the edition's required source
35
+ and worker roots, and `additionalPackages` for other packages needing the same
36
+ exact-pin/public-export checks. `root` defaults to the working directory. The
37
+ checker performs no installation, mutation or network access. It rejects missing
38
+ configured directories, workspaces, shared source copies and installed links.
39
+ `moduleReferences` from `@motionstudies/data/module-references` supplies the same
40
+ AST-based import analysis to local policy tests; it reports nonliteral imports as
41
+ unverifiable. Dataset, worker and publication policy remain edition-owned.
42
+
43
+ `observeLayout` from `@motionstudies/web/observe-layout` measures once immediately,
44
+ then batches resize notifications into one animation frame. Call its returned
45
+ cleanup before removing the observed elements; it disconnects the observer and
46
+ cancels pending work. Without ResizeObserver it still performs the initial
47
+ measurement. The caller owns the elements, geometry, CSS variables and their
48
+ cleanup; the helper does not choose clearance values or depend on React.
49
+
28
50
  ## Timetable patterns, station calls and observation windows
29
51
 
30
52
  `@motionstudies/core/domain/network-patterns` provides a transport-neutral repeated-schedule codec. `@motionstudies/web/use-pattern-network-day` lazily decodes current/adjacent chunks after verifying byte length and SHA-256; it exposes retry and drops old-source state when the manifest URL changes. Supply stable options and a stable asset resolver. Format/category options support existing edition wire contracts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motionstudies/core",
3
- "version": "0.1.0-alpha.32",
3
+ "version": "0.1.0-alpha.34",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Transport contracts and motion primitives for Motion Studies.",