Skip to content

Remove src-docs files from eui.d.ts modules#3856

Merged
chandlerprall merged 3 commits intoelastic:masterfrom
chandlerprall:bug/3849-srcdocs-d-ts
Aug 3, 2020
Merged

Remove src-docs files from eui.d.ts modules#3856
chandlerprall merged 3 commits intoelastic:masterfrom
chandlerprall:bug/3849-srcdocs-d-ts

Conversation

@chandlerprall
Copy link
Copy Markdown
Contributor

Summary

Fixes #3849 by configuring our eui.d.ts generation to exclude src-docs/**/*

Tested by running node scripts/dtsgenerator.js and inspecting the generated file.

I also verified all there are no other entires outside of the src path with regex search module '@elastic/eui/(?!src) - with the sole exception of @elastic/eui/dist/eui_theme_*.json which is expected to be present.

### Checklist

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3856/

Copy link
Copy Markdown
Contributor

@pugnascotia pugnascotia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Built locally to check, LGTM

@chandlerprall chandlerprall merged commit e37f977 into elastic:master Aug 3, 2020
@chandlerprall chandlerprall deleted the bug/3849-srcdocs-d-ts branch August 3, 2020 20:42
@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3856/

nyurik pushed a commit that referenced this pull request Aug 18, 2020
* Remove src-docs files from eui.d.ts modules

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Published eui.d.ts file should not include src-doc components

3 participants