Skip to content

Commit

Permalink
chore(*): Add core alias to module tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Dec 6, 2018
1 parent 29ec0b0 commit 6b8188b
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 76 deletions.
20 changes: 5 additions & 15 deletions app/scripts/modules/amazon/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react",
"lib": [
"es2016",
"dom"
],
"lib": ["es2016", "dom"],
"moduleResolution": "node",
"module": "commonjs",
"noEmitHelpers": false,
Expand All @@ -30,21 +27,14 @@
"inlineSources": true,
"strictNullChecks": false, // should really get to a place where we can turn this on
"target": "es6",
"typeRoots": [
"../../../../node_modules/@types"
],
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"amazon/*": ["*"],
"amazon": ["."]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"./lib",
"**/*.spec.*"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["./lib", "**/*.spec.*"]
}
20 changes: 5 additions & 15 deletions app/scripts/modules/appengine/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react",
"lib": [
"es2016",
"dom"
],
"lib": ["es2016", "dom"],
"moduleResolution": "node",
"module": "commonjs",
"noEmitHelpers": false,
Expand All @@ -30,21 +27,14 @@
"inlineSources": true,
"strictNullChecks": false, // should really get to a place where we can turn this on
"target": "es6",
"typeRoots": [
"../../../../node_modules/@types"
],
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"appengine/*": ["*"],
"appengine": ["."]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"./lib",
"**/*.spec.*"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["./lib", "**/*.spec.*"]
}
1 change: 1 addition & 0 deletions app/scripts/modules/cloudfoundry/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"cloudfoundry/*": ["*"],
"cloudfoundry": ["."]
}
Expand Down
21 changes: 6 additions & 15 deletions app/scripts/modules/docker/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react",
"lib": [
"es2016",
"dom"
],
"lib": ["es2016", "dom"],
"moduleResolution": "node",
"module": "commonjs",
"noEmitHelpers": false,
Expand All @@ -30,18 +27,12 @@
"inlineSources": true,
"strictNullChecks": false, // should really get to a place where we can turn this on
"target": "es6",
"typeRoots": [
"../../../../node_modules/@types"
],
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"]
"@spinnaker/core": ["../../core/lib"],
"core/*": ["core/src/*"]
}
},
"files": [
"src/index.ts"
],
"exclude": [
"./lib",
"**/*.spec.*"
]
"files": ["src/index.ts"],
"exclude": ["./lib", "**/*.spec.*"]
}
1 change: 1 addition & 0 deletions app/scripts/modules/ecs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"@spinnaker/amazon": ["../../amazon/lib"],
"ecs/*": ["*"],
"ecs": ["."]
Expand Down
20 changes: 5 additions & 15 deletions app/scripts/modules/google/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react",
"lib": [
"es2016",
"dom"
],
"lib": ["es2016", "dom"],
"moduleResolution": "node",
"module": "commonjs",
"noEmitHelpers": false,
Expand All @@ -30,21 +27,14 @@
"inlineSources": true,
"strictNullChecks": false,
"target": "es6",
"typeRoots": [
"../../../../node_modules/@types"
],
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"google/*": ["*"],
"google": ["."]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"./lib",
"**/*.spec.*"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["./lib", "**/*.spec.*"]
}
1 change: 1 addition & 0 deletions app/scripts/modules/kubernetes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"kubernetes/*": ["*"],
"kubernetes": ["."]
}
Expand Down
22 changes: 6 additions & 16 deletions app/scripts/modules/openstack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsx": "react",
"lib": [
"es2016",
"dom"
],
"lib": ["es2016", "dom"],
"moduleResolution": "node",
"module": "commonjs",
"noEmitHelpers": false,
Expand All @@ -30,19 +27,12 @@
"inlineSources": true,
"strictNullChecks": false, // should really get to a place where we can turn this on
"target": "es6",
"typeRoots": [
"../../../../node_modules/@types"
],
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"]
"@spinnaker/core": ["../../core/lib"],
"core/*": ["core/src/*"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"./lib",
"**/*.spec.*"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["./lib", "**/*.spec.*"]
}
1 change: 1 addition & 0 deletions app/scripts/modules/oracle/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"oracle/*": ["*"],
"oracle": ["."]
}
Expand Down
1 change: 1 addition & 0 deletions app/scripts/modules/titus/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"typeRoots": ["../../../../node_modules/@types"],
"paths": {
"@spinnaker/core": ["../../core/lib"],
"core/*": ["../../core/lib/*"],
"@spinnaker/docker": ["../../docker/lib"],
"@spinnaker/amazon": ["../../amazon/lib"],
"titus/*": ["*"],
Expand Down

0 comments on commit 6b8188b

Please sign in to comment.