kibana/packages/kbn-plugin-helpers/src
Rafael Lüder 9a6a349a46
fix: add REACT_18 env variable to kbn-plugin-helpers bazel config (#211121)
## Summary

Adds `REACT_18` to `kbn-plugin-helpers` bazel config, this fixes an
issue when trying to create plugins using the automatic plugin
generator. For context see
https://github.com/elastic/kibana/pull/210917#issuecomment-2657805726

Related user report: [Custom Plugin
Error](https://discuss.elastic.co/t/custom-plugin-error/366589)

Before fix:


![image](https://github.com/user-attachments/assets/e7e9e524-719e-4fdb-8598-050ec9f2f036)


After fix:


![image](https://github.com/user-attachments/assets/63d69d1a-bfc8-4be6-83a0-1c567be4d101)


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Co-authored-by: Jon <jon@elastic.co>
2025-02-18 17:37:57 +01:00
..
integration_tests chore(NA): upgrade to webpack 5 (#191106) 2025-02-14 03:01:36 +00:00
tasks fix: add REACT_18 env variable to kbn-plugin-helpers bazel config (#211121) 2025-02-18 17:37:57 +01:00
cli.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
config.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
find_plugin_dir.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
load_kibana_platform_plugin.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
resolve_kibana_version.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
task_context.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00