Skip to content

Commit

Permalink
@govuk-react/storybook as dependency of govuk-react (temporary)
Browse files Browse the repository at this point in the history
eslint needs to be configured to pick up exports that aren't in package.json

see import-js/eslint-plugin-import#1049

In the meantime we are including @govuk-react/storybook as a dependency, which will help ensure subdependencies are included.
  • Loading branch information
penx committed Apr 6, 2018
1 parent b5f4b70 commit 4d9ce93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/govuk-react/package.json
Expand Up @@ -33,6 +33,7 @@
"@govuk-react/related-items": "^0.1.25",
"@govuk-react/search-box": "^0.1.25",
"@govuk-react/select": "^0.1.25",
"@govuk-react/storybook": "^0.1.25",
"@govuk-react/text-area": "^0.1.25",
"@govuk-react/unordered-list": "^0.1.25",
"govuk-colours": "^1.0.3"
Expand Down
2 changes: 2 additions & 0 deletions packages/govuk-react/src/index.js
@@ -1,5 +1,7 @@
// 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
// In the meantime we are including @govuk-react/storybook as a dependency,
// which will help ensure subdependencies are included.

// Components
export { default as BackLink } from '@govuk-react/back-link';
Expand Down

0 comments on commit 4d9ce93

Please sign in to comment.