From 29fdffb215e4c9aa596607874aa2d4c577095338 Mon Sep 17 00:00:00 2001 From: Matt Popovich Date: Fri, 21 Oct 2022 11:48:18 -0700 Subject: [PATCH] Release 6.0.3 (#170) * Revert "chore: bump d3-color to 3.1.0, add postinstall hook to fix export path (#167)" This reverts commit f71f4c221f8612a073480b743b6271414ea418b6. * release version 6.0.3 --- CHANGELOG.md | 6 ++++++ lerna.json | 2 +- packages/doc-site/CHANGELOG.md | 6 ++++++ packages/doc-site/package.json | 6 +++--- packages/synchro-charts-react/CHANGELOG.md | 6 ++++++ packages/synchro-charts-react/package.json | 4 ++-- packages/synchro-charts/CHANGELOG.md | 6 ++++++ packages/synchro-charts/package.json | 9 ++------- packages/synchro-charts/postinstall.js | 10 ---------- yarn.lock | 5 ----- 10 files changed, 32 insertions(+), 28 deletions(-) delete mode 100644 packages/synchro-charts/postinstall.js diff --git a/CHANGELOG.md b/CHANGELOG.md index d96c4b1f2..d3e75ee78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 6.0.3 (2022-10-21) + +### Bug Fixes + +* Revert "chore: bump d3-color to 3.1.0, add postinstall hook to fix export path (#167)" ([#170](https://github.com/awslabs/synchro-charts/pull/170)) ([1a47303](https://github.com/awslabs/synchro-charts/pull/170/commits/ae8220da42758a6ff9796e36e15b0032ec13774f)) + ## 6.0.2 (2022-10-19) ### Bug Fixes diff --git a/lerna.json b/lerna.json index aad8fe026..d6a27912b 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages/*" ], "npmClient": "yarn", - "version": "6.0.2", + "version": "6.0.3", "useWorkspaces": true, "nohoist": [ "parcel-bundler" diff --git a/packages/doc-site/CHANGELOG.md b/packages/doc-site/CHANGELOG.md index 450fc0398..1040bba26 100644 --- a/packages/doc-site/CHANGELOG.md +++ b/packages/doc-site/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 6.0.3 (2022-10-21) + +### Bug Fixes + +* Revert "chore: bump d3-color to 3.1.0, add postinstall hook to fix export path (#167)" ([#170](https://github.com/awslabs/synchro-charts/pull/170)) ([1a47303](https://github.com/awslabs/synchro-charts/pull/170/commits/ae8220da42758a6ff9796e36e15b0032ec13774f)) + ## 6.0.2 (2022-10-19) ### Bug Fixes diff --git a/packages/doc-site/package.json b/packages/doc-site/package.json index 1f2e97e22..f6ba0692c 100644 --- a/packages/doc-site/package.json +++ b/packages/doc-site/package.json @@ -2,12 +2,12 @@ "name": "@synchro-charts/doc-site", "description": "Synchro Charts documentation site", "homepage": "https://synchrocharts.com", - "version": "6.0.2", + "version": "6.0.3", "private": true, "dependencies": { "@awsui/components-react": "^3.0.182", - "@synchro-charts/core": "^6.0.2", - "@synchro-charts/react": "^6.0.2", + "@synchro-charts/core": "^6.0.3", + "@synchro-charts/react": "^6.0.3", "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "^3.4.4" diff --git a/packages/synchro-charts-react/CHANGELOG.md b/packages/synchro-charts-react/CHANGELOG.md index 46d054864..1d2b94e91 100644 --- a/packages/synchro-charts-react/CHANGELOG.md +++ b/packages/synchro-charts-react/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 6.0.3 (2022-10-21) + +### Bug Fixes + +* Revert "chore: bump d3-color to 3.1.0, add postinstall hook to fix export path (#167)" ([#170](https://github.com/awslabs/synchro-charts/pull/170)) ([1a47303](https://github.com/awslabs/synchro-charts/pull/170/commits/ae8220da42758a6ff9796e36e15b0032ec13774f)) + ## 6.0.2 (2022-10-19) ### Bug Fixes diff --git a/packages/synchro-charts-react/package.json b/packages/synchro-charts-react/package.json index a1bdf16de..db5962dba 100644 --- a/packages/synchro-charts-react/package.json +++ b/packages/synchro-charts-react/package.json @@ -1,7 +1,7 @@ { "name": "@synchro-charts/react", "description": "Synchro Charts React", - "version": "6.0.2", + "version": "6.0.3", "publishConfig": { "access": "public" }, @@ -35,7 +35,7 @@ "react-dom": "16.x.x || 17.x.x" }, "dependencies": { - "@synchro-charts/core": "^6.0.2" + "@synchro-charts/core": "^6.0.3" }, "license": "Apache-2.0", "style": "dist/styles.css", diff --git a/packages/synchro-charts/CHANGELOG.md b/packages/synchro-charts/CHANGELOG.md index c59fb9a96..3658ca4c1 100644 --- a/packages/synchro-charts/CHANGELOG.md +++ b/packages/synchro-charts/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 6.0.3 (2022-10-21) + +### Bug Fixes + +* Revert "chore: bump d3-color to 3.1.0, add postinstall hook to fix export path (#167)" ([#170](https://github.com/awslabs/synchro-charts/pull/170)) ([1a47303](https://github.com/awslabs/synchro-charts/pull/170/commits/ae8220da42758a6ff9796e36e15b0032ec13774f)) + ## 6.0.2 (2022-10-19) ### Bug Fixes diff --git a/packages/synchro-charts/package.json b/packages/synchro-charts/package.json index 125e70256..1f6dcd501 100644 --- a/packages/synchro-charts/package.json +++ b/packages/synchro-charts/package.json @@ -1,7 +1,7 @@ { "name": "@synchro-charts/core", "description": "Synchro Charts", - "version": "6.0.2", + "version": "6.0.3", "publishConfig": { "access": "public" }, @@ -49,8 +49,7 @@ "copy:contributing": "cp ../../CONTRIBUTING.md CONTRIBUTING.md", "prepack": "yarn run copy:license && yarn run copy:notice && yarn run copy:code-of-conduct && yarn run copy:contributing", "prepublishOnly": "yarn release", - "pack": "yarn pack", - "postinstall": "node postinstall.js" + "pack": "yarn pack" }, "devDependencies": { "@babel/core": "^7.6.4", @@ -102,7 +101,6 @@ "d3-array": "^2.3.2", "d3-axis": "^1.0.12", "d3-brush": "^1.1.3", - "d3-color": "3.1.0", "d3-drag": "^1.2.5", "d3-scale": "^3.2.0", "d3-selection": "^1.3.1", @@ -124,8 +122,5 @@ "uuid": "^3.3.2", "validator": "^13.6.0" }, - "resolutions": { - "d3-color": "3.1.0" - }, "license": "Apache-2.0" } diff --git a/packages/synchro-charts/postinstall.js b/packages/synchro-charts/postinstall.js deleted file mode 100644 index a4ad2edc6..000000000 --- a/packages/synchro-charts/postinstall.js +++ /dev/null @@ -1,10 +0,0 @@ -// We need to use the UMD version of the d3-color package, but we also -// need to bump to a version where the ESM version has been made the default -// due to a vulnerability (see https://github.com/d3/d3-color/issues/97). -// Yarn v1 does not understand the package.json "exports" property, so we -// must write the UMD export path into the "main" property. -const d3ColorPackageJsonPath = '/node_modules/d3-color/package.json'; -// eslint-disable-next-line import/no-dynamic-require -const d3ColorPackageJson = require(process.cwd() + d3ColorPackageJsonPath); -d3ColorPackageJson.main = d3ColorPackageJson.exports.umd; -require('fs').writeFileSync(process.cwd() + d3ColorPackageJsonPath, JSON.stringify(d3ColorPackageJson, null, 2)); diff --git a/yarn.lock b/yarn.lock index 0a4414566..29e479f3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6217,11 +6217,6 @@ d3-color@1: resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e" integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ== -d3-color@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2" - integrity sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA== - d3-dispatch@1: version "1.0.6" resolved "https://registry.yarnpkg.com/d3-dispatch/-/d3-dispatch-1.0.6.tgz#00d37bcee4dd8cd97729dd893a0ac29caaba5d58"