Skip to content

Commit 4b29a6e

Browse files
Shammamah HossainMarc-Andre-Rivet
Shammamah Hossain
andauthored
Add JS map to JS dist. (#84)
* Add JS map to JS dist. * Update CHANGELOG. * Update version. * Update dash_daq/__init__.py Co-Authored-By: Marc-André Rivet <[email protected]> * Make map file dynamic. * Add autogenerated files. Co-authored-by: Marc-André Rivet <[email protected]>
1 parent f7b6cbf commit 4b29a6e

8 files changed

+25
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010
### Fixed
11+
* [#84](https://github.com/plotly/dash-daq/pull/84) Fixed JS map not being included in the `js_dist` for the Python package.
12+
13+
## [0.3.1] - 2019-11-14
14+
### Fixed
1115
* [#73](https://github.com/plotly/dash-daq/pull/73) Fix IE11 compatibility issues and ES5 compatibility and validation
1216

1317
## [0.3.0] - 2019-11-05

dash_daq/__init__.py

+11
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@
5656
}
5757
])
5858

59+
_js_dist.extend([
60+
{
61+
"relative_package_path": "dash_daq.min.js.map",
62+
"external_url": (
63+
"https://unpkg.com/dash-daq@{}"
64+
"/dash_daq/dash_daq.min.js.map"
65+
).format(__version__),
66+
"namespace": "dash_daq",
67+
'dynamic': True
68+
}
69+
])
5970
_css_dist = []
6071

6172

dash_daq/async~colorpicker.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/async~slider.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/dash_daq.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/dash_daq.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/package-info.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-daq",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"engines": {
55
"node": ">=8"
66
},
@@ -25,8 +25,10 @@
2525
"start": "npm run build:dev",
2626
"build:js": "webpack --mode production",
2727
"build:js-dev": "webpack --mode development",
28-
"build:py": "python get_version_info.py && yarn copy-lib && dash-generate-components ./src/components dash_daq -p package-info.json --r-prefix 'daq'",
28+
"build:py": "python get_version_info.py && yarn copy-lib && dash-generate-components ./src/components dash_daq -p package-info.json",
29+
"build:r": "dash-generate-components ./src/components dash_daq -p package-info.json --r-prefix='daq'",
2930
"build": "npm run test && npm run lint && npm run build:js && npm run build:py",
31+
"build:all": "npm run build && npm run build:r",
3032
"postbuild": "es-check es5 dash_daq/*.js",
3133
"build:dev": "npm run build:js-dev && npm run build:py",
3234
"build-tarball": "npm run build && python setup.py sdist",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-daq",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"engines": {
55
"node": ">=8"
66
},

0 commit comments

Comments
 (0)