Skip to content

Tags: BRIKEV/twd-cli

Tags

v1.1.15

Toggle v1.1.15's commit message
fix: regenerate lockfile on linux to sync @emnapi to 1.10.0

npm on macOS never installs @rolldown/binding-wasm32-wasi, so it leaves
its pinned @emnapi/* transitive deps stale in the lock, breaking npm ci
on Linux CI. Adds npm run lock:linux (Docker) to regenerate the lock on
the platform CI actually uses.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

v1.1.14

Toggle v1.1.14's commit message
chore: update version to v1.1.14

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

v1.1.13

Toggle v1.1.13's commit message
chore: update version to v1.1.13

v1.1.12

Toggle v1.1.12's commit message
chore: update version to v1.1.12

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

v1.1.11

Toggle v1.1.11's commit message
chore: update dependencies

v1.1.10

Toggle v1.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: forward mock Content-Type to contract validator (#5)

* chore: update dependencies (openapi-mock-validator 0.2.0, twd-js 1.7.2, puppeteer 24.42.0)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: add image/* photo endpoint to petstore fixture

* test: add failing test for Content-Type forwarding

* fix: forward mock Content-Type to contract validator

* test: add case-insensitivity and default tests for Content-Type

* test: assert mock collector preserves responseHeaders

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: update version to v1.1.10

* chore(test-example-app): bump twd-js to 1.7.2 for smoke testing

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(test-example-app): add binary Content-Type smoke tests

- Adds /products/{id}/thumbnail endpoint (image/*) to products-3.0.json
- Adds 4 mocks exercising the new Content-Type forwarding:
  - image/png and image/jpeg against image/* spec → should validate cleanly
  - application/xml against JSON-only /api/products → should warn (MISSING_SCHEMA)
  - No responseHeaders against image-only endpoint → should warn (defaults to JSON, no match)

All four endpoints use contract mode 'warn' so CI does not fail on the
intentional negative cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(lockfile): regenerate package-lock.json to restore @emnapi entries

CI was failing with `npm ci` errors because the previous dep-bump
commit's lockfile was missing top-level @emnapi/core and @emnapi/runtime
entries that are required by transitive peers of @napi-rs/wasm-runtime.

Regenerating via a fresh `npm install` restores them. All 177 tests pass
and `npm ci` now succeeds locally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

v1.1.9

Toggle v1.1.9's commit message
chore: update version to v1.1.9

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.1.8

Toggle v1.1.8's commit message
chore: update version to v1.1.8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.1.6

Toggle v1.1.6's commit message
chore: update version to v1.1.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.1.5

Toggle v1.1.5's commit message
chore: update version to v1.1.5

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>