Skip to content

Commit

Permalink
chore(NA): assure puppeteer_skip_chromium_download is applied across …
Browse files Browse the repository at this point in the history
…every yarn install situation (elastic#88346)
  • Loading branch information
mistic authored Jan 14, 2021
1 parent f33225d commit be1eb4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puppeteer_skip_chromium_download=true
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion src/dev/build/tasks/clean_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
},
};

Expand Down
1 change: 1 addition & 0 deletions src/dev/build/tasks/copy_source_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be1eb4c

Please sign in to comment.