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.1.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.1.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Jun 12, 2018

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    1063e28 View commit details
  2. Copy the full SHA
    8a1cbe0 View commit details
  3. 6.1.1

    blakeembrey committed Jun 12, 2018
    Copy the full SHA
    e034830 View commit details
Showing with 10 additions and 2 deletions.
  1. +7 −0 README.md
  2. +1 −1 package-lock.json
  3. +1 −1 package.json
  4. +1 −0 src/index.ts
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,10 +10,17 @@
## Installation

```sh
# Locally in your project
npm install -D ts-node
npm install -D typescript

# Or globally (not recommended)
npm install -g ts-node
npm install -g typescript
```

**Tip:** Installing modules locally allows you to control and share the versions through `package.json`.

## Features

* Execute TypeScript files with node
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-node",
"version": "6.1.0",
"version": "6.1.1",
"description": "TypeScript execution environment and REPL for node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -443,6 +443,7 @@ function fixConfig (ts: TSCommon, config: any) {
delete config.options.outFile
delete config.options.declarationDir
delete config.options.declarationMap
delete config.options.emitDeclarationOnly

// Target ES5 output by default (instead of ES3).
if (config.options.target === undefined) {