Skip to content

Commit 62a4692

Browse files
lollekoPerryvw
authored andcommitted
CLI rewrite and Typescript 3 (#382)
* Initial no-yargs implementation * Fixed issue with tsconfig and some other tests * Upgraded to TS3 * Fixed TS3 support Fixed CLI only reading compilerOptions field of tsconfig * Fixed decorator tests and Added test-fast script * Removed tslint-override from tslint config * Changed array type to readonly * Added options and their parameters to the help string * Added function aliases and cleaned up command line parser, merged tests * Added test for luaTarget alias * Refactored help string a bit, added support for -v
1 parent 313e6ea commit 62a4692

File tree

13 files changed

+580
-668
lines changed

13 files changed

+580
-668
lines changed

package-lock.json

Lines changed: 7 additions & 373 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"coverage": "nyc --source-map=true npm test && nyc report --reporter=text-lcov > coverage.lcov",
2121
"coverage-html": "nyc --source-map=true npm test && nyc report --reporter=html",
2222
"test-threaded": "npm run pretest && node ./test/threaded_runner.js && npm run posttest",
23-
"clean": "rimraf \"src/**/*.js\" \"src/**/*.js.map\" \"test/**/*.js\" \"test/**/*.js.map\"",
23+
"test-fast": "npm run pretest && node ./test/runner.js --ignoreDiagnostics && npm run posttest",
24+
"clean": "rimraf \"src/**/*.js\" \"src/**/*.js.map\" \"test/**/*.js\" \"test/**/*.js.map\" \"test/compiler/testfiles/*.lua\"",
2425
"release-patch": "npm version patch",
2526
"release-minor": "npm version minor",
2627
"release-major": "npm version major",
@@ -47,13 +48,11 @@
4748
"node": ">=8.5.0"
4849
},
4950
"dependencies": {
50-
"typescript": "2.9.2",
51-
"yargs": "^12.0.1"
51+
"typescript": "^3.3.1"
5252
},
5353
"devDependencies": {
5454
"@types/glob": "^5.0.35",
5555
"@types/node": "^9.6.23",
56-
"@types/yargs": "^11.1.1",
5756
"alsatian": "^2.3.0",
5857
"circular-json": "^0.5.5",
5958
"codecov": "3.0.2",
@@ -64,7 +63,6 @@
6463
"rimraf": "^2.6.3",
6564
"threads": "^0.12.0",
6665
"ts-node": "^7.0.0",
67-
"tslint": "^5.10.0",
68-
"tslint-override": "^0.1.2"
66+
"tslint": "^5.10.0"
6967
}
7068
}

0 commit comments

Comments
 (0)