kibana/.gitignore
Gerard Soldevila 6a7c904f92
SKA: Relocate "platform" packages that remain on /packages (#208704)
## Summary

The `/packages` folder at the root of the Kibana repository used to
contain a lot of packages.
In the context of SKA, they have been gradually moved to various
locations:
* `src/platform/packages`
* `x-pack/platform/packages`
* `src/core/packages`

Currently, only `devOnly: true` packages are left in this folder. This
comprises libraries for CLI scripts as well as testing utilities.

With this PR, we are moving ~half of these packages under
`src/platform/packages/(private|shared)/`.
In particular, we are moving those packages that are being used from
platform and/or solutions.

Since they are `"devOnly": true`, this means they are ONLY used from
tests, cypress tests, storybook configs, ./scripts/ folders inside some
modules, or other non-prod-time logic. Nonetheless, they are effectively
referenced from platform and/or solutions code, hence I decided they
should be placed under `platform` folders.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-24 11:03:30 +00:00

166 lines
4.2 KiB
Text

.aws-config.json
.signing-config.json
.ackrc
/.es
/.chromium
.DS_Store
.node_binaries
/.beats
.native_modules
node_modules
!/src/dev/npm/integration_tests/__fixtures__/fixture1/node_modules
!/src/dev/notice/__fixtures__/node_modules
!/src/platform/packages/private/kbn-import-resolver/src/__fixtures__/node_modules
!/src/platform/packages/private/kbn-import-resolver/src/__fixtures__/packages/box/node_modules
trash
/optimize
/built_assets
target
/build
.jruby
.idea
*.iml
*.log
types.eslint.config.js
types.eslint.config.cjs
__tmp__
# Ignore example plugin builds
/examples/*/build
/x-pack/examples/*/build
# Ignore certain functional test runner artifacts
/test/*/failure_debug
/test/*/screenshots/diff
/test/*/screenshots/failure
/test/*/screenshots/session
/test/*/screenshots/visual_regression_gallery.html
# Ignore the same artifacts in x-pack
/x-pack/test/*/failure_debug
/x-pack/test/*/screenshots/diff
/x-pack/test/*/screenshots/failure
/x-pack/test/*/screenshots/session
/x-pack/test/*/screenshots/visual_regression_gallery.html
/x-pack/test/functional/apps/*/*/reporting/reports/failure
# Ignore the same artifacts in x-pack/test_serverless
/x-pack/test_serverless/*/failure_debug
/x-pack/test_serverless/*/screenshots/diff
/x-pack/test_serverless/*/screenshots/failure
/x-pack/test_serverless/*/screenshots/session
/x-pack/test_serverless/*/screenshots/visual_regression_gallery.html
/x-pack/test_serverless/functional/apps/*/*/reporting/reports/failure
/html_docs
.eslintcache
/plugins/
/data
disabledPlugins
webpackstats.json
/config/*
!/config/kibana.yml
!/config/README.md
!/config/serverless.yml
!/config/serverless.es.yml
!/config/serverless.oblt.yml
!/config/serverless.security.yml
!/config/node.options
coverage
!/test/common/fixtures/plugins/coverage
selenium
.babel_register_cache.json
.webpack.babelcache
*.swp
*.swo
*.out
package-lock.json
!/.buildkite/package-lock.json
.yo-rc.json
.vscode
*.sublime-*
npm-debug.log*
.tern-project
.nyc_output
.gradle
.vagrant
.envrc
## Snyk
.dccache
## @cypress/snapshot from apm plugin
/snapshots.js
/apm-diagnostics*.json
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
# transpiled cypress config
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
x-pack/platform/plugins/shared/fleet/cypress.config.js
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
x-pack/platform/plugins/shared/osquery/cypress.config.js
x-pack/solutions/search/plugins/enterprise_search/cypress.config.d.ts
x-pack/solutions/search/plugins/enterprise_search/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.js
# release notes script output
report.csv
report.asciidoc
# TS incremental build cache
*.tsbuildinfo
# Automatically generated and user-modifiable
/tsconfig.refs.json
*.type_check.json
# Yarn local mirror content
.yarn-local-mirror
# Bazel
.ijwb
/bazel
/bazel-*
.bazelrc.user
.bazelrc.cache
elastic-agent-*
fleet-server-*
elastic-agent.yml
fleet-server.yml
src/platform/packages/**/package-map.json
/packages/**/config-paths.json
/packages/kbn-synthetic-package-map/
**/.synthetics/
**/.journeys/
**/.rca/
x-pack/test/security_api_integration/plugins/audit_log/audit.log
# ignore FTR temp directory
.ftr
role_users.json
# ignore Scout temp directory
.scout
.devcontainer/.env
# Ignore temporary files in oas_docs
oas_docs/output/kibana.serverless.tmp*.yaml
oas_docs/output/kibana.tmp*.yaml
oas_docs/output/kibana.new.yaml
oas_docs/output/kibana.serverless.new.yaml
# Security Solution Playwright
x-pack/test/security_solution_playwright/test-results/
x-pack/test/security_solution_playwright/playwright-report/
x-pack/test/security_solution_playwright/blob-report/
x-pack/test/security_solution_playwright/playwright/.cache/
x-pack/test/security_solution_playwright/.auth/
x-pack/test/security_solution_playwright/.env
.codeql
.dependency-graph-log.json