Skip to content
Open
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
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ESLINT_NO_DEV_ERRORS=true
VITE_SUPABASE_URL=https://lvarnwvfwquizwqetwsk.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imx2YXJud3Zmd3F1aXp3cWV0d3NrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzE0MTc1NDgsImV4cCI6MjA4Njk5MzU0OH0.M4ecQlrk_MJdJFAJRGLDQ3YR7fZBrLbHeWNCdZ0-y68
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_51T2TKDRNV9PCAZulVS4WddK0fFJnUV3V8RXAdWWeMbokPJk5EAUHIXc801KkxXQNBCJg7543fjiVtxVJMpebhuo500x0q99xA2
VITE_NOVAPOSHTA_API_KEY=6eb24dda6440fa02a9a5f575aa71be2815017ed7
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

108 changes: 0 additions & 108 deletions .eslintrc.cjs

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy to GitHub Pages

permissions:
contents: write
pages: write

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Build the app
run: npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 15 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@ name: Lint

on:
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened]

jobs:
run_linter:

fix-style:
name: Run fix-style on PR
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
node-version: '20'

- name: Install dependencies
run: npm install

- name: Run fix-style
run: npm run fix-style
32 changes: 21 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
.idea
.vscode
build
dist
node_modules
.DS_Store

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

raw_reports
reports
cypress/screenshots
cypress/videos
node_modules

dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
dist/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
13 changes: 8 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"arrowParens": "avoid",
"experimentalTernaries": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"quoteProps": "consistent",
"singleAttributePerLine": true,
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxSingleQuote": false,
"printWidth": 80,
"semi": true,
"bracketSpacing": true,
"bracketSameLine": false
"tabWidth": 2,
"trailingComma": "all"
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["denoland.vscode-deno"]
}
Loading
Loading