mockaton 8.2.19 → 8.2.20

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 +10 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,10 +66,12 @@ node --import=tsx my-mockaton.js
66
66
  ## Running the Demo Example
67
67
  This demo uses the [sample-mocks/](./sample-mocks) directory of this repository.
68
68
 
69
- - `git clone https://github.com/ericfortis/mockaton.git`
70
- - `cd mockaton`
71
- - `npm install tsx` (optional)
72
- - `npm run demo:ts` it will open a dashboard
69
+ ```sh
70
+ git clone https://github.com/ericfortis/mockaton.git
71
+ cd mockaton
72
+ npm install tsx
73
+ npm run demo:ts
74
+ ```
73
75
 
74
76
  Experiment with the Dashboard:
75
77
 
@@ -237,17 +239,18 @@ permitted](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
237
239
 
238
240
  ### Index-like route
239
241
  For instance, if you have `api/foo/bar` and
240
- `api/foo`. For the latter you have two options:
242
+ `api/foo`, you have two options:
241
243
 
242
- **Option A.**
244
+ **Option A:**
243
245
  ```
244
246
  api/foo.GET.200.json
245
247
  api/foo/bar.GET.200.json
246
248
  ```
247
249
 
248
- **Option B.** Omit the filename.
250
+ **Option B:** Omit the filename.
249
251
  ```text
250
252
  api/foo/.GET.200.json
253
+ api/foo/bar.GET.200.json
251
254
  ```
252
255
 
253
256
  ---
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "mockaton",
3
3
  "description": "A deterministic server-side for developing and testing frontend clients",
4
4
  "type": "module",
5
- "version": "8.2.19",
5
+ "version": "8.2.20",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
8
  "license": "MIT",