@sovereignbase/sequencer 0.0.2 → 1.0.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "license": "Apache-2.0",
4
4
  "name": "@sovereignbase/sequencer",
5
- "version": "0.0.2",
5
+ "version": "1.0.1",
6
6
  "description": "A causality-encoding engine written in TypeScript and C++ to build high-performance, conflict-free replicated data types for use on the web.",
7
7
  "keywords": [
8
8
  "collaborative-editing",
@@ -23,31 +23,34 @@
23
23
  "files": [
24
24
  "dist",
25
25
  "LICENSE",
26
- "README.md"
26
+ "README.md",
27
+ "INTERNALS.md"
27
28
  ],
28
29
  "sideEffects": false,
29
30
  "scripts": {
30
31
  "configure:wasm": "emcmake cmake --preset wasm-release",
31
- "build": "npm run build:wasm && npm run build:package",
32
- "build:package": "tsdown",
33
- "build:wasm": "node scripts/build-wasm.mjs",
34
- "docs": "typedoc",
35
- "docs:c++": "node scripts/build-cpp-docs.mjs",
32
+ "build": "npm run build:c++ && npm run build:ts",
33
+ "build:ts": "tsdown",
34
+ "build:c++": "node scripts/build-wasm.ts",
35
+ "docs": "npm run docs:ts && npm run docs:c++",
36
+ "docs:ts": "typedoc",
37
+ "docs:c++": "node scripts/build-cpp-docs.ts",
36
38
  "format": "npm run format:ts && npm run format:c++",
37
39
  "format:ts": "prettier . --write",
38
- "format:c++": "node scripts/format-cpp.mjs",
40
+ "format:c++": "node scripts/format-cpp.ts",
41
+ "format:check": "npm run format:check:ts && npm run format:check:c++",
42
+ "format:check:ts": "prettier . --check",
43
+ "format:check:c++": "node scripts/format-cpp.ts --check",
39
44
  "typecheck": "tsc --noEmit --project test/tsconfig.json",
40
45
  "typecheck:runtime": "tsc --noEmit --project tsconfig.json",
41
- "test": "npm run build && npm run typecheck && npm run test:vitest && node --test test/compatibility/index.ts",
42
- "test:vitest": "vitest run --coverage",
43
- "test:unit": "vitest run test/unit --coverage.enabled=false",
44
- "test:integration": "vitest run test/integration --coverage.enabled=false",
45
- "test:convergence": "vitest run test/convergence --coverage.enabled=false",
46
- "test:stress": "vitest run test/stress --coverage.enabled=false",
47
- "test:runtimes": "node scripts/run-runtime-tests.mjs",
48
- "test:browser": "node scripts/run-browser-tests.mjs",
49
- "test:compatibility": "npm run build:package && node --test test/compatibility/index.ts",
50
- "bench": "npm run build:package && node benchmark/index.ts",
46
+ "test": "npm run build && npm run typecheck && node scripts/run-tests.ts",
47
+ "test:vitest": "node scripts/run-tests.ts vitest --coverage",
48
+ "test:unit": "node scripts/run-tests.ts vitest test/unit --coverage.enabled=false",
49
+ "test:integration": "node scripts/run-tests.ts vitest test/integration --coverage.enabled=false",
50
+ "test:convergence": "node scripts/run-tests.ts vitest test/convergence --coverage.enabled=false",
51
+ "test:stress": "node scripts/run-tests.ts vitest test/stress --coverage.enabled=false",
52
+ "test:compatibility": "npm run build:ts && node scripts/run-tests.ts compatibility",
53
+ "bench": "npm run build:ts && node --expose-gc benchmark/index.ts",
51
54
  "bench:lifecycle": "npm run bench -- --suite lifecycle",
52
55
  "bench:throughput": "npm run bench -- --suite throughput",
53
56
  "prepare": "husky"
@@ -55,8 +58,8 @@
55
58
  "devDependencies": {
56
59
  "@commitlint/cli": "^21.2.3",
57
60
  "@commitlint/config-conventional": "^21.2.3",
61
+ "@msgpack/msgpack": "^3.1.3",
58
62
  "@playwright/test": "^1.64.0",
59
- "@sovereignbase/utils": "^2.3.0",
60
63
  "@types/node": "^26.6.5",
61
64
  "@types/ws": "^8.18.2",
62
65
  "@vitest/browser-playwright": "^5.0.4",
@@ -65,20 +68,17 @@
65
68
  "bun": "^1.4.3",
66
69
  "deno": "^2.9.6",
67
70
  "edge-runtime": "^4.0.1",
68
- "esbuild": "^0.28.2",
69
71
  "fast-check": "^4.10.2",
70
72
  "fast-glob": "^3.3.3",
71
73
  "husky": "^9.1.7",
72
74
  "playwright": "^1.64.0",
73
75
  "prettier": "^3.9.10",
74
76
  "terser": "^5.51.2",
75
- "tinybench": "^6.2.2",
76
77
  "tsdown": "^0.23.1",
77
78
  "typedoc": "^0.28.20",
78
79
  "typescript": "^6.0.3",
79
- "unrun": "^0.3.1",
80
80
  "vitest": "^5.0.4",
81
- "wrangler": "^4.149.0",
81
+ "wrangler": "^4.150.0",
82
82
  "ws": "^8.22.0"
83
83
  },
84
84
  "repository": {