Upgraded webpack and related dependencies.

This commit is contained in:
Daan Vanden Bosch 2020-07-14 20:34:42 +02:00
parent c77e5a265c
commit 9765449564
4 changed files with 525 additions and 435 deletions

View File

@ -42,15 +42,15 @@
"@webgpu/types": "^0.0.27", "@webgpu/types": "^0.0.27",
"cheerio": "^1.0.0-rc.3", "cheerio": "^1.0.0-rc.3",
"clean-webpack-plugin": "^3.0.0", "clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1", "copy-webpack-plugin": "^6.0.3",
"css-loader": "^3.5.3", "css-loader": "^3.6.0",
"dotenv-webpack": "^1.7.0", "dotenv-webpack": "^2.0.0",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"file-loader": "^6.0.0", "file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^4.1.3", "fork-ts-checker-webpack-plugin": "^5.0.7",
"html-webpack-plugin": "^4.2.0", "html-webpack-plugin": "^4.3.0",
"jest": "^26.1.0", "jest": "^26.1.0",
"jest-canvas-mock": "^2.2.0", "jest-canvas-mock": "^2.2.0",
"mini-css-extract-plugin": "^0.9.0", "mini-css-extract-plugin": "^0.9.0",
@ -59,15 +59,15 @@
"optimize-css-assets-webpack-plugin": "^5.0.3", "optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"raw-loader": "^4.0.1", "raw-loader": "^4.0.1",
"terser-webpack-plugin": "^2.3.6", "terser-webpack-plugin": "^2.3.7",
"ts-jest": "^26.1.2", "ts-jest": "^26.1.2",
"ts-loader": "^7.0.1", "ts-loader": "^7.0.5",
"ts-node": "^8.9.0", "ts-node": "^8.9.0",
"typescript": "^3.9.6", "typescript": "^3.9.6",
"webpack": "^4.43.0", "webpack": "^4.43.0",
"webpack-cli": "^3.3.11", "webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.10.3", "webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2", "webpack-merge": "^5.0.9",
"worker-loader": "^2.0.0", "worker-loader": "^2.0.0",
"yaml": "^1.9.2" "yaml": "^1.9.2"
} }

View File

@ -61,7 +61,7 @@ export class EventView extends View {
table( table(
tr(th("ID:"), td(event.id.toString())), tr(th("ID:"), td(event.id.toString())),
tr(th("Section:"), td(event.section_id.toString())), tr(th("Section:"), td(event.section_id.toString())),
tr(th("Wave:"), td(wave_node as Node)), tr(th("Wave:"), td(undefined, wave_node)),
tr(th("Delay:"), td(this.delay_input.element)), tr(th("Delay:"), td(this.delay_input.element)),
tr(th({ colSpan: 2 }, "Actions:")), tr(th({ colSpan: 2 }, "Actions:")),
tr(td({ colSpan: 2 }, action_table)), tr(td({ colSpan: 2 }, action_table)),
@ -116,7 +116,7 @@ export class EventView extends View {
): [HTMLTableRowElement, Disposer] => { ): [HTMLTableRowElement, Disposer] => {
const disposer = new Disposer(); const disposer = new Disposer();
let label: string; let label: string;
let node: Node; let node: HTMLElement;
if (action.type === QuestEventActionType.SpawnNpcs) { if (action.type === QuestEventActionType.SpawnNpcs) {
label = "Spawn:"; label = "Spawn:";

View File

@ -1,6 +1,6 @@
const common = require("./webpack.common.js"); const common = require("./webpack.common.js");
const path = require("path"); const path = require("path");
const merge = require("webpack-merge"); const { merge } = require("webpack-merge");
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin"); const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const Dotenv = require("dotenv-webpack"); const Dotenv = require("dotenv-webpack");

934
yarn.lock

File diff suppressed because it is too large Load Diff