@codebelt/classy-store 0.1.1 → 0.1.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.
- package/package.json +1 -23
- package/README.md +0 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codebelt/classy-store",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Class-based reactive state management — ES6 Proxy + immutable snapshots",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,26 +57,7 @@
|
|
|
57
57
|
"---------- Test --------------------------------------------------------": "",
|
|
58
58
|
"test": "bun test",
|
|
59
59
|
"---------- Lint --------------------------------------------------------": "",
|
|
60
|
-
"lint": "biome check",
|
|
61
|
-
"lint:fix": "biome check --write",
|
|
62
60
|
"typecheck": "tsc --noEmit",
|
|
63
|
-
"---------- Release (Changesets) ----------------------------------------": "",
|
|
64
|
-
"changeset": "changeset",
|
|
65
|
-
"changeset:add": "changeset add",
|
|
66
|
-
"changeset:version": "changeset version",
|
|
67
|
-
"changeset:publish": "bun run build && changeset publish",
|
|
68
|
-
"changeset:status": "changeset status",
|
|
69
|
-
"prerelease:enter": "changeset pre enter",
|
|
70
|
-
"prerelease:exit": "changeset pre exit",
|
|
71
|
-
"---------- Docs (Docusaurus) ------------------------------------------": "",
|
|
72
|
-
"demos:build": "cd examples/rendering && bun run build.ts --outdir=../../website/static/demos",
|
|
73
|
-
"docs:dev": "bun run demos:build && cd website && bun run start",
|
|
74
|
-
"docs:build": "bun run demos:build && cd website && bun run build",
|
|
75
|
-
"docs:deploy": "cd website && bun run deploy",
|
|
76
|
-
"---------- CI / Helper ------------------------------------------------": "",
|
|
77
|
-
"checkall": "bun run lint:fix && bun run test && bun run typecheck",
|
|
78
|
-
"clean": "find . -name node_modules -o -name .next -o -name dist -o -name build | xargs rm -rf",
|
|
79
|
-
"deps": "bun update --latest",
|
|
80
61
|
"-----------------------------------------------------------------------": ""
|
|
81
62
|
},
|
|
82
63
|
"dependencies": {
|
|
@@ -91,9 +72,6 @@
|
|
|
91
72
|
}
|
|
92
73
|
},
|
|
93
74
|
"devDependencies": {
|
|
94
|
-
"@biomejs/biome": "2.4.0",
|
|
95
|
-
"@changesets/changelog-github": "0.5.2",
|
|
96
|
-
"@changesets/cli": "2.29.8",
|
|
97
75
|
"@happy-dom/global-registrator": "20.6.1",
|
|
98
76
|
"@types/bun": "1.3.9",
|
|
99
77
|
"@types/react": "19.2.14",
|
package/README.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# @codebelt/classy-store
|
|
2
|
-
|
|
3
|
-
**Class-based reactive state management for React.**
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@codebelt/classy-store)
|
|
6
|
-
[](https://github.com/codebelt/classy-store/actions/workflows/ci.yml)
|
|
7
|
-
[](https://github.com/codebelt/classy-store/blob/main/LICENSE)
|
|
8
|
-
|
|
9
|
-
## 📚 Documentation
|
|
10
|
-
|
|
11
|
-
Visit the **[Documentation Website](https://codebelt.github.io/classy-store/)** for tutorials, API reference, and examples.
|
|
12
|
-
|
|
13
|
-
## 🚀 Features
|
|
14
|
-
|
|
15
|
-
- **Class-Based**: Define state and logic using standard ES6 classes.
|
|
16
|
-
- **Reactive**: Automatic reactivity using Proxies.
|
|
17
|
-
- **React Integration**: Seamless integration with React 18+ hooks.
|
|
18
|
-
- **TypeScript**: Written in TypeScript with first-class type support.
|
|
19
|
-
|
|
20
|
-
## 📦 Installation
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm install @codebelt/classy-store
|
|
24
|
-
# or
|
|
25
|
-
bun add @codebelt/classy-store
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## 🛠️ Development
|
|
29
|
-
|
|
30
|
-
This project uses [Bun](https://bun.sh) for development.
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
# Install dependencies
|
|
34
|
-
bun install
|
|
35
|
-
|
|
36
|
-
# Run tests
|
|
37
|
-
bun run test
|
|
38
|
-
|
|
39
|
-
# Run build
|
|
40
|
-
bun run build
|
|
41
|
-
|
|
42
|
-
# Start docs website locally
|
|
43
|
-
bun run docs:dev
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## 🤝 Contributing
|
|
47
|
-
|
|
48
|
-
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to contribute and the release workflow.
|