Skip to content

Commit 2b283d1

Browse files
authored
fix: Error handling, null values in scalars, proper exports (#61)
1 parent 2adf06d commit 2b283d1

33 files changed

+596
-111
lines changed

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
"rules": {
5252
"unicorn/no-array-for-each": 0
5353
}
54+
},
55+
{
56+
"files": ["src/errors/errors.ts"],
57+
"rules": {
58+
"@typescript-eslint/naming-convention": 0
59+
}
5460
}
5561
],
5662
"settings": {

package-lock.json

Lines changed: 224 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
],
1010
"type": "module",
1111
"exports": {
12-
"./serve": "./dist/serve/serve.js"
12+
"./arrow": "./dist/arrow/arrow.js",
13+
"./plugin/plugin": "./dist/plugin/plugin.js",
14+
"./plugin/serve": "./dist/plugin/serve.js",
15+
"./scheduler": "./dist/scheduler/scheduler.js",
16+
"./schema/table": "./dist/schema/table.js",
17+
"./schema/column": "./dist/schema/column.js",
18+
"./schema/resolvers": "./dist/schema/resolvers.js",
19+
"./types/*": "./dist/types/*.js"
1320
},
1421
"scripts": {
1522
"dev": "ts-node --esm src/main.ts serve",
@@ -88,10 +95,13 @@
8895
"dot-prop": "^8.0.2",
8996
"luxon": "^3.4.0",
9097
"matcher": "^5.0.0",
98+
"modern-errors": "^6.0.0",
99+
"modern-errors-bugs": "^4.0.0",
91100
"p-map": "^6.0.0",
92101
"p-timeout": "^6.1.2",
93102
"uuid": "^9.0.0",
94103
"winston": "^3.10.0",
104+
"winston-error-format": "^2.0.0",
95105
"yargs": "^17.7.2"
96106
}
97107
}

src/arrow/arrow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from '@apache-arrow/esnext-esm';

0 commit comments

Comments
 (0)