Add .puppeteerrc (#179847)

Puppeteer uses cosmiconfig to load configuration files. We're seeing
permissions issues for various reasons due to the global search strategy
employed by puppeteer.

This should short circuit configuration lookups outside of the Kibana
directory.

Closes https://github.com/elastic/kibana/issues/168639

https://pptr.dev/api/puppeteer.configuration
This commit is contained in:
Jon 2024-04-03 09:14:39 -05:00 committed by GitHub
parent f13cc8c191
commit 0b7d63400c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
.puppeteerrc Normal file
View file

@ -0,0 +1 @@
skipDownload: true

View file

@ -21,6 +21,7 @@ export const CopyLegacySource: Task = {
const select = [
'yarn.lock',
'.npmrc',
'.puppeteerrc',
'config/kibana.yml',
'config/node.options',
'.i18nrc.json',