-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DISCUSS] Script for pre-release EUI build testing in consuming projects #1808
Comments
I assume the build would be wiped on a |
I'm always up for whatever makes it easier without having to remember the entire procedure. One thing to note, I think I had trouble getting back to the original EUI without the link. And it most often always requires a |
Noted! I've always had problems getting things back in order even when linking / unlinking was successful. The script can backup the existing |
I was thinking copying the files themselves; symlinks aren't cross-platform (Windows) compatible. |
I tried some things out today and here's a diff containing a linking/copying script: master...thompsongl:link-eui Things to note:
Also, this is absolutely not the approach we need to take. I just needed something to better work through upcoming typescript config changes that would give consistent results when synced with Kibana. |
This will likely become a bigger priority: #1822 (comment) (yarn link + reading real file paths + different babel configs) |
Looked into using |
Ideally, this thought/script/thing could be expanded to support testing EUI builds against any number of projects. e.g. validate against create-react-app, codesandbox (snapshot a blank project?), etc. This should have the ability to run those projects' test and/or build scripts for validation. |
Found this tool which may satisfy many of the above constraints/ideas, however:
https://github.com/ORESoftware/r2g
|
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error. |
Because
node_modules
exists within the EUI project dir,yarn link
ing EUI into another project can create conflicts between dependency versions, most notably with React. Another recurring "issue" when testing EUI linked into another project is forgetting to buildchanges to EUI.I'd like to add a new
script
in EUI that mimics a linking behaviour by building & copying thees
andlib
directories to a specified project, then watch for changes to EUI sources and update thees
andlib
builds on additional changes.Something like
yarn build-into ~/projects/kibana
The text was updated successfully, but these errors were encountered: