Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

build: migrate to nimbus and fix build #319

Merged
merged 24 commits into from
Feb 5, 2020
Merged

build: migrate to nimbus and fix build #319

merged 24 commits into from
Feb 5, 2020

Conversation

kristw
Copy link
Collaborator

@kristw kristw commented Jan 30, 2020

🏠 Internal

  • Migrate build tools from beemo to nimbus
  • Fix issues
    • Move buildAssets.js under scripts
    • Replace eslint rule sort-keys with jsx-sort-default-props and sort-prop-types
    • Remove unnecessary eslint-disable
    • Replace if (x.length) with if (x.length > 0)
    • Switch for loop to use .forEach when possible
    • Change module.exports to export default (for parallel coordinates)
    • Fix other lint errors

Tested by manually going through all examples in storybook and verify them against master.

@etr2460 @rusackas

@kristw kristw requested a review from a team as a code owner January 30, 2020 09:44
@netlify
Copy link

netlify bot commented Jan 31, 2020

Deploy preview for superset-ui-plugins ready!

Built with commit 8eedc66

https://deploy-preview-319--superset-ui-plugins.netlify.com

@codecov
Copy link

codecov bot commented Jan 31, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@b9f0e62). Click here to learn what that means.
The diff coverage is 7.69%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master    #319   +/-   ##
========================================
  Coverage          ?   1.48%           
========================================
  Files             ?     186           
  Lines             ?    5797           
  Branches          ?     339           
========================================
  Hits              ?      86           
  Misses            ?    5699           
  Partials          ?      12
Impacted Files Coverage Δ
...i-legacy-plugin-chart-horizon/src/HorizonChart.jsx 0% <ø> (ø)
...superset-ui-legacy-plugin-chart-chord/src/Chord.js 0% <ø> (ø)
...-legacy-plugin-chart-treemap/src/transformProps.js 0% <ø> (ø)
...et-ui-preset-chart-xy/src/encodeable/types/Axis.ts 0% <ø> (ø)
...i-plugin-chart-icicle-event/src/IcicleEventViz.tsx 0% <ø> (ø)
...erset-ui-legacy-preset-chart-nvd3/src/PropTypes.js 0% <ø> (ø)
...-preset-chart-xy/src/Line/legacy/transformProps.ts 0% <ø> (ø)
...acy-plugin-chart-paired-t-test/src/PairedTTest.jsx 0% <ø> (ø)
...y-plugin-chart-force-directed/src/ForceDirected.js 0% <ø> (ø)
...rset-ui-preset-chart-xy/src/Line/transformProps.ts 0% <ø> (ø)
... and 86 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9f0e62...8eedc66. Read the comment docs.

@kristw kristw assigned kristw and unassigned kristw Feb 1, 2020
@kristw
Copy link
Collaborator Author

kristw commented Feb 1, 2020

Ready for review

Co-Authored-By: Evan Rusackas <[email protected]>
Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I've peppered the thread with little comments and questions about various nits in case you think any are worth addressing. Love all the cleanup work you've done in here, and it's nice to see newer ES features coming in to play!

@kristw kristw merged commit be604e2 into master Feb 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the kristw--nimbus branch February 5, 2020 20:50
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
* build: change gitignore and update package.json

* fix: importing issues

* fix: missing reference

* build: move buildAssets script

* fix: prettier

* fix: lints jsx-sort-default-props, sort-prop-types

* fix: more lints jsx-sort-default-props, sort-prop-types

* fix: remove all unnecessary eslint-disable

* fix: export default type

* fix: use .forEach instead of for...of

* fix: package.json

* fix: ts issue

* fix: webpack config

* fix: issue with for loop

* fix: parallel coordinates

* fix: parallel coordinates

* fix: add prettier check

Co-Authored-By: Evan Rusackas <[email protected]>

* build: change type:dts to type

* fix: bring back Math.pow

* fix: use optional

* fix: bring back .0

* fix: declare word in the loop

* fix: for loop in sunburst

Co-authored-by: Evan Rusackas <[email protected]>
lexisstv pushed a commit to utrace-ltd/superset-ui-plugins that referenced this pull request Jun 1, 2020
* build: change gitignore and update package.json

* fix: importing issues

* fix: missing reference

* build: move buildAssets script

* fix: prettier

* fix: lints jsx-sort-default-props, sort-prop-types

* fix: more lints jsx-sort-default-props, sort-prop-types

* fix: remove all unnecessary eslint-disable

* fix: export default type

* fix: use .forEach instead of for...of

* fix: package.json

* fix: ts issue

* fix: webpack config

* fix: issue with for loop

* fix: parallel coordinates

* fix: parallel coordinates

* fix: add prettier check

Co-Authored-By: Evan Rusackas <[email protected]>

* build: change type:dts to type

* fix: bring back Math.pow

* fix: use optional

* fix: bring back .0

* fix: declare word in the loop

* fix: for loop in sunburst

Co-authored-by: Evan Rusackas <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants