@n1k1t/mock-server 1.0.0 → 1.0.2

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  <h1>Mock server</h1>
3
3
  <p>The ultimate toolkit to <b>intercept, transform, and simulate</b> HTTP/WS traffic with type-safe expectations</p>
4
4
 
5
- <img src="https://raw.githubusercontent.com/n1k1t/mock-server/refs/heads/master/images/preview.png?raw=true" />
5
+ <img width="640px" src="https://raw.githubusercontent.com/n1k1t/mock-server/refs/heads/master/images/preview.png?raw=true" />
6
6
 
7
7
  <br />
8
8
  <br />
@@ -16,6 +16,7 @@ This mock server provides complete control over your network layer. It allows yo
16
16
 
17
17
  - [Features](#features)
18
18
  - [Installation](#installation)
19
+ - [Add Skills](#add-skills)
19
20
  - [Simple Example](#simple-example)
20
21
  - [Overview](#overview)
21
22
  - [GUI](#gui)
@@ -70,6 +71,19 @@ This mock server provides complete control over your network layer. It allows yo
70
71
  npm i @n1k1t/mock-server
71
72
  ```
72
73
 
74
+ ## Add Skills
75
+
76
+ If you are using the [skills](https://www.npmjs.com/package/skills) package, you can add `n1k1t/mock-server` to your project using the following command:
77
+
78
+ ```bash
79
+ npx skills add n1k1t/mock-server
80
+ ```
81
+
82
+ This package includes the following skills for better integration with AI agents:
83
+
84
+ - **`mock-server-basic`**: Core entities management, including server initialization, operators (`$`), expectations, containers, forwarding, and cache.
85
+ - **`mock-server-extensions`**: Advanced features like Redis configuration, `RemoteClient` for remote management, `Provider` for grouping/routing, and `Logger` customization.
86
+
73
87
  ## Simple Example
74
88
 
75
89
  ```ts
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n1k1t/mock-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations",
5
5
  "main": "lib/src/index.js",
6
6
  "types": "lib/src/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n1k1t/mock-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations",
5
5
  "main": "lib/src/index.js",
6
6
  "types": "lib/src/index.d.ts",