Commit Graph

23 Commits

Author SHA1 Message Date
Yongjie Zhao
66b5b2cf9f chore: add Apache License for superset-ui (#1444)
* chore: add rat script

* add license

wip
2021-11-26 11:47:36 +08:00
Yongjie Zhao
9b059b8127 fix: unable bump new version (#1434) 2021-11-26 11:47:34 +08:00
Yongjie Zhao
f552abaa42 refactor: replace yarn with npm (#1405)
* refactor: replace yarn with npm

* revert npm requirement back to 14 for vercel

* disable build Storybook job

* fix linting errors

* update lock file

* rebase master and bump encodable/color to 1.1.1

* update package-lock.json

update lock file

* change node version format to satisfy vercel

* remove restriction on @encodable/color

* rename yarn.lock to package-lock.json

* add resolved in lock file and restriction on @encodable/color

* install dependences by npm ci

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:47:34 +08:00
Yongjie Zhao
c44df76596 chore: upgrade storybook to 6.3.12 (#1409)
* chore: upgrade storybook to 6.3.12

* update title

* fix can't import styled
2021-11-26 11:47:33 +08:00
Jesse Yang
cbaec13962 fix(legacy-plugin-chart-country-map): higher quality geojson and re-arrange controls (#1045) 2021-11-26 11:47:02 +08:00
Yongjie Zhao
114d78ed33 chore: move all controls for NVD3 and Big Number charts to separate rows (#913) 2021-11-26 11:46:50 +08:00
Jesse Yang
415ce5efd8 refactor: merge core superset-ui packages (#768)
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
2021-11-26 11:46:38 +08:00
Krist Wongsuphasawat
afed1a0818 feat(preset-chart-xy): migrate from plugins repo (#377)
* chore: move chart-xy and word-cloud

* fix: babel settings

* fix: remove file

* docs: update storybook code

* docs: word cloud storybook working

* chore: move files back

* fix: ts issues

* fix: import path

* fix: all storybook thingy

* fix: add query storybook back

* fix: address comments

* fix: sorting
2021-11-26 11:46:07 +08:00
Jesse Yang
e20e086a80 chore: ignore yarn.lock in child packages 2021-11-26 11:46:07 +08:00
Jianchao Yang
23f52286cd build: try to merge superset-ui-plugins (#333) 2021-11-26 11:45:04 +08:00
Jesse Yang
4d0d05f71f Revert "build: try to merge superset-ui-plugins"
This reverts commit 823126633ea0743254f78b0a74fe83c68ee6438f.
2021-11-26 11:45:03 +08:00
Jesse Yang
1238e78e2d build: try to merge superset-ui-plugins 2021-11-26 11:45:03 +08:00
Krist Wongsuphasawat
517020abf5 build: fix demo build (#298)
* build: fix demo build

* fix: version

* build: add yarn.lock

* fix: clean up webpack config
2021-11-26 11:45:01 +08:00
Krist Wongsuphasawat
97f18e686b build: migrate build tool to nimbus (#281)
* build: migrate to nimbus

* build: update gitignore

* build: update package.json

* build: update travis config

* build: lower engine requirements

* build: adjust typescript config

* fix: errors

* fix: change yarn run to yarn

* fix: lint

(cherry picked from commit 22328c349c9b987eecc5e46fb306e459b6a9cadc)

* fix: eslint rules

* fix: lint

* fix: setup file

* fix: more lint

* fix: lint - pass build and lint

* fix: test setup and babel transform runtime

(cherry picked from commit dd55fd88ced045a8f83ca771705721bf2f930ff0)

* fix: timeout issues

* fix: some broken test due to jest.setTimeout

* fix: computeMaxFontSize tests

* fix: createLoadableRenderer test

* fix: loadble and broken tests due to warnings

* fix: test coverage

* fix: coverage of generator tests

* fix: all unit tests pass

* fix: remove yeutech-lab/react-loadable
2021-11-26 11:45:00 +08:00
Krist Wongsuphasawat
27941b673f docs: update changelog 2021-11-26 11:44:46 +08:00
Chris Williams
458d9b9987 [deps] build-config@0.0.37 (#79)
* [deps] build-config@0.0.37

* [chart] lint SuperChart
2021-11-26 11:44:39 +08:00
Chris Williams
b3444d86df add Typescript support + convert @superset-ui/connection to Typescript (#41)
* [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
2021-11-26 11:44:35 +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
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
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
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