summaryrefslogtreecommitdiffstats
path: root/src/arrow/js/tsconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/arrow/js/tsconfig')
-rw-r--r--src/arrow/js/tsconfig/tsconfig.base.json50
-rw-r--r--src/arrow/js/tsconfig/tsconfig.bin.cjs.json12
-rw-r--r--src/arrow/js/tsconfig/tsconfig.docs.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es2015.cjs.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es2015.cls.json12
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es2015.esm.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es5.cjs.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es5.cls.json12
-rw-r--r--src/arrow/js/tsconfig/tsconfig.es5.esm.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.esnext.cjs.json8
-rw-r--r--src/arrow/js/tsconfig/tsconfig.esnext.cls.json12
-rw-r--r--src/arrow/js/tsconfig/tsconfig.esnext.esm.json8
12 files changed, 154 insertions, 0 deletions
diff --git a/src/arrow/js/tsconfig/tsconfig.base.json b/src/arrow/js/tsconfig/tsconfig.base.json
new file mode 100644
index 000000000..8ee0d98f6
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.base.json
@@ -0,0 +1,50 @@
+{
+ "exclude": ["../node_modules"],
+ "include": ["../src/**/*.ts"],
+ "compileOnSave": false,
+ "compilerOptions": {
+ "baseUrl": "./",
+ "paths": {
+ "apache-arrow/*": ["src/*"]
+ },
+
+ /* Basic stuff */
+ "moduleResolution": "node",
+ "lib": ["dom", "esnext", "esnext.asynciterable"],
+
+ /* Control what is emitted */
+ "declaration": true,
+ "declarationMap": true,
+ "noEmitOnError": true,
+ "removeComments": false,
+ "noErrorTruncation": true,
+ "downlevelIteration": true,
+
+ /* Create inline sourcemaps with sources */
+ "sourceMap": false,
+ "inlineSources": true,
+ "inlineSourceMap": true,
+
+ /* The most restrictive settings possible */
+ "strict": true,
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "alwaysStrict": true,
+ "strictBindCallApply": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "strictPropertyInitialization": true,
+
+ "skipLibCheck": false,
+ "importHelpers": true,
+ "noEmitHelpers": true,
+ "noUnusedLocals": true,
+ "noImplicitReturns": true,
+ "noUnusedParameters": true,
+ "allowUnusedLabels": false,
+ "allowUnreachableCode": false,
+ "noStrictGenericChecks": false,
+ "noFallthroughCasesInSwitch": true,
+ "forceConsistentCasingInFileNames": true
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.bin.cjs.json b/src/arrow/js/tsconfig/tsconfig.bin.cjs.json
new file mode 100644
index 000000000..e9671810a
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.bin.cjs.json
@@ -0,0 +1,12 @@
+// Compiler configuration to build the ES5 CommonJS bin files
+{
+ "extends": "./tsconfig.base.json",
+ "exclude": ["../node_modules"],
+ "include": ["../src/bin/*.ts"],
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "commonjs",
+ "declaration": false,
+ "declarationMap": false
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.docs.json b/src/arrow/js/tsconfig/tsconfig.docs.json
new file mode 100644
index 000000000..722838f5b
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.docs.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the docs
+{
+ "extends": "./tsconfig.base.json",
+ "include": ["../src/**/*.ts"],
+ "compilerOptions": {
+ "target": "esnext"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es2015.cjs.json b/src/arrow/js/tsconfig/tsconfig.es2015.cjs.json
new file mode 100644
index 000000000..92f05dd1c
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es2015.cjs.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ES2015 CommonJS target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "es2015",
+ "module": "commonjs"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es2015.cls.json b/src/arrow/js/tsconfig/tsconfig.es2015.cls.json
new file mode 100644
index 000000000..7cc364b36
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es2015.cls.json
@@ -0,0 +1,12 @@
+// Compiler configuration to build the ES2015 Closure Compiler target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "es2015",
+ "declaration": false,
+ "declarationMap": false,
+ "noEmitHelpers": true,
+ "importHelpers": false
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es2015.esm.json b/src/arrow/js/tsconfig/tsconfig.es2015.esm.json
new file mode 100644
index 000000000..c56b97263
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es2015.esm.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ES2015 ESModules target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "es2015",
+ "module": "es2015"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es5.cjs.json b/src/arrow/js/tsconfig/tsconfig.es5.cjs.json
new file mode 100644
index 000000000..7c149d39d
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es5.cjs.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ES5 CommonJS target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "es5",
+ "module": "commonjs"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es5.cls.json b/src/arrow/js/tsconfig/tsconfig.es5.cls.json
new file mode 100644
index 000000000..a03808d36
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es5.cls.json
@@ -0,0 +1,12 @@
+// Compiler configuration to build the ES5 Closure Compiler target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "es2015",
+ "declaration": false,
+ "declarationMap": false,
+ "noEmitHelpers": true,
+ "importHelpers": false
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.es5.esm.json b/src/arrow/js/tsconfig/tsconfig.es5.esm.json
new file mode 100644
index 000000000..782c303e6
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.es5.esm.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ES5 ESModules target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "es5",
+ "module": "es2015"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.esnext.cjs.json b/src/arrow/js/tsconfig/tsconfig.esnext.cjs.json
new file mode 100644
index 000000000..fb0d2eb11
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.esnext.cjs.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ESNext CommonJS target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "commonjs"
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.esnext.cls.json b/src/arrow/js/tsconfig/tsconfig.esnext.cls.json
new file mode 100644
index 000000000..dc35c3f88
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.esnext.cls.json
@@ -0,0 +1,12 @@
+// Compiler configuration to build the ESNext Closure Compiler target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "es2015",
+ "declaration": false,
+ "declarationMap": false,
+ "noEmitHelpers": true,
+ "importHelpers": false
+ }
+}
diff --git a/src/arrow/js/tsconfig/tsconfig.esnext.esm.json b/src/arrow/js/tsconfig/tsconfig.esnext.esm.json
new file mode 100644
index 000000000..6701c8e13
--- /dev/null
+++ b/src/arrow/js/tsconfig/tsconfig.esnext.esm.json
@@ -0,0 +1,8 @@
+// Compiler configuration to build the ESNext ESModules target
+{
+ "extends": "./tsconfig.base.json",
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "es2015"
+ }
+}