refactor(patches): remove unnecessary patches for lib0

These patches are now included in the library itself.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2023-01-22 20:36:16 +01:00
parent c8d4f0dc18
commit 527881ea16
3 changed files with 2 additions and 390 deletions

View file

@ -1,366 +0,0 @@
diff --git a/package.json b/package.json
index 9f2285b2a327935a64443dfff3b4389d2df0620d..b2a923b42f4a3f0fda68a9707cf65ac6007502e6 100644
--- a/package.json
+++ b/package.json
@@ -15,271 +15,316 @@
"./package.json": "./package.json",
".": {
"import": "./index.js",
- "require": "./dist/index.cjs"
+ "require": "./dist/index.cjs",
+ "types": "./index.d.ts"
},
"./array.js": "./array.js",
"./dist/array.cjs": "./dist/array.cjs",
"./array": {
"import": "./array.js",
- "require": "./dist/array.cjs"
+ "require": "./dist/array.cjs",
+ "types": "./array.d.ts"
},
"./binary.js": "./binary.js",
"./dist/binary.cjs": "./dist/binary.cjs",
"./binary": {
"import": "./binary.js",
- "require": "./dist/binary.cjs"
+ "require": "./dist/binary.cjs",
+ "types": "./binary.d.ts"
},
"./broadcastchannel.js": "./broadcastchannel.js",
"./dist/broadcastchannel.cjs": "./dist/broadcastchannel.cjs",
"./broadcastchannel": {
"import": "./broadcastchannel.js",
- "require": "./dist/broadcastchannel.cjs"
+ "require": "./dist/broadcastchannel.cjs",
+ "types": "./broadcastchannel.d.ts"
},
"./buffer.js": "./buffer.js",
"./dist/buffer.cjs": "./dist/buffer.cjs",
"./buffer": {
"import": "./buffer.js",
- "require": "./dist/buffer.cjs"
+ "require": "./dist/buffer.cjs",
+ "types": "./buffer.d.ts"
},
"./cache.js": "./cache.js",
"./dist/cache.cjs": "./dist/cache.cjs",
"./cache": {
"import": "./cache.js",
- "require": "./dist/cache.cjs"
+ "require": "./dist/cache.cjs",
+ "types": "./cache.d.ts"
},
"./component.js": "./component.js",
"./dist/component.cjs": "./dist/component.cjs",
"./component": {
"import": "./component.js",
- "require": "./dist/component.cjs"
+ "require": "./dist/component.cjs",
+ "types": "./component.d.ts"
},
"./conditions.js": "./conditions.js",
"./dist/conditions.cjs": "./dist/conditions.cjs",
"./conditions": {
"import": "./condititons.js",
- "require": "./dist/conditions.cjs"
+ "require": "./dist/conditions.cjs",
+ "types": "./conditions.d.ts"
},
"./decoding.js": "./decoding.js",
"./dist/decoding.cjs": "./dist/decoding.cjs",
"./decoding": {
"import": "./decoding.js",
- "require": "./dist/decoding.cjs"
+ "require": "./dist/decoding.cjs",
+ "types": "./decoding.d.ts"
},
"./diff.js": "./diff.js",
"./dist/diff.cjs": "./dist/diff.cjs",
"./diff": {
"import": "./diff.js",
- "require": "./dist/diff.cjs"
+ "require": "./dist/diff.cjs",
+ "types": "./diff.d.ts"
},
"./dom.js": "./dom.js",
"./dist/dom.cjs": "./dist/dom.cjs",
"./dom": {
"import": "./dom.js",
- "require": "./dist/dom.cjs"
+ "require": "./dist/dom.cjs",
+ "types": "./dom.d.ts"
},
"./encoding.js": "./encoding.js",
"./dist/encoding.cjs": "./dist/encoding.cjs",
"./encoding": {
"import": "./encoding.js",
- "require": "./dist/encoding.cjs"
+ "require": "./dist/encoding.cjs",
+ "types": "./encoding.d.ts"
},
"./environment.js": "./environment.js",
"./dist/environment.cjs": "./dist/environment.cjs",
"./environment": {
"import": "./environment.js",
- "require": "./dist/environment.cjs"
+ "require": "./dist/environment.cjs",
+ "types": "./environment.d.ts"
},
"./error.js": "./error.js",
"./dist/error.cjs": "./dist/error.cjs",
"./error": {
"import": "./error.js",
- "require": "./dist/error.cjs"
+ "require": "./dist/error.cjs",
+ "types": "./error.d.ts"
},
"./eventloop.js": "./eventloop.js",
"./dist/eventloop.cjs": "./dist/eventloop.cjs",
"./eventloop": {
"import": "./eventloop.js",
- "require": "./dist/eventloop.cjs"
+ "require": "./dist/eventloop.cjs",
+ "types": "./eventloop.d.ts"
},
"./function.js": "./function.js",
"./dist/function.cjs": "./dist/function.cjs",
"./function": {
"import": "./function.js",
- "require": "./dist/function.cjs"
+ "require": "./dist/function.cjs",
+ "types": "./function.d.ts"
},
"./indexeddb.js": "./indexeddb.js",
"./dist/indexeddb.cjs": "./dist/indexeddb.cjs",
"./indexeddb": {
"import": "./indexeddb.js",
- "require": "./dist/indexeddb.cjs"
+ "require": "./dist/indexeddb.cjs",
+ "types": "./indexeddb.d.ts"
},
"./isomorphic.js": "./isomorphic.js",
"./dist/isomorphic.cjs": "./dist/isomorphic.cjs",
"./isomorphic": {
"import": "./isomorphic.js",
- "require": "./dist/isomorphic.cjs"
+ "require": "./dist/isomorphic.cjs",
+ "types": "./isomorphic.d.ts"
},
"./iterator.js": "./iterator.js",
"./dist/iterator.cjs": "./dist/iterator.cjs",
"./iterator": {
"import": "./iterator.js",
- "require": "./dist/iterator.cjs"
+ "require": "./dist/iterator.cjs",
+ "types": "./iterator.d.ts"
},
"./json.js": "./json.js",
"./dist/json.cjs": "./dist/json.cjs",
"./json": {
"import": "./json.js",
- "require": "./dist/json.cjs"
+ "require": "./dist/json.cjs",
+ "types": "./json.d.ts"
},
"./list.js": "./list.js",
"./dist/list.cjs": "./dist/list.cjs",
"./list": {
"import": "./list.js",
- "require": "./dist/list.cjs"
+ "require": "./dist/list.cjs",
+ "types": "./list.d.ts"
},
"./logging.js": "./logging.js",
"./dist/logging.cjs": "./dist/logging.cjs",
"./logging": {
"import": "./logging.js",
- "require": "./dist/logging.cjs"
+ "require": "./dist/logging.cjs",
+ "types": "./logging.d.ts"
},
"./map.js": "./map.js",
"./dist/map.cjs": "./dist/map.cjs",
"./map": {
"import": "./map.js",
- "require": "./dist/map.cjs"
+ "require": "./dist/map.cjs",
+ "types": "./map.d.ts"
},
"./math.js": "./math.js",
"./dist/math.cjs": "./dist/math.cjs",
"./math": {
"import": "./math.js",
- "require": "./dist/math.cjs"
+ "require": "./dist/math.cjs",
+ "types": "./math.d.ts"
},
"./metric.js": "./metric.js",
"./dist/metric.cjs": "./dist/metric.cjs",
"./metric": {
"import": "./metric.js",
- "require": "./dist/metric.cjs"
+ "require": "./dist/metric.cjs",
+ "types": "./metric.d.ts"
},
"./mutex.js": "./mutex.js",
"./dist/mutex.cjs": "./dist/mutex.cjs",
"./mutex": {
"import": "./mutex.js",
- "require": "./dist/mutex.cjs"
+ "require": "./dist/mutex.cjs",
+ "types": "./mutex.d.ts"
},
"./number.js": "./number.js",
"./dist/number.cjs": "./dist/number.cjs",
"./number": {
"import": "./number.js",
- "require": "./dist/number.cjs"
+ "require": "./dist/number.cjs",
+ "types": "./number.d.ts"
},
"./object.js": "./object.js",
"./dist/object.cjs": "./dist/object.cjs",
"./object": {
"import": "./object.js",
- "require": "./dist/object.cjs"
+ "require": "./dist/object.cjs",
+ "types": "./object.d.ts"
},
"./observable.js": "./observable.js",
"./dist/observable.cjs": "./dist/observable.cjs",
"./observable": {
"import": "./observable.js",
- "require": "./dist/observable.cjs"
+ "require": "./dist/observable.cjs",
+ "types": "./observable.d.ts"
},
"./pair.js": "./pair.js",
"./dist/pair.cjs": "./dist/pair.cjs",
"./pair": {
"import": "./pair.js",
- "require": "./dist/pair.cjs"
+ "require": "./dist/pair.cjs",
+ "types": "./pair.d.ts"
},
"./prng.js": "./prng.js",
"./dist/prng.cjs": "./dist/prng.cjs",
"./prng": {
"import": "./prng.js",
- "require": "./dist/prng.cjs"
+ "require": "./dist/prng.cjs",
+ "types": "./prng.d.ts"
},
"./promise.js": "./promise.js",
"./dist/promise.cjs": "./dist/promise.cjs",
"./promise": {
"import": "./promise.js",
- "require": "./dist/promise.cjs"
+ "require": "./dist/promise.cjs",
+ "types": "./promise.d.ts"
},
"./queue.js": "./queue.js",
"./dist/queue.cjs": "./dist/queue.cjs",
"./queue": {
"import": "./queue.js",
- "require": "./dist/queue.cjs"
+ "require": "./dist/queue.cjs",
+ "types": "./queue.d.ts"
},
"./random.js": "./random.js",
"./dist/random.cjs": "./dist/random.cjs",
"./random": {
"import": "./random.js",
- "require": "./dist/random.cjs"
+ "require": "./dist/random.cjs",
+ "types": "./random.d.ts"
},
"./set.js": "./set.js",
"./dist/set.cjs": "./dist/set.cjs",
"./set": {
"import": "./set.js",
- "require": "./dist/set.cjs"
+ "require": "./dist/set.cjs",
+ "types": "./set.d.ts"
},
"./sort.js": "./sort.js",
"./dist/sort.cjs": "./dist/sort.cjs",
"./sort": {
"import": "./sort.js",
- "require": "./dist/sort.cjs"
+ "require": "./dist/sort.cjs",
+ "types": "./sort.d.ts"
},
"./statistics.js": "./statistics.js",
"./dist/statistics.cjs": "./dist/statistics.cjs",
"./statistics": {
"import": "./statistics.js",
- "require": "./dist/statistics.cjs"
+ "require": "./dist/statistics.cjs",
+ "types": "./statistics.d.ts"
},
"./storage.js": "./storage.js",
"./dist/storage.cjs": "./dist/storage.cjs",
"./storage": {
"import": "./storage.js",
- "require": "./dist/storage.cjs"
+ "require": "./dist/storage.cjs",
+ "types": "./storage.d.ts"
},
"./string.js": "./string.js",
"./dist/string.cjs": "./dist/string.cjs",
"./string": {
"import": "./string.js",
- "require": "./dist/string.cjs"
+ "require": "./dist/string.cjs",
+ "types": "./string.d.ts"
},
"./symbol.js": "./symbol.js",
"./dist/symbol.cjs": "./dist/symbol.cjs",
"./symbol": {
"import": "./symbol.js",
- "require": "./dist/symbol.cjs"
+ "require": "./dist/symbol.cjs",
+ "types": "./symbol.d.ts"
},
"./testing.js": "./testing.js",
"./dist/testing.cjs": "./dist/testing.cjs",
"./testing": {
"import": "./testing.js",
- "require": "./dist/testing.cjs"
+ "require": "./dist/testing.cjs",
+ "types": "./testing.d.ts"
},
"./time.js": "./time.js",
"./dist/time.cjs": "./dist/time.cjs",
"./time": {
"import": "./time.js",
- "require": "./dist/time.cjs"
+ "require": "./dist/time.cjs",
+ "types": "./time.d.ts"
},
"./tree.js": "./tree.js",
"./dist/tree.cjs": "./dist/tree.cjs",
"./tree": {
"import": "./tree.js",
- "require": "./dist/tree.cjs"
+ "require": "./dist/tree.cjs",
+ "types": "./tree.d.ts"
},
"./url.js": "./url.js",
"./dist/url.cjs": "./dist/url.cjs",
"./url": {
"import": "./url.js",
- "require": "./dist/url.cjs"
+ "require": "./dist/url.cjs",
+ "types": "./url.d.ts"
},
"./websocket.js": "./websocket.js",
"./dist/websocket.cjs": "./dist/websocket.cjs",
"./websocket": {
"import": "./websocket.js",
- "require": "./dist/websocket.cjs"
+ "require": "./dist/websocket.cjs",
+ "types": "./websocket.d.ts"
}
},
"dependencies": {

View file

@ -21,10 +21,6 @@
"@codemirror/theme-one-dark": "6.1.0",
"@types/react": "18.0.27",
"y-protocols@^1.0.0": "patch:y-protocols@npm%3A1.0.5#./.yarn/patches/y-protocols-npm-1.0.5-af6f64b4df.patch",
"y-protocols@1.0.5": "patch:y-protocols@npm%3A1.0.5#./.yarn/patches/y-protocols-npm-1.0.5-af6f64b4df.patch",
"lib0@^0.2.51": "patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch",
"lib0@^0.2.49": "patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch",
"lib0@^0.2.42": "patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch",
"lib0@0.2.58": "patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch"
"y-protocols@1.0.5": "patch:y-protocols@npm%3A1.0.5#./.yarn/patches/y-protocols-npm-1.0.5-af6f64b4df.patch"
}
}

View file

@ -12371,16 +12371,7 @@ __metadata:
languageName: node
linkType: hard
"lib0@npm:0.2.58":
version: 0.2.58
resolution: "lib0@npm:0.2.58"
dependencies:
isomorphic.js: ^0.2.4
checksum: 90136b972af1468e71c6c2f453297e88a7631f4eb8efcedb18125da4c8a53e769c42c512467c8a8b8d164949999bc212a3a9ed710b958b287a913a177ced6847
languageName: node
linkType: hard
"lib0@npm:0.2.60":
"lib0@npm:0.2.60, lib0@npm:^0.2.42, lib0@npm:^0.2.49, lib0@npm:^0.2.51":
version: 0.2.60
resolution: "lib0@npm:0.2.60"
dependencies:
@ -12389,15 +12380,6 @@ __metadata:
languageName: node
linkType: hard
"lib0@patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch::locator=hedgedoc%40workspace%3A.":
version: 0.2.58
resolution: "lib0@patch:lib0@npm%3A0.2.58#./.yarn/patches/lib0-npm-0.2.58-7de44657f5.patch::version=0.2.58&hash=d9d98c&locator=hedgedoc%40workspace%3A."
dependencies:
isomorphic.js: ^0.2.4
checksum: cca91ac02366d184a3adf9b4a861810c61b3efc63af9a11456ea5525bc782397761ab8cc9fa82016be4ae81efa6ef4254790f1a5a041364782cb13154a649e9a
languageName: node
linkType: hard
"libphonenumber-js@npm:^1.10.14":
version: 1.10.17
resolution: "libphonenumber-js@npm:1.10.17"