dependencies: Switch to pnpm.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-03-20 11:52:59 -07:00
committed by Tim Abbott
parent b3f9fdf99a
commit 3a27b12a7d
31 changed files with 12314 additions and 12310 deletions

View File

@@ -40,14 +40,14 @@ cp -a \
tools/ci/production-pgroonga \
tools/ci/production-upgrade-pg \
tools/ci/generate-failure-message \
package.json yarn.lock \
package.json pnpm-lock.yaml \
/tmp/production-build
# Check that webpack bundles use only ES2019 syntax.
# Use the yarn binary installed by tools/provision.
YARN="/usr/local/bin/yarn"
# Use the pnpm binary installed by tools/provision.
PNPM="/usr/local/bin/pnpm"
tar -C /tmp -xzf /tmp/production-build/zulip-server-test.tar.gz zulip-server-test/prod-static/serve/webpack-bundles
(
GLOBIGNORE=/tmp/zulip-server-test/prod-static/serve/webpack-bundles/katex-cli.js
$YARN run es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js
"$PNPM" exec es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js
)