kibana/packages/kbn-get-repo-files
Spencer 1b85815402
[packages] migrate all plugins to packages (#148130)
Fixes https://github.com/elastic/kibana/issues/149344

This PR migrates all plugins to packages automatically. It does this
using `node scripts/lint_packages` to automatically migrate
`kibana.json` files to `kibana.jsonc` files. By doing this automatically
we can simplify many build and testing procedures to only support
packages, and not both "packages" and "synthetic packages" (basically
pointers to plugins).

The majority of changes are in operations related code, so we'll be
having operations review this before marking it ready for review. The
vast majority of the code owners are simply pinged because we deleted
all `kibana.json` files and replaced them with `kibana.jsonc` files, so
we plan on leaving the PR ready-for-review for about 24 hours before
merging (after feature freeze), assuming we don't have any blockers
(especially from @elastic/kibana-core since there are a few core
specific changes, though the majority were handled in #149370).

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-08 21:06:50 -06:00
..
get_repo_files.ts [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
jest.config.js [eslint] add rule for validating cross-boundary imports (#137116) 2022-07-25 18:49:17 -05:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
README.mdx [eslint] add rule for validating cross-boundary imports (#137116) 2022-07-25 18:49:17 -05:00
tsconfig.json [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00

---
id: kibDevDocsOpsGetRepoFiles
slug: /kibana-dev-docs/ops/get-repo-files
title: "@kbn/get-repo-files"
description: 'A tool which lists the files under source-control'
date: 2022-07-25
tags: ['kibana', 'dev', 'contributor', 'operations', 'packages', 'scripts', 'repo', 'files']
---

This package exposes a helper to retreive a list of the files checked into the repository. It does this using the `git ls-files` CLI with some post processing to detemine if unstaged changes represent files which are modified (have edits) or deleted.