Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 1, 2018
1 parent 7a2d59c commit 9b17c77
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/node": "^10.3.0",
"@types/wrap-ansi": "^3.0.0",
"chai": "^4.1.2",
"fancy-test": "^1.1.0",
"fancy-test": "^1.1.1",
"globby": "^8.0.1",
"lodash": "^4.17.10",
"mocha": "^5.2.0",
Expand Down
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {CLIError, error, exit, warn} from '@oclif/errors'
import Lodash from 'lodash'
import os from 'os'
import path from 'path'
import * as Lodash from 'lodash'
import * as os from 'os'
import * as path from 'path'
import {URL} from 'url'
import {format} from 'util'

Expand Down
6 changes: 3 additions & 3 deletions src/ts_node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs'
import path from 'path'
import TSNode from 'ts-node'
import * as fs from 'fs'
import * as path from 'path'
import * as TSNode from 'ts-node'

import Debug from './debug'
import {loadJSONSync} from './util'
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// tslint:disable no-implicit-dependencies
import fs from 'fs'
import * as fs from 'fs'

const debug = require('debug')('@oclif/config')

Expand Down
4 changes: 2 additions & 2 deletions test/config.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os from 'os'
import path from 'path'
import * as os from 'os'
import * as path from 'path'

import {IConfig, load, PJSON} from '../src'

Expand Down
2 changes: 1 addition & 1 deletion test/typescript.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'

import * as Config from '../src'

Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"importHelpers": true,
"module": "commonjs",
"outDir": "./lib",
"esModuleInterop": true,
"resolveJsonModule": true,
"rootDirs": [
"./src"
],
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ extglob@^2.0.2:
snapdragon "^0.8.1"
to-regex "^3.0.1"

fancy-test@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-1.1.0.tgz#c6bd432c9f816cc6fb048bb98c9a57f1fa517074"
fancy-test@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-1.1.1.tgz#22517244313345eb603730587feb1487d460b379"
dependencies:
"@types/chai" "^4.1.3"
"@types/lodash" "^4.14.109"
Expand Down

0 comments on commit 9b17c77

Please sign in to comment.