@unseenco/theatre-core 0.4.3 → 0.6.0

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
@@ -16,14 +16,20 @@ You can use Theatre.js to:
16
16
 
17
17
  Guides and API reference live in the monorepo `docs/` workspace. Run `yarn docs:dev` from the repo root, or see the deployed site from [craftedbygc/theatre](https://github.com/craftedbygc/theatre).
18
18
 
19
- ## Community
20
-
21
- Join us on [Discord](https://discord.gg/bm9f8F9Y9N), follow the updates on [twitter](https://twitter.com/AriaMinaei) or write us an [email](mailto:hello@theatrejs.com).
22
-
23
19
  ## `@unseenco/theatre-core`
24
20
 
25
21
  Theatre.js comes in two packages: `@unseenco/theatre-core` (the library) and `@unseenco/theatre-studio` (the editor). This package is the core library.
26
22
 
23
+ ### `@unseenco/theatre-core-lite`
24
+
25
+ A second esbuild entry `src/index-lite.ts` emits `dist/index-lite.{js,mjs}` (published as `@unseenco/theatre-core-lite`). It sets `__THEATRE_LITE__` so sequenced value merging, playback, GSAP, and scroll drivers are excluded from the bundle. After `yarn workspace theatre build:js`, run:
26
+
27
+ ```bash
28
+ THEATRE_LITE_LOG_BUNDLE_SIZES=1 yarn workspace theatre build:js
29
+ ```
30
+
31
+ to print minified KiB sizes for full vs lite (`core`, `core-lite`, `studio`, `studio-lite`).
32
+
27
33
  ### Listing and unloading sheets / objects
28
34
 
29
35
  Runtime helpers for tearing down loaded sheets and objects (for example when switching scenes). These drop in-memory instances so Studio stops showing them, but **do not** clear persisted project state. Recreating the same `sheetId` / object `key` restores prior prop overrides and sequence data.