@smartlyio/oats-nock-adapter 7.7.6 → 7.7.8

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 +2 -2
  2. package/package.json +16 -16
package/README.md CHANGED
@@ -9,7 +9,7 @@ multiple nock mocks can be used simultanenously so long as the basepaths differ.
9
9
  All of the mocked routes are persisted so any number of requests are served.
10
10
 
11
11
  ```ts
12
- // yarn ts-node examples/example.ts
12
+ // pnpm ts-node examples/example.ts
13
13
  import * as nockAdapter from '../src/nock';
14
14
  import * as api from '../tmp/client.types.generated';
15
15
  import * as types from '../tmp/openapi.types.generated';
@@ -38,7 +38,7 @@ adding new mocked routes or overlaying new handlers on top of already mocked rou
38
38
  If the overlaying mock throws `Next` the previous mock for the route is called instead.
39
39
 
40
40
  ```ts
41
- // yarn ts-node examples/server.ts
41
+ // pnpm ts-node examples/server.ts
42
42
  import * as nockAdapter from '../src/nock';
43
43
  import * as api from '../tmp/client.types.generated';
44
44
  import * as types from '../tmp/openapi.types.generated';
package/package.json CHANGED
@@ -1,21 +1,12 @@
1
1
  {
2
2
  "name": "@smartlyio/oats-nock-adapter",
3
- "version": "7.7.6",
3
+ "version": "7.7.8",
4
4
  "license": "MIT",
5
5
  "description": "nock server adapter for smartlyio/oats s",
6
6
  "private": false,
7
7
  "author": "Smartly.io",
8
8
  "main": "dist/src/nock.js",
9
9
  "types": "dist/src/nock.d.ts",
10
- "scripts": {
11
- "prebuild": "yarn clean && yarn ts-node examples/driver && yarn render",
12
- "lint": "eslint . --ext .ts",
13
- "lint:fix": "eslint . --ext .ts --fix",
14
- "clean": "rm -rf ./dist && rm -f ./tmp/*.ts",
15
- "pretest": "yarn prebuild",
16
- "build": "yarn tsc",
17
- "render": "yarn ts-node render.ts"
18
- },
19
10
  "repository": {
20
11
  "type": "git",
21
12
  "url": "https://github.com/smartlyio/oats-nock-adapter.git"
@@ -37,9 +28,6 @@
37
28
  "client"
38
29
  ],
39
30
  "devDependencies": {
40
- "@smartlyio/oats": "^7.7.6",
41
- "@smartlyio/oats-axios-adapter": "^7.7.6",
42
- "@smartlyio/oats-runtime": "^7.7.6",
43
31
  "@types/jest": "29.5.2",
44
32
  "@types/lodash": "4.14.195",
45
33
  "@types/node": "18.16.18",
@@ -57,7 +45,10 @@
57
45
  "prettier": "2.8.8",
58
46
  "ts-jest": "29.1.0",
59
47
  "ts-node": "10.9.1",
60
- "typescript": "5.9.2"
48
+ "typescript": "5.9.2",
49
+ "@smartlyio/oats": "^7.7.8",
50
+ "@smartlyio/oats-axios-adapter": "^7.7.8",
51
+ "@smartlyio/oats-runtime": "^7.7.8"
61
52
  },
62
53
  "jest": {
63
54
  "testEnvironment": "node",
@@ -72,5 +63,14 @@
72
63
  "preset": "ts-jest",
73
64
  "testMatch": null
74
65
  },
75
- "gitHead": "6afcbb2c8491c594374a82f06c1df5f858ed7681"
76
- }
66
+ "gitHead": "6afcbb2c8491c594374a82f06c1df5f858ed7681",
67
+ "scripts": {
68
+ "prebuild": "pnpm clean && pnpm ts-node examples/driver && pnpm render",
69
+ "lint": "eslint . --ext .ts",
70
+ "lint:fix": "eslint . --ext .ts --fix",
71
+ "clean": "rm -rf ./dist && rm -f ./tmp/*.ts",
72
+ "pretest": "pnpm prebuild",
73
+ "build": "pnpm tsc",
74
+ "render": "pnpm ts-node render.ts"
75
+ }
76
+ }