Skip to content

Commit

Permalink
Merge pull request #578 from streamich/rm-rx-rpc
Browse files Browse the repository at this point in the history
Remove Reactive-RPC and related code
  • Loading branch information
streamich authored Apr 15, 2024
2 parents 87483ee + bb5dcca commit 02e9935
Show file tree
Hide file tree
Showing 232 changed files with 7 additions and 17,793 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,4 @@ jobs:
- run: yarn demo:json-patch
- run: yarn demo:json-pointer
- run: yarn typedoc
e2e-rx-rpc:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn test:reactive-rpc

1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- run: yarn test:cli:pack
- run: yarn demo:json-patch
- run: yarn demo:json-pointer
- run: yarn test:reactive-rpc
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ merging of changes in JSON data models, avoiding conflicts between replicas.
- Very fast binary tree (Radix, AVL, Red-black*, Splay) implementations in JavaScript.
- Very fast JSON Patch (and JSON Pointer) implementation in JavaScript, including many non-standard operations, and JSON Predicate implementation.
- Very fast JSON Expression implementation in JavaScript.
- JSON Reactive RPC protocol (RPC with server push) implementation, for real-time collaborative apps.


[json-joy]: https://jsonjoy.com
21 changes: 1 addition & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"sync",
"synchronization",
"distributed-state",
"rpc",
"reactive-rpc",
"marshaling",
"serializations",
"json-patch",
Expand Down Expand Up @@ -89,17 +87,14 @@
"build": "yarn build:es2020",
"jest": "node -r ts-node/register ./node_modules/.bin/jest",
"test": "jest --maxWorkers 7",
"test:all": "yarn lint && yarn test && yarn build:all && yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack && yarn test:reactive-rpc && yarn demo:json-patch && yarn demo:json-pointer",
"test:all": "yarn lint && yarn test && yarn build:all && yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack && yarn demo:json-patch && yarn demo:json-pointer",
"test:ci": "yarn jest --maxWorkers 3 --no-cache",
"test:cli": "yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack",
"test:cli:pointer": "./bin/json-pointer-test.js ./bin/json-pointer.js",
"test:cli:patch": "./bin/json-patch-test.js ./bin/json-patch.js",
"test:cli:pack": "./bin/json-pack-test.js ./bin/json-pack.js",
"test:reactive-rpc": "node -r ts-node/register/transpile-only src/reactive-rpc/__tests__/e2e/run.ts",
"test:reactive-rpc:jest": "TEST_E2E=1 jest --maxWorkers 1 --no-cache src/reactive-rpc/__tests__/e2e/",
"demo:json-patch": "ts-node src/json-patch/__demos__/json-patch.ts",
"demo:json-pointer": "ts-node src/json-pointer/__demos__/json-pointer.ts",
"demo:reactive-rpc:server": "ts-node src/reactive-rpc/__demos__/server.ts",
"coverage": "yarn test --collectCoverage",
"typedoc": "typedoc",
"build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
Expand Down Expand Up @@ -136,18 +131,14 @@
"@types/benchmark": "^2.1.2",
"@types/jest": "^29.5.12",
"@types/quill": "^2.0.14",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"ajv": "^8.11.0",
"app-root-path": "^3.1.0",
"axios": "^1.3.5",
"benchmark": "^2.1.4",
"concurrently": "^8.0.1",
"diamond-types-node": "1.0.2",
"editing-traces": "https://github.com/streamich/editing-traces#6494020428530a6e382378b98d1d7e31334e2d7b",
"eventsource": "^2.0.2",
"fast-json-patch": "^3.0.0-1",
"find-my-way": "^7.6.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"gh-pages": "^5.0.0",
"html-webpack-plugin": "^5.5.1",
Expand All @@ -158,20 +149,15 @@
"json-crdt-traces": "https://github.com/streamich/json-crdt-traces#ec825401dc05cbb74b9e0b3c4d6527399f54d54d",
"json-logic-js": "^2.0.1",
"loro-crdt": "^0.4.1",
"memfs": "^4.8.1",
"nodemon": "^3.0.0",
"ot-text": "^1.0.2",
"ot-text-unicode": "^4.0.0",
"p4-css": "^1.5.1",
"prettier": "^3.2.5",
"pretty-quick": "^3.1.3",
"quill-delta": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redis-parser": "^3.0.0",
"rimraf": "^5.0.0",
"rope.js": "0.1.0",
"rxjs": "^7.5.5",
"sorted-btree": "^1.8.1",
"tinybench": "^2.4.0",
"ts-jest": "^29.1.2",
Expand All @@ -182,12 +168,9 @@
"tslint-config-common": "^1.6.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.4",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.23.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"websocket": "^1.0.34",
"ws": "^8.16.0",
"yjs": "13.6.9",
"ywasm": "0.16.10"
},
Expand Down Expand Up @@ -235,7 +218,6 @@
"json-expression",
"json-hash",
"json-ot",
"json-patch-multicore",
"json-patch-ot",
"json-patch",
"json-pointer",
Expand All @@ -246,7 +228,6 @@
"json-type",
"json-type-value",
"json-walk",
"reactive-rpc",
"util"
]
}
Expand Down
5 changes: 0 additions & 5 deletions src/__tests__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,3 @@ yarn test:cli:pointer
yarn test:cli:patch
yarn test:cli:pack
```

### Reactive-RPC

`/src/__tests__/reactive-rcp/` folder contains E2E tests for Reactive-RPC server
and its clients. See [README](./reactive-rpc/README.md) for more info.
20 changes: 0 additions & 20 deletions src/json-cli/jj.ts

This file was deleted.

89 changes: 0 additions & 89 deletions src/json-cli/routes/crdt.ts

This file was deleted.

40 changes: 0 additions & 40 deletions src/json-cli/routes/patch.ts

This file was deleted.

40 changes: 0 additions & 40 deletions src/json-cli/routes/util.ts

This file was deleted.

Loading

0 comments on commit 02e9935

Please sign in to comment.