Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

openfeature-codemods-demo

Codemods for cleaning up OpenFeature usage in application code.

Packages

The first workflow step targets the OpenFeature Node.js server SDK (@openfeature/server-sdk). Additional workflow steps can be added later for other OpenFeature SDKs (web, React hooks, etc.) without renaming the package.

Develop

pnpm install
pnpm --filter ./codemods/cleanup/openfeature-remove-stale-flag test
pnpm --filter ./codemods/cleanup/openfeature-remove-stale-flag run check-types

Run the workflow against a sample tree (pass flagKey and value):

npx codemod workflow run \
  -w codemods/cleanup/openfeature-remove-stale-flag/workflow.yaml \
  --param flagKey=v2_enabled \
  --param value=true

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages