Skip to content

Commit

Permalink
Merge pull request #54 from nepalcodes/user_auth
Browse files Browse the repository at this point in the history
Need feedback on user authentication
  • Loading branch information
christikaes authored Jul 5, 2024
2 parents 2ffab0b + 72c443a commit 7af3665
Show file tree
Hide file tree
Showing 11 changed files with 473 additions and 19 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,19 +16,19 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16' # Use Node.js 16.x
node-version: '20' # Use Node.js v20.x.x

- name: Install pnpm
run: npm install -g pnpm

- name: Changing Directory
run: cd nepalingo-web
run: cd nepalingo-web

- name: Install dependencies
run: pnpm install

- name: Lint code
run: pnpm run lint

- name: Test Build
run: pnpm run build
run: pnpm run build
3 changes: 2 additions & 1 deletion nepalingo-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Nepalingo</title>

</head>
<body>
<div id="root"></div>
Expand Down
6 changes: 5 additions & 1 deletion nepalingo-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
"preview": "vite preview"
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@supabase/supabase-js": "^2.44.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react-dom": "^18.3.1",
"react-router-dom": "^6.24.1"
},
"devDependencies": {
"@types/node": "^20.14.9",
Expand Down
185 changes: 185 additions & 0 deletions nepalingo-web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions nepalingo-web/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// Using cjs instead of this file because vite is still using postcss-load-config v4 which
// does not support esm with typescript
// https://github.com/postcss/postcss-load-config/issues/239 (fix added in v4)
// https://github.com/vitejs/vite/issues/15869#issuecomment-1939414914
// https://github.com/vitejs/vite/pull/15235

export const plugins = {
tailwindcss: {},
autoprefixer: {},
Expand Down
Loading

0 comments on commit 7af3665

Please sign in to comment.