@zylaris/reactivity 1.0.2 → 1.0.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 +32 -0
  2. package/package.json +13 -4
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @zylaris/reactivity
2
+
3
+ > Fine-grained reactivity system for Zylaris
4
+
5
+ Part of the [Zylaris Framework](https://github.com/zylarisjs/zylaris).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @zylaris/reactivity
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { signal, computed, createEffect } from '@zylaris/reactivity';
17
+
18
+ const count = signal(0);
19
+ const doubled = computed(() => count() * 2);
20
+
21
+ createEffect(() => {
22
+ console.log('Count:', count());
23
+ });
24
+ ```
25
+
26
+ ## Documentation
27
+
28
+ Please refer to the [main documentation](https://github.com/zylarisjs/zylaris#readme) for more details.
29
+
30
+ ## License
31
+
32
+ MIT © [zylaris.js](https://github.com/zylarisjs/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zylaris/reactivity",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Fine-grained reactivity system for Zylaris",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,13 +24,22 @@
24
24
  "clean": "rm -rf dist"
25
25
  },
26
26
  "devDependencies": {
27
- "typescript": "^5.3.3",
28
- "vitest": "^1.2.0"
27
+ "typescript": "^5.9.3",
28
+ "vitest": "^4.0.18"
29
29
  },
30
30
  "keywords": [
31
31
  "reactivity",
32
32
  "signals",
33
33
  "zylaris"
34
34
  ],
35
- "license": "MIT"
35
+ "license": "MIT",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/zylarisjs/zylaris.git"
39
+ },
40
+ "homepage": "https://github.com/zylarisjs/zylaris#readme",
41
+ "bugs": {
42
+ "url": "https://github.com/zylarisjs/zylaris/issues"
43
+ },
44
+ "author": "zylaris.js"
36
45
  }