File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ packages/respect-core/src/modules/runtime-expressions/abnf-parser.cjs
66benchmark /api-definitions /
77LICENSE.md
88snapshot * .txt
9+ .changeset /pre.json
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set -eo pipefail # Fail on script errors
66git clone https://github.com/Rebilly/api-definitions.git
77
88# Store the command into a text file:
9- echo REDOCLY_SUPPRESS_UPDATE_NOTICE=true hyperfine -i -- warmup 3 $( cat package.json | jq ' .dependencies' | jq ' keys' | jq ' map("' \' ' node node_modules/" + . + "/bin/cli.js lint core@public --config=api-definitions/redocly.yaml' \' ' ")' | jq ' join(" ")' | xargs) --export-markdown benchmark_check.md --export-json benchmark_check.json > test-command.txt
9+ echo REDOCLY_SUPPRESS_UPDATE_NOTICE=true hyperfine -- warmup 3 $( cat package.json | jq ' .dependencies' | jq ' keys' | jq ' map("' \' ' node node_modules/" + . + "/bin/cli.js lint --config=api-definitions/redocly.yaml --generate-ignore-file ' \' ' ")' | jq ' join(" ")' | xargs) --export-markdown benchmark_check.md --export-json benchmark_check.json > test-command.txt
1010
1111# Put the command in the test section of the package.json:
1212cat package.json | jq " .scripts.test = \" $( cat test-command.txt) \" " > package.json
You can’t perform that action at this time.
0 commit comments