Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/openfeature/provider_t…
Browse files Browse the repository at this point in the history
…ests/go-integration-tests/github.com/open-feature/go-sdk-contrib/providers/go-feature-flag-0.1.6
  • Loading branch information
kodiakhq[bot] authored Mar 27, 2023
2 parents a79b6f4 + d39701d commit 59c1352
Show file tree
Hide file tree
Showing 8 changed files with 365 additions and 370 deletions.
12 changes: 1 addition & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,7 @@ updates:
open-pull-requests-limit: 30
labels:
- "dependencies"
- "automerge"

- package-ecosystem: npm
directory: "/website/"
schedule:
interval: weekly
time: "04:00"
open-pull-requests-limit: 30
labels:
- "dependencies"
# - "automerge"
- "automerge"

- package-ecosystem: maven
directory: "/openfeature/provider_tests/java-integration-tests"
Expand Down
7 changes: 7 additions & 0 deletions examples/demo/demo-flags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
color-box:
percentage: 10
# rule: key ew "9" # All the user with an ID starting with 9
# rule: key eq "123e4567-e89b-12d3-a456-426614174000" # Target a specific id
true: green
false: red
default: grey
2 changes: 1 addition & 1 deletion examples/demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
var users = make(map[string]ffuser.User, 2500)

func main() {
configFile := flag.String("configFile", "./flags.yaml", "flags.yaml")
configFile := flag.String("configFile", "./demo-flags.yaml", "flags.yaml")
flag.Parse()

_ = ffclient.Init(ffclient.Config{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.18
require (
cloud.google.com/go/storage v1.30.1
github.com/BurntSushi/toml v1.2.1
github.com/aws/aws-sdk-go v1.44.228
github.com/aws/aws-sdk-go v1.44.229
github.com/brpaz/echozap v1.1.3
github.com/fsouza/fake-gcs-server v1.44.1
github.com/gdexlab/go-render v1.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdko
github.com/agiledragon/gomonkey/v2 v2.3.1/go.mod h1:ap1AmDzcVOAz1YpeJ3TCzIgstoaWLA6jbbgxfB4w2iY=
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20220911224424-aa1f1f12a846 h1:et5J11AOyUn9qwkIAF9kcxTxjTO8Z9oSmlOqH7MVSPo=
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20220911224424-aa1f1f12a846/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM=
github.com/aws/aws-sdk-go v1.44.228 h1:CkkAlgNFf7qPZy/bAssF6lafR/ThMiiwKQEHVfPJixc=
github.com/aws/aws-sdk-go v1.44.228/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go v1.44.229 h1:lku0ZSHRzj/qtFVM//QE8VjV6kvJ6CFijDZSsjNaD9A=
github.com/aws/aws-sdk-go v1.44.229/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
Expand Down
678 changes: 339 additions & 339 deletions website/package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,43 @@
"eslint:fix": "eslint \"**/*.js\" --fix"
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/plugin-google-gtag": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@easyops-cn/docusaurus-search-local": "^0.33.6",
"@docusaurus/core": "^2.4.0",
"@docusaurus/plugin-google-gtag": "^2.4.0",
"@docusaurus/preset-classic": "^2.4.0",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"@hookform/error-message": "^2.0.1",
"@iarna/toml": "^2.2.5",
"@mdx-js/react": "^1.6.22",
"@uiw/react-textarea-code-editor": "^2.0.6",
"@uiw/react-textarea-code-editor": "^2.1.1",
"clsx": "^1.2.1",
"core-js": "^3.26.0",
"core-js": "^3.29.1",
"json2toml": "^4.0.1",
"lodash": "^4.17.21",
"mobx": "^6.6.2",
"mobx": "^6.9.0",
"prism-react-renderer": "^1.3.5",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-datepicker": "^4.8.0",
"react-dom": "^17.0.2",
"react-highlight": "^0.15.0",
"react-hook-form": "^7.40.0",
"react-hook-form": "^7.43.8",
"react-mailchimp-subscribe": "^2.1.3",
"react-sweet-progress": "^1.1.2",
"redoc": "^2.0.0",
"stream": "^0.0.2",
"stream-browserify": "^3.0.0",
"styled-components": "^5.3.6",
"styled-components": "^5.3.9",
"yaml": "^2.1.3"
},
"devDependencies": {
"@docusaurus/eslint-plugin": "^2.3.1",
"@docusaurus/module-type-aliases": "^2.3.1",
"eslint-config-prettier": "^8.5.0",
"@docusaurus/eslint-plugin": "^2.4.0",
"@docusaurus/module-type-aliases": "^2.4.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "^2.8.1"
"prettier": "^2.8.7"
},
"browserslist": {
"production": [
Expand Down
4 changes: 1 addition & 3 deletions website/src/components/editor/Variation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export function Variations({type, label}) {
rules: {minLength: 1},
});

function removeVariation({ index }) {
remove(index);
}
const removeVariation = index => remove(index);
const handleOnClick = () => append({});

return (
Expand Down

0 comments on commit 59c1352

Please sign in to comment.