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

Draft PR to test CI/test workflows #134

Open
wants to merge 86 commits into
base: main
Choose a base branch
from
Open

Draft PR to test CI/test workflows #134

wants to merge 86 commits into from

Conversation

jawj
Copy link
Collaborator

@jawj jawj commented Dec 18, 2024

This PR does two big things:

  1. Automatic generation of types. As part of this, additional types information has been moved across to some of the source .ts files (mainly around http queries).

  2. Adds a wide range of tests, in tests/.

There's still a load of clean-up to be done, which is what I will be working on next. In the meantime, probably best to ignore the contents of dist/, which we'll probably stop committing in future.

@jawj jawj marked this pull request as ready for review January 15, 2025 16:57
@jawj jawj requested a review from pffigueiredo January 15, 2025 16:57
package.json Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
dist/dts/subtls.d.ts Outdated Show resolved Hide resolved
dist/jsr/index.d.ts Outdated Show resolved Hide resolved
export/index.ts Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved

const DATABASE_URL = process.env.VITE_NEON_DB_URL!;

test('basic query using drizzle-orm with https fetch', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

WDYT about setting up a project with Neon Authorize enabled and test with passing the auth token using the authenticated role?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, that's a good idea. It will also teach me to use Neon Authorize ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jawj
Copy link
Collaborator Author

jawj commented Jan 18, 2025

I think the only remaining issue here is finding a company Vercel token that works ...

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