Skip to content
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

Add source-mapping to dash-bio #553

Merged
merged 6 commits into from
Apr 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased
### Added
* [#543](https://github.com/plotly/dash-bio/pull/543) Added Dash Pileup component.
* [#553](https://github.com/plotly/dash-bio/pull/553) Added source mapping.

## [0.6.1] - 2021-02-15
### Fixed
Expand Down
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include dash_bio/bundle.js
include dash_bio/dash_bio-shared.js
include dash_bio/dash_bio-shared.js.map
include dash_bio/bundle.js
alexcjohnson marked this conversation as resolved.
Show resolved Hide resolved
include dash_bio/bundle.js.map
include dash_bio/async-*.js
include dash_bio/async-*.js.map
include dash_bio/metadata.json
Expand Down
14 changes: 13 additions & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,23 @@ file = "deps"), meta = NULL,
script = 'bundle.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio",
all_files = FALSE), class = "html_dependency"),
`dash_bio` = structure(list(name = "dash_bio",
version = "0.6.1", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'bundle.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio",
all_files = FALSE), class = "html_dependency"),
`dash_bio-shared` = structure(list(name = "dash_bio-shared",
version = "0.6.1", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_bio-shared.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio",
all_files = FALSE, async = TRUE), class = "html_dependency"))
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_bio-shared` = structure(list(name = "dash_bio-shared",
version = "0.6.1", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_bio-shared.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"))
return(deps_metadata)
}
35 changes: 27 additions & 8 deletions dash_bio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,40 @@
'/' + package_name + '/bundle.js'
).format(__version__),
'namespace': package_name
}
])

_js_dist.extend([
},
{
'relative_package_path': 'dash_bio-shared.js',
'relative_package_path': 'bundle.js.map',
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/' + package_name + '/dash_bio-shared.js'
'/' + package_name + '/bundle.js.map'
).format(__version__),
'async': True,
'namespace': 'dash_bio'
'namespace': package_name
}
])

_js_dist.extend(
[
{
'relative_package_path': 'dash_bio-shared.js',
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/' + package_name + '/dash_bio-shared.js'
).format(__version__),
'async': True,
'namespace': 'dash_bio'
},
{
"relative_package_path": "{}-shared.js.map".format(__name__),
"external_url": (
"https://unpkg.com/dash-bio@{}"
"/dash_bio/dash_bio-shared.js.map"
).format(__version__),
"namespace": "dash_bio",
"dynamic": True,
}
]
)

_css_dist = []


Expand Down
3 changes: 2 additions & 1 deletion dash_bio/async-alignment.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-alignment.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-circos.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-circos.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-ideogram.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-ideogram.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-igv.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-igv.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-moleculeviewer2.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-moleculeviewer2.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-moleculeviewer3.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-moleculeviewer3.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-needle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-needle.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-nglmoleculeviewer.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-nglmoleculeviewer.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-onco.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-onco.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-pileup.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-pileup.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-sequence.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async-sequence.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/async-speck.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dash_bio/async-speck.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/bundle.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dash_bio/dash_bio-shared.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/dash_bio-shared.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-alignment.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-alignment.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-circos.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-circos.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-ideogram.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-ideogram.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-igv.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-igv.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-moleculeviewer2.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-moleculeviewer2.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/deps/async-moleculeviewer3.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inst/deps/async-moleculeviewer3.js.map

Large diffs are not rendered by default.

Loading