* revert: revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)"
This reverts commit e3866129b2b3cbd6e099fe4ab66319c4fe6ae485.
* fix: type errors
* fix: typescript errors in superset-ui-demo
* feat: add support for conditional requests
* feat: add unit tests for conditional requests
* feat: use invariant
* feat: add type guard
* feat: fix lint
* feat: add more unit tests
* docs: [demo][connection] add ConfigureCORS story for testing CORS
* docs: [demo][ConfigureCORS] better instructions
* feat: [chart] add mvp DataProvider component
* docs: better CORS story, update webpack for @babel/polyfill
* docs: [chart] add DataProvider story with WordCloudPlugin
* docs: [chart] add DataProvider deets to Readme
* test(chart): move SuperChart.test.jsx => .tsx and instead use @ts-ignore
* fix(connection): point interface.request to client.request
* feat(chart): re-write DataProvider as ChartDataProvider
* docs(demo): re-write LegacyWordCloudStories => ChartDataProviderStories
* refactor(chart): use IDENTITY as ChartPlugin buildQuery default
* feat(chart): support legacy + v1 loadQueryData endpoints in ChartClient
* docs(demo): add sankey + sunburst plugins to ChartDataProvider story
* style(chart): run prettier on SuperChart
* feat(chart): export QueryData type from models/ChartProps
* feat(chart): export Metrics and BaseFormData from types/ChartFormData
* feat(chart): add request option overrides in ChartDataProvider
* fix(chart): use Partial<> for ChartClient request option overrides
* test(chart): add ChartDataProvider tests
* build: include demo pkg in type script
* build: move storybook/mocks to test/fixtures
* build: move json-bigint TS declaration to root
* test(chart): clean up ChartDataProvider test TS
* chore(chart): lint fix SuperChart
* fix(chart): set ChartPlugin.buildQuery default back to undefined
* test(connection): fix expected Client.get call count
* test(chart): fix ChartClient tests and add test for legacy API
* fix(chart): uninitialized typo, change fetching => loading
* docs(chart): update README to final ChartDataProvider API
* docs(chart): fix typo
* test(chart): get ChartDataProvider to one hundo
* feat(chart): add and export more meaningful Datasource type
* feat(chart): use Datasource type in ChartClient
* migrate query code from incubator-superset
* Getting tests to pass
- Up build-config version to pick up a fix to eslint-typescript-parser
- Remove usage of default exports in favor of named exports unless the export is the only thing being exported out of a module
- Fixing up a few linting errors
* - Remove DatasourceKey interface in favor of readonly id and type properties on the DatasourceKey class directly.
- Adding tests for DatasourceKey.
* [typescript] add build support for typescript
* [typescript] working lint and build
* [typescript] refactor SupersetClient to TS
* [typescript][connection] leverage RequestInit types when relevant
* [typescript][connection] callApi.js => callApi.ts
* [typescript][connection] remaining .js => .ts
* [typescript][connection] add and export src/types.ts, refactor things, convert test to .ts and fix
* [typescript] build:ts only in typescript-containing packages
* add generator to monorepo
* Squash all attempts (+21 squashed commits)
Squashed commits:
[cca27ae] enable jest projects
[e7dc4ce] wip
[dd3ea7a] run in order
[cf87275] define projects
[69baf16] use specific version
[c880cfa] ignore generator test
[e9e0fd3] update travis
[4bbb3c0] update travis
[d63118b] update travis config
[267fe08] remove config
[44883e8] update travis
[40580c3] reduce node version
[59b6add] update ignore rule
[fbbd03c] update readme
[b299dfe] remove script
[a988933] fix test and lint
[95b7d5b] try install and not install
[f4583b4] remove unnecessary files
[c735329] remove eslint-config-xo
[49b3106] pass lint and test
[56c6def] remove git and readd
* can get test to pass if exclude generator-superset
* add afterall to correct working directory
* update config
* add readme
* [core] expose 'parseMethod' in SupersetClient and callApi for text responses
* [parseResponse][test] fix parseMethod test
* [monorepo] gitignore .npmrc
* [core][deps] @data-ui/build-config => ^0.0.14
* [monorepo] tweak npm scripts
* [core] clean up parseResponse
* [core] clean up parseResponse more
* [core] don't fallback to text parsing if response is supposed to be json, allow for null responseParser
* [core][tests] fix borken tests, return promises instead of calling done()