Skip to content

Commit be67f78

Browse files
committed
feat: adds fn function that allows to init variable with a function; updates readme and the docs; adds doc generation
1 parent da6c282 commit be67f78

File tree

10 files changed

+342
-67
lines changed

10 files changed

+342
-67
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
33
coverage
4+
docs

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-rv",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "react-rv is a lightweight and efficient state management library for React that allows you to create reactive variables and subscribe to them with minimal overhead.",
55
"files": [
66
"dist"
@@ -15,6 +15,7 @@
1515
"scripts": {
1616
"spec": "pnpm exec vitest run --typecheck",
1717
"coverage": "pnpm exec vitest run --typecheck --coverage",
18+
"doc": "pnpm exec typedoc ./src/index.ts",
1819
"lint:check": "pnpm exec eslint .",
1920
"type:check": "pnpm exec tsc --build --noEmit",
2021
"build": "pnpm exec tsup"
@@ -53,6 +54,7 @@
5354
"prettier": "^3.5.3",
5455
"react": "^19.0.0",
5556
"tsup": "^8.4.0",
57+
"typedoc": "^0.28.1",
5658
"typescript": "^5.8.2",
5759
"typescript-eslint": "^8.26.1",
5860
"vitest": "^3.0.8"

pnpm-lock.yaml

Lines changed: 109 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)