Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: bump node and nextjs verison + general upgrades #19

Closed
wants to merge 1 commit into from

Conversation

afonsopimenta
Copy link
Member

Upgrades node and nextjs version to take advantage of next's new features (mostly appdir not being experimental anymore and next font most recent optimizations)

Also adds some quality of life features like checking environment variables for type safety at build time.

Some linting rules were added and can still be discussed and subject to change. There are still some places that had to be lint-ignored due to these new rules, but if the rules stay I will deal with the problems in another PR.

this commit upgrades versions and adds a few quality of life features like environment variable checking
Copy link

netlify bot commented Jan 6, 2024

Deploy Preview for cesium-hydrogen-new ready!

Name Link
🔨 Latest commit fe33879
🔍 Latest deploy log https://app.netlify.com/sites/cesium-hydrogen-new/deploys/6598b5cb2c940000083847dd
😎 Deploy Preview https://deploy-preview-19--cesium-hydrogen-new.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@afonsopimenta
Copy link
Member Author

Some one needs to disable Build and style branch protection rules in the repo settings, or bump the node version there as well. It's still trying to test the branch in the previous version and it's been stuck for hours.

@afonsopimenta afonsopimenta changed the title feat: bump node and nextjs verison + general upgrades feat!: bump node and nextjs verison + general upgrades Jan 6, 2024
@@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: ["18.12.0"]
node-version: ["21.5.0"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: ["21.5.0"]
node-version: ["20.11.1"]

Prefer using LTS versions

@@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: ["18.12.0"]
node-version: ["21.5.0"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: ["21.5.0"]
node-version: ["20.11.1"]

@@ -1 +1 @@
nodejs 18.12.0
nodejs 21.5.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nodejs 21.5.0
nodejs 20.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants