puppeteer/src
Jack Franklin 502ed8c84c
chore(agnostify): Create Node and Web initializer. (#6477)
* chore(agnostify): Create Node and Web initializer.

This PR splits `initialize.ts` into two files, one for web, and one for
Node. The Node initializer requires much more information as it needs to
know which browser(s) to download and where to store them, whereas the
web one does not.

A future PR that I'm working on will tidy up `src/common/Puppeteer.ts`
(as it contains a lot of Node specific logic around downloading and
installing browsers), but this change enables us to stop the browser
bundle attempting to use the `pkg-dir` dependency, which wouldn't work
within a browser, as well as keeping the size of the PRs down and
avoiding one mammoth PR.
2020-10-07 14:48:01 +01:00
..
common chore(agnostify): Create Node and Web initializer. (#6477) 2020-10-07 14:48:01 +01:00
node fix: update preferences in default Firefox profile (#6465) 2020-10-05 07:17:21 +02:00
.eslintrc.js chore: move code to src/ and emit with TypeScript (#5568) 2020-04-02 16:25:19 +02:00
api-docs-entry.ts docs(queryhandler): add custom query handler docs (#6476) 2020-10-07 10:43:46 +02:00
environment.ts fix: make Node.js environment detection robust w.r.t. JSDOM (#6148) 2020-07-03 10:56:28 +02:00
index-core.ts chore(agnostify): Create Node and Web initializer. (#6477) 2020-10-07 14:48:01 +01:00
index.ts chore(agnostify): Create Node and Web initializer. (#6477) 2020-10-07 14:48:01 +01:00
initialize-node.ts chore(agnostify): Create Node and Web initializer. (#6477) 2020-10-07 14:48:01 +01:00
initialize-web.ts chore(agnostify): Create Node and Web initializer. (#6477) 2020-10-07 14:48:01 +01:00
install.ts feat: support configuring the browser download path (#6014) 2020-08-10 10:37:31 +02:00
revisions.ts feat(chromium) roll Chromium to r809590 (#6458) 2020-10-01 08:24:47 +02:00
tsconfig.cjs.json chore: vendor Mitt & update project structure (#6209) 2020-07-14 16:57:29 +01:00
tsconfig.esm.json chore: vendor Mitt & update project structure (#6209) 2020-07-14 16:57:29 +01:00