Skip to content

Commit 3752bb4

Browse files
authored
Merge pull request #714 from streamich/restructure-libs
Restructure libs
2 parents 633e1f8 + 8e12deb commit 3752bb4

File tree

174 files changed

+66
-13142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+66
-13142
lines changed

package.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@
114114
"upgrade:interactive": "npx [email protected] --interactive"
115115
},
116116
"peerDependencies": {
117-
"@jsonjoy.com/base64": "^1.1.2",
118-
"@jsonjoy.com/json-expression": "^1.0.0",
119-
"@jsonjoy.com/json-pack": "^1.0.4",
120-
"@jsonjoy.com/json-pointer": "^1.0.0",
121-
"@jsonjoy.com/util": "^1.3.0",
122117
"rxjs": "7",
123118
"tslib": "2"
124119
},
@@ -128,18 +123,19 @@
128123
}
129124
},
130125
"dependencies": {
126+
"@jsonjoy.com/base64": "^1.1.2",
127+
"@jsonjoy.com/json-expression": "^1.0.0",
128+
"@jsonjoy.com/json-pack": "^1.1.0",
129+
"@jsonjoy.com/json-pointer": "^1.0.0",
130+
"@jsonjoy.com/json-type": "^1.0.0",
131+
"@jsonjoy.com/util": "^1.4.0",
131132
"arg": "^5.0.2",
132133
"hyperdyperid": "^1.2.0",
133134
"sonic-forest": "^1.0.3",
134135
"thingies": "^2.1.1",
135136
"tree-dump": "^1.0.2"
136137
},
137138
"devDependencies": {
138-
"@jsonjoy.com/base64": "^1.1.2",
139-
"@jsonjoy.com/json-expression": "^1.0.0",
140-
"@jsonjoy.com/json-pack": "^1.0.4",
141-
"@jsonjoy.com/json-pointer": "^1.0.0",
142-
"@jsonjoy.com/util": "^1.3.0",
143139
"@types/benchmark": "^2.1.5",
144140
"@types/jest": "^29.5.12",
145141
"benchmark": "^2.1.4",
@@ -190,7 +186,6 @@
190186
"",
191187
"demo",
192188
"json-cli",
193-
"json-clone",
194189
"json-crdt-patch",
195190
"json-crdt-extensions",
196191
"json-crdt-peritext-ui",
@@ -199,12 +194,8 @@
199194
"json-ot",
200195
"json-patch-ot",
201196
"json-patch",
202-
"json-schema",
203-
"json-size",
204197
"json-stable",
205198
"json-text",
206-
"json-type",
207-
"json-type-value",
208199
"json-walk",
209200
"util"
210201
]

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ export type * from './json-crdt';
1212
export type * from './json-crdt-patch';
1313
export type * from './json-crdt-extensions';
1414
export type * from './json-patch/types';
15-
export type * from './json-schema/types';

src/json-binary/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/json-cli/json-patch-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import {spawnSync} from 'child_process';
44
import {validateOperation} from '../json-patch';
5-
import {deepEqual} from '../json-equal/deepEqual';
5+
import {deepEqual} from '@jsonjoy.com/util/lib/json-equal/deepEqual';
66
import {testSuites} from './test/suites';
77

88
const bin = String(process.argv[2]);

src/json-cli/json-pointer-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import {spawnSync} from 'child_process';
44
import {testCases} from './json-pointer-testCases';
5-
import {deepEqual} from '../json-equal/deepEqual';
5+
import {deepEqual} from '@jsonjoy.com/util/lib/json-equal/deepEqual';
66

77
const bin = String(process.argv[2]);
88

src/json-cli/json-unpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {readFileSync} from 'fs';
22
import {MsgPackDecoderFast} from '@jsonjoy.com/json-pack/lib/msgpack';
33
import {CborDecoder} from '@jsonjoy.com/json-pack/lib/cbor/CborDecoder';
4-
import * as JSONB from '../json-binary';
4+
import * as JSONB from '@jsonjoy.com/json-pack/lib/json-binary';
55
import arg from 'arg';
66

77
const args = arg(

src/json-cli/test/op.replace.tests.json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {clone as deepClone} from '../../json-clone/clone';
1+
import {clone as deepClone} from '@jsonjoy.com/util/lib/json-clone/clone';
22
import {TestCase} from './types';
33

44
const values: [string, unknown][] = [

src/json-clone/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/json-clone/__bench__/main.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/json-clone/__tests__/clone.spec.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)