mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
1.2 KiB
1.2 KiB
How to review pull requests for packages
This documentation is intended for maintainers of this repository.
Checking out a branch of a fork
Follow the following steps to review a pull request from a fork. The example uses hypertunehq.
git remote add hypertunehq git@github.com:hypertunehq/flags.gitgit fetch hypertunehqgit checkout hypertunehq/update-hypertune-adapter
Or replace the last step with:
git checkout -b update-hypertune-adapter hypertunehq:update-hypertune-adapter
Testing with examples
You can try an updates to adapters with the existing examples in vercel/examples.
- Build the adapter
cd packages/adapter-hypertunepnpm build
- Try it out
- Clone https://github.com/vercel/examples/
- Change into
flags-sdk/hypertune - Run
pnpm install - Run
vc linkand link toVercel Examplesteam andflags-sdk-hypertunepackage - Run
vc env pull - Change the
@flags-sdk/launchdarklydependency offlags-sdk/hypertune/package.jsonto a relative path"@flags-sdk/launchdarkly": "file:../../../flags/packages/adapter-hypertune"
- Run
pnpm install