mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
8ff953b592
* docs: remove Hypertune provider pages * docs: make Vercel Flags the primary featured provider * docs: deprecate the Hypertune page instead of removing it * [@flags-sdk/hypertune] Deprecate the package * docs: revert full-width Vercel card * docs: hide Hypertune from the sidebar * docs: use LaunchDarkly as the example in REVIEWS.md
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.
Replace <fork-owner> and <branch> with the GitHub user and branch of the pull request.
git remote add <fork-owner> git@github.com:<fork-owner>/flags.gitgit fetch <fork-owner>git checkout <fork-owner>/<branch>
Or replace the last step with:
git checkout -b <branch> <fork-owner>/<branch>
Testing with examples
You can try an updates to adapters with the existing examples in vercel/examples. The example uses the LaunchDarkly adapter.
- Build the adapter
cd packages/adapter-launchdarklypnpm build
- Try it out
- Clone https://github.com/vercel/examples/
- Change into
flags-sdk/launchdarkly - Run
pnpm install - Run
vc linkand link toVercel Examplesteam andflags-sdk-launchdarklyproject - Run
vc env pull - Change the
@flags-sdk/launchdarklydependency offlags-sdk/launchdarkly/package.jsonto a relative path"@flags-sdk/launchdarkly": "file:../../../flags/packages/adapter-launchdarkly"
- Run
pnpm install