@objectstack/plugin-msw 0.9.1 → 0.9.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/CHANGELOG.md +10 -0
- package/README.md +7 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
MSW (Mock Service Worker) Plugin for ObjectStack Runtime. This plugin enables seamless integration with [Mock Service Worker](https://mswjs.io/) for testing and development environments.
|
|
4
4
|
|
|
5
|
+
## 🤖 AI Development Context
|
|
6
|
+
|
|
7
|
+
**Role**: Test Mocking Adapter
|
|
8
|
+
**Usage**:
|
|
9
|
+
- Intercepts network requests in tests (Browser/Node).
|
|
10
|
+
- Simulates a real ObjectStack backend.
|
|
11
|
+
|
|
5
12
|
## Plugin Capabilities
|
|
6
13
|
|
|
7
14
|
This plugin implements the ObjectStack plugin capability protocol:
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/plugin-msw",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "MSW (Mock Service Worker) Plugin for ObjectStack Runtime",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"msw": "^2.0.0",
|
|
9
|
-
"@objectstack/spec": "0.9.
|
|
10
|
-
"@objectstack/types": "0.9.
|
|
11
|
-
"@objectstack/objectql": "0.9.
|
|
9
|
+
"@objectstack/spec": "0.9.2",
|
|
10
|
+
"@objectstack/types": "0.9.2",
|
|
11
|
+
"@objectstack/objectql": "0.9.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/node": "^25.1.0",
|
|
15
15
|
"typescript": "^5.0.0",
|
|
16
16
|
"vitest": "^4.0.18",
|
|
17
|
-
"@objectstack/runtime": "0.9.
|
|
17
|
+
"@objectstack/runtime": "0.9.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@objectstack/runtime": "^0.9.
|
|
20
|
+
"@objectstack/runtime": "^0.9.2"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|