From f0e9507caa75b0b22fb165a4cfc4c2b9d9ba669b Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Mon, 25 Sep 2017 15:26:04 +0200 Subject: [PATCH] Restore lost commits from v2 branch (#2275) * Fix decorated config with default colors (#2241) Fix #2240 * Update xterm.js to 2.9.2 (#2236) * Enable VS Codes type checking and quick fixes for Javascript files * https://code.visualstudio.com/docs/languages/javascript#_type-checking-and-quick-fixes-for-javascript-files * Ignore the dist dir as well --- jsconfig.json | 11 +++++++++++ package.json | 2 +- webpack.config.js | 2 ++ yarn.lock | 6 +++--- 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 00000000..88e4da83 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "checkJs": true + }, + "exclude": [ + "node_modules", + "**/node_modules/*", + "bin/*" + "dist/*" + ] +} diff --git a/package.json b/package.json index 7011a0b1..375b69a4 100644 --- a/package.json +++ b/package.json @@ -160,7 +160,7 @@ "seamless-immutable": "7.1.2", "semver": "5.4.1", "uuid": "3.1.0", - "xterm": "2.8.1" + "xterm": "2.9.2" }, "devDependencies": { "ava": "0.22.0", diff --git a/webpack.config.js b/webpack.config.js index 16e963ce..b9e7b50d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,6 +35,8 @@ module.exports = { ] }, plugins: [ + new webpack.IgnorePlugin(/.*\.js.map$/i), + new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify(nodeEnv) diff --git a/yarn.lock b/yarn.lock index 12f65f4f..bd00aa05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6170,9 +6170,9 @@ xtend@~2.1.1: dependencies: object-keys "~0.4.0" -xterm@2.8.1: - version "2.8.1" - resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.8.1.tgz#3f6b939bcb8d015a1f247d66257102cb16a0b2e1" +xterm@2.9.2: + version "2.9.2" + resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.9.2.tgz#ec3e7c636ba67af4a7026be2cff7bdf08e56400a" y18n@^3.2.1: version "3.2.1"