From ea509702b6ed88951a1b7b109b5dc597ee81112d Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 2 Oct 2021 16:53:46 +0200 Subject: feat(web): add client-side logging support Also modified langauge-web/src/main/js/xtext/ServiceBuilder.js to make sure the new logger is used as soon as xtext is initialized. --- language-web/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'language-web/package.json') diff --git a/language-web/package.json b/language-web/package.json index ddb00f57..79e63342 100644 --- a/language-web/package.json +++ b/language-web/package.json @@ -1,5 +1,5 @@ { - "name": "language-web", + "name": "refinery", "version": "0.0.0", "description": "Web frontend for VIATRA-Generator", "main": "index.js", @@ -58,6 +58,7 @@ "webpack-subresource-integrity": "^5.0.0-rc.1" }, "dependencies": { + "ansi-styles": "^6.1.0", "@babel/runtime": "^7.15.0", "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", @@ -67,6 +68,8 @@ "@material-ui/icons": "5.0.0-beta.4", "codemirror": "^5.62.3", "jquery": "^3.6.0", + "loglevel": "^1.7.1", + "loglevel-plugin-prefix": "^0.8.4", "mobx": "^6.3.2", "mobx-react-lite": "^3.2.0", "react": "^17.0.2", -- cgit v1.2.3-54-g00ecf