- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
27 lines
945 B
JavaScript
Executable File
27 lines
945 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
/**
|
|
* @license
|
|
* Copyright 2023 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
import { CLI, Browser } from '@puppeteer/browsers';
|
|
import { PUPPETEER_REVISIONS } from 'puppeteer-core/internal/revisions.js';
|
|
import puppeteer from '../puppeteer.js';
|
|
// TODO: deprecate downloadPath in favour of cacheDirectory.
|
|
const cacheDir = puppeteer.configuration.downloadPath ??
|
|
puppeteer.configuration.cacheDirectory;
|
|
void new CLI({
|
|
cachePath: cacheDir,
|
|
scriptName: 'puppeteer',
|
|
prefixCommand: {
|
|
cmd: 'browsers',
|
|
description: 'Manage browsers of this Puppeteer installation',
|
|
},
|
|
allowCachePathOverride: false,
|
|
pinnedBrowsers: {
|
|
[Browser.CHROME]: PUPPETEER_REVISIONS.chrome,
|
|
[Browser.FIREFOX]: PUPPETEER_REVISIONS.firefox,
|
|
[Browser.CHROMEHEADLESSSHELL]: PUPPETEER_REVISIONS['chrome-headless-shell'],
|
|
},
|
|
}).run(process.argv);
|
|
//# sourceMappingURL=cli.js.map
|