pushwork 1.0.0 → 1.0.3
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/README.md +23 -21
- package/dist/cli/commands.d.ts +6 -0
- package/dist/cli/commands.d.ts.map +1 -1
- package/dist/cli/commands.js +114 -4
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli.js +27 -0
- package/dist/cli.js.map +1 -1
- package/dist/core/change-detection.d.ts.map +1 -1
- package/dist/core/change-detection.js +27 -9
- package/dist/core/change-detection.js.map +1 -1
- package/dist/core/move-detection.d.ts.map +1 -1
- package/dist/core/move-detection.js +8 -2
- package/dist/core/move-detection.js.map +1 -1
- package/dist/core/sync-engine.d.ts +4 -0
- package/dist/core/sync-engine.d.ts.map +1 -1
- package/dist/core/sync-engine.js +263 -7
- package/dist/core/sync-engine.js.map +1 -1
- package/dist/types/documents.d.ts +2 -0
- package/dist/types/documents.d.ts.map +1 -1
- package/dist/types/documents.js.map +1 -1
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +7 -1
- package/dist/utils/fs.js.map +1 -1
- package/dist/utils/network-sync.d.ts.map +1 -1
- package/dist/utils/network-sync.js +16 -3
- package/dist/utils/network-sync.js.map +1 -1
- package/package.json +30 -30
- package/src/cli/commands.ts +162 -8
- package/src/cli.ts +40 -0
- package/src/core/change-detection.ts +25 -12
- package/src/core/move-detection.ts +8 -2
- package/src/core/sync-engine.ts +270 -7
- package/src/types/documents.ts +2 -0
- package/src/utils/fs.ts +7 -3
- package/src/utils/network-sync.ts +19 -3
- package/test/integration/clone-test.sh +0 -0
- package/test/integration/conflict-resolution-test.sh +0 -0
- package/test/integration/debug-both-nested.sh +74 -0
- package/test/integration/debug-concurrent-nested.sh +87 -0
- package/test/integration/debug-nested.sh +73 -0
- package/test/integration/deletion-behavior-test.sh +0 -0
- package/test/integration/deletion-sync-test-simple.sh +0 -0
- package/test/integration/deletion-sync-test.sh +0 -0
- package/test/integration/full-integration-test.sh +0 -0
- package/test/integration/fuzzer.test.ts +865 -0
- package/test/integration/manual-sync-test.sh +84 -0
- package/test/run-tests.sh +0 -0
- package/test/unit/sync-convergence.test.ts +493 -0
- package/tools/browser-sync/README.md +0 -116
- package/tools/browser-sync/package.json +0 -44
- package/tools/browser-sync/patchwork.json +0 -1
- package/tools/browser-sync/pnpm-lock.yaml +0 -4202
- package/tools/browser-sync/src/components/BrowserSyncTool.tsx +0 -599
- package/tools/browser-sync/src/index.ts +0 -20
- package/tools/browser-sync/src/polyfills.ts +0 -31
- package/tools/browser-sync/src/styles.css +0 -290
- package/tools/browser-sync/src/types.ts +0 -27
- package/tools/browser-sync/vite.config.ts +0 -25
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pushwork/browser-sync",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "Browser folder sync tool for Patchwork",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "src/index.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./dist/index.js"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "vite build",
|
|
12
|
-
"dev": "vite build --watch",
|
|
13
|
-
"push": "pnpm build && patchwork push",
|
|
14
|
-
"watch": "nodemon --watch src -e js,tsx,ts,css,json --exec 'pnpm build && pnpm push'"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"patchwork",
|
|
18
|
-
"sync",
|
|
19
|
-
"filesystem",
|
|
20
|
-
"browser",
|
|
21
|
-
"automerge"
|
|
22
|
-
],
|
|
23
|
-
"author": "Pushwork Team",
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@automerge/automerge-repo": "2.0.0-alpha.23",
|
|
26
|
-
"@automerge/automerge-repo-react-hooks": "2.0.0-alpha.23",
|
|
27
|
-
"@patchwork/sdk": "file:../../../patchwork/sdk",
|
|
28
|
-
"react": "^18.3.1",
|
|
29
|
-
"react-dom": "^18.3.1",
|
|
30
|
-
"pushwork": "file:../../",
|
|
31
|
-
"lucide-react": "^0.460.0"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/react": "^18.3.3",
|
|
35
|
-
"@vitejs/plugin-react": "^4.3.1",
|
|
36
|
-
"nodemon": "^3.1.9",
|
|
37
|
-
"typescript": "^5.2.0",
|
|
38
|
-
"vite": "^5.3.4",
|
|
39
|
-
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
40
|
-
"vite-plugin-top-level-await": "^1.4.2",
|
|
41
|
-
"vite-plugin-wasm": "^3.3.0"
|
|
42
|
-
},
|
|
43
|
-
"license": "MIT"
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "projectFolderUrl": "automerge:new" }
|