Skip to content

Commit

Permalink
Merge pull request #257 from Flagsmith/khvn26-patch-1
Browse files Browse the repository at this point in the history
fix: Use main ref for evaluation context JSON schema
  • Loading branch information
khvn26 authored Oct 3, 2024
2 parents 3d0e8b8 + ba2bafc commit 3d0e3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"deploy:beta": "npm run build && npm test && cd ./lib/flagsmith/ && npm publish --tag beta && cd ../../lib/react-native-flagsmith && npm publish --tag beta && cd ../../lib/flagsmith-es && npm publish --tag beta",
"build": "npm run generatetypes && rollup -c && node ./move-react.js",
"test": "jest --env=jsdom",
"generatetypes": "curl https://raw.githubusercontent.com/Flagsmith/flagsmith/feat/evaluation-context-schema/sdk/evaluation-context.json -o evaluation-context.json && npx quicktype -o evaluation-context.ts --src-lang schema --just-types --no-prefer-types --nice-property-names evaluation-context.json && rm evaluation-context.json"
"generatetypes": "curl https://raw.githubusercontent.com/Flagsmith/flagsmith/refs/heads/main/sdk/evaluation-context.json -o evaluation-context.json && npx quicktype -o evaluation-context.ts --src-lang schema --just-types --no-prefer-types --nice-property-names evaluation-context.json && rm evaluation-context.json"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3d0e3b2

Please sign in to comment.