synstate-preact-signals 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +40 -21
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # synstate-preact-signals
2
2
 
3
- [Preact Signals](https://preactjs.com/guide/v10/signals/) integration for [SynState](https://github.com/noshiro-pf/synstate).
3
+ [Preact Signals](https://preactjs.com/guide/v10/signals/) integration for [SynState](https://github.com/noshiro-pf/mono/tree/main/libs/synstate).
4
4
 
5
5
  Provides a bidirectional bridge between synstate observables and `@preact/signals`, enabling fine-grained DOM updates without component re-renders.
6
6
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "synstate-preact-signals",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Preact Signals integration for SynState - bridge between synstate observables and @preact/signals",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/noshiro-pf/synstate.git"
7
+ "url": "git+https://github.com/noshiro-pf/mono.git",
8
+ "directory": "libs/synstate-preact-signals"
8
9
  },
9
10
  "license": "Apache-2.0",
10
11
  "author": "noshiro-pf <noshiro.pf@gmail.com>",
@@ -18,8 +19,8 @@
18
19
  }
19
20
  }
20
21
  },
21
- "module": "./dist/index.js",
22
- "types": "./dist/index.d.ts",
22
+ "module": "./dist/index.mjs",
23
+ "types": "./dist/index.d.mts",
23
24
  "files": [
24
25
  "src",
25
26
  "dist",
@@ -27,36 +28,54 @@
27
28
  "LICENSE"
28
29
  ],
29
30
  "dependencies": {
30
- "ts-data-forge": "^14.2.0",
31
- "ts-type-forge": "^9.2.0",
32
- "synstate": "2.0.0"
31
+ "synstate": "2.0.2",
32
+ "ts-data-forge": "^14.2.1",
33
+ "ts-type-forge": "^9.2.1"
33
34
  },
34
35
  "devDependencies": {
35
36
  "@preact/signals": "2.10.1",
36
- "@types/argparse": "2.0.17",
37
- "argparse": "3.0.0",
38
- "preact": "10.29.8"
37
+ "@rollup/plugin-replace": "6.0.3",
38
+ "@rollup/plugin-strip": "3.0.4",
39
+ "preact": "10.29.8",
40
+ "prettier": "3.9.6",
41
+ "prettier-plugin-organize-imports": "4.3.0",
42
+ "prettier-plugin-packagejson": "3.0.2",
43
+ "rollup": "4.62.4",
44
+ "rollup-plugin-esbuild": "6.2.1",
45
+ "eslint-config-typed": "5.8.5",
46
+ "eslint-plugin-ts-data-forge": "0.4.4",
47
+ "eslint-plugin-ts-fortress": "1.0.1",
48
+ "eslint-plugin-ts-type-forge": "0.6.3",
49
+ "ts-repo-utils": "10.2.0"
39
50
  },
40
51
  "peerDependencies": {
41
52
  "@preact/signals": ">=1.0.0",
42
53
  "preact": ">=10.0.0"
43
54
  },
55
+ "engines": {
56
+ "node": ">=22.22.2",
57
+ "pnpm": ">=9.0.0"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public",
61
+ "provenance": true
62
+ },
44
63
  "scripts": {
45
- "build": "tsx ./scripts/cmd/build.mts",
46
- "build:min": "tsx ./scripts/cmd/build.mts --skip-check",
47
- "check:ext": "tsx ./scripts/cmd/check-ext.mts",
48
- "check-all": "tsx ./scripts/cmd/check-all.mts",
49
- "codemod": "convert-to-readonly '{src,samples,test}/**/*.{mts,tsx}'",
64
+ "build": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts",
65
+ "build:min": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts --skip-check",
66
+ "check:ext": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-ext.mts",
67
+ "check-all": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-all.mts",
68
+ "codemod": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-codemod-cli/src/cmd/convert-to-readonly.mts '{src,samples,test}/**/*.{mts,tsx}'",
50
69
  "doc": "run-s doc:embed doc:embed:jsdoc",
51
- "doc:embed": "tsx ./scripts/cmd/embed-examples.mts",
52
- "doc:embed:jsdoc": "tsx ./scripts/cmd/embed-examples-in-jsdoc.mts",
53
- "fmt": "format-uncommitted --cwd .",
54
- "fmt:diff": "format-diff-from origin/main --cwd .",
70
+ "doc:embed": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples.mts",
71
+ "doc:embed:jsdoc": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples-in-jsdoc.mts",
72
+ "fmt": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-uncommitted.mts --cwd .",
73
+ "fmt:diff": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-diff-from.mts origin/main --cwd .",
55
74
  "fmt:full": "pnpm run z:prettier .",
56
75
  "gen:re-export": "run-s gen:re-export:script fmt",
57
- "gen:re-export:script": "tsx ./scripts/cmd/generate-re-export-script.mts",
76
+ "gen:re-export:script": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/generate-re-export-script.mts",
58
77
  "gi": "run-s gi:src fmt",
59
- "gi:src": "gen-index-ts ./src --index-ext .mts --export-ext .mjs --target-ext .mts --target-ext .tsx --exclude entry-point.mts",
78
+ "gi:src": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/gen-index-ts.mts ./src --index-ext .mts --export-ext .mjs --target-ext .mts --target-ext .tsx --exclude entry-point.mts",
60
79
  "lint": "eslint .",
61
80
  "lint:fix": "eslint . --fix",
62
81
  "test": "pnpm run z:vitest:node run",