-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up build scripts and imports #563
Conversation
dash_bio/package-info.json
Outdated
"build:dev": "npm run build:js-dev && npm run build:py" | ||
"build:backends": "node ./extract-meta src/lib/components > dash_bio/metadata.json && python get_version_info.py && dash-generate-components ./src/lib/components dash_bio -p package-info.json --r-prefix='dashbio' --r-imports='dash' --r-depends='manhattanly'", | ||
"build": "npm run build:js && npm run build:backends", | ||
"postbuild": "es-check es5 dash_bio/*.js" | ||
}, | ||
"author": "The Plotly Team <dashbio@plotly.com>", | ||
"maintainer": "Ryan Patrick Kyle <ryan@plotly.com>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably change this... yourself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, changed in 4e6cf1d.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃
dash_bio/__init__.py
Outdated
@@ -115,7 +110,5 @@ | |||
_css_dist = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be dropped as well now... not a big deal though :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch!
🔪 in 02144f9
Closes #534
Closes #556
About
Description of changes
This PR changes
__init__.py
to use__imports__
generated by the build process instead of the_dash.development.component_loader.load_components
method. It also cleans up thepackage.json
in line with what we have fordcc
, with 3 standard build scripts for thejs
andbackends
.