Skip to content

Commit

Permalink
Merge pull request #49 from beeme1mr/update-sdk
Browse files Browse the repository at this point in the history
move OpenFeature to be a peer dependency and bump to v1

Release-As: 1.0.0
  • Loading branch information
Steve Arch authored Oct 20, 2022
2 parents 98085d9 + 06c9a5a commit 9e022e0
Show file tree
Hide file tree
Showing 3 changed files with 428 additions and 420 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![a](https://img.shields.io/badge/slack-%40cncf%2Fopenfeature-brightgreen?style=flat&logo=slack)](https://cloud-native.slack.com/archives/C0344AANLA1)
[![OpenFeature Specification](https://img.shields.io/static/v1?label=OpenFeature%20Specification&message=v0.5.0&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.0)
[![OpenFeature SDK](https://img.shields.io/static/v1?label=OpenFeature%20SDK&message=v0.5.1&color=green)](https://github.com/open-feature/js-sdk/tree/v0.5.1)
[![OpenFeature Specification](https://img.shields.io/static/v1?label=OpenFeature%20Specification&message=v0.5.1&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.1)
[![OpenFeature SDK](https://img.shields.io/static/v1?label=OpenFeature%20SDK&message=v1.0.0&color=green)](https://github.com/open-feature/js-sdk/tree/v1.0.0)
[![npm version](https://badge.fury.io/js/cloudbees-openfeature-provider-node.svg)](https://badge.fury.io/js/cloudbees-openfeature-provider-node)
[![CloudBees Rox SDK](https://img.shields.io/static/v1?label=Rox%20SDK&message=v5.4.1&color=green)](https://www.npmjs.com/package/rox-node)
[![Known Vulnerabilities](https://snyk.io/test/github/rollout/cloudbees-openfeature-provider-node/badge.svg)](https://snyk.io/test/github/rollout/cloudbees-openfeature-provider-node)
Expand All @@ -29,6 +29,16 @@ or
yarn add cloudbees-openfeature-provider-node
```

### Confirm peer dependencies are installed
```bash
npm install @openfeature/js-sdk
```
or
```bash
yarn add @openfeature/js-sdk
```


### Configuration

Follow the instructions on the [Javascript SDK project](https://github.com/open-feature/js-sdk) for how to use the Javascript SDK.
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@
"dist/"
],
"dependencies": {
"@openfeature/js-sdk": "^0.5.1",
"rox-node": "^5.4.2"
},
"peerDependencies": {
"@openfeature/js-sdk": "^1.0.0"
},
"devDependencies": {
"@openfeature/js-sdk": "^1.0.0",
"@types/jest": "^28.1.4",
"@types/node": "^18.7.16",
"@types/rox-node": "^5.0.1",
Expand Down
Loading

0 comments on commit 9e022e0

Please sign in to comment.