@sentinel-js/react 0.1.1 → 0.1.3

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 +2 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -14,6 +14,8 @@ pnpm add @sentinel-js/react
14
14
 
15
15
  **Peer dependencies:** `react` and `react-dom` (>=16.8.0). You must have them installed in your app.
16
16
 
17
+ When you add `@sentinel-js/vite-plugin` to your Vite config, it automatically sets `resolve.dedupe` and `optimizeDeps.include` so a single React instance is used in both dev and build. No extra config is required.
18
+
17
19
  ## Usage
18
20
 
19
21
  ### Option A: Standard UI (Toast Banner)
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@sentinel-js/react",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
+ "license": "MIT",
5
6
  "main": "./dist/index.umd.js",
6
7
  "module": "./dist/index.es.js",
7
8
  "types": "./dist/index.d.ts",