Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ proto/
.idea
.cursor/

node_modules
node_modules
.worktrees/
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ test: gen-schema-json ajv-validate-flagd-schema
go test -v ./json

ajv-validate-flagd-schema:
@if ! npm ls ajv-cli; then npm ci; fi
npx ajv compile -s json/targeting.json
@if ! npm ls @jirutka/ajv-cli; then npm ci; fi
npx ajv compile -s json/targeting.json -o /dev/null
# load dependent schemas with -r
npx ajv compile -r json/targeting.json -s json/flags.json
npx ajv compile -r json/targeting.json -r json/flags.json -s json/flagd.json
npx ajv compile -r json/targeting.json -s json/flags.json -o /dev/null
npx ajv compile -r json/targeting.json -r json/flags.json -s json/flagd.json -o /dev/null
299 changes: 89 additions & 210 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "@openfeature/schemas",
"private": true,
"devDependencies": {
"ajv-cli": "^5.0.0"
"@jirutka/ajv-cli": "^6.0.0"
}
}
Loading