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
Chris Williams
d9cc46fd17
[SupersetClient] include csrfToken passed in configuration in headers ( #10 )
2021-11-26 11:44:31 +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
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