Commit a79b684
authored
Update Next.js to v15 (#792)
* bump caniuse db
https://github.com/browserslist/browserslist#browsers-data-updating
* fix sed command to work with both GNU and MacOS sed
The sed command which replaces the markdown import in the api.js file
was not working on MacOS because the `-i` flag requires an argument
with the backup file extension. This commit adds the `.bak` extension
to the sed command to make it work on both GNU and MacOS sed (and then
removes the backup file).
* Update to next.js 14
- "next build export" is replaced with an output config option
https://nextjs.org/docs/app/building-your-application/deploying/static-exports
- "next start" is not compatible with static exports and has been
removed from the package scripts
- blog rss feed is now generated to out/blog/index.xml instead of
_next/static/feed.xml to work with the default output and the redirect
in netlify.toml has been reversed so that rss feed requests are
redirected to the new location
* Upgrade to nextjs 15
- Use turbopack instead of webpack
- User typescript instead of js for next config
- silence deprecation warnings on bulma sass problems.
Bulma 1.0.2 breaks a bunch of things that worked in 0.8
so it's difficult to update to without changing how the site
looks.1 parent 6f9c24c commit a79b684
File tree
9 files changed
+951
-329
lines changed- components
- scripts
9 files changed
+951
-329
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
This file was deleted.
| 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 | + | |
0 commit comments