-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
290 changed files
with
5,824 additions
and
10,366 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 |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
"lottiefiles", | ||
"reduxjs", | ||
"signup", | ||
"stylelint", | ||
"tailwindcss", | ||
"tanstack", | ||
"Taskward", | ||
|
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,15 @@ | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react/recommended", | ||
"plugin:react/jsx-runtime", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "react"], | ||
"root": true, | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off" | ||
} | ||
} |
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,2 +1,13 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
*.js eol=lf | ||
*.jsx eol=lf | ||
*.ts eol=lf | ||
*.tsx eol=lf | ||
*.vue eol=lf | ||
*.css eol=lf | ||
*.scss eol=lf | ||
*.md eol=lf | ||
*.mdx eol=lf | ||
*.json eol=lf | ||
*.yml eol=lf |
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,8 +1,27 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.sw? | ||
|
||
.env.*.local | ||
.env.local |
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 @@ | ||
npx lint-staged |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
build | ||
public | ||
node_modules | ||
node_modules |
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 @@ | ||
"@bit-ocean/prettier-config" |
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 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
interface ImportMetaEnv { | ||
readonly VITE_TASKWARD_BASE_URL: string | ||
readonly VITE_BRUCE_WORLD_BASE_URL: string | ||
readonly VITE_GITHUB_CLIENT_ID: string | ||
readonly VITE_VERSION: string | ||
readonly VITE_SHOW_REACT_QUERY_DEVTOOL: string | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv | ||
} |
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,2 @@ | ||
declare module '@tailwindcss/typography' | ||
declare module 'daisyui' |
File renamed without changes.
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
File renamed without changes.
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,43 @@ | ||
<!doctype html> | ||
<html | ||
lang="en" | ||
data-theme="taskward" | ||
> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/src/css/index.css" | ||
/> | ||
<link | ||
rel="icon" | ||
type="image/svg+xml" | ||
href="/taskward.png" | ||
/> | ||
<meta | ||
name="description" | ||
content="Taskward means task-oriented, is a Todo&Tasks app. It can help you to record something you plan to do." | ||
/> | ||
<meta | ||
name="keywords" | ||
content="Todo, Task, Taskward" | ||
/> | ||
<meta | ||
name="author" | ||
content="Bruce Song" | ||
/> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0" | ||
/> | ||
<title>Taskward</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script | ||
type="module" | ||
src="/src/index.tsx" | ||
></script> | ||
</body> | ||
</html> |
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,66 @@ | ||
{ | ||
"name": "taskward-v1-website", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"prod": "vite --mode production", | ||
"build": "tsc && vite build", | ||
"preview": "vite preview", | ||
"cspell:check": "cspell **", | ||
"eslint:check": "eslint .", | ||
"eslint:fix": "eslint --fix .", | ||
"prettier:check": "prettier --check .", | ||
"prettier:fix": "prettier --write .", | ||
"generate:env": "bun scripts/generateEnv.ts", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@hookform/resolvers": "^2.9.11", | ||
"@reduxjs/toolkit": "^1.8.3", | ||
"@tanstack/react-query": "^4.2.3", | ||
"axios": "^0.27.2", | ||
"clsx": "^2.1.0", | ||
"daisyui": "^2.31.0", | ||
"dayjs": "^1.11.10", | ||
"i18next": "^23.10.1", | ||
"jwt-decode": "^3.1.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-hook-form": "^7.34.2", | ||
"react-i18next": "^11.18.3", | ||
"react-redux": "^8.0.2", | ||
"react-router-dom": "^6.3.0", | ||
"uuid": "^9.0.1", | ||
"yup": "^0.32.11" | ||
}, | ||
"devDependencies": { | ||
"@bit-ocean/prettier-config": "^0.0.10", | ||
"@hookform/devtools": "^4.3.1", | ||
"@tanstack/react-query-devtools": "^4.2.3", | ||
"@types/node": "^20.11.28", | ||
"@types/react": "^18.2.66", | ||
"@types/react-dom": "^18.2.22", | ||
"@types/uuid": "^9.0.8", | ||
"@typescript-eslint/eslint-plugin": "^7.2.0", | ||
"@typescript-eslint/parser": "^7.2.0", | ||
"@vitejs/plugin-react": "^2.2.0", | ||
"autoprefixer": "^10.4.18", | ||
"bun": "^1.0.31", | ||
"cspell": "^8.6.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-react": "^7.34.1", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"postcss": "^8.4.35", | ||
"prettier": "^3.2.5", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "~5.3.3", | ||
"vite": "^3.0.0" | ||
}, | ||
"lint-staged": { | ||
"**/*": "prettier --write --ignore-unknown" | ||
}, | ||
"private": true, | ||
"license": "MIT" | ||
} |
Oops, something went wrong.