-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests and automatic type generation (#134)
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.
- Loading branch information
Showing
66 changed files
with
15,223 additions
and
6,569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# copy to .env.test and fill in the blanks | ||
VITE_NEON_DB_URL="postgresql:// ..." | ||
VITE_NEON_DB_POOLER_URL="postgresql:// ..." | ||
VITE_WSPROXY="... .workers.dev" | ||
VITE_VERCEL_TOKEN="..." | ||
VITE_CLERK_USER="... @neon.tech" | ||
VITE_CLERK_SECRET_KEY="sk_test_ ..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.dev.vars | ||
.env.local | ||
.env.* | ||
!.env.template | ||
node_modules | ||
tmp | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"mainEntryPointFilePath": "dist/dts/export/index.d.ts", | ||
"newlineKind": "lf", | ||
"enumMemberOrder": "preserve", | ||
"bundledPackages": ["subtls"], | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "dist/dts/_extracted.d.ts" | ||
}, | ||
"apiReport": { | ||
"enabled": false | ||
}, | ||
"docModel": { | ||
"enabled": false | ||
}, | ||
"tsdocMetadata": { | ||
"enabled": false | ||
}, | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-wrong-input-file-type": { | ||
"logLevel": "none" | ||
}, | ||
"ae-missing-release-tag": { | ||
"logLevel": "none" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.