Skip to content

Commit f897653

Browse files
committed
Add package.json fields.
1 parent 91c80b1 commit f897653

File tree

4 files changed

+165
-4
lines changed

4 files changed

+165
-4
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dev:docs": "npm run dev --workspace @virtuoso.dev/virtuoso.dev#dev"
1616
},
1717
"devDependencies": {
18+
"@arethetypeswrong/cli": "0.18.2",
1819
"@changesets/cli": "^2.27.12",
1920
"@eslint/js": "^9.23.0",
2021
"@eslint/markdown": "^7.2.0",

packages/reactive-engine/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Welcome to the README of Reactive Engine, a TypeScript-native reactive state man
1414

1515
- **Testable**. You can easily initiate an engine and interact with your nodes outside of React. This makes it easy to unit-test your state management logic.
1616

17-
- **React friendly**. Reactive Engine ships an Engine provider component and set of hooks that let you access the values and publish new values in the given nodes. Under the hood, the hooks use `useSyncExternalStore`.
17+
- **React friendly**. Reactive Engine ships an Engine provider component and set of hooks that let you access the values and publish new values in the given nodes.
1818

1919
## Conceptual Overview
2020

21-
The library is based on the concept of node **definitions**, which are instantiated into **nodes** in a graph-based structure called an **Engine**. The nodes are connected through **dependencies** and **transformations** that describe how the values that flow through the nodes map and transform.
21+
The library is based on the concept of node **definitions**, which are instantiated as **nodes** in a graph-based structure called an **Engine**. The nodes are connected through **dependencies** and **transformations** that describe how the values that flow through the nodes map and transform.
2222

2323
### Cells, Streams, and Triggers
2424

packages/reactive-engine/package.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,42 @@
11
{
22
"name": "@virtuoso.dev/reactive-engine",
3+
"version": "0.1.0",
4+
"description": "Reactive state management for complex web applications.",
5+
"author": "Petyo Ivanov",
6+
"homepage": "https://virtuoso.dev",
7+
"bugs": {
8+
"url": "https://github.com/petyosi/react-virtuoso/issues"
9+
},
10+
"keywords": [
11+
"react",
12+
"state-management",
13+
"reactive",
14+
"push-based",
15+
"performance",
16+
"state"
17+
],
318
"private": false,
419
"sideEffects": false,
520
"type": "module",
6-
"version": "1.1.0",
721
"module": "dist/index.js",
822
"main": "dist/index.js",
923
"types": "dist/index.d.ts",
24+
"exports": {
25+
".": {
26+
"import": {
27+
"types": "./dist/index.d.ts",
28+
"default": "./dist/index.js"
29+
}
30+
}
31+
},
1032
"scripts": {
1133
"build": "tsc && vite build",
1234
"test": "vitest --run --browser.headless",
1335
"ci-lint": "eslint",
1436
"lint": "eslint",
1537
"typecheck": "tsc --noEmit",
16-
"ladle": "ladle serve"
38+
"ladle": "ladle serve",
39+
"are-the-types-wrong": "attw --profile esm-only --pack ."
1740
},
1841
"publishConfig": {
1942
"access": "public"

0 commit comments

Comments
 (0)