kibana/.gitignore
Kibana Machine 374b427be3
[8.9] Fix @kbn/import-resolver detection of nested node_modules (#162391) (#162457)
# Backport

This will backport the following commits from `main` to `8.9`:
- [Fix @kbn/import-resolver detection of nested node_modules
(#162391)](https://github.com/elastic/kibana/pull/162391)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-07-25T08:09:05Z","message":"Fix
@kbn/import-resolver detection of nested node_modules
(#162391)\n\nEnsure that a plugin containing a nested `node_modules`
folder correctly\r\nidentifies imports from that folder as regular node
modules instead of relative imports. \r\n\r\nKibana should currently
only have a single root `node_modules` folder, so this should\r\nnot be
a real issue. However, if for some reason a stray `node_modules` folder
is\r\ncreated, this commit will make sure it's not introducing hard to
debug ESLint
errors.","sha":"70b337a1353a63ff536dbd45fce5648a58ffff87","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v8.10.0","v8.9.1"],"number":162391,"url":"https://github.com/elastic/kibana/pull/162391","mergeCommit":{"message":"Fix
@kbn/import-resolver detection of nested node_modules
(#162391)\n\nEnsure that a plugin containing a nested `node_modules`
folder correctly\r\nidentifies imports from that folder as regular node
modules instead of relative imports. \r\n\r\nKibana should currently
only have a single root `node_modules` folder, so this should\r\nnot be
a real issue. However, if for some reason a stray `node_modules` folder
is\r\ncreated, this commit will make sure it's not introducing hard to
debug ESLint
errors.","sha":"70b337a1353a63ff536dbd45fce5648a58ffff87"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162391","number":162391,"mergeCommit":{"message":"Fix
@kbn/import-resolver detection of nested node_modules
(#162391)\n\nEnsure that a plugin containing a nested `node_modules`
folder correctly\r\nidentifies imports from that folder as regular node
modules instead of relative imports. \r\n\r\nKibana should currently
only have a single root `node_modules` folder, so this should\r\nnot be
a real issue. However, if for some reason a stray `node_modules` folder
is\r\ncreated, this commit will make sure it's not introducing hard to
debug ESLint
errors.","sha":"70b337a1353a63ff536dbd45fce5648a58ffff87"}},{"branch":"8.9","label":"v8.9.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-07-25 02:17:56 -07:00

136 lines
2.8 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
!/packages/kbn-import-resolver/src/__fixtures__/node_modules
!/packages/kbn-import-resolver/src/__fixtures__/packages/box/node_modules
trash
/optimize
/built_assets
target
/build
.jruby
.idea
*.iml
*.log
types.eslint.config.js
__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
.ci/pipeline-library/build/
.ci/runbld
.ci/bash_standard_lib.sh
.gradle
.vagrant
.envrc
## Snyk
.dccache
## @cypress/snapshot from apm plugin
/snapshots.js
/apm-diagnostics*.json
# transpiled cypress config
x-pack/plugins/fleet/cypress.config.d.ts
x-pack/plugins/fleet/cypress.config.js
x-pack/plugins/osquery/cypress.config.d.ts
x-pack/plugins/osquery/cypress.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
/packages/*/package-map.json
/packages/*/config-paths.json
/packages/kbn-synthetic-package-map/
**/.synthetics/
**/.journeys/
x-pack/test/security_api_integration/plugins/audit_log/audit.log