Skip to content

Commit 9d15a72

Browse files
authored
Remove support for custom compiler option (#699)
1 parent 77eff53 commit 9d15a72

File tree

4 files changed

+118
-117
lines changed

4 files changed

+118
-117
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Create a new node.js configuration, add `-r ts-node/register` to node args and m
109109
You can set options by passing them before the script path, via programmatic usage or via environment variables.
110110

111111
```sh
112-
ts-node --compiler ntypescript --project src/tsconfig.json hello-world.ts
112+
ts-node --project src/tsconfig.json hello-world.ts
113113
```
114114

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

package-lock.json

+101-77
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,16 @@
6464
"chai": "^4.0.1",
6565
"istanbul": "^0.4.0",
6666
"mocha": "^5.0.1",
67-
"ntypescript": "^1.201507091536.1",
6867
"proxyquire": "^2.0.0",
6968
"react": "^16.0.0",
7069
"rimraf": "^2.5.4",
7170
"semver": "^5.1.0",
72-
"tslint": "^5.0.0",
73-
"tslint-config-standard": "^7.0.0",
74-
"typescript": "^2.8.3"
71+
"tslint": "^5.11.0",
72+
"tslint-config-standard": "^8.0.1",
73+
"typescript": "^3.1.1"
74+
},
75+
"peerDependencies": {
76+
"typescript": ">=2.0"
7577
},
7678
"dependencies": {
7779
"arrify": "^1.0.0",

0 commit comments

Comments
 (0)