mirror of
https://github.com/desktop/desktop
synced 2024-08-23 18:31:50 +00:00
upgrade fs-extra to 1.0.0 and add type declarations
This commit is contained in:
parent
663d8c8ebf
commit
d133ebb4fc
|
@ -1,6 +1,6 @@
|
|||
import * as path from 'path'
|
||||
|
||||
const fs = require('fs-extra')
|
||||
import * as fs from 'fs-extra'
|
||||
const temp = require('temp').track()
|
||||
|
||||
import { Repository } from '../src/models/repository'
|
||||
|
|
|
@ -15,7 +15,7 @@ import { GitProcess } from 'git-kitchen-sink'
|
|||
import { FileStatus, WorkingDirectoryFileChange } from '../../../src/models/status'
|
||||
import { DiffSelectionType, DiffSelection } from '../../../src/models/diff'
|
||||
|
||||
const fs = require('fs-extra')
|
||||
import * as fs from 'fs-extra'
|
||||
const temp = require('temp').track()
|
||||
|
||||
describe('git/commit', () => {
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as chai from 'chai'
|
|||
const expect = chai.expect
|
||||
|
||||
import * as path from 'path'
|
||||
const fs = require('fs-extra')
|
||||
import * as fs from 'fs-extra'
|
||||
|
||||
import { Repository } from '../../../src/models/repository'
|
||||
import { FileStatus, WorkingDirectoryFileChange } from '../../../src/models/status'
|
||||
|
|
|
@ -7,7 +7,7 @@ import { setupFixtureRepository, setupEmptyRepository } from '../../fixture-help
|
|||
import { FileStatus } from '../../../src/models/status'
|
||||
import { GitProcess } from 'git-kitchen-sink'
|
||||
|
||||
const fs = require('fs-extra')
|
||||
import * as fs from 'fs-extra'
|
||||
const temp = require('temp').track()
|
||||
|
||||
describe('git/status', () => {
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"electron-winstaller": "^2.3.0",
|
||||
"express": "^4.13.4",
|
||||
"extract-text-webpack-plugin": "^1.0.1",
|
||||
"fs-extra": "^0.30.0",
|
||||
"fs-extra": "^1.0.0",
|
||||
"got": "^6.3.0",
|
||||
"html-webpack-plugin": "^2.21.0",
|
||||
"mocha": "^3.0.2",
|
||||
|
@ -76,6 +76,7 @@
|
|||
"@types/electron": "^1.3.15",
|
||||
"@types/electron-window-state": "^2.0.27",
|
||||
"@types/event-kit": "^1.2.28",
|
||||
"@types/fs-extra": "0.0.35",
|
||||
"@types/keytar": "^3.0.28",
|
||||
"@types/mocha": "^2.2.29",
|
||||
"@types/node": "^6.0.31",
|
||||
|
|
Loading…
Reference in a new issue