Skip to content

Commit

Permalink
build(examples): update tsconfig (ES2017 target, ES2020 modules)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed May 15, 2020
1 parent a745950 commit 7c71b8b
Show file tree
Hide file tree
Showing 86 changed files with 248 additions and 408 deletions.
6 changes: 2 additions & 4 deletions examples/adaptive-threshold/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/async-effect/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion examples/bitmap-font/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true,
"strictBindCallApply": false
},
Expand Down
10 changes: 4 additions & 6 deletions examples/canvas-dial/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/cellular-automata/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion examples/commit-heatmap/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"module": "commonjs",
"lib": ["ES2020.String"]
},
Expand Down
8 changes: 3 additions & 5 deletions examples/commit-table-ssr/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"compilerOptions": {
"outDir": "./build",
"module": "commonjs",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/crypto-chart/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/devcards/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
6 changes: 2 additions & 4 deletions examples/fft-synth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
6 changes: 2 additions & 4 deletions examples/geom-convex-hull/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/geom-knn/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
12 changes: 5 additions & 7 deletions examples/geom-tessel/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noUnusedParameters": false
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
6 changes: 2 additions & 4 deletions examples/geom-voronoi-mst/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/gesture-analysis/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
6 changes: 2 additions & 4 deletions examples/grid-iterators/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-basics/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-benchmark/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-benchmark2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-canvas-clock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-canvas-draw/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
6 changes: 2 additions & 4 deletions examples/hdom-canvas-particles/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"target": "es6",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-canvas-shapes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-dropdown-fuzzy/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
10 changes: 4 additions & 6 deletions examples/hdom-dropdown/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"module": "es6",
"target": "es6",
"module": "es2020",
"target": "es2017",
"sourceMap": true
},
"include": [
"./src/**/*.ts"
]
}
"include": ["./src/**/*.ts"]
}
Loading

0 comments on commit 7c71b8b

Please sign in to comment.