Skip to content

Conversation

11Warrior
Copy link

@11Warrior 11Warrior commented Aug 18, 2025

Hi, I have added some env variables and tested the template you gave, which required additional env vars so I added them and also updated defaultOptions in xata.js so that new commers can get idea about how to setup initially before making any changes to the codebase.

You can merge it if you want to .


Note

Simplifies local env setup by adding required vars/defaults, updates docs, ignores generated Xata files, and pins @xata.io/client to a specific prerelease.

  • Environment setup:
    • Update /.env.example with defaults for AUTH_SECRET, AUTH_URL, and XATA_BRANCH.
    • Add XATA_HTTP_ENDPOINT and make NEXT_PUBLIC_ANALYTICS_WEBSITE_ID mandatory with a default UUID.
    • Mirror these changes in CONTRIBUTING.md env instructions.
  • Git ignore:
    • Ignore generated Xata client files: src/xata.js, src/xata.ts.
  • Dependencies:
    • Pin @xata.io/client to 0.0.0-next.v93343b9646f57a1e5c51c35eccf0767c2bb80baa.

Written by Cursor Bugbot for commit a144d8f. This will update automatically on new commits. Configure here.

Copy link

vercel bot commented Aug 18, 2025

@11Warrior is attempting to deploy a commit to the Max Programming's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Aug 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hacktoberfest-projects Error Error Aug 21, 2025 4:17pm

Copy link
Owner

@max-programming max-programming left a comment

Choose a reason for hiding this comment

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

Can you delete the xata.js file, and the package.json & pnpm lockfile changes?
Or maybe add the xata.js in gitignore?

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