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

Commit

Permalink
fix: ts-node 6.x compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 17, 2018
1 parent c441ceb commit 6079753
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"@types/chai": "^4.1.2",
"@types/globby": "^6.1.0",
"@types/indent-string": "^3.0.0",
"@types/lodash": "^4.14.106",
"@types/lodash": "^4.14.107",
"@types/mocha": "^5.0.0",
"@types/node": "^9.6.2",
"@types/node": "^9.6.5",
"@types/wrap-ansi": "^3.0.0",
"chai": "^4.1.2",
"fancy-test": "^1.0.4",
"globby": "^8.0.1",
"lodash": "^4.17.5",
"mocha": "^5.0.5",
"ts-node": "^5.0.1",
"mocha": "^5.1.0",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"typescript": "^2.8.1"
},
Expand Down
1 change: 1 addition & 0 deletions src/ts_node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function registerTSNode(root: string) {
}
tsNode.register({
skipProject: true,
transpileOnly: true,
// cache: false,
// typeCheck: true,
compilerOptions: {
Expand Down
27 changes: 14 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/indent-string/-/indent-string-3.0.0.tgz#9ebb391ceda548926f5819ad16405349641b999f"

"@types/lodash@^4.14.106":
version "4.14.106"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.106.tgz#6093e9a02aa567ddecfe9afadca89e53e5dce4dd"
"@types/lodash@^4.14.107":
version "4.14.107"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.107.tgz#b2d2ae3958bfb8ff828495cbe12214af9e4d035e"

"@types/minimatch@*":
version "3.0.3"
Expand All @@ -71,9 +71,9 @@
version "9.4.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.5.tgz#d2a90c634208173d1b1a0a6ba9f1df3de62edcf5"

"@types/node@^9.6.2":
version "9.6.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.2.tgz#e49ac1adb458835e95ca6487bc20f916b37aff23"
"@types/node@^9.6.5":
version "9.6.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.5.tgz#ee700810fdf49ac1c399fc5980b7559b3e5a381d"

"@types/wrap-ansi@^3.0.0":
version "3.0.0"
Expand Down Expand Up @@ -773,7 +773,7 @@ [email protected]:
snapdragon "^0.8.1"
to-regex "^3.0.1"

minimatch@^3.0.4:
minimatch@3.0.4, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
Expand All @@ -800,9 +800,9 @@ [email protected], mkdirp@^0.5.1:
dependencies:
minimist "0.0.8"

mocha@^5.0.5:
version "5.0.5"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.5.tgz#e228e3386b9387a4710007a641f127b00be44b52"
mocha@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.1.0.tgz#5ff11cc39c0bb65330ac6c41f9086634e3e3f686"
dependencies:
browser-stdout "1.3.1"
commander "2.11.0"
Expand All @@ -812,6 +812,7 @@ mocha@^5.0.5:
glob "7.1.2"
growl "1.10.3"
he "1.1.1"
minimatch "3.0.4"
mkdirp "0.5.1"
supports-color "4.4.0"

Expand Down Expand Up @@ -1099,9 +1100,9 @@ to-regex@^3.0.1:
extend-shallow "^2.0.1"
regex-not "^1.0.0"

ts-node@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-5.0.1.tgz#78e5d1cb3f704de1b641e43b76be2d4094f06f81"
ts-node@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.0.tgz#46c25f8498593a9248eeea16906f1598fa098140"
dependencies:
arrify "^1.0.0"
chalk "^2.3.0"
Expand Down

0 comments on commit 6079753

Please sign in to comment.