unikvs 0.0.12 → 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 (82) hide show
  1. package/README.md +2 -2
  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 +34 -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 +169 -115
  16. package/src/_streams.schemas.ts +21 -0
  17. package/src/_streams.ts +32 -6
  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 -6
  23. package/src/_value-schemas.ts +36 -206
  24. package/src/_value-validation.ts +57 -0
  25. package/src/errors.ts +391 -148
  26. package/src/index.ts +46 -25
  27. package/src/{value-stream.types.ts → types.ts} +1 -1
  28. package/src/unikvs-branch.ts +445 -0
  29. package/src/unikvs-builder.ts +706 -0
  30. package/src/unikvs.ts +1423 -1007
  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-variables.d.ts +0 -13
  37. package/dist/src/_merge-variables.d.ts.map +0 -1
  38. package/dist/src/_merge-variables.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 -103
  42. package/dist/src/_streams.d.ts +0 -20
  43. package/dist/src/_streams.d.ts.map +0 -1
  44. package/dist/src/_streams.js +0 -36
  45. package/dist/src/_to-value-stream.d.ts +0 -12
  46. package/dist/src/_to-value-stream.d.ts.map +0 -1
  47. package/dist/src/_to-value-stream.js +0 -102
  48. package/dist/src/_transformer.d.ts +0 -13
  49. package/dist/src/_transformer.d.ts.map +0 -1
  50. package/dist/src/_transformer.js +0 -60
  51. package/dist/src/_valibot.d.ts +0 -15
  52. package/dist/src/_valibot.d.ts.map +0 -1
  53. package/dist/src/_valibot.js +0 -23
  54. package/dist/src/_value-schemas.d.ts +0 -179
  55. package/dist/src/_value-schemas.d.ts.map +0 -1
  56. package/dist/src/_value-schemas.js +0 -150
  57. package/dist/src/errors.d.ts +0 -306
  58. package/dist/src/errors.d.ts.map +0 -1
  59. package/dist/src/errors.js +0 -234
  60. package/dist/src/index.d.ts +0 -10
  61. package/dist/src/index.d.ts.map +0 -1
  62. package/dist/src/index.js +0 -3
  63. package/dist/src/unikvs-config.d.ts +0 -174
  64. package/dist/src/unikvs-config.d.ts.map +0 -1
  65. package/dist/src/unikvs-config.js +0 -100
  66. package/dist/src/unikvs.d.ts +0 -272
  67. package/dist/src/unikvs.d.ts.map +0 -1
  68. package/dist/src/unikvs.js +0 -928
  69. package/dist/src/utils.types.d.ts +0 -5
  70. package/dist/src/utils.types.d.ts.map +0 -1
  71. package/dist/src/utils.types.js +0 -1
  72. package/dist/src/value-stream.types.d.ts +0 -10
  73. package/dist/src/value-stream.types.d.ts.map +0 -1
  74. package/dist/src/value-stream.types.js +0 -1
  75. package/dist/src/variables.types.d.ts +0 -11
  76. package/dist/src/variables.types.d.ts.map +0 -1
  77. package/dist/src/variables.types.js +0 -1
  78. package/src/_merge-variables.ts +0 -19
  79. package/src/_transformer.ts +0 -89
  80. package/src/unikvs-config.ts +0 -401
  81. package/src/utils.types.ts +0 -4
  82. package/src/variables.types.ts +0 -13
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
1
  {
2
2
  "name": "unikvs",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A modular and portable KVS client implemented in TypeScript.",
5
- "homepage": "https://github.com/tai-kun/unikvs",
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
- "README.md",
16
- "LICENSE"
15
+ "LICENSE",
16
+ "README.md"
17
17
  ],
18
18
  "type": "module",
19
19
  "sideEffects": false,
20
- "main": "./dist/src/index.js",
21
- "types": "./dist/src/index.d.ts",
22
20
  "exports": {
23
21
  ".": {
24
- "types": "./dist/src/index.d.ts",
25
- "default": "./dist/src/index.js"
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
26
24
  }
27
25
  },
28
26
  "dependencies": {
29
- "@tai-kun/valibot-extra-lab": "0.0.5",
30
- "@unikvs/core": "0.0.12",
31
- "abort-signal-utils": "0.0.3",
32
- "asyncmux": "0.0.10",
33
- "call-fn-once": "0.0.6",
34
- "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"
35
34
  },
36
35
  "devDependencies": {
37
- "@tsconfig/node24": "24.0.5",
38
- "@tsconfig/strictest": "2.0.8",
39
- "@types/node": "24.13.6",
40
- "@unikvs/checksum": "0.0.12",
41
- "@unikvs/compression": "0.0.12",
42
- "@unikvs/fs.node": "0.0.12",
43
- "@unikvs/memory": "0.0.12",
44
- "@unikvs/opfs": "0.0.12",
45
- "@unikvs/utils": "0.0.12",
46
- "@vitest/browser": "4.1.11",
47
- "@vitest/browser-playwright": "4.1.11",
48
- "npm-check-updates": "20.0.2",
49
- "playwright": "1.63.0",
50
- "vite": "8.3.0",
51
- "vitest": "4.1.11"
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"
52
51
  },
53
52
  "peerDependencies": {
54
- "@logtape/logtape": "2.0.0",
55
- "valibot": "1.0.0"
53
+ "@logtape/logtape": "^2.0.0",
54
+ "valibot": "^1.0.0"
56
55
  },
56
+ "readme": "README.md",
57
57
  "scripts": {
58
- "build": "tsc --project ./.config/tsconfig.build.json"
58
+ "build": "vp -C .config pack"
59
59
  }
60
60
  }