Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
fix: typescript 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 31, 2018
1 parent 98e7340 commit 3c2b1ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/generators/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class App extends Generator {
dependencies.push(
'@oclif/config@^1',
'@oclif/command@^1',
'@oclif/plugin-help@^1',
'@oclif/plugin-help@^2',
)
break
case 'plugin':
Expand All @@ -400,15 +400,15 @@ class App extends Generator {
)
devDependencies.push(
'@oclif/dev-cli@^1',
'@oclif/plugin-help@^1',
'@oclif/plugin-help@^2',
'globby@^8',
)
break
case 'multi':
dependencies.push(
'@oclif/config@^1',
'@oclif/command@^1',
'@oclif/plugin-help@^1',
'@oclif/plugin-help@^2',
)
devDependencies.push(
'@oclif/dev-cli@^1',
Expand All @@ -433,7 +433,7 @@ class App extends Generator {
'@types/chai@^4',
'@types/mocha@^5',
'@types/node@^10',
'typescript@^2.8',
'typescript@^2.9',
'ts-node@^6',
)
if (this.tslint) {
Expand Down
11 changes: 4 additions & 7 deletions templates/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
{
"compilerOptions": {
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"module": "commonjs",
"outDir": "./lib",
"pretty": true,
"rootDirs": [
"./src"
],
"resolveJsonModule": true,
"rootDirs": [ "./src" ],
"strict": true,
"target": "es2017",
"typeRoots": [
"./node_modules/@types"
]
"typeRoots": [ "./node_modules/@types" ]
},
"include": [
"./src/**/*"
Expand Down

0 comments on commit 3c2b1ea

Please sign in to comment.