mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 23:02:41 +00:00
replaced fs-promise with mz/fs
This commit is contained in:
parent
da89560d6b
commit
e6ef21fa9d
6 changed files with 4 additions and 7 deletions
|
@ -38,10 +38,8 @@ module.exports = {
|
|||
},
|
||||
externals: [
|
||||
'fs',
|
||||
'fs-promise',
|
||||
'path',
|
||||
'node-pty',
|
||||
'fs-promise',
|
||||
/^rxjs/,
|
||||
/^@angular/,
|
||||
/^@ng-bootstrap/,
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"font-manager": "0.2.2",
|
||||
"fs-promise": "2.0.2",
|
||||
"hterm-umdjs": "1.2.0",
|
||||
"mz": "^2.6.0",
|
||||
"node-pty": "0.6.2",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as fs from 'fs-promise'
|
||||
import * as fs from 'mz/fs'
|
||||
import * as path from 'path'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as fs from 'fs-promise'
|
||||
import * as fs from 'mz/fs'
|
||||
import { exec, spawn } from 'mz/child_process'
|
||||
import { exec as execCallback } from 'child_process'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import * as nodePTY from 'node-pty'
|
||||
import * as fs from 'fs-promise'
|
||||
import * as fs from 'mz/fs'
|
||||
import { Subject } from 'rxjs'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { Logger, LogService } from 'terminus-core'
|
||||
|
|
|
@ -38,10 +38,10 @@ module.exports = {
|
|||
},
|
||||
externals: [
|
||||
'fs',
|
||||
'fs-promise',
|
||||
'font-manager',
|
||||
'path',
|
||||
'node-pty',
|
||||
'mz/fs',
|
||||
'mz/child_process',
|
||||
'winreg',
|
||||
/^rxjs/,
|
||||
|
|
Loading…
Reference in a new issue