-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
chore(NA): moving @kbn/tinymath into bazel #97022
Conversation
This comment has been minimized.
This comment has been minimized.
Pinging @elastic/kibana-operations (Team:Operations) |
@elastic/kibana-app Can I have a code owners review here ? I've migrated that package into the Bazel build system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I'm the most recent person who has maintained tinymath, and I need to make a few more changes in the near future, I am trying to understand how this affects my development flow.
Specifically, it looks like you have taken out the scripts that I would use to update the grammar definition. Normally I would run yarn build
from the same directory, but you've deleted this.
Second, it looks like you are now using the build products in the test code. My workflow is normally:
- Change the grammar.peg file
yarn build
- Jest will automatically pick up the change to grammar.js and rerun the tests
Will this workflow change?
Thanks for the quick feedback @wylieconlon Your workflow within our new build system for packages would be: 1- Change the grammar.peg file I've also summarised some info at https://github.com/elastic/kibana/blob/master/docs/developer/getting-started/monorepo-packages.asciidoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. I haven't actually checked out the code and followed that workflow, but I think the changes to tinymath itself are fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested build, watch, and server start on Windows. LGTM
…na into move-kbn-tinymath-into-bazel
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
* chore(NA): moving @kbn/tinymath into bazel * chore(NA): fixed jest tests * chore(NA): simplified tsconfig file Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* chore(NA): moving @kbn/tinymath into bazel * chore(NA): fixed jest tests * chore(NA): simplified tsconfig file Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
One step forward on #69706
That PR moves the
@kbn/tinymath
into Bazel by pushing a BUILD file for that package.After merging this the package will be consumed from within bazel-bin folder.