effect-machine 0.18.0 → 0.20.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect-machine",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cevr/effect-machine.git"
@@ -21,6 +21,12 @@
21
21
  "types": "./dist/cluster/index.d.ts",
22
22
  "default": "./dist/cluster/index.js"
23
23
  }
24
+ },
25
+ "./atom": {
26
+ "import": {
27
+ "types": "./dist/atom.d.ts",
28
+ "default": "./dist/atom.js"
29
+ }
24
30
  }
25
31
  },
26
32
  "publishConfig": {
@@ -34,8 +40,11 @@
34
40
  "fmt:check": "oxfmt --check",
35
41
  "test": "bun test --tsconfig-override=tsconfig.json",
36
42
  "test:watch": "bun test --watch",
43
+ "example:react": "bun run --cwd examples/react dev",
44
+ "example:solid": "bun run --cwd examples/solid dev",
45
+ "examples:gate": "bun run --cwd examples/shared gate && bun run --cwd examples/core gate && bun run --cwd examples/react gate && bun run --cwd examples/solid gate",
37
46
  "bench": "bun benchmark/core.ts",
38
- "gate": "concurrently -n type,lint,fmt,test,build -c blue,yellow,magenta,green,cyan \"bun run typecheck\" \"bun run lint:fix\" \"bun run fmt\" \"bun run test\" \"bun run build\"",
47
+ "gate": "concurrently -n type,lint,fmt,test,build,examples -c blue,yellow,magenta,green,cyan,white \"bun run typecheck\" \"bun run lint:fix\" \"bun run fmt\" \"bun run test\" \"bun run build\" \"bun run examples:gate\"",
39
48
  "prepare": "lefthook install && effect-tsgo patch",
40
49
  "version": "changeset version",
41
50
  "build": "bun --bun tsdown",
@@ -44,17 +53,34 @@
44
53
  "devDependencies": {
45
54
  "@changesets/changelog-github": "1.0.0",
46
55
  "@changesets/cli": "3.0.1",
56
+ "@effect-machine/examples-shared": "file:./examples/shared",
57
+ "@effect/atom-react": "4.0.0-rc.112",
58
+ "@effect/atom-solid": "4.0.0-rc.112",
47
59
  "@effect/tsgo": "0.38.0",
60
+ "@solidjs/testing-library": "0.8.10",
61
+ "@testing-library/react": "16.3.3",
48
62
  "@types/bun": "1.4.0",
63
+ "@types/react": "19.2.18",
64
+ "@types/react-dom": "19.2.5",
65
+ "@vitejs/plugin-react": "6.1.1",
49
66
  "concurrently": "10.0.5",
50
67
  "effect": "4.0.0-rc.112",
51
68
  "effect-bun-test": "0.3.0",
69
+ "jsdom": "30.0.1",
52
70
  "lefthook": "2.1.12",
71
+ "motion": "13.1.1",
53
72
  "oxfmt": "0.65.0",
54
73
  "oxlint": "1.80.0",
55
74
  "oxlint-plugin-effect": "0.11.0",
75
+ "react": "19.2.8",
76
+ "react-dom": "19.2.8",
77
+ "solid-js": "1.9.15",
78
+ "solid-transition-group": "0.3.0",
56
79
  "tsdown": "0.22.14",
57
- "typescript": "7.0.2"
80
+ "typescript": "7.0.2",
81
+ "vite": "8.2.2",
82
+ "vite-plugin-solid": "2.11.14",
83
+ "vitest": "4.1.11"
58
84
  },
59
85
  "peerDependencies": {
60
86
  "effect": ">=4.0.0-rc.112 <5"