Skip to content

Commit

Permalink
Remove support for custom compiler option (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 7, 2018
1 parent 77eff53 commit 9d15a72
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 117 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Create a new node.js configuration, add `-r ts-node/register` to node args and m
You can set options by passing them before the script path, via programmatic usage or via environment variables.

```sh
ts-node --compiler ntypescript --project src/tsconfig.json hello-world.ts
ts-node --project src/tsconfig.json hello-world.ts
```

### CLI Options
Expand All @@ -127,7 +127,6 @@ _Environment variable denoted in parentheses._
* `--cacheDirectory` Configure the output file cache directory (`TS_NODE_CACHE_DIRECTORY`)
* `-I, --ignore [pattern]` Override the path patterns to skip compilation (`TS_NODE_IGNORE`, default: `/node_modules/`)
* `-P, --project [path]` Path to TypeScript JSON project file (`TS_NODE_PROJECT`)
* `-C, --compiler [name]` Specify a custom TypeScript compiler (`TS_NODE_COMPILER`, default: `typescript`)
* `-D, --ignoreDiagnostics [code]` Ignore TypeScript warnings by diagnostic code (`TS_NODE_IGNORE_DIAGNOSTICS`)
* `-O, --compilerOptions [opts]` JSON object to merge with compiler options (`TS_NODE_COMPILER_OPTIONS`)
* `--files` Load files from `tsconfig.json` on startup (`TS_NODE_FILES`, default: `false`)
Expand Down
178 changes: 101 additions & 77 deletions package-lock.json

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

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@
"chai": "^4.0.1",
"istanbul": "^0.4.0",
"mocha": "^5.0.1",
"ntypescript": "^1.201507091536.1",
"proxyquire": "^2.0.0",
"react": "^16.0.0",
"rimraf": "^2.5.4",
"semver": "^5.1.0",
"tslint": "^5.0.0",
"tslint-config-standard": "^7.0.0",
"typescript": "^2.8.3"
"tslint": "^5.11.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.1"
},
"peerDependencies": {
"typescript": ">=2.0"
},
"dependencies": {
"arrify": "^1.0.0",
Expand Down
Loading

0 comments on commit 9d15a72

Please sign in to comment.