Skip to content

Commit 4068b41

Browse files
authored
adding yarn resolution to d3-color and fix build script (#1463)
* add resolution * fix build script
1 parent 28bb22d commit 4068b41

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"yarn": "1.22.4"
5151
},
5252
"resolutions": {
53-
"js-beautify": "1.10.3"
53+
"js-beautify": "1.10.3",
54+
"d3-color": "3.1.0"
5455
}
5556
}

packages/react-vis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"docs": "./publish-docs.sh",
2424
"clean": "rm -rf dist es bundle.* index.html && mkdir dist es",
2525
"start": "(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)",
26-
"build:browser": "browserify src/index.js -t [ babelify --rootMode upward ] --standalone reactVis | uglifyjs > dist/dist.min.js",
26+
"build:browser": "browserify src/index.js -t [ babelify --rootMode upward --global ] --standalone reactVis | uglifyjs > dist/dist.min.js",
2727
"build": "yarn run clean && babel --root-mode upward src -d dist --copy-files && BABEL_ENV=es babel --root-mode upward src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && yarn run build:browser",
2828
"lint-styles": "stylelint src/styles/*.scss --syntax scss",
2929
"test:windows": "babel-node --inspect ./tests/index.js",

yarn.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5582,12 +5582,7 @@ d3-collection@1, d3-collection@^1.0.3:
55825582
resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e"
55835583
integrity sha1-NJvSqpl32wcQkcExRNXk8WtbMQ4=
55845584

5585-
d3-color@1, d3-color@^1.0.3:
5586-
version "1.4.1"
5587-
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a"
5588-
integrity sha1-xSACv4hGraRCTVXZeYL+8m6zvIo=
5589-
5590-
d3-color@^3.1.0:
5585+
d3-color@1, d3-color@3.1.0, d3-color@^1.0.3, d3-color@^3.1.0:
55915586
version "3.1.0"
55925587
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2"
55935588
integrity sha1-OVsoM9+scVB/EqwvevI7+BneJOI=

0 commit comments

Comments
 (0)