shared-state-bridge 1.0.1 → 1.0.2

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 +6 -0
  2. package/package.json +12 -3
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Share React State Across Packages in Turborepo & Nx Monorepos | shared-state-bridge
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/shared-state-bridge)](https://www.npmjs.com/package/shared-state-bridge)
4
+ [![npm downloads](https://img.shields.io/npm/dm/shared-state-bridge)](https://www.npmjs.com/package/shared-state-bridge)
5
+ [![bundle size](https://img.shields.io/bundlephobia/minzip/shared-state-bridge)](https://bundlephobia.com/package/shared-state-bridge)
6
+ [![license](https://img.shields.io/npm/l/shared-state-bridge)](https://github.com/abdallaemadeldin/shared-state-bridge/blob/master/LICENSE)
7
+ [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue)](https://www.typescriptlang.org/)
8
+
3
9
  Share state between packages in a React monorepo without prop drilling, context threading, or Redux boilerplate. `shared-state-bridge` is a cross-package state store for Turborepo, Nx, and Lerna monorepos -- with React 18 hooks, WebSocket real-time sync, and optional localStorage/AsyncStorage persistence.
4
10
 
5
11
  > Monorepo state management for React -- create a named store in one package, access it by name from any other. ~1.2 KB core, zero dependencies, full TypeScript inference.
package/package.json CHANGED
@@ -1,8 +1,17 @@
1
1
  {
2
2
  "name": "shared-state-bridge",
3
- "version": "1.0.1",
4
- "description": "Lightweight shared state bridge for monorepo apps sync state across packages with TypeScript, React hooks, and optional persistence",
3
+ "version": "1.0.2",
4
+ "description": "Share React state across packages in Turborepo, Nx, and Lerna monorepos. TypeScript-first cross-package state store with React 18 hooks, WebSocket real-time sync, and localStorage/AsyncStorage persistence. Zero dependencies, ~1.2 KB gzipped.",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/abdallaemadeldin/shared-state-bridge.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/abdallaemadeldin/shared-state-bridge/issues"
12
+ },
13
+ "homepage": "https://github.com/abdallaemadeldin/shared-state-bridge#readme",
14
+ "author": "Abdalla Emad Eldin",
6
15
  "type": "module",
7
16
  "sideEffects": false,
8
17
  "exports": {
@@ -100,4 +109,4 @@
100
109
  "real-time",
101
110
  "sync"
102
111
  ]
103
- }
112
+ }