Commit Graph

8728 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
a546210bda fix: generator-superset public access 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
0ab3f094a5 v0.6.0 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
74b91268bc Update generator-superset package name and change log 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
f639763cc2 Add ExtensibleFunction class (#32) 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
f408cb1550 Add RegistryWithDefaultKey class (#27)
* import main lodash instead of lodash/fp

* add factory and unit test

* more unit test to increase branch coverage

* refactor color

* update unit test and references
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
b2c7e3cade update devDependencies version (#29) 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
058d98b71d Update issue templates (#30) 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
166de54924 Add more unit tests for color package (#28)
* add more unit tests for color package

* revert file name

* rename
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
86f0007a77 Add generator-superset (#21)
* 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
2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
b6d7ed2870 add CODEOWNERS (#26) 2021-11-26 11:44:34 +08:00
Krist Wongsuphasawat
4d651c4a31 Update README.md 2021-11-26 11:44:33 +08:00
Chris Williams
010890ae76 [demo] add package + storybook (#25)
* [demo] add package + storybook

* [demo] add color stories

* [demo] update readme, add gh-pages hooks, remove vx deps

* [demo] remove nesting for color stories

* [gh-pages] run postrelease

* [gh-pages] add link in readme

* [demo] exclude demo package from build script
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
4e0d2c1dae v0.5.0 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
5bb2fd599c use simple js to create range (#24) 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
ae476317d6 Add @superset-ui/chart with extract modules and additional unit tests (#23)
* initialize chart package

* add unit tests for metadata and chartprops

* fix lint

* add unit test for ChartPlugin

* update README
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
537b6a53e5 v0.4.0 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
81e2b797a0 update changelog 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
fbdefa7e3c Update color module (#22)
* add brand color

* update test

* add unit tests
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
c19a55f04d Add color package to README 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
3df20eff6e @superset-ui/color (#20)
* add initial files

* update references

* fix lint issues

* Define top-level exports

* disable linting for color schemes

* update test

* update travis

* update travis

* revert travis

* install once

* update clear()

* update core index test

* update color index test

* update travis

* try build before test

* update unit tes

* override beemo config

* remove test command

* update ignore path

* use new build config
2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
098a0198bc update travis badge 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
6dc7871f05 v0.3.0 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
efd7f676ed add core to readme 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
7097a0e89f Merge pull request #19 from apache-superset/kristw--new-core
Add new core modules from incubator-superset
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
b9391d3c6b add badges 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
cc0411865d add license 2021-11-26 11:44:32 +08:00
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