@nerdalytics/beacon 1000.2.0 → 1000.2.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/dist/src/index.d.ts +1 -25
- package/dist/src/index.js +90 -206
- package/dist/src/index.min.js +1 -0
- package/package.json +78 -55
- package/src/index.ts +0 -639
package/package.json
CHANGED
|
@@ -1,72 +1,95 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"version": "1000.2.0",
|
|
2
|
+
"author": "Denny Trebbin (nerdalytics)",
|
|
4
3
|
"description": "A lightweight reactive state library for Node.js backends. Enables reactive state management with automatic dependency tracking and efficient updates for server-side applications.",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"url": "git+https://github.com/nerdalytics/beacon.git",
|
|
11
|
-
"type": "git"
|
|
4
|
+
"devDependencies": {
|
|
5
|
+
"@biomejs/biome": "2.2.6",
|
|
6
|
+
"@types/node": "24.9.1",
|
|
7
|
+
"typescript": "5.9.3",
|
|
8
|
+
"uglify-js": "3.19.3"
|
|
12
9
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"lint:fix": "npx @biomejs/biome lint --fix --config-path=./biome.json",
|
|
16
|
-
"lint:fix:unsafe": "npx @biomejs/biome lint --fix --unsafe --config-path=./biome.json",
|
|
17
|
-
"format": "npx @biomejs/biome format --write --config-path=./biome.json",
|
|
18
|
-
"check": "npx @biomejs/biome check --config-path=./biome.json",
|
|
19
|
-
"check:fix": "npx @biomejs/biome format --fix --config-path=./biome.json",
|
|
20
|
-
"test": "node --test --test-skip-pattern=\"COMPONENT NAME\" tests/**/*.ts",
|
|
21
|
-
"test:coverage": "node --test --experimental-config-file=node.config.json --test-skip-pattern=\"[COMPONENT NAME]\" --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info tests/**/*.ts",
|
|
22
|
-
"test:unit:state": "node --test tests/state.test.ts",
|
|
23
|
-
"test:unit:effect": "node --test tests/effect.test.ts",
|
|
24
|
-
"test:unit:batch": "node --test tests/batch.test.ts",
|
|
25
|
-
"test:unit:derive": "node --test tests/derive.test.ts",
|
|
26
|
-
"test:unit:select": "node --test tests/select.test.ts",
|
|
27
|
-
"test:unit:lens": "node --test tests/lens.test.ts",
|
|
28
|
-
"test:unit:cleanup": "node --test tests/cleanup.test.ts",
|
|
29
|
-
"test:unit:cyclic-dependency": "node --test tests/cyclic-dependency.test.ts",
|
|
30
|
-
"test:unit:deep-chain": "node --test tests/deep-chain.test.ts",
|
|
31
|
-
"test:unit:infinite-loop": "node --test tests/infinite-loop.test.ts",
|
|
32
|
-
"test:unit:custom-equality": "node --test tests/custom-equality.test.ts",
|
|
33
|
-
"benchmark": "node scripts/benchmark.ts",
|
|
34
|
-
"build": "npm run build:lts",
|
|
35
|
-
"prebuild:lts": "rm -rf dist/",
|
|
36
|
-
"build:lts": "tsc -p tsconfig.lts.json",
|
|
37
|
-
"prepublishOnly": "npm run build:lts",
|
|
38
|
-
"pretest:lts": "node scripts/run-lts-tests.js",
|
|
39
|
-
"test:lts:20": "node --test dist/tests/**.js",
|
|
40
|
-
"test:lts:22": "node --test --test-skip-pattern=\"COMPONENT NAME\" dist/tests/**/*.js",
|
|
41
|
-
"update-performance-docs": "node --experimental-config-file=node.config.json scripts/update-performance-docs.ts"
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=20.0.0"
|
|
42
12
|
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": {
|
|
16
|
+
"default": "./dist/src/index.min.js",
|
|
17
|
+
"types": "./dist/src/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"default": "./dist/src/index.min.js"
|
|
21
|
+
},
|
|
22
|
+
"types": "./dist/src/index.d.ts",
|
|
23
|
+
"typescript": "./dist/src/index.ts"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist/src/index.js",
|
|
28
|
+
"dist/src/index.d.ts",
|
|
29
|
+
"dist/src/index.ts",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
43
32
|
"keywords": [
|
|
44
|
-
"
|
|
33
|
+
"backend",
|
|
34
|
+
"batching",
|
|
35
|
+
"computed-values",
|
|
36
|
+
"dependency-tracking",
|
|
45
37
|
"effects",
|
|
46
38
|
"fine-grained",
|
|
47
|
-
"computed-values",
|
|
48
|
-
"batching",
|
|
49
|
-
"signals",
|
|
50
|
-
"reactive",
|
|
51
39
|
"lightweight",
|
|
52
|
-
"performance",
|
|
53
|
-
"dependency-tracking",
|
|
54
|
-
"memoization",
|
|
55
40
|
"memory-management",
|
|
56
41
|
"nodejs",
|
|
42
|
+
"performance",
|
|
43
|
+
"reactive",
|
|
57
44
|
"server-side",
|
|
58
|
-
"
|
|
45
|
+
"signals",
|
|
46
|
+
"state-management",
|
|
59
47
|
"typescript"
|
|
60
48
|
],
|
|
61
|
-
"author": "Denny Trebbin (nerdalytics)",
|
|
62
49
|
"license": "MIT",
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
50
|
+
"main": "dist/src/index.min.js",
|
|
51
|
+
"name": "@nerdalytics/beacon",
|
|
52
|
+
"packageManager": "npm@11.6.0",
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "git+https://github.com/nerdalytics/beacon.git"
|
|
67
56
|
},
|
|
68
|
-
"
|
|
69
|
-
"
|
|
57
|
+
"scripts": {
|
|
58
|
+
"benchmark": "node scripts/benchmark.ts",
|
|
59
|
+
"benchmark:naiv": "node scripts/naiv-benchmark.ts",
|
|
60
|
+
"build": "npm run build:lts",
|
|
61
|
+
"build:lts": "tsc -p tsconfig.lts.json",
|
|
62
|
+
"check": "npx @biomejs/biome check",
|
|
63
|
+
"check:fix": "npx @biomejs/biome format --fix",
|
|
64
|
+
"format": "npx @biomejs/biome format --write",
|
|
65
|
+
"lint": "npx @biomejs/biome lint",
|
|
66
|
+
"lint:fix": "npx @biomejs/biome lint --fix",
|
|
67
|
+
"lint:fix:unsafe": "npx @biomejs/biome lint --fix --unsafe",
|
|
68
|
+
"postbuild:lts": "npx uglify-js --compress --mangle --module --toplevel --v8 --warn --source-map \"content='dist/src/index.js.map'\" --output dist/src/index.min.js dist/src/index.js",
|
|
69
|
+
"prebuild:lts": "rm -rf dist/",
|
|
70
|
+
"prepublishOnly": "npm run build:lts",
|
|
71
|
+
"pretest:lts": "node scripts/run-lts-tests.js",
|
|
72
|
+
"test": "node --test --test-skip-pattern=\"COMPONENT NAME\" tests/**/*.ts",
|
|
73
|
+
"test:behavior": "node --test tests/infinite-loop.test.ts tests/cyclic-dependency.test.ts tests/cleanup.test.ts",
|
|
74
|
+
"test:core": "node --test tests/*-core.test.ts",
|
|
75
|
+
"test:coverage": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info tests/**/*.test.ts",
|
|
76
|
+
"test:integration": "node --test tests/state-*.test.ts tests/batch-integration.test.ts",
|
|
77
|
+
"test:lts:20": "node --test dist/tests/**.js",
|
|
78
|
+
"test:lts:22": "node --test --test-skip-pattern=\"COMPONENT NAME\" dist/tests/**/*.js",
|
|
79
|
+
"test:unit:batch": "node --test tests/batch.test.ts",
|
|
80
|
+
"test:unit:cleanup": "node --test tests/cleanup.test.ts",
|
|
81
|
+
"test:unit:custom-equality": "node --test tests/custom-equality.test.ts",
|
|
82
|
+
"test:unit:cyclic-dependency": "node --test tests/cyclic-dependency.test.ts",
|
|
83
|
+
"test:unit:deep-chain": "node --test tests/deep-chain.test.ts",
|
|
84
|
+
"test:unit:derive": "node --test tests/derive.test.ts",
|
|
85
|
+
"test:unit:effect": "node --test tests/effect.test.ts",
|
|
86
|
+
"test:unit:infinite-loop": "node --test tests/infinite-loop.test.ts",
|
|
87
|
+
"test:unit:lens": "node --test tests/lens.test.ts",
|
|
88
|
+
"test:unit:select": "node --test tests/select.test.ts",
|
|
89
|
+
"test:unit:state": "node --test tests/state.test.ts",
|
|
90
|
+
"update-performance-docs": "node --experimental-config-file=node.config.json scripts/update-performance-docs.ts"
|
|
70
91
|
},
|
|
71
|
-
"
|
|
92
|
+
"type": "module",
|
|
93
|
+
"types": "dist/src/index.d.ts",
|
|
94
|
+
"version": "1000.2.2"
|
|
72
95
|
}
|