unikvs 0.0.10 → 0.0.13

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 (77) hide show
  1. package/README.md +3 -0
  2. package/dist/index.d.ts +1553 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +4032 -0
  5. package/dist/index.js.map +1 -0
  6. package/package.json +35 -34
  7. package/src/_contexts.ts +1089 -0
  8. package/src/_logger.ts +5 -3
  9. package/src/_middleware.ts +207 -0
  10. package/src/_pipeline-graph.helpers.ts +183 -0
  11. package/src/_pipeline-graph.ts +1307 -0
  12. package/src/_pipeline-graph.types.ts +303 -0
  13. package/src/_pipeline-leaf-resolver.ts +70 -0
  14. package/src/_plugin-lifecycle.ts +201 -0
  15. package/src/_storage.ts +173 -96
  16. package/src/_streams.schemas.ts +21 -0
  17. package/src/_streams.ts +73 -0
  18. package/src/_to-value-stream.ts +22 -11
  19. package/src/_types.ts +237 -0
  20. package/src/_unikvs-branch.ts +94 -0
  21. package/src/_unikvs.schemas.ts +451 -0
  22. package/src/_valibot.ts +17 -3
  23. package/src/_value-schemas.ts +192 -0
  24. package/src/_value-validation.ts +57 -0
  25. package/src/errors.ts +446 -252
  26. package/src/index.ts +46 -26
  27. package/src/types.ts +13 -0
  28. package/src/unikvs-branch.ts +445 -0
  29. package/src/unikvs-builder.ts +706 -0
  30. package/src/unikvs.ts +1456 -971
  31. package/src/unikvs.types.ts +194 -0
  32. package/src/value-schemas.ts +98 -0
  33. package/dist/src/_logger.d.ts +0 -3
  34. package/dist/src/_logger.d.ts.map +0 -1
  35. package/dist/src/_logger.js +0 -3
  36. package/dist/src/_merge-context.d.ts +0 -13
  37. package/dist/src/_merge-context.d.ts.map +0 -1
  38. package/dist/src/_merge-context.js +0 -12
  39. package/dist/src/_storage.d.ts +0 -18
  40. package/dist/src/_storage.d.ts.map +0 -1
  41. package/dist/src/_storage.js +0 -94
  42. package/dist/src/_to-value-stream.d.ts +0 -12
  43. package/dist/src/_to-value-stream.d.ts.map +0 -1
  44. package/dist/src/_to-value-stream.js +0 -102
  45. package/dist/src/_transformer.d.ts +0 -13
  46. package/dist/src/_transformer.d.ts.map +0 -1
  47. package/dist/src/_transformer.js +0 -60
  48. package/dist/src/_valibot.d.ts +0 -15
  49. package/dist/src/_valibot.d.ts.map +0 -1
  50. package/dist/src/_valibot.js +0 -23
  51. package/dist/src/context.types.d.ts +0 -17
  52. package/dist/src/context.types.d.ts.map +0 -1
  53. package/dist/src/context.types.js +0 -1
  54. package/dist/src/errors.d.ts +0 -340
  55. package/dist/src/errors.d.ts.map +0 -1
  56. package/dist/src/errors.js +0 -250
  57. package/dist/src/index.d.ts +0 -10
  58. package/dist/src/index.d.ts.map +0 -1
  59. package/dist/src/index.js +0 -3
  60. package/dist/src/unikvs-config.d.ts +0 -255
  61. package/dist/src/unikvs-config.d.ts.map +0 -1
  62. package/dist/src/unikvs-config.js +0 -105
  63. package/dist/src/unikvs.d.ts +0 -354
  64. package/dist/src/unikvs.d.ts.map +0 -1
  65. package/dist/src/unikvs.js +0 -867
  66. package/dist/src/utils.types.d.ts +0 -7
  67. package/dist/src/utils.types.d.ts.map +0 -1
  68. package/dist/src/utils.types.js +0 -1
  69. package/dist/src/value-stream.types.d.ts +0 -16
  70. package/dist/src/value-stream.types.d.ts.map +0 -1
  71. package/dist/src/value-stream.types.js +0 -1
  72. package/src/_merge-context.ts +0 -19
  73. package/src/_transformer.ts +0 -89
  74. package/src/context.types.ts +0 -19
  75. package/src/unikvs-config.ts +0 -426
  76. package/src/utils.types.ts +0 -6
  77. package/src/value-stream.types.ts +0 -19
package/package.json CHANGED
@@ -1,59 +1,60 @@
1
1
  {
2
2
  "name": "unikvs",
3
- "version": "0.0.10",
4
- "description": "unikvs は TypeScript で実装されたモジュラーでポータブルな KVS クライアントです。",
5
- "homepage": "https://github.com/tai-kun/unikvs",
3
+ "version": "0.0.13",
4
+ "description": "A modular and portable KVS client implemented in TypeScript.",
5
+ "homepage": "https://tai-kun.github.io/unikvs/",
6
6
  "license": "MIT",
7
- "author": "tai-kun",
8
7
  "repository": {
9
- "url": "https://github.com/tai-kun/unikvs"
8
+ "url": "https://github.com/tai-kun/unikvs",
9
+ "directory": "unikvs"
10
10
  },
11
11
  "files": [
12
12
  "dist",
13
13
  "src",
14
14
  "package.json",
15
- "LICENSE"
15
+ "LICENSE",
16
+ "README.md"
16
17
  ],
17
18
  "type": "module",
18
19
  "sideEffects": false,
19
- "main": "./dist/src/index.js",
20
- "types": "./dist/src/index.d.ts",
21
20
  "exports": {
22
21
  ".": {
23
- "types": "./dist/src/index.d.ts",
24
- "default": "./dist/src/index.js"
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
25
24
  }
26
25
  },
27
26
  "dependencies": {
28
- "@tai-kun/valibot-extra-lab": "0.0.5",
29
- "@unikvs/core": "0.0.10",
30
- "abort-signal-utils": "0.0.3",
31
- "asyncmux": "0.0.8",
32
- "call-fn-once": "0.0.6",
33
- "try-capture-stack-trace": "0.0.3"
27
+ "@tai-kun/valibot-extra-lab": "^0.0.5",
28
+ "@unikvs/core": "0.0.13",
29
+ "abort-signal-utils": "^0.0.6",
30
+ "asyncmux": "^0.0.12",
31
+ "call-fn-once": "^0.0.12",
32
+ "maypromise": "^0.0.4",
33
+ "try-capture-stack-trace": "^0.0.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@tsconfig/node24": "24.0.5",
37
- "@tsconfig/strictest": "2.0.8",
38
- "@types/node": "24.13.3",
39
- "@unikvs/checksum": "0.0.10",
40
- "@unikvs/compression": "0.0.10",
41
- "@unikvs/fs.node": "0.0.10",
42
- "@unikvs/memory": "0.0.10",
43
- "@unikvs/opfs": "0.0.10",
44
- "@unikvs/utils": "0.0.10",
45
- "@vitest/browser": "4.1.10",
46
- "@vitest/browser-playwright": "4.1.10",
47
- "npm-check-updates": "20.0.2",
48
- "playwright": "1.62.1",
49
- "vite": "8.2.1",
50
- "vitest": "4.1.10"
36
+ "@babel/plugin-proposal-decorators": "^8.0.2",
37
+ "@rolldown/plugin-babel": "^0.2.4",
38
+ "@unikvs/allow-repair": "0.0.13",
39
+ "@unikvs/checksum": "0.0.13",
40
+ "@unikvs/compression": "0.0.13",
41
+ "@unikvs/fs.node": "0.0.13",
42
+ "@unikvs/memory": "0.0.13",
43
+ "@unikvs/opfs": "0.0.13",
44
+ "@unikvs/testing": "0.0.0",
45
+ "@unikvs/utils": "0.0.13",
46
+ "@vitest/browser-playwright": "5.0.5",
47
+ "@vitest/coverage-istanbul": "5.0.5",
48
+ "@vitest/coverage-v8": "5.0.5",
49
+ "playwright": "1.64.1",
50
+ "vite-plus": "1.3.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@logtape/logtape": "2.0.0",
54
- "valibot": "1.0.0"
53
+ "@logtape/logtape": "^2.0.0",
54
+ "valibot": "^1.0.0"
55
55
  },
56
+ "readme": "README.md",
56
57
  "scripts": {
57
- "build": "tsc --project ./.config/tsconfig.build.json"
58
+ "build": "vp -C .config pack"
58
59
  }
59
60
  }