synstate-preact-signals 2.1.0 → 3.2.1

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -60,7 +60,7 @@ const debouncedInput$ = input$.pipe(debounce(300));
60
60
 
61
61
  ### `createState` / `createBooleanState` / `createReducer`
62
62
 
63
- Signal-returning wrappers for synstate's state creation utilities. Instead of returning a hook (like `synstate-preact-hooks`), these return a `ReadonlySignal`.
63
+ Signal-returning wrappers for synstate's state creation utilities. Instead of returning a hook (like `synstate-preact-hooks`), these return a `ReadonlySignal`. Their options, such as `equals`, are passed to synstate as they are.
64
64
 
65
65
  ```tsx
66
66
  import type * as Preact from 'preact';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synstate-preact-signals",
3
- "version": "2.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "Preact Signals integration for SynState - bridge between synstate observables and @preact/signals",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,18 +28,18 @@
28
28
  "LICENSE"
29
29
  ],
30
30
  "dependencies": {
31
- "synstate": "3.1.0",
31
+ "synstate": "3.2.1",
32
32
  "ts-data-forge": "^14.7.1",
33
33
  "ts-type-forge": "^9.2.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@preact/signals": "2.11.2",
37
- "@vitest/browser-playwright": "5.0.2",
38
- "eslint-config-typed": "5.17.0",
39
- "eslint-plugin-ts-data-forge": "0.8.3",
40
- "eslint-plugin-ts-fortress": "1.3.0",
41
- "eslint-plugin-ts-type-forge": "0.8.5",
42
- "playwright": "1.63.0",
36
+ "@preact/signals": "2.11.3",
37
+ "@vitest/browser-playwright": "5.0.3",
38
+ "eslint-config-typed": "5.17.4",
39
+ "eslint-plugin-ts-data-forge": "0.8.6",
40
+ "eslint-plugin-ts-fortress": "1.3.3",
41
+ "eslint-plugin-ts-type-forge": "0.8.8",
42
+ "playwright": "1.64.0",
43
43
  "preact": "10.29.8",
44
44
  "prettier": "3.9.9",
45
45
  "prettier-plugin-organize-imports": "4.3.0",
@@ -61,7 +61,7 @@
61
61
  "scripts": {
62
62
  "build": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts",
63
63
  "check:ext": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-ext.mts",
64
- "check:lint": "eslint .",
64
+ "check:lint": "oxlint . && eslint .",
65
65
  "check:test": "pnpm run z:vitest:node run",
66
66
  "check:test:browser": "pnpm run z:vitest --project='Browser' run",
67
67
  "check:test:cov": "pnpm run z:vitest:node run --coverage",
@@ -72,7 +72,7 @@
72
72
  "fix:fmt": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-uncommitted.mts --cwd .",
73
73
  "fix:fmt:diff": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-diff-from.mts origin/main --cwd .",
74
74
  "fix:fmt:full": "pnpm run z:prettier .",
75
- "fix:lint": "eslint . --fix",
75
+ "fix:lint": "oxlint . --fix && eslint . --fix",
76
76
  "fmt": "pnpm run fix:fmt",
77
77
  "gen": "run-s gen:index gen:re-export gen:readme gen:jsdoc",
78
78
  "gen:index": "run-s gen:index:src fix:fmt",