From ce72dc391ad39c4d8bf00cb13d13cc7b1c58a805 Mon Sep 17 00:00:00 2001 From: Alasdair McLeay Date: Mon, 26 Mar 2018 10:23:58 +0100 Subject: [PATCH] Missing dependencies in govuk-react (#167) Ideally this should be automatically picked up but awaiting feedback on associated eslint plugin - https://github.com/benmosher/eslint-plugin-import/issues/1049 --- packages/govuk-react/package.json | 1 + packages/govuk-react/src/index.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/govuk-react/package.json b/packages/govuk-react/package.json index 8d75b2853..80e9aeeab 100644 --- a/packages/govuk-react/package.json +++ b/packages/govuk-react/package.json @@ -14,6 +14,7 @@ "@govuk-react/grid-row": "^0.1.23", "@govuk-react/header": "^0.1.23", "@govuk-react/hint-text": "^0.1.23", + "@govuk-react/hoc": "^0.1.23", "@govuk-react/icons": "^0.1.23", "@govuk-react/input": "^0.1.23", "@govuk-react/input-field": "^0.1.23", diff --git a/packages/govuk-react/src/index.js b/packages/govuk-react/src/index.js index e0c7a72e5..09a87e990 100644 --- a/packages/govuk-react/src/index.js +++ b/packages/govuk-react/src/index.js @@ -1,3 +1,6 @@ +// TODO: eslint needs to be configured to pick up exports that aren't in package.json +// see https://github.com/benmosher/eslint-plugin-import/issues/1049 + // Components export { default as BackLink } from '@govuk-react/back-link'; export { default as Breadcrumb } from '@govuk-react/breadcrumb';