@uiwwsw/next-test-mode 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/CHANGELOG.md +10 -0
- package/README.ko.md +6 -6
- package/README.md +5 -7
- package/docs/migration.md +1 -1
- package/docs/releasing.md +5 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.2 — 2026-10-19
|
|
4
|
+
|
|
5
|
+
- Move the public demo, localized SEO metadata, sample API, package homepage, documentation and deployment health checks to https://next-test-mode.vercel.app.
|
|
6
|
+
- Permanently redirect the previous public hostname to the new domain while preserving paths and query strings.
|
|
7
|
+
|
|
8
|
+
## 1.0.1 — 2026-10-19
|
|
9
|
+
|
|
10
|
+
- 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.
|
|
11
|
+
- Keep rendering support and the session-scoped preview mechanism in the English and Korean READMEs. Existing rendering routes and APIs remain compatible.
|
|
12
|
+
|
|
3
13
|
## 1.0.0 — 2026-10-19
|
|
4
14
|
|
|
5
15
|
- 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.2/docs/assets/hero.png" width="100%" alt="Next Test Mode — 콘솔 한 줄로 서버 데이터까지 테스트." />
|
|
5
5
|
</p>
|
|
6
6
|
<p align="center">
|
|
7
7
|
<strong>콘솔 한 줄로. 서버 데이터까지 테스트.</strong><br />
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<a href="https://github.com/uiwwsw/next-test-mode/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-62796f?style=flat-square" alt="MIT license" /></a>
|
|
15
15
|
</p>
|
|
16
16
|
<p align="center">
|
|
17
|
-
<a href="https://test-mode
|
|
17
|
+
<a href="https://next-test-mode.vercel.app/">Live demo ↗</a> ·
|
|
18
18
|
<a href="#quick-start">Quick start</a> ·
|
|
19
19
|
<a href="#rendering-support">지원 범위</a> ·
|
|
20
20
|
<a href="https://github.com/uiwwsw/next-test-mode/blob/main/docs/guide.md">API 가이드</a> ·
|
|
@@ -83,10 +83,10 @@ src/ # src 없는 앱은 프로젝트 루트
|
|
|
83
83
|
|
|
84
84
|
## See it in action
|
|
85
85
|
|
|
86
|
-
**[
|
|
86
|
+
**[콘솔 데모 열기](https://next-test-mode.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.2/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.2/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">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<img src="https://img.shields.io/badge/Next.js-App_Router-173c36?style=flat-square" alt="Next.js App Router" />
|
|
11
11
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-62796f?style=flat-square" alt="MIT license" /></a>
|
|
12
12
|
</p>
|
|
13
|
-
<p align="center"><a href="https://test-mode
|
|
13
|
+
<p align="center"><a href="https://next-test-mode.vercel.app/en">Live demo ↗</a> · <a href="#quick-start">Quick start</a> · <a href="#rendering-support">Compatibility</a> · <a href="./docs/guide.md">API guide</a></p>
|
|
14
14
|
|
|
15
15
|
**Reproduce the data and page states you need during development with one console command.** Next Test Mode is a development and QA tool for mocking and patching Next.js fetch responses: empty lists, different prices, server errors, and reusable scenarios, without editing individual API calls.
|
|
16
16
|
|
|
@@ -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
|
|
77
|
+
Open the [English demo](https://next-test-mode.vercel.app/en) or [한국어 데모](https://next-test-mode.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.2/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/migration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @uiwwsw/test-mode → @uiwwsw/next-test-mode
|
|
2
2
|
|
|
3
|
-
0.6.0부터 제품 이름은 **Next Test Mode**, npm 패키지는 **`@uiwwsw/next-test-mode`**, 저장소는 **uiwwsw/next-test-mode**입니다. 기존 0.5.0 패키지는 계속 설치할 수 있지만 새 개발은 새 이름으로 진행합니다. 공개 데모 주소는 https://test-mode
|
|
3
|
+
0.6.0부터 제품 이름은 **Next Test Mode**, npm 패키지는 **`@uiwwsw/next-test-mode`**, 저장소는 **uiwwsw/next-test-mode**입니다. 기존 0.5.0 패키지는 계속 설치할 수 있지만 새 개발은 새 이름으로 진행합니다. 공개 데모 주소는 https://next-test-mode.vercel.app/ 입니다.
|
|
4
4
|
|
|
5
5
|
## Next App Router
|
|
6
6
|
|
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
|
|
|
@@ -28,7 +28,7 @@ npm [Trusted publishing](https://docs.npmjs.com/trusted-publishers/)을 설정
|
|
|
28
28
|
|
|
29
29
|
## Vercel
|
|
30
30
|
|
|
31
|
-
공개 데모: [CSR](https://test-mode
|
|
31
|
+
공개 데모: [CSR](https://next-test-mode.vercel.app/csr) · [SSR](https://next-test-mode.vercel.app/ssr) · [ISR](https://next-test-mode.vercel.app/isr) · [SSG](https://next-test-mode.vercel.app/ssg).
|
|
32
32
|
|
|
33
33
|
저장소를 Import하고 Root Directory를 `./`로 둡니다. `vercel.json`은 **Next.js**, `npm run build:demo`, `.next` 출력을 지정합니다. 기존 프로젝트의 UI에 별도 빌드/출력 override가 있다면 이 값과 맞추세요. GitHub 저장소 이름은 `next-test-mode`이며 데모 도메인은 그대로입니다.
|
|
34
34
|
|
|
@@ -48,3 +48,6 @@ npm [Trusted publishing](https://docs.npmjs.com/trusted-publishers/)을 설정
|
|
|
48
48
|
README.md는 영어, README.ko.md는 한국어이며 모두 npm 패키지에 포함됩니다. 공유 이미지는 커밋된 `docs/assets/social-card.png`에서 배포 시 복사합니다. `npm run docs:assets`로 촬영 후 이미지도 함께 커밋하세요. Google Search Console의 sitemap 제출과 색인 현황은 사이트 소유자 계정에서 별도로 확인할 수 있습니다.
|
|
49
49
|
|
|
50
50
|
워크스페이스에서는 `devctl doctor next-test-mode`, `devctl deploy next-test-mode`로 계획을 확인한 뒤 `devctl deploy next-test-mode --execute`로 연결된 기존 Vercel 프로젝트에 배포합니다. 공개 URL healthcheck가 모두 통과해야 완료입니다.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
배포 스크립트 `scripts/deploy.mjs`는 완료된 Vercel production 배포 URL에 `next-test-mode.vercel.app` 별칭을 연결합니다. 이전 `test-mode-tau.vercel.app` 별칭도 연결하되, Vercel의 호스트 조건부 308 redirect로 새 도메인의 같은 경로·쿼리로 영구 이동합니다. 도메인을 바꿀 때는 문서·package homepage·SEO 기준 주소·샘플 API·healthcheck·이 별칭 연결을 함께 갱신하세요.
|
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.2",
|
|
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",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"bugs": {
|
|
110
110
|
"url": "https://github.com/uiwwsw/next-test-mode/issues"
|
|
111
111
|
},
|
|
112
|
-
"homepage": "https://test-mode
|
|
112
|
+
"homepage": "https://next-test-mode.vercel.app/",
|
|
113
113
|
"publishConfig": {
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|