Open chandlerprall opened 3 years ago
Pinging @elastic/kibana-operations (Team:Operations)
There is a similar issue in https://github.com/elastic/elastic-charts - @markov00 and I will 👀 this for the solution we should also incorporate there as well
Originally pointed out in https://github.com/elastic/kibana/pull/105127#issuecomment-877515410 [and this will also affect the charts library]
Starting in v35, we're using
"license": "SEE LICENSE IN LICENSE.txt",
in EUI's package.json to avoid npm/yarn's warning about a non-SPDX license (https://github.com/npm/npm/issues/8795). However, thelicense-checker
module used by Kibana falls back to a regex test which is detecting theApache
mention in LICENSE.txtI could check with legal about removing the
Apache
part from our license notice, but even so I believelicense-checker
wouldn't pick up the correct license as it has no knowledge of ELv2 or SSPL.Another thought I had is to expand Kibana's license overrides logic to allow version ranges, e.g.
@elastic/eui@>=35.0.0
instead of requiring exact matches.