@raphy-js/raph 1.0.0-dev.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.
- package/LICENSE +202 -0
- package/ReadMe.md +153 -0
- package/dist/api/Raph.d.ts +228 -0
- package/dist/api/errors.d.ts +20 -0
- package/dist/api/public.d.ts +22 -0
- package/dist/api/types.d.ts +25 -0
- package/dist/debug/api/Raph.cjs +1 -0
- package/dist/debug/api/Raph.js +419 -0
- package/dist/debug/api/errors.cjs +1 -0
- package/dist/debug/api/errors.js +14 -0
- package/dist/debug/api/public.cjs +1 -0
- package/dist/debug/api/public.js +40 -0
- package/dist/debug/api/types.cjs +1 -0
- package/dist/debug/api/types.js +1 -0
- package/dist/debug/path/AdapterPathStore.cjs +1 -0
- package/dist/debug/path/AdapterPathStore.js +133 -0
- package/dist/debug/path/DerivedRegistry.cjs +1 -0
- package/dist/debug/path/DerivedRegistry.js +157 -0
- package/dist/debug/path/MetaController.cjs +1 -0
- package/dist/debug/path/MetaController.js +214 -0
- package/dist/debug/path/PathEventHub.cjs +1 -0
- package/dist/debug/path/PathEventHub.js +148 -0
- package/dist/debug/path/PathStore.cjs +1 -0
- package/dist/debug/path/PathStore.js +326 -0
- package/dist/debug/path/RaphDerivedHandle.cjs +1 -0
- package/dist/debug/path/RaphDerivedHandle.js +125 -0
- package/dist/debug/path/RaphKernel.cjs +1 -0
- package/dist/debug/path/RaphKernel.js +636 -0
- package/dist/debug/path/RaphMeta.cjs +1 -0
- package/dist/debug/path/RaphMeta.js +68 -0
- package/dist/debug/path/RaphMetaStore.cjs +1 -0
- package/dist/debug/path/RaphMetaStore.js +184 -0
- package/dist/debug/path/data-adapter.cjs +1 -0
- package/dist/debug/path/data-adapter.js +356 -0
- package/dist/debug/path/data-draft.cjs +1 -0
- package/dist/debug/path/data-draft.js +71 -0
- package/dist/debug/path/data-path.cjs +1 -0
- package/dist/debug/path/data-path.js +423 -0
- package/dist/debug/path/derived-collection.cjs +1 -0
- package/dist/debug/path/derived-collection.js +179 -0
- package/dist/debug/path/derived-strategies.cjs +1 -0
- package/dist/debug/path/derived-strategies.js +20 -0
- package/dist/debug/path/meta.types.cjs +1 -0
- package/dist/debug/path/meta.types.js +1 -0
- package/dist/debug/path/path-router.cjs +1 -0
- package/dist/debug/path/path-router.js +86 -0
- package/dist/debug/path/path.types.cjs +1 -0
- package/dist/debug/path/path.types.js +1 -0
- package/dist/debug/path/public.cjs +1 -0
- package/dist/debug/path/public.js +18 -0
- package/dist/debug/path/segment-key.cjs +1 -0
- package/dist/debug/path/segment-key.js +12 -0
- package/dist/debug/reactivity/engine.cjs +1 -0
- package/dist/debug/reactivity/engine.js +1133 -0
- package/dist/debug/reactivity/scope.cjs +1 -0
- package/dist/debug/reactivity/scope.js +274 -0
- package/dist/debug/reactivity/types.cjs +1 -0
- package/dist/debug/reactivity/types.js +1 -0
- package/dist/debug/reactivity/watch.cjs +1 -0
- package/dist/debug/reactivity/watch.js +64 -0
- package/dist/debug/runtime/PathHandle.cjs +1 -0
- package/dist/debug/runtime/PathHandle.js +139 -0
- package/dist/debug/runtime/RaphDebug.cjs +1 -0
- package/dist/debug/runtime/RaphDebug.js +15 -0
- package/dist/debug/runtime/RaphFrameLoop.cjs +1 -0
- package/dist/debug/runtime/RaphFrameLoop.js +106 -0
- package/dist/debug/runtime/RaphNode.cjs +1 -0
- package/dist/debug/runtime/RaphNode.js +143 -0
- package/dist/debug/runtime/RaphPhasePipeline.cjs +1 -0
- package/dist/debug/runtime/RaphPhasePipeline.js +526 -0
- package/dist/debug/runtime/RaphRuntime.cjs +1 -0
- package/dist/debug/runtime/RaphRuntime.js +700 -0
- package/dist/debug/runtime/RaphScope.cjs +1 -0
- package/dist/debug/runtime/RaphScope.js +64 -0
- package/dist/debug/runtime/RuntimeReactivity.cjs +1 -0
- package/dist/debug/runtime/RuntimeReactivity.js +154 -0
- package/dist/debug/runtime/RuntimeWatch.cjs +1 -0
- package/dist/debug/runtime/RuntimeWatch.js +71 -0
- package/dist/debug/runtime/disposal.cjs +1 -0
- package/dist/debug/runtime/disposal.js +9 -0
- package/dist/debug/runtime/errors.cjs +1 -0
- package/dist/debug/runtime/errors.js +12 -0
- package/dist/debug/runtime/parent-graph.cjs +1 -0
- package/dist/debug/runtime/parent-graph.js +10 -0
- package/dist/debug/runtime/phase.types.cjs +1 -0
- package/dist/debug/runtime/phase.types.js +8 -0
- package/dist/debug/runtime/public.cjs +1 -0
- package/dist/debug/runtime/public.js +18 -0
- package/dist/debug/runtime/runtime-reactivity.types.cjs +1 -0
- package/dist/debug/runtime/runtime-reactivity.types.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +40 -0
- package/dist/path/AdapterPathStore.d.ts +45 -0
- package/dist/path/DerivedRegistry.d.ts +67 -0
- package/dist/path/MetaController.d.ts +85 -0
- package/dist/path/PathEventHub.d.ts +48 -0
- package/dist/path/PathStore.d.ts +51 -0
- package/dist/path/RaphDerivedHandle.d.ts +97 -0
- package/dist/path/RaphKernel.d.ts +166 -0
- package/dist/path/RaphMeta.d.ts +45 -0
- package/dist/path/RaphMetaStore.d.ts +45 -0
- package/dist/path/data-adapter.d.ts +78 -0
- package/dist/path/data-draft.d.ts +4 -0
- package/dist/path/data-path.d.ts +97 -0
- package/dist/path/derived-collection.d.ts +30 -0
- package/dist/path/derived-strategies.d.ts +15 -0
- package/dist/path/meta.types.d.ts +33 -0
- package/dist/path/path-router.d.ts +21 -0
- package/dist/path/path.types.d.ts +26 -0
- package/dist/path/public.d.ts +14 -0
- package/dist/path/segment-key.d.ts +2 -0
- package/dist/path.cjs +1 -0
- package/dist/path.js +18 -0
- package/dist/raph.cjs +1 -0
- package/dist/raph.js +40 -0
- package/dist/reactivity/engine.d.ts +379 -0
- package/dist/reactivity/scope.d.ts +146 -0
- package/dist/reactivity/types.d.ts +150 -0
- package/dist/reactivity/watch.d.ts +15 -0
- package/dist/reactivity.cjs +1 -0
- package/dist/reactivity.js +14 -0
- package/dist/runtime/PathHandle.d.ts +72 -0
- package/dist/runtime/RaphDebug.d.ts +32 -0
- package/dist/runtime/RaphFrameLoop.d.ts +51 -0
- package/dist/runtime/RaphNode.d.ts +68 -0
- package/dist/runtime/RaphPhasePipeline.d.ts +133 -0
- package/dist/runtime/RaphRuntime.d.ts +285 -0
- package/dist/runtime/RaphScope.d.ts +50 -0
- package/dist/runtime/RuntimeReactivity.d.ts +40 -0
- package/dist/runtime/RuntimeWatch.d.ts +28 -0
- package/dist/runtime/disposal.d.ts +1 -0
- package/dist/runtime/errors.d.ts +16 -0
- package/dist/runtime/parent-graph.d.ts +5 -0
- package/dist/runtime/phase.types.d.ts +49 -0
- package/dist/runtime/public.d.ts +13 -0
- package/dist/runtime/runtime-reactivity.types.d.ts +9 -0
- package/dist/runtime.cjs +1 -0
- package/dist/runtime.js +18 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@raphy-js/raph",
|
|
3
|
+
"repository": {
|
|
4
|
+
"type": "git",
|
|
5
|
+
"url": "https://gitlab.com/raphyjs/raph.git"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"version": "1.0.0-dev.2",
|
|
9
|
+
"private": false,
|
|
10
|
+
"description": "Reactive signals, paths and application runtime",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/api/public.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./path": {
|
|
20
|
+
"types": "./dist/path/public.d.ts",
|
|
21
|
+
"import": "./dist/path.js",
|
|
22
|
+
"require": "./dist/path.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./raph": {
|
|
25
|
+
"types": "./dist/api/public.d.ts",
|
|
26
|
+
"import": "./dist/raph.js",
|
|
27
|
+
"require": "./dist/raph.cjs"
|
|
28
|
+
},
|
|
29
|
+
"./signals": {
|
|
30
|
+
"types": "./dist/reactivity/engine.d.ts",
|
|
31
|
+
"import": "./dist/reactivity.js",
|
|
32
|
+
"require": "./dist/reactivity.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./debug/*": {
|
|
35
|
+
"types": "./dist/*.d.ts",
|
|
36
|
+
"import": "./dist/debug/*.js",
|
|
37
|
+
"require": "./dist/debug/*.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./reactivity": {
|
|
40
|
+
"types": "./dist/reactivity/engine.d.ts",
|
|
41
|
+
"import": "./dist/reactivity.js",
|
|
42
|
+
"require": "./dist/reactivity.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./runtime": {
|
|
45
|
+
"types": "./dist/runtime/public.d.ts",
|
|
46
|
+
"import": "./dist/runtime.js",
|
|
47
|
+
"require": "./dist/runtime.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"main": "./dist/index.cjs",
|
|
51
|
+
"module": "./dist/index.js",
|
|
52
|
+
"types": "./dist/api/public.d.ts",
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"LICENSE"
|
|
56
|
+
],
|
|
57
|
+
"scripts": {
|
|
58
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
59
|
+
"dev": "vite build --watch",
|
|
60
|
+
"build": "pnpm --ignore-workspace run typecheck && vite build",
|
|
61
|
+
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"typecheck:test": "tsc --noEmit -p tsconfig.test.json",
|
|
64
|
+
"test:coverage": "vitest run --coverage",
|
|
65
|
+
"test:memory": "node --expose-gc ./node_modules/vitest/vitest.mjs run --config vitest.memory.config.ts",
|
|
66
|
+
"test:distribution": "node --test src/test/distribution.node.mjs",
|
|
67
|
+
"test:benchmark-2026": "pnpm --ignore-workspace run bench:lab:correctness",
|
|
68
|
+
"bench:install": "pnpm --ignore-workspace run bench:lab:install",
|
|
69
|
+
"bench": "pnpm --ignore-workspace run bench:lab:performance",
|
|
70
|
+
"bench:path": "node src/test/benchmarks/path/run.mjs",
|
|
71
|
+
"bench:lab:install": "node src/test/benchmarks/bench-lab/scripts/install.mjs",
|
|
72
|
+
"bench:lab:correctness": "node src/test/benchmarks/bench-lab/scripts/run-correctness.mjs",
|
|
73
|
+
"bench:lab:performance": "node src/test/benchmarks/bench-lab/scripts/run-performance.mjs",
|
|
74
|
+
"bench:lab:memory": "node src/test/benchmarks/bench-lab/scripts/run-memory.mjs",
|
|
75
|
+
"bench:lab:balanced:performance": "node src/test/benchmarks/bench-lab/scripts/run-performance.mjs --balanced",
|
|
76
|
+
"bench:lab:api-tax": "node src/test/benchmarks/bench-lab/scripts/run-api-tax.mjs",
|
|
77
|
+
"bench:lab:report": "node src/test/benchmarks/bench-lab/scripts/generate-report.mjs",
|
|
78
|
+
"bench:lab": "node src/test/benchmarks/bench-lab/scripts/run.mjs",
|
|
79
|
+
"bench:lab:raph-only": "pnpm --ignore-workspace run bench:lab --raph-only",
|
|
80
|
+
"bench:lab:balanced": "pnpm --ignore-workspace run bench:lab --balanced",
|
|
81
|
+
"bench:lab:light:correctness": "node src/test/benchmarks/bench-lab/scripts/run-correctness.mjs --light",
|
|
82
|
+
"bench:lab:light:performance": "node src/test/benchmarks/bench-lab/scripts/run-performance.mjs --light",
|
|
83
|
+
"bench:lab:light:balanced:performance": "node src/test/benchmarks/bench-lab/scripts/run-performance.mjs --light --balanced",
|
|
84
|
+
"bench:lab:light:api-tax": "node src/test/benchmarks/bench-lab/scripts/run-api-tax.mjs --light",
|
|
85
|
+
"bench:lab:light:report": "node src/test/benchmarks/bench-lab/scripts/generate-report.mjs --light",
|
|
86
|
+
"bench:lab:light": "pnpm --ignore-workspace run bench:lab --light",
|
|
87
|
+
"bench:lab:light:balanced": "pnpm --ignore-workspace run bench:lab --light --balanced",
|
|
88
|
+
"lint-check": "eslint src vite.config.ts vitest.config.ts vitest.memory.config.ts --cache",
|
|
89
|
+
"lint-fix": "eslint src vite.config.ts vitest.config.ts vitest.memory.config.ts --fix --cache",
|
|
90
|
+
"build:portable": "node scripts/build-portable.mjs"
|
|
91
|
+
},
|
|
92
|
+
"devDependencies": {
|
|
93
|
+
"@antfu/eslint-config": "9.3.0",
|
|
94
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
95
|
+
"@volynets/reflex": "1.0.0",
|
|
96
|
+
"alien-signals": "3.2.1",
|
|
97
|
+
"eslint": "10.9.1",
|
|
98
|
+
"mobx": "7.0.3",
|
|
99
|
+
"rimraf": "^6.0.1",
|
|
100
|
+
"solid-js": "1.9.15",
|
|
101
|
+
"typescript": "~6.0.3",
|
|
102
|
+
"unplugin-dts": "^1.0.3",
|
|
103
|
+
"vite": "^6.1.0",
|
|
104
|
+
"vitest": "^3.2.4",
|
|
105
|
+
"vue-reactivity-3-5": "npm:@vue/reactivity@3.5.43",
|
|
106
|
+
"vue-reactivity-3-6-rc": "npm:@vue/reactivity@3.6.0-rc.9",
|
|
107
|
+
"vue-tsc": "^3.3.11"
|
|
108
|
+
}
|
|
109
|
+
}
|