Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.0
Choose a base ref
...
head repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Apr 17, 2018

  1. Copy the full SHA
    4385d96 View commit details

Commits on Apr 26, 2018

  1. Add -T CLI option (#577)

    steadicat authored and blakeembrey committed Apr 26, 2018
    Copy the full SHA
    c691e49 View commit details
  2. 6.0.1

    blakeembrey committed Apr 26, 2018
    Copy the full SHA
    3085eaa View commit details
Showing with 18 additions and 14 deletions.
  1. +7 −7 package-lock.json
  2. +2 −2 package.json
  3. +1 −1 src/bin.ts
  4. +8 −4 tests/allow-js/with-jsx.jsx
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-node",
"version": "6.0.0",
"version": "6.0.1",
"description": "TypeScript execution environment and REPL for node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -70,7 +70,7 @@
"semver": "^5.1.0",
"tslint": "^5.0.0",
"tslint-config-standard": "^7.0.0",
"typescript": "^2.7.2"
"typescript": "^2.8.1"
},
"dependencies": {
"arrify": "^1.0.0",
2 changes: 1 addition & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ const argv = minimist<Argv>(process.argv.slice(2), {
help: ['h'],
version: ['v'],
typeCheck: ['type-check'],
transpileOnly: ['transpile-only'],
transpileOnly: ['T', 'transpile-only'],
cacheDirectory: ['cache-directory'],
ignore: ['I'],
project: ['P'],
12 changes: 8 additions & 4 deletions tests/allow-js/with-jsx.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
export class Foo2 {
render () {
return <div />

static sayHi () {
return 'hello world'
}

render () {
return <div />
}

}

Foo2.sayHi = () => 'hello world'