Repository navigation
Commit b659db8
chore: upgrade Next.js → 16.2.6, React → 19.2.6, Tailwind CSS → v4.3.0 (#74)
* chore: upgrade Next.js to 16.2.6, React to 19.2.6, headlessui to v2
Security fix: Next.js 13.x/14.x are unpatched against 13 CVEs in the
May 2026 Vercel security advisory (middleware bypass, SSRF, XSS, cache
poisoning). 14.x will not receive patches; minimum safe version is 15.5.18
or 16.2.6.
Changes:
- next: 14.1.3 -> 16.2.6
- react / react-dom: 18.2.0 -> 19.2.6
- @headlessui/react: 1.7.18 -> 2.x (peer dep of Next.js 16 / React 19)
- @types/react / @types/react-dom: bumped to ^19.0.0
- eslint: 8.x -> ^9.0.0 (required by eslint-config-next@16)
- eslint-config-next: 14.1.3 -> 16.2.6
Migrate modal-video.tsx to headlessui v2 API:
- Replace Transition.Child with TransitionChild (named export)
- Replace Dialog.Panel with DialogPanel (named export)
- Remove Fragment import and as={Fragment} (v2 default is Fragment)
- Wrap bare Transition.Child className content in explicit child divs
tsconfig.json auto-updated by Next.js 16 first build:
- moduleResolution: node -> bundler
- jsx: preserve -> react-jsx
Co-authored-by: Hoon Kim <hoonsubin@users.noreply.github.com>
* chore: upgrade Tailwind CSS to v4.3.0
Migrate from Tailwind CSS v3 to v4 using the official @tailwindcss/upgrade
tool (v4.3.0), then manually review and reconcile the output.
Dependency changes:
- tailwindcss: ^3.3.6 -> ^4.3.0
- @tailwindcss/forms: ^0.5.7 -> ^0.5.11 (latest, explicit v4 support)
- @tailwindcss/postcss: ^4.3.0 (new; replaces tailwindcss PostCSS plugin)
- autoprefixer removed (v4 handles vendor prefixes natively)
- postcss-import removed (no longer needed; v4 handles @import natively)
Configuration:
- tailwind.config.js deleted (v4 uses CSS-first config)
- postcss.config.js: tailwindcss/autoprefixer -> @tailwindcss/postcss
Style migration (app/css/style.css):
- @import 'tailwindcss/base|components|utilities' -> @import 'tailwindcss'
- Custom theme (colors, fonts, spacing, typography) moved from
tailwind.config.js into @theme {} block
- @tailwindcss/forms loaded via @plugin directive
- Additional stylesheets use layer() qualifier on @import
- @layer utilities .rtl -> @Utility rtl
Component migrations (utility class renames in Tailwind v4):
- rounded-sm -> rounded-xs (Tailwind v4 scale shift)
- shadow -> shadow-sm (Tailwind v4 scale shift)
- z-[99999] -> z-99999 (bare arbitrary value syntax)
- @screen md -> @media (width >= theme(--breakpoint-md))
Co-authored-by: Hoon Kim <hoonsubin@users.noreply.github.com>
* feat: switch deployment from Netlify to GitHub Pages
Configure Next.js static export and add a GitHub Actions workflow that
builds the site on every push to master and deploys to GitHub Pages.
next.config.js:
- output: 'export' — enables next build to write static HTML/CSS/JS
to ./out instead of running a Node server
- trailingSlash: true — generates page/index.html so GitHub Pages can
serve routes without a server-side rewrite
- images.unoptimized: true — disables the Node image optimisation API
(zigzag.tsx and modal-video.tsx use next/image); raw image files are
served directly from the CDN
app/api/hello/route.ts deleted:
- Static export does not support dynamic Route Handlers; this was only
a placeholder and has no consumers in the app
.github/workflows/deploy.yml:
- Triggers on push to master and via workflow_dispatch
- Uses actions/configure-pages, upload-pages-artifact, deploy-pages
(the official GitHub Pages deployment stack)
- Caches Yarn packages via setup-node cache: yarn
- Pages write + id-token write permissions scoped to the workflow
public/CNAME:
- Preserves the teamstep.io custom domain when GitHub Pages is enabled
(GitHub reads this file from the published artifact root)
README.md:
- Replaced Netlify Status badge with GitHub Actions deploy badge
- Minor cleanup (trailing newline)
Co-authored-by: Hoon Kim <hoonsubin@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Hoon Kim <hoonsubin@users.noreply.github.com>1 parent fb06a96 commit b659db8
16 files changed
Lines changed: 2426 additions & 1335 deletions
File tree
- .github/workflows
- app
- api/hello
- css
- additional-styles
- components
- ui
- public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
11 | 93 | | |
12 | 94 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 95 | + | |
| 96 | + | |
17 | 97 | | |
18 | 98 | | |
19 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
66 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
| 74 | + | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
0 commit comments