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

tutors 11 release #845

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
PUBLIC_firebase_apiKey = "XXX"
PUBLIC_firebase_databaseUrl= "XXX"
PUBLIC_firebase_projectId = "XXX"
PUBLIC_tutors_store_id = "XXX"
PUBLIC_tutors_store_secret= "XXX"
# Keys for Tutors reader

PUBLIC_SUPABASE_URL="https://XXX.supabase.co"
# Set this to true if you do not want auth/analytics or do not have any keys.
PUBLIC_ANON_MODE=TRUE

# keys for github auth
PRIVATE_AUTH_GITHUB_ID="XXX"
PRIVATE_AUTH_GITHUB_SECRET="XXX"
PRIVATE_AUTH_SECRET="XXX"

# keys for supabase
PUBLIC_SUPABASE_URL="XXX"
PUBLIC_SUPABASE_ANON_KEY="XXX"
CYPRESS_RECORD_KEY="XXX"

PUBLIC_party_kit_main_room="XXX"
# keys for partykit
PUBLIC_party_kit_main_room="XXX"
20 changes: 15 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
.DS_Store
node_modules
/build

# Output
.output
.vercel
/.svelte-kit
/package
/build

# OS
.DS_Store
Thumbs.db

# Env
.env
.env.*
!.env.example
/cypress/videos
/cypress/screenshots
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
13 changes: 2 additions & 11 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"useSpaces": true,
"doubleQuote": true,
"useTabs": false,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 180,
"plugins": ["prettier-plugin-svelte"],
"printWidth": 120,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.svelte",
Expand Down
33 changes: 33 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import prettier from "eslint-config-prettier";
import js from "@eslint/js";
import svelte from "eslint-plugin-svelte";
import globals from "globals";
import ts from "typescript-eslint";

export default ts.config(
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs["flat/recommended"],
prettier,
...svelte.configs["flat/prettier"],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
},
{
files: ["**/*.svelte"],

languageOptions: {
parserOptions: {
parser: ts.parser
}
}
},
{
ignores: ["build/", ".svelte-kit/", "dist/"]
}
);
Loading