Commit Graph

30 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
a285b55b80 Merge pull request #18 from apache-superset/kristw--rename-core
rename core package to connection
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
68c8873370 Merge pull request #17 from apache-superset/kristw--readme
Update readme and remove unnecessary items from package.json
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
730d532087 v0.2.1 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
1b6bf6355f Update README.md
Add badges
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
4df2ca0148 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
d4eee73672 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
3594d09191 Merge pull request #16 from apache-superset/kristw--wran
Make the translation module less strict and won't crash the app if not configured.
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
267c7c063c v0.2.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
d77f81d0b7 Merge pull request #15 from apache-superset/kristw--translation-num
Add tn / translateWithNumber
2021-11-26 11:44:31 +08:00
Chris Williams
282e719bb1 [build-config] move to monorepo root (#11)
* [build-config] move to monorepo root

* [lint-staged] testing

* [@babel/runtime] move to package level

* [build-config] update travis.yml for root build

* [lint] generate prettier config before linting

* [build-config] ^0.0.24

* [jest] add test:watch script

* [translation] remove package scripts

* [core] set author

* [core] add .eslintrc for root overrides

* [root] fix lint + prettier scripts

* [travis][jest] try --no-cache --debug

* [travis][jest] try running jest directly

* build-config@^0.0.25 to fix jest

* travis and test script to non-debug mode

* [travis] lerna bootstrap instead of installing 2x

* [npmrc] package-lock=false

* [travis] lerna bootstrap in script not install

* [travis] install and run tests per-package

* yarn workspaces are magical
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
fca5c4bf67 Merge pull request #14 from apache-superset/kristw--publishconf
update package.json to include publishConfig
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
524ea2df2c v0.1.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
0981b6dc5b Merge pull request #13 from apache-superset/kristw--translator-lint
Fix lint issues in translation module
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
e2c83f92e9 Merge pull request #12 from apache-superset/kristw--translation
Add @superset-ui/translation
2021-11-26 11:44:31 +08:00
Chris Williams
e0c71f0188 v0.0.7 2021-11-26 11:44:31 +08:00
Chris Williams
d9cc46fd17 [SupersetClient] include csrfToken passed in configuration in headers (#10) 2021-11-26 11:44:31 +08:00
Chris Williams
1f2b4fe765 v0.0.6 2021-11-26 11:44:31 +08:00
Chris Williams
f0b02cdf21 [SupersetClient] allow csrf token to be passed as configuration (#9)
* [SupersetClient] allow csrf token to be passed as configuration

* [SupersetClient] update readme

* [build-config] ^0.0.20

* [SupersetClient] fix test.

* [build-config] ^0.0.21

* [build-config] ^0.0.22

* [build-config] ^0.0.23
2021-11-26 11:44:31 +08:00
Chris Williams
405dda57ac v0.0.5 2021-11-26 11:44:31 +08:00
Chris Williams
1bc6e79bb2 [core][client] mirror window.location.protocol format in config (#8) 2021-11-26 11:44:30 +08:00
Chris Williams
446914ed0d v0.0.4 2021-11-26 11:44:30 +08:00
Chris Williams
f5d62e3f33 [core] support empty CSRF token (#7)
* [core][deps] remove unused deps

* [core][test] add test for response.ok=false

* [core] support csrf_token=''

* [core][tests] move mock to sole function that uses it
2021-11-26 11:44:30 +08:00
Chris Williams
eabb10de4f v0.0.3 2021-11-26 11:44:30 +08:00
Chris Williams
fc471d6511 [core] add parseMethod (#5)
* [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()
2021-11-26 11:44:30 +08:00
Chris Williams
d821d5c9b2 v0.0.2 2021-11-26 11:44:30 +08:00
Chris Williams
c3b28b8202 [core] add missing babel-runtime dep (#4) 2021-11-26 11:44:30 +08:00
Chris Williams
d50f0fdbcf v0.0.1 2021-11-26 11:44:30 +08:00
Chris Williams
39677afc8a [monorepo] add travis + codecov (#3)
* [monorepo] initial attempt at travis

* [monorepo] coveralls => codecov

* [monorepo] don't lerna bootstrap?

* [monorepo] ignore lock files, add lint:fix script

* [core] add node-fetch dev dep

* [monorepo] tweak codecov call

* [monorepo] tweak codecov call take ii

* [monorepo] codecov again

* [core][deps] build-config@^0.0.11

* [core][jest] add <rootDir> to coveragePathIgnorePatterns paths

* [core][jest] add collectCoverageFrom config

* [core][jest] try adding rootDir to collectCoverageFrom glob

* [core][deps] build-config@0.0.12

* [travis] yolo

* [travis] this is the one

* [travis] install global codecov

* [travis] no quotes in yml

* [travis] no quotes in yml part 2
2021-11-26 11:44:30 +08:00
Chris Williams
c4b946f965 Merge pull request #1 from apache-superset/chris--core-package
[SIP-4] add lerna monorepo and`@superset-ui/core` package with `SupersetClient`
2021-11-26 11:44:30 +08:00
Chris Williams
01bcbefac6 it's starting 2021-11-26 11:44:30 +08:00