mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
reduced bundle size
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- yarn run build:typings
|
- yarn run build:typings
|
||||||
- yarn run build
|
- yarn run build
|
||||||
- scripts/prepackage-plugins.js
|
- scripts/prepackage-plugins.js
|
||||||
- DEBUG=electron-builder scripts/build-linux.js
|
- travis_wait scripts/build-linux.js
|
||||||
|
|
||||||
- stage: 'Build'
|
- stage: 'Build'
|
||||||
os: osx
|
os: osx
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
- yarn run build:typings
|
- yarn run build:typings
|
||||||
- yarn run build
|
- yarn run build
|
||||||
- scripts/prepackage-plugins.js
|
- scripts/prepackage-plugins.js
|
||||||
- DEBUG=electron-builder scripts/build-macos.js
|
- travis_wait scripts/build-macos.js
|
||||||
|
|
||||||
- stage: 'Docs'
|
- stage: 'Docs'
|
||||||
os: linux
|
os: linux
|
||||||
|
@@ -126,7 +126,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --color --config app/webpack.main.config.js && webpack --color --config app/webpack.config.js && webpack --color --config terminus-core/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-terminal/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-plugin-manager/webpack.config.js && webpack --color --config terminus-community-color-schemes/webpack.config.js && webpack --color --config terminus-ssh/webpack.config.js",
|
"build": "webpack --color --config app/webpack.main.config.js && webpack --color --config app/webpack.config.js && webpack --color --config terminus-core/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-terminal/webpack.config.js && webpack --color --config terminus-plugin-manager/webpack.config.js && webpack --color --config terminus-community-color-schemes/webpack.config.js && webpack --color --config terminus-ssh/webpack.config.js",
|
||||||
"build:typings": "tsc --project terminus-core/tsconfig.typings.json && tsc --project terminus-settings/tsconfig.typings.json && tsc --project terminus-terminal/tsconfig.typings.json && tsc --project terminus-plugin-manager/tsconfig.typings.json && tsc --project terminus-ssh/tsconfig.typings.json",
|
"build:typings": "tsc --project terminus-core/tsconfig.typings.json && tsc --project terminus-settings/tsconfig.typings.json && tsc --project terminus-terminal/tsconfig.typings.json && tsc --project terminus-plugin-manager/tsconfig.typings.json && tsc --project terminus-ssh/tsconfig.typings.json",
|
||||||
"watch": "cross-env TERMINUS_DEV=1 webpack --progress --color --watch",
|
"watch": "cross-env TERMINUS_DEV=1 webpack --progress --color --watch",
|
||||||
"start": "cross-env TERMINUS_DEV=1 electron app --debug",
|
"start": "cross-env TERMINUS_DEV=1 electron app --debug",
|
||||||
|
@@ -24,6 +24,5 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "12.0.7",
|
"@types/node": "12.0.7",
|
||||||
"@types/webpack-env": "^1.13.0"
|
"@types/webpack-env": "^1.13.0"
|
||||||
},
|
}
|
||||||
"false": {}
|
|
||||||
}
|
}
|
||||||
|
@@ -24,12 +24,15 @@
|
|||||||
"axios": "^0.19.0",
|
"axios": "^0.19.0",
|
||||||
"bootstrap": "^4.1.3",
|
"bootstrap": "^4.1.3",
|
||||||
"core-js": "^3.1.2",
|
"core-js": "^3.1.2",
|
||||||
|
"deepmerge": "^3.2.0",
|
||||||
"electron-updater": "^4.0.6",
|
"electron-updater": "^4.0.6",
|
||||||
|
"js-yaml": "^3.9.0",
|
||||||
"mixpanel": "^0.10.2",
|
"mixpanel": "^0.10.2",
|
||||||
"ng2-dnd": "^5.0.2",
|
"ng2-dnd": "^5.0.2",
|
||||||
"ngx-perfect-scrollbar": "^6.0.0",
|
"ngx-perfect-scrollbar": "^6.0.0",
|
||||||
"shell-escape": "^0.2.0",
|
"shell-escape": "^0.2.0",
|
||||||
"uuid": "^3.3.2"
|
"uuid": "^3.3.2",
|
||||||
|
"winston": "^3.2.1"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"windows-native-registry": "^1.0.14"
|
"windows-native-registry": "^1.0.14"
|
||||||
@@ -43,10 +46,5 @@
|
|||||||
"@angular/platform-browser-dynamic": "4.0.1",
|
"@angular/platform-browser-dynamic": "4.0.1",
|
||||||
"rxjs": "5.3.0",
|
"rxjs": "5.3.0",
|
||||||
"zone.js": "0.8.4"
|
"zone.js": "0.8.4"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"deepmerge": "^3.2.0",
|
|
||||||
"js-yaml": "^3.9.0",
|
|
||||||
"winston": "^3.2.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -51,10 +51,6 @@ module.exports = {
|
|||||||
'fs',
|
'fs',
|
||||||
'os',
|
'os',
|
||||||
'path',
|
'path',
|
||||||
'deepmerge',
|
|
||||||
'untildify',
|
|
||||||
'winston',
|
|
||||||
'js-yaml',
|
|
||||||
'windows-native-registry',
|
'windows-native-registry',
|
||||||
/^rxjs/,
|
/^rxjs/,
|
||||||
/^@angular/,
|
/^@angular/,
|
||||||
|
@@ -21,7 +21,9 @@
|
|||||||
"@types/node": "12.0.7",
|
"@types/node": "12.0.7",
|
||||||
"@types/semver": "^6.0.0",
|
"@types/semver": "^6.0.0",
|
||||||
"@types/webpack-env": "1.13.9",
|
"@types/webpack-env": "1.13.9",
|
||||||
|
"axios": "^0.19.0",
|
||||||
"css-loader": "^0.28.0",
|
"css-loader": "^0.28.0",
|
||||||
|
"mz": "^2.6.0",
|
||||||
"ngx-pipes": "^1.6.1",
|
"ngx-pipes": "^1.6.1",
|
||||||
"semver": "^6.1.0"
|
"semver": "^6.1.0"
|
||||||
},
|
},
|
||||||
@@ -34,10 +36,5 @@
|
|||||||
"rxjs": "5.3.0",
|
"rxjs": "5.3.0",
|
||||||
"terminus-core": "*",
|
"terminus-core": "*",
|
||||||
"terminus-settings": "*"
|
"terminus-settings": "*"
|
||||||
},
|
}
|
||||||
"dependencies": {
|
|
||||||
"axios": "^0.19.0",
|
|
||||||
"mz": "^2.6.0"
|
|
||||||
},
|
|
||||||
"false": {}
|
|
||||||
}
|
}
|
||||||
|
@@ -43,10 +43,9 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
'fs',
|
'fs',
|
||||||
|
'net',
|
||||||
'npm',
|
'npm',
|
||||||
'path',
|
'path',
|
||||||
'mz/fs',
|
|
||||||
'mz/child_process',
|
|
||||||
/^rxjs/,
|
/^rxjs/,
|
||||||
/^@angular/,
|
/^@angular/,
|
||||||
/^@ng-bootstrap/,
|
/^@ng-bootstrap/,
|
||||||
|
@@ -19,7 +19,9 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ssh2": "^0.5.35",
|
"@types/ssh2": "^0.5.35",
|
||||||
"@types/webpack-env": "^1.13.0",
|
"@types/webpack-env": "^1.13.0",
|
||||||
"ngx-toastr": "^8.0.0"
|
"ngx-toastr": "^8.0.0",
|
||||||
|
"ssh2": "^0.8.2",
|
||||||
|
"ssh2-streams": "^0.4.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": "^4.1.3",
|
"@angular/common": "^4.1.3",
|
||||||
@@ -35,8 +37,6 @@
|
|||||||
"windows-process-tree": "^0.2.3"
|
"windows-process-tree": "^0.2.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"keytar": "^4.7.0",
|
"keytar": "^4.7.0"
|
||||||
"ssh2": "^0.8.2",
|
|
||||||
"ssh2-streams": "^0.4.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -43,8 +43,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
'fs',
|
'fs',
|
||||||
'node-ssh',
|
|
||||||
'ssh2-streams',
|
|
||||||
'keytar',
|
'keytar',
|
||||||
'path',
|
'path',
|
||||||
'ngx-toastr',
|
'ngx-toastr',
|
||||||
|
@@ -25,6 +25,10 @@
|
|||||||
"dataurl": "0.1.0",
|
"dataurl": "0.1.0",
|
||||||
"deep-equal": "1.0.1",
|
"deep-equal": "1.0.1",
|
||||||
"file-loader": "^0.11.2",
|
"file-loader": "^0.11.2",
|
||||||
|
"hterm-umdjs": "1.4.1",
|
||||||
|
"mz": "^2.6.0",
|
||||||
|
"ps-node": "^0.1.6",
|
||||||
|
"runes": "^0.4.2",
|
||||||
"slug": "^1.1.0",
|
"slug": "^1.1.0",
|
||||||
"uuid": "^3.3.2",
|
"uuid": "^3.3.2",
|
||||||
"xterm": "https://registry.npmjs.org/@terminus-term/xterm/-/xterm-3.14.1.tgz",
|
"xterm": "https://registry.npmjs.org/@terminus-term/xterm/-/xterm-3.14.1.tgz",
|
||||||
@@ -42,11 +46,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fontmanager-redux": "0.3.2",
|
"fontmanager-redux": "0.3.2",
|
||||||
"hterm-umdjs": "1.4.1",
|
"node-pty": "^0.9.0-beta9"
|
||||||
"mz": "^2.6.0",
|
|
||||||
"node-pty": "^0.9.0-beta9",
|
|
||||||
"ps-node": "^0.1.6",
|
|
||||||
"runes": "^0.4.2"
|
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@terminus-term/windows-process-tree": "^0.2.4",
|
"@terminus-term/windows-process-tree": "^0.2.4",
|
||||||
|
@@ -56,14 +56,13 @@ module.exports = {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
|
'child_process',
|
||||||
'electron',
|
'electron',
|
||||||
'fontmanager-redux',
|
'fontmanager-redux',
|
||||||
'fs',
|
'fs',
|
||||||
'path',
|
'path',
|
||||||
'macos-native-processlist',
|
'macos-native-processlist',
|
||||||
'windows-native-registry',
|
'windows-native-registry',
|
||||||
'mz/fs',
|
|
||||||
'mz/child_process',
|
|
||||||
'node-pty',
|
'node-pty',
|
||||||
'@terminus-term/windows-process-tree',
|
'@terminus-term/windows-process-tree',
|
||||||
'os',
|
'os',
|
||||||
|
Reference in New Issue
Block a user