- Node.js version used by ci-operator-buildroot image
- Yarn package manager
Fork the upstream OpenShift Dynamic Plugin SDK repo,
then git clone
your forked repo. Refer to GitHub docs
for details.
We suggest renaming the Git remote representing the upstream repo to upstream
. For example, assuming
your GitHub user name is your_user_name
:
$ git remote -v
upstream https://github.com/openshift/dynamic-plugin-sdk.git (fetch)
upstream https://github.com/openshift/dynamic-plugin-sdk.git (push)
your_user_name https://github.com/your_user_name/dynamic-plugin-sdk.git (fetch)
your_user_name https://github.com/your_user_name/dynamic-plugin-sdk.git (push)
yarn install
yarn build-libs
Alternatively, run test.sh
which builds, lints and tests all the packages.
yarn eslint path/to/lint
yarn jest path/to/test