-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ✨ Use Svelte 5 (TypeScript x Rune) * ✨ Use Tailwind CSS 4 * ✨ Replace Nhost with Supabase * ✨ Use eslint 9 (Flat Config) * ♻️ Prepend @repo/ to custom package names * ♻️ Merge eslint-config-custom-typescript into eslint-config-custom * 📝 Update README.md
- Loading branch information
Showing
194 changed files
with
6,905 additions
and
15,021 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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# WebApp (`apps/web`) | ||
# Supabase (`apps/backend`) | ||
|
||
PUBLIC_GOOGLE_ANALYTICS_ID= | ||
|
||
# Nhost (`apps/nhost`) | ||
SUPABASE_DIRECT_URL=postgresql://postgres:[email protected]:54322/postgres | ||
|
||
PUBLIC_NHOST_SUBDOMAIN=local | ||
PUBLIC_NHOST_REGION= | ||
# SvelteKit (`apps/web`) | ||
|
||
PUBLIC_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql | ||
HASURA_ADMIN_SECRET=nhost-admin-secret | ||
PUBLIC_GOOGLE_ANALYTICS_ID= | ||
PUBLIC_SUPABASE_URL=http://127.0.0.1:54321 | ||
PUBLIC_SUPABASE_ANON_KEY= |
This file was deleted.
Oops, something went wrong.
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,5 +1,2 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged --concurrent false | ||
npm test | ||
pnpm lint-staged | ||
pnpm 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export default { | ||
'*': ['cspell --no-must-find-files', 'prettier --ignore-unknown --write'], | ||
'*.{js,cjs,mjs,jsx,ts,tsx}': ['eslint --fix'], | ||
'*.svelte': ['markuplint', 'eslint --fix'], | ||
'*.html': ['markuplint'], | ||
'*': ['cspell --no-must-find-files', 'prettier --write --ignore-unknown'], | ||
'*.html': ['markuplint', 'prettier --write'], | ||
'*.css': ['prettier --write'], | ||
'*.{js,cjs,mjs,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'], | ||
'*.svelte': ['markuplint', 'eslint --fix', 'prettier --write'], | ||
}; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
package-manager-strict=false |
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,24 +1,17 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
# Ignore files for PNPM | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
# custom | ||
/apps/mockup/public/styles.css | ||
/apps/nhost/.nhost/ | ||
/apps/nhost/nhost/* | ||
!/apps/nhost/nhost/emails/ | ||
/apps/story/storybook-static/ | ||
/apps/web/.svelte-kit | ||
/apps/web/$houdini/ | ||
/apps/web/schema.graphql | ||
/apps/web/src/lib/$generated | ||
|
||
# prettier-plugin-svelte (waiting for Svelte 5 support) | ||
*.svelte |
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 was deleted.
Oops, something went wrong.
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
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,3 @@ | ||
{ | ||
"recommendations": ["denoland.vscode-deno"] | ||
} |
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,8 @@ | ||
{ | ||
"deno.enablePaths": ["supabase/functions"], | ||
"deno.lint": true, | ||
"deno.unstable": true, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "denoland.vscode-deno" | ||
} | ||
} |
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,11 @@ | ||
# `backend` app | ||
|
||
This app is a [Supabase](https://supabase.io/) [Local Dev / CLI](https://supabase.com/docs/guides/cli). | ||
|
||
## Commands | ||
|
||
```bash | ||
pnpm pull # Pull the latest changes from the supabase server | ||
pnpm start # Start the supabase server | ||
pnpm stop # Stop the supabase server | ||
``` |
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,13 @@ | ||
{ | ||
"name": "backend", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"pull": "supabase db pull --local --schema auth --schema storage", | ||
"start": "supabase start", | ||
"stop": "supabase stop" | ||
}, | ||
"devDependencies": { | ||
"supabase": "^1.163.6" | ||
} | ||
} |
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,4 @@ | ||
# Supabase | ||
.branches | ||
.temp | ||
.env |
Oops, something went wrong.