From 3fe98e7f5825aef7dbd5660f0a3712b92f824d74 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 20 Jun 2023 23:33:00 +0200 Subject: [PATCH] fix: move js-yaml dependencies to commons package Signed-off-by: Tilman Vatteroth --- commons/package.json | 2 ++ frontend/package.json | 2 -- yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons/package.json b/commons/package.json index 7ecaa887b..296e58e09 100644 --- a/commons/package.json +++ b/commons/package.json @@ -41,6 +41,7 @@ "domhandler": "5.0.3", "eventemitter2": "6.4.9", "joi": "17.9.2", + "js-yaml": "4.1.0", "reveal.js": "4.5.0", "ws": "8.13.0", "yjs": "13.6.4" @@ -48,6 +49,7 @@ "devDependencies": { "@jest/types": "29.5.0", "@mrdrogdrog/optional": "1.1.0", + "@types/js-yaml": "4.0.5", "@types/ws": "8.5.5", "@typescript-eslint/eslint-plugin": "5.60.0", "@typescript-eslint/parser": "5.60.0", diff --git a/frontend/package.json b/frontend/package.json index eceaeb1ee..76b77154b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -79,7 +79,6 @@ "i18next": "23.2.1", "i18next-browser-languagedetector": "7.0.2", "i18next-resources-to-backend": "1.1.4", - "js-yaml": "4.1.0", "katex": "0.16.7", "luxon": "3.3.0", "markdown-it": "13.0.1", @@ -133,7 +132,6 @@ "@types/diff": "5.0.3", "@types/dompurify": "3.0.2", "@types/jest": "29.5.2", - "@types/js-yaml": "4.0.5", "@types/luxon": "3.3.0", "@types/markdown-it": "12.2.3", "@types/markdown-it-container": "2.0.5", diff --git a/yarn.lock b/yarn.lock index 1cf7072ea..597d05516 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2372,6 +2372,7 @@ __metadata: dependencies: "@jest/types": 29.5.0 "@mrdrogdrog/optional": 1.1.0 + "@types/js-yaml": 4.0.5 "@types/ws": 8.5.5 "@typescript-eslint/eslint-plugin": 5.60.0 "@typescript-eslint/parser": 5.60.0 @@ -2383,6 +2384,7 @@ __metadata: eventemitter2: 6.4.9 jest: 29.5.0 joi: 17.9.2 + js-yaml: 4.1.0 microbundle: 0.15.1 prettier: 2.8.8 reveal.js: 4.5.0 @@ -2431,7 +2433,6 @@ __metadata: "@types/diff": 5.0.3 "@types/dompurify": 3.0.2 "@types/jest": 29.5.2 - "@types/js-yaml": 4.0.5 "@types/katex": 0.16.0 "@types/luxon": 3.3.0 "@types/markdown-it": 12.2.3 @@ -2485,7 +2486,6 @@ __metadata: i18next-resources-to-backend: 1.1.4 jest: 29.5.0 jest-environment-jsdom: 29.5.0 - js-yaml: 4.1.0 katex: 0.16.7 luxon: 3.3.0 markdown-it: 13.0.1