Skip to content

Commit 2a510e7

Browse files
authored
refactor packages (#341)
* refactor packages * gen types * fix types * update vite and vitest * disable unused tests * fix test
1 parent f1e93ba commit 2a510e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2137
-1145
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- name: Verify generated supabase types are checked in
4040
working-directory: packages/server
4141
run: |
42-
supabase gen types typescript --local --schema public > src/@types/schema.ts
43-
if ! git diff --ignore-space-at-eol --exit-code --quiet src/@types/schema.ts; then
42+
supabase gen types typescript --local --schema public > ../shared/src/schema.ts
43+
if ! git diff --ignore-space-at-eol --exit-code --quiet ../shared/src/schema.ts; then
4444
echo "Detected uncommitted changes after build. See status below:"
4545
git diff
4646
exit 1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ yarn-error.log*
2727

2828
.idea/
2929
.vercel
30+
tsconfig.tsbuildinfo

0 commit comments

Comments
 (0)