Skip to content

Commit 327e731

Browse files
committed
add tsconfig in deps
1 parent bc254a8 commit 327e731

File tree

4 files changed

+33
-44
lines changed

4 files changed

+33
-44
lines changed

bin/ts-node-dev

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ var opts = minimist(devArgs, {
1717
],
1818
string: [
1919
'compiler', 'project', 'ignore',
20-
'ignoreWarnings', 'cache-directory', 'compilerOptions',
20+
'skip-project',
21+
'skip-ignore',
22+
'ignoreWarnings',
23+
'ignoreDiagnostics',
24+
'cache-directory', 'compilerOptions',
2125
'compile-timeout',
2226
'ignore-watch'
2327
],
2428
alias: {
2529
'fast': 'F',
26-
'disableWarnings': 'D',
30+
'ignoreDiagnostics': 'D',
2731
'ignoreWarnings': 'I',
2832
'compilerOptions': 'O',
2933
'compiler': 'C',

lib/compiler.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ var compiler = {
8585
cacheDirectory: options['cache-directory'] || path.join(tmpDir, 'cache'),
8686
compiler: options['compiler'],
8787
project: options['project'],
88+
skipProject: options['skip-project'],
89+
skipIgnore: options['skip-ignore'],
8890
ignore: options['ignore'] || process.env['TS_NODE_IGNORE'],
89-
ignoreWarnings: options['ignoreWarnings'],
91+
ignoreWarnings: options['ignoreWarnings'] || options['ignoreDiagnostics'],
92+
ignoreDiagnostics: options['ignoreDiagnostics'],
9093
disableWarnings: options['disableWarnings'],
91-
compilerOptions: options['compilerOptions'],
92-
transformers: options['transformers']
94+
compilerOptions: options['compilerOptions']
9395
}
9496
try {
9597
register(tsNodeOptions)

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-node-dev",
3-
"version": "1.0.0-pre.16",
3+
"version": "1.0.0-pre.17",
44
"description": "Compiles your TS app and restarts when files are modified.",
55
"keywords": [
66
"restart",
@@ -37,15 +37,16 @@
3737
"test-docker": "docker run --rm -v ${PWD}:/app mhart/alpine-node:8.7.0 sh -c 'cd app && node ./bin/ts-node-dev --cache-directory .ts-node test/ts/big'"
3838
},
3939
"dependencies": {
40-
"ts-node": "*",
4140
"dateformat": "~1.0.4-1.2.3",
4241
"dynamic-dedupe": "^0.2.0",
4342
"filewatcher": "~3.0.0",
4443
"minimist": "^1.1.3",
4544
"mkdirp": "^0.5.1",
4645
"node-notifier": "^4.0.2",
4746
"resolve": "^1.0.0",
48-
"rimraf": "^2.6.1"
47+
"rimraf": "^2.6.1",
48+
"ts-node": "*",
49+
"tsconfig": "^7.0.0"
4950
},
5051
"devDependencies": {
5152
"@types/node": "^8.0.4",

yarn.lock

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ansi-styles@^2.2.1:
7171
version "2.2.1"
7272
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
7373

74-
ansi-styles@^3.1.0:
74+
ansi-styles@^3.2.0:
7575
version "3.2.0"
7676
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88"
7777
dependencies:
@@ -290,12 +290,12 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
290290
supports-color "^2.0.0"
291291

292292
chalk@^2.3.0:
293-
version "2.3.0"
294-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba"
293+
version "2.3.1"
294+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796"
295295
dependencies:
296-
ansi-styles "^3.1.0"
296+
ansi-styles "^3.2.0"
297297
escape-string-regexp "^1.0.5"
298-
supports-color "^4.0.0"
298+
supports-color "^5.2.0"
299299

300300
circular-json@^0.3.1:
301301
version "0.3.1"
@@ -1044,9 +1044,9 @@ has-flag@^1.0.0:
10441044
version "1.0.0"
10451045
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
10461046

1047-
has-flag@^2.0.0:
1048-
version "2.0.0"
1049-
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
1047+
has-flag@^3.0.0:
1048+
version "3.0.0"
1049+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
10501050

10511051
has@^1.0.1:
10521052
version "1.0.1"
@@ -1080,12 +1080,6 @@ [email protected]:
10801080
version "2.16.3"
10811081
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
10821082

1083-
homedir-polyfill@^1.0.1:
1084-
version "1.0.1"
1085-
resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc"
1086-
dependencies:
1087-
parse-passwd "^1.0.0"
1088-
10891083
hosted-git-info@^2.1.4:
10901084
version "2.4.2"
10911085
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.2.tgz#0076b9f46a270506ddbaaea56496897460612a67"
@@ -1531,8 +1525,8 @@ lru-cache@^4.0.1:
15311525
yallist "^2.1.2"
15321526

15331527
make-error@^1.1.1:
1534-
version "1.3.3"
1535-
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.3.tgz#a97ae14ffd98b05f543e83ddc395e1b2b6e4cc6a"
1528+
version "1.3.4"
1529+
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.4.tgz#19978ed575f9e9545d2ff8c13e33b5d18a67d535"
15361530

15371531
map-obj@^1.0.0, map-obj@^1.0.1:
15381532
version "1.0.1"
@@ -1808,10 +1802,6 @@ parse-json@^2.2.0:
18081802
dependencies:
18091803
error-ex "^1.2.0"
18101804

1811-
parse-passwd@^1.0.0:
1812-
version "1.0.0"
1813-
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
1814-
18151805
path-exists@^2.0.0:
18161806
version "2.1.0"
18171807
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b"
@@ -2160,7 +2150,7 @@ [email protected]:
21602150
dependencies:
21612151
hoek "2.x.x"
21622152

2163-
source-map-support@^0.5.0:
2153+
source-map-support@^0.5.3:
21642154
version "0.5.3"
21652155
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.3.tgz#2b3d5fff298cfa4d1afd7d4352d569e9a0158e76"
21662156
dependencies:
@@ -2322,11 +2312,11 @@ supports-color@^3.1.0:
23222312
dependencies:
23232313
has-flag "^1.0.0"
23242314

2325-
supports-color@^4.0.0:
2326-
version "4.5.0"
2327-
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
2315+
supports-color@^5.2.0:
2316+
version "5.2.0"
2317+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.2.0.tgz#b0d5333b1184dd3666cbe5aa0b45c5ac7ac17a4a"
23282318
dependencies:
2329-
has-flag "^2.0.0"
2319+
has-flag "^3.0.0"
23302320

23312321
table@^3.7.8:
23322322
version "3.8.3"
@@ -2444,18 +2434,16 @@ tryit@^1.0.1:
24442434
resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb"
24452435

24462436
ts-node@*:
2447-
version "4.1.0"
2448-
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-4.1.0.tgz#36d9529c7b90bb993306c408cd07f7743de20712"
2437+
version "5.0.0"
2438+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-5.0.0.tgz#9aa573889ad7949411f972981c209e064705e36f"
24492439
dependencies:
24502440
arrify "^1.0.0"
24512441
chalk "^2.3.0"
24522442
diff "^3.1.0"
24532443
make-error "^1.1.1"
24542444
minimist "^1.2.0"
24552445
mkdirp "^0.5.1"
2456-
source-map-support "^0.5.0"
2457-
tsconfig "^7.0.0"
2458-
v8flags "^3.0.0"
2446+
source-map-support "^0.5.3"
24592447
yn "^2.0.0"
24602448

24612449
tsconfig@^7.0.0:
@@ -2529,12 +2517,6 @@ uuid@^3.0.0:
25292517
version "3.1.0"
25302518
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
25312519

2532-
v8flags@^3.0.0:
2533-
version "3.0.1"
2534-
resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.0.1.tgz#dce8fc379c17d9f2c9e9ed78d89ce00052b1b76b"
2535-
dependencies:
2536-
homedir-polyfill "^1.0.1"
2537-
25382520
validate-npm-package-license@^3.0.1:
25392521
version "3.0.1"
25402522
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc"

0 commit comments

Comments
 (0)