@@ -13,8 +13,9 @@ packages/classy-store/src/
1313├── core/core.ts # Layer 1: Write Proxy — createClassyStore(), subscribe(), getVersion()
1414├── snapshot/snapshot.ts # Layer 2: Immutable snapshots — snapshot(), structural sharing
1515├── types.ts # Snapshot<T>, StoreInternal, DepEntry, ComputedEntry
16- ├── index.ts # Main barrel: createClassyStore, snapshot, subscribe, getVersion, shallowEqual, reactiveMap, reactiveSet
16+ ├── index.ts # Main barrel: createClassyStore, snapshot, subscribe, getVersion, shallowEqual
1717├── collections/collections.ts # ReactiveMap and ReactiveSet (array-backed Map/Set emulation)
18+ ├── collections/index.ts # Collections barrel: reactiveMap, reactiveSet, ReactiveMap, ReactiveSet
1819├── frameworks/
1920│ ├── react/react.ts # Layer 3 (React): useStore(), useLocalStore() via useSyncExternalStore
2021│ ├── vue/vue.ts # Vue: useStore() → ShallowRef<Snapshot<T>> (onUnmounted cleanup)
@@ -105,7 +106,8 @@ Enforced by Biome 2.4.0 (`biome.json` at repo root):
105106
106107| Import path | Contents |
107108| ---| ---|
108- | ` @codebelt/classy-store ` | ` createClassyStore ` , ` snapshot ` , ` subscribe ` , ` getVersion ` , ` shallowEqual ` , ` reactiveMap ` , ` reactiveSet ` , ` Snapshot ` type |
109+ | ` @codebelt/classy-store ` | ` createClassyStore ` , ` snapshot ` , ` subscribe ` , ` getVersion ` , ` shallowEqual ` , ` Snapshot ` type |
110+ | ` @codebelt/classy-store/collections ` | ` reactiveMap ` , ` reactiveSet ` , ` ReactiveMap ` type, ` ReactiveSet ` type |
109111| ` @codebelt/classy-store/react ` | ` useStore ` , ` useLocalStore ` |
110112| ` @codebelt/classy-store/vue ` | ` useStore ` (ShallowRef) |
111113| ` @codebelt/classy-store/svelte ` | ` toSvelteStore ` (ClassyReadable) |
0 commit comments