Add yaml dependency to apphosting build package
Summary
- declare
yamlas a runtime dependency of@apphosting/build - update the root lockfile workspace entry for
packages/@apphosting/build
Why
packages/@apphosting/build/src/index.ts imports parse from yaml, but the package did not declare yaml in its dependencies. npm flat installs can hide this through sibling dependencies, but strict package layouts such as pnpm isolated/no-hoist can fail when Firebase CLI loads App Hosting local build code.
Fixes #556.
Verification
- Reproduced the published failure with
[email protected]in a temporary pnpm project usingnode-linker=isolatedandhoist=false: loadingfirebase-tools/lib/apphosting/localbuilds.jsfailed withMODULE_NOT_FOUND Cannot find module 'yaml'. npm ci --ignore-scripts --no-audit --no-fundnpm --workspace @apphosting/common run buildnpm --workspace @apphosting/build run buildgit diff --check
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.