Skip to content

Commit 210a89c

Browse files
committed
update ts config and remove babel
1 parent 6bc3088 commit 210a89c

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

packages/cubejs-client-core/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
],
3535
"license": "MIT",
3636
"devDependencies": {
37-
"@babel/core": "^7.24",
38-
"@babel/preset-env": "^7.24",
3937
"@types/jest": "^29",
4038
"@types/ramda": "^0.27.34",
4139
"@types/moment-range": "^4.0.0",
Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
11
{
2-
"extends": "../../tsconfig.base.json",
32
"include": [
43
"src/**/*",
54
"test/**/*",
65
"test/fixtures/datablending/load-responses.json"
76
],
87
"compilerOptions": {
8+
"lib": ["es2017"],
9+
"target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
10+
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
11+
"declaration": true,
12+
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
13+
"declarationDir": "./dist", /* Generates a sourcemap for each corresponding '.d.ts' file. */
14+
"sourceMap": false, /* Generates corresponding '.map' file. */
15+
"strict": true, /* Enable all strict type-checking options. */
16+
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
17+
"strictNullChecks": true, /* Enable strict null checks. */
18+
"strictFunctionTypes": true, /* Enable strict checking of function types. */
19+
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
20+
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
21+
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
22+
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
23+
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
24+
"allowSyntheticDefaultImports": true,
25+
"skipLibCheck": true, /* Skip type checking of declaration files. */
26+
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
927
"outDir": "dist",
1028
"rootDir": ".",
1129
"baseUrl": ".",
1230
"resolveJsonModule": true,
13-
"esModuleInterop": true
1431
}
1532
}

0 commit comments

Comments
 (0)