replaced fs-promise with mz/fs

This commit is contained in:
Eugene Pankov 2017-07-05 14:48:02 +02:00
parent da89560d6b
commit e6ef21fa9d
6 changed files with 4 additions and 7 deletions

View file

@ -38,10 +38,8 @@ module.exports = {
},
externals: [
'fs',
'fs-promise',
'path',
'node-pty',
'fs-promise',
/^rxjs/,
/^@angular/,
/^@ng-bootstrap/,

View file

@ -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",

View file

@ -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'

View file

@ -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'

View file

@ -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'

View file

@ -38,10 +38,10 @@ module.exports = {
},
externals: [
'fs',
'fs-promise',
'font-manager',
'path',
'node-pty',
'mz/fs',
'mz/child_process',
'winreg',
/^rxjs/,