Skip to content
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

[kbn/pm] throw an error if package doesn't have a script #89438

Merged
merged 2 commits into from
Jan 27, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jan 27, 2021

@brianseeders noticed that running yarn kbn run build -i @kbn/es wasn't building the kbn/es package, but it wasn't clear why. Turns out in #78090 I didn't actually add a "build" script to package.json. This add that script and updates kbn/pm to validate the script is actually available in the packages you select when using yarn kbn run. This check can be skipped by passing --skip-missing.

@spalger spalger requested a review from a team as a code owner January 27, 2021 16:26
@spalger spalger added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.11.0 v7.12.0 v8.0.0 labels Jan 27, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger merged commit 3c60443 into elastic:master Jan 27, 2021
@spalger spalger deleted the implement/kbn-pm-script-check branch January 27, 2021 18:22
spalger added a commit to spalger/kibana that referenced this pull request Jan 27, 2021
* [kbn/pm] throw an error if package doesn't have a script

* actually add the kbn/es build script 🤦‍♂️

Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit that referenced this pull request Jan 27, 2021
…) (#89463)

* [kbn/pm] throw an error if package doesn't have a script

* actually add the kbn/es build script 🤦‍♂️

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 29, 2021
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

spalger added a commit that referenced this pull request Jan 29, 2021
… (#89462)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants