Skip to content

DevCycleHQ-Sandbox/OpenFeature-Codemod

Repository files navigation

OpenFeature Codemods

This repository is a collection of Codemods to help convert codebases from an existing vendor's SDKs to OpenFeature SDKs using the existing vendor's OpenFeature Provider.

Note: these Codemods are just the starting point, they should cover most of the brute-force work, but will need manual review and cleanup to work in your codebase

Run Codemod

First install the Codemod NPM package:

npm i -g codemod

Run Codemod:

codemod devcycle-to-openfeature-nodejs-workflow

Testing The Codemods

In each folder first install packages using pnpm install, then run the tests using pnpm test. The tests primarily just ensure that the test fixtures under __testfixtures__ transform correctly using the Codemod.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published