@definitely-fine/nextjs 0.1.0 → 0.1.1
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 +2 -2
- package/package.json +21 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @definitely-fine/nextjs
|
|
2
2
|
|
|
3
|
-
`@definitely-fine/nextjs` connects `definitely-fine` scenario context to Next.js
|
|
3
|
+
`@definitely-fine/nextjs` connects `definitely-fine` scenario context to Next.js route handlers and server actions.
|
|
4
4
|
|
|
5
|
-
It reads a scenario id from a request header and runs
|
|
5
|
+
It reads a scenario id from a request header and runs server-side Next.js code inside the matching active scenario context.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@definitely-fine/nextjs",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Next.js
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Next.js request and server action helpers for definitely-fine scenarios.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"testing",
|
|
7
|
+
"mocking",
|
|
8
|
+
"scenarios",
|
|
9
|
+
"nextjs",
|
|
10
|
+
"server-actions",
|
|
11
|
+
"route-handlers",
|
|
12
|
+
"interception"
|
|
13
|
+
],
|
|
5
14
|
"license": "MIT",
|
|
6
15
|
"type": "module",
|
|
7
16
|
"sideEffects": false,
|
|
@@ -17,7 +26,7 @@
|
|
|
17
26
|
"main": "./dist/index.js",
|
|
18
27
|
"types": "./dist/index.d.ts",
|
|
19
28
|
"dependencies": {
|
|
20
|
-
"definitely-fine": "0.1.
|
|
29
|
+
"definitely-fine": "0.1.1"
|
|
21
30
|
},
|
|
22
31
|
"devDependencies": {
|
|
23
32
|
"next": "^16.0.0"
|
|
@@ -28,6 +37,15 @@
|
|
|
28
37
|
"engines": {
|
|
29
38
|
"node": ">=22"
|
|
30
39
|
},
|
|
40
|
+
"homepage": "https://github.com/michalkvasnicak/definitely-fine#readme",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/michalkvasnicak/definitely-fine/issues"
|
|
43
|
+
},
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/michalkvasnicak/definitely-fine.git",
|
|
47
|
+
"directory": "packages/nextjs"
|
|
48
|
+
},
|
|
31
49
|
"publishConfig": {
|
|
32
50
|
"access": "public"
|
|
33
51
|
},
|