Skip to content

Commit

Permalink
Webapp maintenance (#674)
Browse files Browse the repository at this point in the history
* Update package locks

- npm update
- upgrade to v3

* [webcore] update package lock to v3

* [webapp] Update dependencies

- npm update
- upgrade lock file version to v3

* [webapp] Increase Node.js requirements

- Node.js 16
- npm 7

* [webapp] Update more dev dependencies

- babel-loader
- eslint-webpack-plugin 4
- rimraf 5
- sass-loader 13
- webpack-cli 5

* [webapp] Remove husky and lint-staged

We were not using these dependencies effectively,
and was a burden when working on
other parts of the repository (#406)

* [webapp] Update @ungap/custom-elements

* [webapp] npm update again

* [webapp] Require dicoogle-client 5.2.5

- due to unexpected breaking change in v5.2.4

* Set webUI module media type to text/javascript

* npm update

* Update webapp dependencies again

npm update
  • Loading branch information
Enet4 authored Dec 1, 2023
1 parent 03655ab commit b75532d
Show file tree
Hide file tree
Showing 6 changed files with 13,220 additions and 11,015 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se

String process = req.getParameter("process");

resp.setContentType("application/javascript");
resp.setContentType("text/javascript");
boolean doProcess = process == null || Boolean.parseBoolean(process);

WebUIPlugin plugin = PluginController.getInstance().getWebUIPlugin(name);
Expand Down
2 changes: 1 addition & 1 deletion dicoogle/src/main/resources/webapp/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import LoginView from "./components/login/loginView";
import * as UserActions from "./actions/userActions";
import UserStore from "./stores/userStore";

import "@ungap/custom-elements-builtin";
import "@ungap/custom-elements";
import "core-js/stable";
import "bootstrap";

Expand Down
Loading

0 comments on commit b75532d

Please sign in to comment.