@dvashim/store 1.5.3 → 1.5.5
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 +19 -2
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
# @dvashim/store
|
|
2
2
|
|
|
3
|
-
[![
|
|
3
|
+
[![CI][ci-badge]][ci-url]
|
|
4
|
+
[![npm version][npm-badge]][npm-url]
|
|
5
|
+
[![npm downloads][downloads-badge]][npm-url]
|
|
6
|
+
[![License: MIT][license-badge]][license-url]
|
|
7
|
+
[![TypeScript][ts-badge]][ts-url]
|
|
8
|
+
[![Checked with Biome][biome-badge]][biome-url]
|
|
9
|
+
|
|
10
|
+
[ci-badge]: https://img.shields.io/github/actions/workflow/status/dvashim/store/ci.yml?branch=main&style=flat-square&logo=github&label=CI
|
|
11
|
+
[ci-url]: https://github.com/dvashim/store/actions/workflows/ci.yml
|
|
12
|
+
[npm-badge]: https://img.shields.io/npm/v/@dvashim/store.svg?logo=npm&style=flat-square&color=07c&label=@dvashim/store
|
|
13
|
+
[npm-url]: https://www.npmjs.com/package/@dvashim/store
|
|
14
|
+
[downloads-badge]: https://img.shields.io/npm/dm/@dvashim/store?logo=npm&style=flat-square&color=07c
|
|
15
|
+
[license-badge]: https://img.shields.io/npm/l/@dvashim/store?style=flat-square&color=07c
|
|
16
|
+
[license-url]: https://github.com/dvashim/store/blob/main/LICENSE
|
|
17
|
+
[ts-badge]: https://img.shields.io/badge/TypeScript-07c?style=flat-square&logo=typescript&logoColor=fff
|
|
18
|
+
[ts-url]: https://www.typescriptlang.org/
|
|
19
|
+
[biome-badge]: https://img.shields.io/badge/Checked_with-Biome-60a5fa?style=flat-square&logo=biome&color=07c&logoColor=fff
|
|
20
|
+
[biome-url]: https://biomejs.dev
|
|
4
21
|
|
|
5
22
|
A minimal, lightweight React state management library built on `useSyncExternalStore`.
|
|
6
23
|
|
|
@@ -18,7 +35,7 @@ or pnpm:
|
|
|
18
35
|
pnpm add @dvashim/store
|
|
19
36
|
```
|
|
20
37
|
|
|
21
|
-
**Peer dependencies:** `react
|
|
38
|
+
**Peer dependencies:** `react` and `react-dom` ^18.0.0 || ^19.0.0
|
|
22
39
|
|
|
23
40
|
## Quick Start
|
|
24
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvashim/store",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "Yet another state management in React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lightweight",
|
|
@@ -11,9 +11,13 @@
|
|
|
11
11
|
"typescript",
|
|
12
12
|
"useSyncExternalStore"
|
|
13
13
|
],
|
|
14
|
+
"homepage": "https://github.com/dvashim/store#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/dvashim/store/issues"
|
|
17
|
+
},
|
|
14
18
|
"repository": {
|
|
15
19
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/dvashim/store.git"
|
|
20
|
+
"url": "git+https://github.com/dvashim/store.git"
|
|
17
21
|
},
|
|
18
22
|
"license": "MIT",
|
|
19
23
|
"author": {
|
|
@@ -36,8 +40,8 @@
|
|
|
36
40
|
"@biomejs/biome": "^2.4.9",
|
|
37
41
|
"@changesets/changelog-github": "^0.6.0",
|
|
38
42
|
"@changesets/cli": "^2.30.0",
|
|
39
|
-
"@dvashim/biome-config": "^1.5.
|
|
40
|
-
"@dvashim/typescript-config": "^2.0.
|
|
43
|
+
"@dvashim/biome-config": "^1.5.7",
|
|
44
|
+
"@dvashim/typescript-config": "^2.0.4",
|
|
41
45
|
"@testing-library/react": "^16.3.2",
|
|
42
46
|
"@types/node": "^25.5.0",
|
|
43
47
|
"@types/react": "^19.2.14",
|
|
@@ -54,16 +58,18 @@
|
|
|
54
58
|
"react": "^18.0.0 || ^19.0.0",
|
|
55
59
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
56
60
|
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=18"
|
|
63
|
+
},
|
|
57
64
|
"publishConfig": {
|
|
58
|
-
"access": "public"
|
|
59
|
-
"provenance": true
|
|
65
|
+
"access": "public"
|
|
60
66
|
},
|
|
61
67
|
"scripts": {
|
|
62
68
|
"build": "tsc --project tsconfig.dev.json",
|
|
63
69
|
"changeset": "changeset",
|
|
64
70
|
"check": "pnpm run \"/^check:.*/\"",
|
|
65
71
|
"check:biome": "biome check",
|
|
66
|
-
"check:ts": "tsc --
|
|
72
|
+
"check:ts": "tsc --project tsconfig.dev.json --emitDeclarationOnly",
|
|
67
73
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
68
74
|
"test": "vitest run",
|
|
69
75
|
"test:coverage": "vitest run --coverage",
|