mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f42336cf83
This PR moves the puppeteer source code into separate mono-repo packages: - `puppeteer` and `puppeteer-core` are now separated into their own packages. - `puppeteer-core` has a new exports called `puppeteer-core/internal` for internal usage. Tests and various tools have been updated to accommodate the migration.
16 lines
394 B
Bash
Executable File
16 lines
394 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Packs puppeteer using npm and moves the archive file to docker/puppeteer-latest.tgz.
|
|
# Expected cwd: project root directory.
|
|
|
|
set -e
|
|
|
|
cd docker
|
|
|
|
npm pack --workspace puppeteer --workspace puppeteer-core --pack-destination .
|
|
|
|
rm -f puppeteer-core-latest.tgz
|
|
rm -f puppeteer-latest.tgz
|
|
|
|
mv puppeteer-core-*.tgz puppeteer-core-latest.tgz
|
|
mv puppeteer-[0-9]*.tgz puppeteer-latest.tgz |