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

fix(env): add jiti build time validation #40

Merged
merged 7 commits into from
Apr 20, 2024
Merged

Conversation

rikhall1515
Copy link
Owner

Description

I think this addresses the open issue on why env validation did not work.

fix #37

Validation

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npx turbo format to ensure the code follows the style guide.
  • I have run npx turbo test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

I think this addresses the open issue on why env validation did not work.

fix #37
Copy link

vercel bot commented Apr 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-project-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2024 9:04pm

@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
Copy link

github-actions bot commented Apr 20, 2024

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/ 🟠 86 🟢 94 🟠 78 🟢 92 🔗

@rikhall1515 rikhall1515 added the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@rikhall1515 rikhall1515 added the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@rikhall1515 rikhall1515 added the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@rikhall1515 rikhall1515 added the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@rikhall1515 rikhall1515 added the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 20, 2024
@rikhall1515 rikhall1515 merged commit 704c721 into main Apr 20, 2024
12 of 15 checks passed
@rikhall1515 rikhall1515 deleted the fix/env-buildtime branch April 20, 2024 21:08
rikhall-semrelease bot pushed a commit that referenced this pull request May 8, 2024
# [3.0.0](v2.0.0...v3.0.0) (2024-05-08)

### Bug Fixes

* add --fix option to prettier ([6b57b1e](6b57b1e))
* **changemenu:** fix closing and opening related menus ([42f2f19](42f2f19))
* **css:** specify html element for the root variables ([8824015](8824015))
* **env:** add jiti build time validation ([#40](#40)) ([704c721](704c721)), closes [#37](#37)
* **skipbtn:** make the link focus visible and add id to main ([3a2ca61](3a2ca61))

### Code Refactoring

* **sidebar:** add sidebar to dialog, remove unneeded context ([a38bb85](a38bb85))

### Features

* add a not-found catch-all route ([059ef17](059ef17))
* add about tab to manage consent modal ([99dbbd2](99dbbd2))
* add base layout ([51c834c](51c834c))
* add base layout for public pages ([b879169](b879169))
* add base styles with variables highlighting ([5a9f53e](5a9f53e))
* add button to expand dashboard sidebar ([6cc83c0](6cc83c0))
* add consent tab to manage modal ([7e8ef44](7e8ef44))
* add context provider barrel to layout ([d519d89](d519d89))
* add cookie checkboxes ([cac740c](cac740c))
* add cookie component ([d4a67a2](d4a67a2))
* add cookie component ([61372c6](61372c6))
* add cookie context ([eb99174](eb99174))
* add dashboard context with localstorage support ([33ef4a3](33ef4a3))
* add demo privacy policy ([fe35b7e](fe35b7e))
* add details tab to manage modal ([a320f95](a320f95))
* add dynamic og image ([b94f51e](b94f51e))
* add empty company details page ([060b3a6](060b3a6))
* add footer button to open menu ([833d244](833d244))
* add footer buttons to manage modal ([d1788da](d1788da))
* add footer component ([ea35614](ea35614))
* add metadata to base layout.tsx ([6602372](6602372))
* add metadata to page.tsx ([17d7032](17d7032))
* add metadata to sign in page ([b91c2ac](b91c2ac))
* add metadata to sign up page ([8681165](8681165))
* add next theme context ([e5289fe](e5289fe))
* add robots file ([0963885](0963885))
* add sidebar context ([b363163](b363163))
* add sign in page ([a41c0b4](a41c0b4))
* add sign up page ([8fa2d48](8fa2d48))
* add site manifest ([fae2f28](fae2f28))
* add sitemap file ([d48bb83](d48bb83))
* add vercel analytics ([4fe346e](4fe346e))
* assemble manage consent menu ([1e6ec74](1e6ec74))
* **cookie:** add change menu to withdraw or change consent ([b5e0aff](b5e0aff))
* **dashboard:** add empty pages to the dashboard ([973c207](973c207))
* **dashboard:** add layout with sidebar to dashboard pages ([e280067](e280067))
* **db:** add auth callback with redirect ([fca54d4](fca54d4))
* **db:** add client-side supabase ([2e19938](2e19938))
* **db:** add next.js middleware ([c84ad94](c84ad94))
* **db:** add server-side supabase client with cookies ([d2b7d0a](d2b7d0a))
* **db:** add supabase middleware ([9a47ddb](9a47ddb))
* **env:** add client t3 env validation ([24de083](24de083))
* **env:** add server t3 env validation ([d5bae6f](d5bae6f))
* **error:** add global error page ([7fca1f2](7fca1f2))
* **form:** add inputs, labels, and error indicators ([665e47b](665e47b))
* **header:** add a header component ([42bff5f](42bff5f))
* **header:** add a header component ([cffd153](cffd153))
* **hero:** add hero section with gradient svgs and grid bg ([d3082ef](d3082ef))
* move page to public collation folder ([6014c06](6014c06))
* **theme:** add theme toggle dropdown ([0e8e2ce](0e8e2ce))

### Performance Improvements

* **context:** split up context and memoize values and functions ([8687ccd](8687ccd))
* **cookie:** manage rsc and client cmp, use native dialog, memoize ([d9ce9b2](d9ce9b2))
* extract static code, remove context, remove logout ([e4aac8f](e4aac8f))
* **header:** remove unnecessary stylistic mounting logic ([a99e1ba](a99e1ba))
* remove changeMenu, perf improe toast, a11y ([4fedd09](4fedd09))
* **sidebar:** change around context, this is wip ([c882af9](c882af9))
* **sidebar:** remove unnecessary context and swap sidebar to dialog ([b965d2d](b965d2d))
* swap out context in footer for fewer rerenders ([f68b337](f68b337))

### Reverts

* reverts back to previous commit ([34221bd](34221bd))

### BREAKING CHANGES

* **sidebar:** Previous context has been removed because it is no longer necessary.
@rikhall-semrelease
Copy link

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Build not correctly identifying environment variables on Github Actions
2 participants