add kibana.jsonc files to existing packages (#138965)

* [packages] add kibana.jsonc files

* auto-migrate to kibana.jsonc

* support interactive pkg id selection too

* remove old codeowners entry

* skip codeowners generation when .github/CODEOWNERS doesn't exist

* fall back to format validation if user is offline

* update question style

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Spencer 2022-09-08 15:31:57 -05:00 committed by GitHub
parent 46a0800203
commit 32491462a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
401 changed files with 3379 additions and 1360 deletions

View file

@ -41,11 +41,11 @@ export const command = {
const { discoverBazelPackages } = await import('@kbn/bazel-packages');
const packages = await discoverBazelPackages(REPO_ROOT);
for (const { pkg, normalizedRepoRelativeDir } of packages) {
for (const { manifest, pkg, normalizedRepoRelativeDir } of packages) {
if (
exclude.includes(pkg.name) ||
(include.length && !include.includes(pkg.name)) ||
!pkg.scripts ||
exclude.includes(manifest.id) ||
(include.length && !include.includes(manifest.id)) ||
!pkg?.scripts ||
!Object.hasOwn(pkg.scripts, scriptName)
) {
continue;