Add prettier (closes #1)

Install prettier globally beside wrangler and wrangler's peers, and
check it in the smoke test. prettier ships no distro package for
Ubuntu, so npm global is the standard install.

Model: deepseek-v4-pro
This commit is contained in:
2026-11-05 13:53:02 +00:00
parent ce924fd762
commit d96a33f6db
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -61,7 +61,7 @@ nvm install --lts
nvm alias default "lts/*"
nvm use default
set -ux
npm install -g npm@latest corepack wrangler
npm install -g npm@latest corepack wrangler prettier
corepack enable
# Pre-populate the corepack cache so projects that pin a package manager
# do not download at run time. The last yarn installed becomes the default.
@@ -102,6 +102,7 @@ npm --version
COREPACK_ENABLE_NETWORK=0 yarn --version
COREPACK_ENABLE_NETWORK=0 pnpm --version
wrangler --version
prettier --version
python3 --version
pip --version
virtualenv --version