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
This commit is contained in:
Benjamin Staneck 2017-09-25 15:26:04 +02:00 committed by Guillermo Rauch
parent 3293c3b50a
commit f0e9507caa
4 changed files with 17 additions and 4 deletions

11
jsconfig.json Normal file
View file

@ -0,0 +1,11 @@
{
"compilerOptions": {
"checkJs": true
},
"exclude": [
"node_modules",
"**/node_modules/*",
"bin/*"
"dist/*"
]
}

View file

@ -160,7 +160,7 @@
"seamless-immutable": "7.1.2", "seamless-immutable": "7.1.2",
"semver": "5.4.1", "semver": "5.4.1",
"uuid": "3.1.0", "uuid": "3.1.0",
"xterm": "2.8.1" "xterm": "2.9.2"
}, },
"devDependencies": { "devDependencies": {
"ava": "0.22.0", "ava": "0.22.0",

View file

@ -35,6 +35,8 @@ module.exports = {
] ]
}, },
plugins: [ plugins: [
new webpack.IgnorePlugin(/.*\.js.map$/i),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env': {
NODE_ENV: JSON.stringify(nodeEnv) NODE_ENV: JSON.stringify(nodeEnv)

View file

@ -6170,9 +6170,9 @@ xtend@~2.1.1:
dependencies: dependencies:
object-keys "~0.4.0" object-keys "~0.4.0"
xterm@2.8.1: xterm@2.9.2:
version "2.8.1" version "2.9.2"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.8.1.tgz#3f6b939bcb8d015a1f247d66257102cb16a0b2e1" resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.9.2.tgz#ec3e7c636ba67af4a7026be2cff7bdf08e56400a"
y18n@^3.2.1: y18n@^3.2.1:
version "3.2.1" version "3.2.1"