Skip to content

Commit be1eb4c

Browse files
authoredJan 14, 2021
chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (elastic#88346)
1 parent f33225d commit be1eb4c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed
 

‎.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puppeteer_skip_chromium_download=true

‎package.json

-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
"number": 8467,
2020
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
2121
},
22-
"config": {
23-
"puppeteer_skip_chromium_download": true
24-
},
2522
"homepage": "https://www.elastic.co/products/kibana",
2623
"bugs": {
2724
"url": "http://github.com/elastic/kibana/issues"

‎src/dev/build/tasks/clean_tasks.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ export const CleanPackages: Task = {
4141
description: 'Cleaning source for packages that are now installed in node_modules',
4242

4343
async run(config, log, build) {
44-
await deleteAll([build.resolvePath('packages'), build.resolvePath('yarn.lock')], log);
44+
await deleteAll(
45+
[build.resolvePath('packages'), build.resolvePath('yarn.lock'), build.resolvePath('.npmrc')],
46+
log
47+
);
4548
},
4649
};
4750

‎src/dev/build/tasks/copy_source_task.ts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const CopySource: Task = {
2727
dot: false,
2828
select: [
2929
'yarn.lock',
30+
'.npmrc',
3031
'src/**',
3132
'!src/**/*.{test,test.mocks,mock}.{js,ts,tsx}',
3233
'!src/**/mocks.ts', // special file who imports .mock files

0 commit comments

Comments
 (0)
Please sign in to comment.