mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: run post-install hooks (#11403)
This commit is contained in:
parent
f9f31ce9fa
commit
3f6ca249ed
@ -74,7 +74,12 @@ function addDependencies(options: SchematicsOptions): Rule {
|
||||
map(packages => {
|
||||
context.logger.debug('Updating dependencies...');
|
||||
addPackageJsonDependencies(tree, packages, DependencyType.Dev);
|
||||
context.addTask(new NodePackageInstallTask());
|
||||
context.addTask(
|
||||
new NodePackageInstallTask({
|
||||
// Trigger Post-Install hooks to download the browser
|
||||
allowScripts: true,
|
||||
})
|
||||
);
|
||||
|
||||
return tree;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user