Issue 125 (#126)

* fix `npm run build`

fixes #125
- update font-awesome fonts to 5.6.3
- update webpack and dependancies
- update xterm to 3.8.0
This commit is contained in:
Bill Church 2019-01-10 09:29:48 -06:00 committed by GitHub
parent 3d244054c4
commit ccee67b7e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 35 deletions

File diff suppressed because one or more lines are too long

View file

@ -139,7 +139,7 @@
cursor: pointer; cursor: pointer;
} }
.xterm.xterm-cursor-crosshair { .xterm.column-select.focus {
/* Column selection mode */ /* Column selection mode */
cursor: crosshair; cursor: crosshair;
} }

View file

@ -3,16 +3,10 @@
import * as io from 'socket.io-client' import * as io from 'socket.io-client'
import * as Terminal from 'xterm/dist/xterm' import * as Terminal from 'xterm/dist/xterm'
import * as fit from 'xterm/dist/addons/fit/fit' import * as fit from 'xterm/dist/addons/fit/fit'
// fontawesome, individual icon imports reduces file size dramatically but it's import { library, dom } from '@fortawesome/fontawesome-svg-core'
// a little messy. this should be fixed by some updates with the fa library at some point import { faBars, faClipboard, faDownload, faKey, faCog } from '@fortawesome/free-solid-svg-icons'
import fontawesome from '@fortawesome/fontawesome' library.add(faBars, faClipboard, faDownload, faKey, faCog)
import faBars from '@fortawesome/fontawesome-free-solid/faBars' dom.watch()
// import faQuestion from '@fortawesome/fontawesome-free-solid/faQuestion'
import faClipboard from '@fortawesome/fontawesome-free-solid/faClipboard'
import faDownload from '@fortawesome/fontawesome-free-solid/faDownload'
import faKey from '@fortawesome/fontawesome-free-solid/faKey'
import faCog from '@fortawesome/fontawesome-free-solid/faCog'
fontawesome.library.add(faBars, faClipboard, faDownload, faKey, faCog)
require('xterm/dist/xterm.css') require('xterm/dist/xterm.css')
require('../css/style.css') require('../css/style.css')

View file

@ -50,15 +50,15 @@
"cleanmac": "find . -name '.DS_Store' -type f -delete" "cleanmac": "find . -name '.DS_Store' -type f -delete"
}, },
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^5.5.0", "@fortawesome/fontawesome-svg-core": "^1.2.12",
"@fortawesome/free-solid-svg-icons": "^5.5.0", "@fortawesome/free-solid-svg-icons": "^5.6.3",
"ajv": "^6.5.5", "ajv": "^6.5.5",
"bithound": "^1.7.0", "bithound": "^1.7.0",
"clean-webpack-plugin": "^0.1.19", "clean-webpack-plugin": "^1.0.0",
"copy-webpack-plugin": "^4.6.0", "copy-webpack-plugin": "^4.6.0",
"css-loader": "^1.0.1", "css-loader": "^2.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0", "extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^2.0.0", "file-loader": "^3.0.1",
"nodemon": "^1.18.6", "nodemon": "^1.18.6",
"postcss-discard-comments": "^4.0.1", "postcss-discard-comments": "^4.0.1",
"snazzy": "^8.0.0", "snazzy": "^8.0.0",

View file

@ -1,3 +1,4 @@
const webpack = require('webpack')
const path = require('path') const path = require('path')
const CleanWebpackPlugin = require('clean-webpack-plugin') const CleanWebpackPlugin = require('clean-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin')

File diff suppressed because one or more lines are too long

View file

@ -139,7 +139,7 @@
cursor: pointer; cursor: pointer;
} }
.xterm.xterm-cursor-crosshair { .xterm.column-select.focus {
/* Column selection mode */ /* Column selection mode */
cursor: crosshair; cursor: crosshair;
} }

View file

@ -3,16 +3,10 @@
import * as io from 'socket.io-client' import * as io from 'socket.io-client'
import * as Terminal from 'xterm/dist/xterm' import * as Terminal from 'xterm/dist/xterm'
import * as fit from 'xterm/dist/addons/fit/fit' import * as fit from 'xterm/dist/addons/fit/fit'
// fontawesome, individual icon imports reduces file size dramatically but it's import { library, dom } from '@fortawesome/fontawesome-svg-core'
// a little messy. this should be fixed by some updates with the fa library at some point import { faBars, faClipboard, faDownload, faKey, faCog } from '@fortawesome/free-solid-svg-icons'
import fontawesome from '@fortawesome/fontawesome' library.add(faBars, faClipboard, faDownload, faKey, faCog)
import faBars from '@fortawesome/fontawesome-free-solid/faBars' dom.watch()
// import faQuestion from '@fortawesome/fontawesome-free-solid/faQuestion'
import faClipboard from '@fortawesome/fontawesome-free-solid/faClipboard'
import faDownload from '@fortawesome/fontawesome-free-solid/faDownload'
import faKey from '@fortawesome/fontawesome-free-solid/faKey'
import faCog from '@fortawesome/fontawesome-free-solid/faCog'
fontawesome.library.add(faBars, faClipboard, faDownload, faKey, faCog)
require('xterm/dist/xterm.css') require('xterm/dist/xterm.css')
require('../css/style.css') require('../css/style.css')

View file

@ -1,6 +1,6 @@
{ {
"name": "webssh2", "name": "webssh2",
"version": "0.2.7", "version": "0.2.8",
"ignore": [ "ignore": [
".gitignore" ".gitignore"
], ],
@ -50,15 +50,15 @@
"cleanmac": "find . -name '.DS_Store' -type f -delete" "cleanmac": "find . -name '.DS_Store' -type f -delete"
}, },
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^5.5.0", "@fortawesome/fontawesome-svg-core": "^1.2.12",
"@fortawesome/free-solid-svg-icons": "^5.5.0", "@fortawesome/free-solid-svg-icons": "^5.6.3",
"ajv": "^6.5.5", "ajv": "^6.5.5",
"bithound": "^1.7.0", "bithound": "^1.7.0",
"clean-webpack-plugin": "^0.1.19", "clean-webpack-plugin": "^1.0.0",
"copy-webpack-plugin": "^4.6.0", "copy-webpack-plugin": "^4.6.0",
"css-loader": "^1.0.1", "css-loader": "^2.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0", "extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^2.0.0", "file-loader": "^3.0.1",
"nodemon": "^1.18.6", "nodemon": "^1.18.6",
"postcss-discard-comments": "^4.0.1", "postcss-discard-comments": "^4.0.1",
"snazzy": "^8.0.0", "snazzy": "^8.0.0",