tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
234 stars 335 forks source link

Update Next.js to v15 #792

Closed joshka closed 1 month ago

joshka commented 1 month ago

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

Upgrade to nextjs 15