From 3d9a2951ff558a3d122cf9c0b878329c20eaacb2 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Mon, 3 Aug 2020 10:49:47 -0600 Subject: [PATCH 1/2] Remove src-docs files from eui.d.ts modules --- scripts/dtsgenerator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dtsgenerator.js b/scripts/dtsgenerator.js index 48ee9deff7b..8f4fe4dcd4c 100644 --- a/scripts/dtsgenerator.js +++ b/scripts/dtsgenerator.js @@ -36,7 +36,8 @@ const generator = dtsGenerator({ '**/*.testenv.ts', '**/*.testenv.tsx', 'src/themes/charts/*', // A separate d.ts file is generated for the charts theme file - 'src/test/*' // A separate d.ts file is generated for test utils + 'src/test/*', // A separate d.ts file is generated for test utils + 'src-docs/**/*', // Don't include src-docs ], resolveModuleId(params) { if ( From 748657079922e3db3407e069dae4916c8c805b02 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Mon, 3 Aug 2020 14:41:03 -0600 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4009154b42e..fba04819dc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `27.3.1`. +**Bug fixes** + +- Removed `@elastic/eui/src-docs` entries from published _eui.d.ts_ ([#3856](https://github.com/elastic/eui/pull/3856)) ## [`27.3.1`](https://github.com/elastic/eui/tree/v27.3.1)