@scenarist/nextjs-adapter 0.1.5 → 0.1.7

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 +16 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  Next.js adapter for [Scenarist](https://scenarist.io) - test different backend states in your Next.js applications without restarting your dev server or maintaining multiple test environments.
7
7
 
8
+ **🎯 Key capability: Test React Server Components with real execution.** Your Server Components, Route Handlers, and Server Actions all run exactly as they would in production - only external API calls are mocked.
9
+
8
10
  **Problem it solves:** Testing error scenarios, loading states, and edge cases in Next.js is painful. You either restart your app repeatedly, maintain complex mock setups per test, or run tests serially to avoid conflicts. Scenarist lets you switch between complete API scenarios instantly via HTTP calls, enabling parallel testing with isolated backend states.
9
11
 
10
12
  ## What is this?
@@ -55,9 +57,22 @@ This package provides complete Next.js integration for Scenarist's scenario mana
55
57
  | See full API reference | [API Reference](#api-reference) |
56
58
  | Learn about advanced features | [Core Functionality Docs](../../docs/core-functionality.md) |
57
59
 
60
+ ## 📖 Documentation
61
+
62
+ **Full documentation at [scenarist.io](https://scenarist.io)**
63
+
64
+ | Topic | Link |
65
+ |-------|------|
66
+ | **Why Scenarist?** | [scenarist.io/introduction/why-scenarist](https://scenarist.io/introduction/why-scenarist) |
67
+ | **Getting Started (App Router)** | [scenarist.io/frameworks/nextjs-app-router/getting-started](https://scenarist.io/frameworks/nextjs-app-router/getting-started) |
68
+ | **Getting Started (Pages Router)** | [scenarist.io/frameworks/nextjs-pages-router/getting-started](https://scenarist.io/frameworks/nextjs-pages-router/getting-started) |
69
+ | **🎯 React Server Components Guide** | [scenarist.io/frameworks/nextjs-app-router/rsc-guide](https://scenarist.io/frameworks/nextjs-app-router/rsc-guide) |
70
+ | **Parallel Testing** | [scenarist.io/testing/parallel-testing](https://scenarist.io/testing/parallel-testing) |
71
+ | **Testing Philosophy** | [scenarist.io/concepts/philosophy](https://scenarist.io/concepts/philosophy) |
72
+
58
73
  ## Core Capabilities
59
74
 
60
- Scenarist provides 20+ powerful features for E2E testing. All capabilities work with Next.js (both Pages Router and App Router).
75
+ Scenarist provides 20+ powerful features for scenario-based testing. All capabilities work with Next.js (both Pages Router and App Router).
61
76
 
62
77
  ### Request Matching (6 capabilities)
63
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scenarist/nextjs-adapter",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Next.js adapter for Scenarist (Pages Router and App Router)",
5
5
  "author": "Paul Hammond (citypaul) <paul@packsoftware.co.uk>",
6
6
  "license": "MIT",
@@ -59,8 +59,8 @@
59
59
  ],
60
60
  "dependencies": {
61
61
  "zod": "^4.1.13",
62
- "@scenarist/core": "0.1.2",
63
- "@scenarist/msw-adapter": "0.1.2"
62
+ "@scenarist/msw-adapter": "0.1.2",
63
+ "@scenarist/core": "0.1.2"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "msw": "^2.0.0",