Bedrock utilities for static site generation.
yarn install @bedrockio/pages
Warning
When installing using Yarn v1 you may get errors due to the sharp
binary not installing correctly. To fix this use:
yarn install @bedrockio/pages --ignore-engines
In GCP, deploying a new version requires the default service account to have the ability to patch deployments. This can be added by applying the app-deployer role to your kubernetes cluster.
To deploy to Cloudflare Pages your project should use Yarn v3, otherwise the sharp
binary in favicons
may not deploy correctly.
Installing a new dependency to a package in the monorepo involves two steps:
yarn workspace @bedrockio/pages add <package>
# Required to consolidate dependencies to root
yarn install