mirror of
https://github.com/Eugeny/tabby
synced 2025-03-04 23:27:19 +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: [
|
externals: [
|
||||||
'fs',
|
'fs',
|
||||||
'fs-promise',
|
|
||||||
'path',
|
'path',
|
||||||
'node-pty',
|
'node-pty',
|
||||||
'fs-promise',
|
|
||||||
/^rxjs/,
|
/^rxjs/,
|
||||||
/^@angular/,
|
/^@angular/,
|
||||||
/^@ng-bootstrap/,
|
/^@ng-bootstrap/,
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"font-manager": "0.2.2",
|
"font-manager": "0.2.2",
|
||||||
"fs-promise": "2.0.2",
|
|
||||||
"hterm-umdjs": "1.2.0",
|
"hterm-umdjs": "1.2.0",
|
||||||
"mz": "^2.6.0",
|
"mz": "^2.6.0",
|
||||||
"node-pty": "0.6.2",
|
"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 * as path from 'path'
|
||||||
import { Injectable } from '@angular/core'
|
import { Injectable } from '@angular/core'
|
||||||
import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api'
|
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, spawn } from 'mz/child_process'
|
||||||
import { exec as execCallback } from 'child_process'
|
import { exec as execCallback } from 'child_process'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import * as nodePTY from 'node-pty'
|
import * as nodePTY from 'node-pty'
|
||||||
import * as fs from 'fs-promise'
|
import * as fs from 'mz/fs'
|
||||||
import { Subject } from 'rxjs'
|
import { Subject } from 'rxjs'
|
||||||
import { Injectable } from '@angular/core'
|
import { Injectable } from '@angular/core'
|
||||||
import { Logger, LogService } from 'terminus-core'
|
import { Logger, LogService } from 'terminus-core'
|
||||||
|
|
|
@ -38,10 +38,10 @@ module.exports = {
|
||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
'fs',
|
'fs',
|
||||||
'fs-promise',
|
|
||||||
'font-manager',
|
'font-manager',
|
||||||
'path',
|
'path',
|
||||||
'node-pty',
|
'node-pty',
|
||||||
|
'mz/fs',
|
||||||
'mz/child_process',
|
'mz/child_process',
|
||||||
'winreg',
|
'winreg',
|
||||||
/^rxjs/,
|
/^rxjs/,
|
||||||
|
|
Loading…
Add table
Reference in a new issue