mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (#88346) (#88379)
This commit is contained in:
parent
dfe1c0b040
commit
049b45f8a6
4 changed files with 6 additions and 4 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
@ -0,0 +1 @@
|
|||
puppeteer_skip_chromium_download=true
|
|
@ -19,9 +19,6 @@
|
|||
"number": 8467,
|
||||
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
|
||||
},
|
||||
"config": {
|
||||
"puppeteer_skip_chromium_download": true
|
||||
},
|
||||
"homepage": "https://www.elastic.co/products/kibana",
|
||||
"bugs": {
|
||||
"url": "http://github.com/elastic/kibana/issues"
|
||||
|
|
|
@ -41,7 +41,10 @@ export const CleanPackages: Task = {
|
|||
description: 'Cleaning source for packages that are now installed in node_modules',
|
||||
|
||||
async run(config, log, build) {
|
||||
await deleteAll([build.resolvePath('packages'), build.resolvePath('yarn.lock')], log);
|
||||
await deleteAll(
|
||||
[build.resolvePath('packages'), build.resolvePath('yarn.lock'), build.resolvePath('.npmrc')],
|
||||
log
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ export const CopySource: Task = {
|
|||
dot: false,
|
||||
select: [
|
||||
'yarn.lock',
|
||||
'.npmrc',
|
||||
'src/**',
|
||||
'!src/**/*.{test,test.mocks,mock}.{js,ts,tsx}',
|
||||
'!src/**/mocks.ts', // special file who imports .mock files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue