@sinatra-dev/sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -144,6 +144,7 @@ npm run generate # regenerates src/generated from openapi.json
144
144
  npm run typecheck && npm run build
145
145
  npm test # wrapper tests against a local stub server
146
146
  npm run test:contract # every operation against a Prism mock of openapi.json
147
+ npm run test:contract:future # the same, with new fields added to the spec
147
148
  npm run test:version # scripts/next-version.sh
148
149
  ```
149
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinatra-dev/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "TypeScript client for the Sinatra API: start, follow and stop Sinatra tasks, and delegate Linear and GitHub issues.",
5
5
  "keywords": [
6
6
  "sinatra",
@@ -58,7 +58,8 @@
58
58
  "smoke": "node scripts/smoke.mjs",
59
59
  "prepack": "npm run build",
60
60
  "check:package": "publint --strict && attw --pack . --profile node16",
61
- "tools": "bash scripts/install-oasdiff.sh"
61
+ "tools": "bash scripts/install-oasdiff.sh",
62
+ "test:contract:future": "mkdir -p .tools && jq -f test/contract/future-fields.jq openapi.json > .tools/future-openapi.json && CONTRACT_SPEC=.tools/future-openapi.json node scripts/contract.mjs"
62
63
  },
63
64
  "devDependencies": {
64
65
  "@arethetypeswrong/cli": "0.18.5",