Skip to content

Commit

Permalink
adding yarn resolution to d3-color and fix build script (#1463)
Browse files Browse the repository at this point in the history
* add resolution

* fix build script
  • Loading branch information
kenns29 authored Dec 27, 2022
1 parent 28bb22d commit 4068b41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"yarn": "1.22.4"
},
"resolutions": {
"js-beautify": "1.10.3"
"js-beautify": "1.10.3",
"d3-color": "3.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/react-vis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"docs": "./publish-docs.sh",
"clean": "rm -rf dist es bundle.* index.html && mkdir dist es",
"start": "(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)",
"build:browser": "browserify src/index.js -t [ babelify --rootMode upward ] --standalone reactVis | uglifyjs > dist/dist.min.js",
"build:browser": "browserify src/index.js -t [ babelify --rootMode upward --global ] --standalone reactVis | uglifyjs > dist/dist.min.js",
"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",
"lint-styles": "stylelint src/styles/*.scss --syntax scss",
"test:windows": "babel-node --inspect ./tests/index.js",
Expand Down
7 changes: 1 addition & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5582,12 +5582,7 @@ d3-collection@1, d3-collection@^1.0.3:
resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e"
integrity sha1-NJvSqpl32wcQkcExRNXk8WtbMQ4=

d3-color@1, d3-color@^1.0.3:
version "1.4.1"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a"
integrity sha1-xSACv4hGraRCTVXZeYL+8m6zvIo=

d3-color@^3.1.0:
d3-color@1, [email protected], d3-color@^1.0.3, d3-color@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2"
integrity sha1-OVsoM9+scVB/EqwvevI7+BneJOI=
Expand Down

0 comments on commit 4068b41

Please sign in to comment.