0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/src
Jack Franklin 7a2a41f208
chore: move code to src/ and emit with TypeScript ()
This updates our `tsconfig.json` so it emits our JavaScript files as
well as type checking them. We compile into `./lib` which we then ship
in our npm package. The source code has moved from `./lib` into `./src`.

Because the `src/` directory is exclusively JS files, this change is a
no-op in terms of code functionality but is the first step towards being
able to replace `src/X.js` with `src/X.ts` in a way that allows us to
migrate incrementally.

The `lib` directory is gitignored, and the `src` directory is
npmignored. On `npm publish` we will now run `npm run tsc` in order to
generate the outputted code.
2020-04-02 16:25:19 +02:00
..
.eslintrc.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Accessibility.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
api.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Browser.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
BrowserFetcher.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Connection.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Coverage.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
DeviceDescriptors.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Dialog.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
DOMWorld.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
EmulationManager.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Errors.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Events.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
ExecutionContext.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
externs.d.ts chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
FrameManager.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
helper.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Input.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
JSHandle.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Launcher.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
LifecycleWatcher.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Multimap.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
NetworkManager.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Page.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
PipeTransport.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
protocol.d.ts chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Puppeteer.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Target.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
TaskQueue.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
TimeoutSettings.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Tracing.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
USKeyboardLayout.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
WebSocketTransport.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00
Worker.js chore: move code to src/ and emit with TypeScript () 2020-04-02 16:25:19 +02:00