mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
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:
parent
46a0800203
commit
32491462a9
401 changed files with 3379 additions and 1360 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue