fix: remove vega node version

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-06-04 12:06:40 +02:00
parent e0dcc525fb
commit c0a65a0e09
4 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,15 @@
diff --git a/package.json b/package.json
index 2a14fcbae9d8c3b147f8a67aaa11c81dcab03188..c01e841bcedffdce3cb58af9bdd25743efbb9c4d 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,8 @@
],
"license": "BSD-3-Clause",
"author": "Jeffrey Heer (http://idl.cs.washington.edu)",
- "main": "build/vega-canvas.node.js",
- "module": "build/vega-canvas.node.module.js",
+ "main": "build/vega-canvas.browser.js",
+ "module": "build/vega-canvas.browser.module.js",
"unpkg": "build/vega-canvas.min.js",
"jsdelivr": "build/vega-canvas.min.js",
"repository": "vega/vega",

View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: AGPL-3.0-only

View file

@ -35,7 +35,9 @@
"@codemirror/theme-one-dark": "6.1.2",
"@types/react": "18.2.21",
"eventemitter2@6.4.9": "patch:eventemitter2@npm%3A6.4.9#./.yarn/patches/eventemitter2-npm-6.4.9-ba37798a18.patch",
"yjs@13.6.7": "patch:yjs@npm%3A13.6.7#./.yarn/patches/yjs-remove-import-warning-in-test.patch"
"yjs@13.6.7": "patch:yjs@npm%3A13.6.7#./.yarn/patches/yjs-remove-import-warning-in-test.patch",
"vega-canvas@^1.2.6": "patch:vega-canvas@npm%3A1.2.7#./.yarn/patches/remove-vega-canvas-node.patch",
"vega-canvas@^1.2.7": "patch:vega-canvas@npm%3A1.2.7#./.yarn/patches/remove-vega-canvas-node.patch"
},
"devDependencies": {
"dotenv-cli": "7.3.0",

View file

@ -17952,13 +17952,20 @@ __metadata:
languageName: node
linkType: hard
"vega-canvas@npm:^1.2.6, vega-canvas@npm:^1.2.7":
"vega-canvas@npm:1.2.7":
version: 1.2.7
resolution: "vega-canvas@npm:1.2.7"
checksum: 6ff92fcdf0c359f2f662909c859a7f4cb4a502436136ab2f4c02373c47a621996ec0eea23e2108f11d62a618be301de86cd8528b5058c2e207a53ddd7ff58d1b
languageName: node
linkType: hard
"vega-canvas@patch:vega-canvas@npm%3A1.2.7#./.yarn/patches/vega-canvas-npm-1.2.7-df0c331091.patch::locator=hedgedoc%40workspace%3A.":
version: 1.2.7
resolution: "vega-canvas@patch:vega-canvas@npm%3A1.2.7#./.yarn/patches/vega-canvas-npm-1.2.7-df0c331091.patch::version=1.2.7&hash=713695&locator=hedgedoc%40workspace%3A."
checksum: c933998d0402278195becacf3880958810d77fb0eaa0225d2c4d687845cd9db9b442c8e0ded6219638abb057864dde1dd903884c7e5c1c762f91d9bdbe89f83c
languageName: node
linkType: hard
"vega-crossfilter@npm:~4.1.1":
version: 4.1.1
resolution: "vega-crossfilter@npm:4.1.1"