Skip to content

Combine extract-meta and component generation in a cli. #451

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

Merged
merged 25 commits into from
Nov 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d542118
Add extract-meta.js.
T4rk1n Nov 6, 2018
9863b9d
Combine extract-meta & component generation, wrap as cli.
T4rk1n Nov 6, 2018
0c0d755
Fix setup line len
T4rk1n Nov 6, 2018
1821b28
Add arguments validation.
T4rk1n Nov 7, 2018
fde8d6c
Add extract-meta to manifest.
T4rk1n Nov 7, 2018
087a63f
Print extract-meta errors to stderr
T4rk1n Nov 7, 2018
1e5adce
Dump metadata.json
T4rk1n Nov 7, 2018
726623d
Add _imports_.py generation.
T4rk1n Nov 7, 2018
1bbd7fb
Strip first newline from `_imports_.py`.
T4rk1n Nov 7, 2018
98811a1
Change output_dir to project_shortname.
T4rk1n Nov 7, 2018
757327a
Fix shell is_windows.
T4rk1n Nov 12, 2018
b5f6199
Relative import the components
T4rk1n Nov 13, 2018
b8339d1
Rename name->component_name
T4rk1n Nov 13, 2018
68087cf
Move generated print to generate_class_file.
T4rk1n Nov 13, 2018
b3070dc
:camel: generate_imports
T4rk1n Nov 13, 2018
474f995
Disable superflous-parens pylint.
T4rk1n Nov 13, 2018
414ac62
relative import.
T4rk1n Nov 13, 2018
25a8e94
:camel: generate classes files loop.
T4rk1n Nov 14, 2018
c642b84
:feet: Move generate imports/files methods to base_components.
T4rk1n Nov 14, 2018
b53f54a
Proper cli with argparse.
T4rk1n Nov 20, 2018
a3d5ae2
Copy package.json, take the output filename as option.
T4rk1n Nov 21, 2018
52a56f9
:name_badge: src -> components_sources
T4rk1n Nov 21, 2018
6d8e6b7
Use pkg_resources to make the extract-meta.js path.
T4rk1n Nov 26, 2018
4878245
:feet: Move component generation code to _py_components_generation.py
T4rk1n Nov 26, 2018
a492448
Update version and changelog.
T4rk1n Nov 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ disable=fixme,
missing-docstring,
invalid-name,
too-many-lines,
old-style-class
old-style-class,
superfluous-parens

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.31.0 - 2018-11-26
## Added
- Combined `extract-meta` and python component files generation in a cli [#451](https://github.com/plotly/dash/pull/451)

## 0.30.0 - 2018-11-14
## Added
- Hot reload from the browser [#362](https://github.com/plotly/dash/pull/362)
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include README.md
include LICENSE
include dash/favicon.ico
include dash/extract-meta.js
Loading