Add windows support (#41)

* Add windows support

* Improve multi-platform support

* Install with network-concurrency 1

* Use file-glob to upload windows binary

* Don't install packages in parallel if on windows

* Rename vscode-remote to code-server

* Add output at intervals so CI doesn't kill build

* Update all tasks to provide timed output

* Don't perform tasks sync otherwise we can't log
This commit is contained in:
Kyle Carberry
2019-02-28 14:04:19 -06:00
committed by GitHub
parent 1e30831c91
commit e8174095ca
27 changed files with 769 additions and 72 deletions

View File

@ -45,7 +45,7 @@ module.exports = (options = {}) => ({
type: "javascript/auto",
}, {
// Fixes spdlog.
test: /spdlog\/index\.js/,
test: /spdlog(\\|\/)index\.js/,
loader: "string-replace-loader",
options: {
multiple: [{
@ -56,7 +56,7 @@ module.exports = (options = {}) => ({
},
}, {
// This is required otherwise it attempts to require("package.json")
test: /@oclif\/command\/lib\/index\.js/,
test: /@oclif(\\|\/)command(\\|\/)lib(\\|\/)index\.js/,
loader: "string-replace-loader",
options: {
multiple: [{
@ -66,7 +66,7 @@ module.exports = (options = {}) => ({
}],
},
}, {
test: /node\-pty\/lib\/index\.js/,
test: /node\-pty\-prebuilt(\\|\/)lib(\\|\/)index\.js/,
loader: "string-replace-loader",
options: {
multiple: [{
@ -75,6 +75,16 @@ module.exports = (options = {}) => ({
flags: "g",
}],
},
}, {
test: /node\-pty\-prebuilt(\\|\/)lib(\\|\/)windowsPtyAgent\.js/,
loader: "string-replace-loader",
options: {
multiple: [{
search: "var pty = .*;",
replace: "var pty = __non_webpack_require__(global.NODEPTY_LOCATION);",
flags: "g",
}],
},
}],
},
resolve: {