@uiwwsw/next-test-mode 1.0.0 → 1.0.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/CHANGELOG.md +5 -0
- package/README.ko.md +5 -5
- package/README.md +4 -6
- package/docs/releasing.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1 — 2026-10-19
|
|
4
|
+
|
|
5
|
+
- Focus the homepage on changing data in the console and checking the page. Remove rendering-mode navigation and technical cache controls from the demo UI.
|
|
6
|
+
- Keep rendering support and the session-scoped preview mechanism in the English and Korean READMEs. Existing rendering routes and APIs remain compatible.
|
|
7
|
+
|
|
3
8
|
## 1.0.0 — 2026-10-19
|
|
4
9
|
|
|
5
10
|
- First stable release of the console-first Next.js development and QA workflow.
|
package/README.ko.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[English](./README.md) · **한국어**
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.
|
|
4
|
+
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.1/docs/assets/hero.png" width="100%" alt="Next Test Mode — 콘솔 한 줄로 서버 데이터까지 테스트." />
|
|
5
5
|
</p>
|
|
6
6
|
<p align="center">
|
|
7
7
|
<strong>콘솔 한 줄로. 서버 데이터까지 테스트.</strong><br />
|
|
@@ -83,10 +83,10 @@ src/ # src 없는 앱은 프로젝트 루트
|
|
|
83
83
|
|
|
84
84
|
## See it in action
|
|
85
85
|
|
|
86
|
-
**[
|
|
86
|
+
**[콘솔 데모 열기](https://test-mode-tau.vercel.app/)** — 값을 바꾸고 화면을 확인한 뒤 `test.clear()`로 돌아오세요.
|
|
87
87
|
|
|
88
88
|
<p align="center">
|
|
89
|
-
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.
|
|
89
|
+
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.1/docs/assets/scenarios.gif" width="960" alt="실제 Next.js 데모: SSG 원래 가격, 콘솔 patch, SSR에서도 같은 값, HTTP 503, 원래 캐시 응답 복귀." />
|
|
90
90
|
</p>
|
|
91
91
|
|
|
92
92
|
데모의 DevTools Console에 입력하거나, 화면의 JSON 편집기에서 원하는 값을 적용하세요.
|
|
@@ -100,11 +100,11 @@ test.reset('/api/cart.json'); // 이 경로의 직접 입력만 제거
|
|
|
100
100
|
test.clear(); // 모든 입력과 시나리오 해제
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
서버 렌더 미리보기에서는 **서버가 보낸 HTML 자체에 변경된 값이 들어갑니다.** 다른 브라우저 세션의 원래 응답은 유지됩니다. JSON 상태는 같은 브라우저의 탭이 공유하며 새로고침 후에도 유지됩니다. 테스트가 끝나면 `test.clear()`를 사용하세요.
|
|
104
104
|
|
|
105
105
|
## Rendering support
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
브라우저 콘솔만으로는 이미 만들어진 서버 HTML이나 SSG 산출물을 직접 바꿀 수 없습니다. Next Test Mode는 테스트 값을 서버에 전달하고 Draft Mode로 해당 세션의 캐시를 우회해 새 HTML을 렌더합니다. 덕분에 개발자는 렌더 방식을 골라 테스트하지 않고 같은 콘솔 명령으로 지원하는 fetch 데이터와 화면 상태를 재현합니다. CSR은 브라우저 fetch를 가로채고, 서버 페이지는 테스트 쿠키로 값을 전달받습니다. 렌더별 동작과 제한은 아래 표에서 확인하세요.
|
|
108
108
|
|
|
109
109
|
| 렌더 방식 | Console 변경 후 동작 |
|
|
110
110
|
| :--- | :--- |
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
**English** · [한국어](./README.ko.md)
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.
|
|
4
|
+
<img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.1/docs/assets/hero.png" width="100%" alt="Next Test Mode — One console. Server data, too." />
|
|
5
5
|
</p>
|
|
6
6
|
<p align="center"><strong>Test Next.js API data and page states from the console.</strong><br />Keep your fetch calls. Try the data you need. Check the real page.</p>
|
|
7
7
|
<p align="center">
|
|
@@ -74,11 +74,9 @@ Development is enabled by default. To use an intentional QA deployment, set **`N
|
|
|
74
74
|
|
|
75
75
|
## See it in action
|
|
76
76
|
|
|
77
|
-
Open the [English demo](https://test-mode-tau.vercel.app/en) or [한국어 데모](https://test-mode-tau.vercel.app/). Change a cart value
|
|
77
|
+
Open the [English demo](https://test-mode-tau.vercel.app/en) or [한국어 데모](https://test-mode-tau.vercel.app/). Change a cart value in the console, check the updated page, then clear the test.
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
<p align="center"><img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.0/docs/assets/scenarios.gif" width="960" alt="Console patch changes a static cart preview and server HTML; mock an HTTP error, then restore the original response." /></p>
|
|
79
|
+
<p align="center"><img src="https://raw.githubusercontent.com/uiwwsw/next-test-mode/v1.0.1/docs/assets/scenarios.gif" width="960" alt="Console patch changes a static cart preview and server HTML; mock an HTTP error, then restore the original response." /></p>
|
|
82
80
|
|
|
83
81
|
Use DevTools Console or the demo's JSON editor:
|
|
84
82
|
|
|
@@ -183,4 +181,4 @@ npm run dev:demo # Next.js demo
|
|
|
183
181
|
npm run build:demo # Vercel production build
|
|
184
182
|
```
|
|
185
183
|
|
|
186
|
-
A GitHub Release from a verified main tag triggers CI and npm publishing with provenance. Stable releases use `latest`. Version 1.0
|
|
184
|
+
A GitHub Release from a verified main tag triggers CI and npm publishing with provenance. Stable releases use `latest`. Version 1.0 retains the 0.7 public APIs. [Release process](./docs/releasing.md) · [Architecture](./docs/architecture.md) · [Changelog](./CHANGELOG.md).
|
package/docs/releasing.md
CHANGED
|
@@ -10,7 +10,7 @@ npm run test:demo
|
|
|
10
10
|
npm pack
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
PR/main CI는 Node.js 20.9 / 22 / 24, Chromium, 실제 Next.js 16.4.2를 검증합니다. tarball을 독립 앱에 설치해 ESM·타입·스타터·CLI를 확인합니다. Next fixture는 dev, production의 SSR·SSG·ISR·force-static·생성 경로·unstable_cache, Cache Components/use cache, 비활성 production을 각각 검사합니다. 테스트 카탈로그가 비활성 production의 브라우저·서버 번들에서 제외되는지, 첫 CSR fetch부터 가로채는지도 검사합니다. 공개 데모는
|
|
13
|
+
PR/main CI는 Node.js 20.9 / 22 / 24, Chromium, 실제 Next.js 16.4.2를 검증합니다. tarball을 독립 앱에 설치해 ESM·타입·스타터·CLI를 확인합니다. Next fixture는 dev, production의 SSR·SSG·ISR·force-static·생성 경로·unstable_cache, Cache Components/use cache, 비활성 production을 각각 검사합니다. 테스트 카탈로그가 비활성 production의 브라우저·서버 번들에서 제외되는지, 첫 CSR fetch부터 가로채는지도 검사합니다. 공개 데모는 단일 콘솔 테스트 흐름·모바일 JSON 입력·언어 전환을 검사하며, 기존 렌더 경로와 캐시 우회/복귀는 회귀 검증으로 유지합니다.
|
|
14
14
|
|
|
15
15
|
## npm
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uiwwsw/next-test-mode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Test fetch data and page states from the console, including session-scoped previews of server-rendered and static Next.js pages.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "npm@11.16.0",
|