Skip to content

Commit

Permalink
Merge branch 'development' into feat/development/16-Nav
Browse files Browse the repository at this point in the history
  • Loading branch information
SanudaKJ authored May 21, 2024
2 parents 9b56733 + cf3cc81 commit 3100014
Show file tree
Hide file tree
Showing 108 changed files with 12,356 additions and 678 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

.env
24 changes: 22 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#!/usr/bin/env sh
# #!/usr/bin/env sh

npx --no-install commitlint --edit "$1"
# PKG_MGRS="pnpm yarn npm"
# NODE_GLOBALS="node bun $PKG_MGRS npx"

# NVM_DIR="$HOME/.nvm"

# if [ -d "$NVM_DIR" ]; then
# _load_nvm() {
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# node --version >/dev/null
# npx --version >/dev/null
# }

# for cmd in $NODE_GLOBALS; do
# eval "$cmd(){ unset -f $NODE_GLOBALS; _load_nvm; unset -f _load_nvm; $cmd \$@; }"
# done

# unset -f "$NODE_GLOBALS"
# fi

# npx --no-install commitlint --edit "$1"
32 changes: 30 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
#!/usr/bin/env sh
# #!/usr/bin/env sh

yarn build
# PKG_MGRS="pnpm yarn npm"
# NODE_GLOBALS="node bun $PKG_MGRS npx"

# NVM_DIR="$HOME/.nvm"

# if [ -d "$NVM_DIR" ]; then
# _load_nvm() {
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# node --version >/dev/null
# npx --version >/dev/null
# }

# for cmd in $NODE_GLOBALS; do
# eval "$cmd(){ unset -f $NODE_GLOBALS; _load_nvm; unset -f _load_nvm; $cmd \$@; }"
# done

# unset -f "$NODE_GLOBALS"
# fi

# RUNNERS="prettier build"
# for pm in $PKG_MGRS; do
# if command -v "$pm" >/dev/null; then
# for X in $RUNNERS; do
# eval "$pm run $X"
# done
# break
# fi
# done
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
18 changes: 9 additions & 9 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// async redirects() {
// return [
// {
// source: "/",
// destination: "/underdev",
// permanent: false,
// },
// ];
// },
async redirects() {
return [
{
source: "/underdev",
destination: "/",
permanent: false,
},
];
},
};

export default nextConfig;
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,29 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"prepare": "husky"
"prepare": "husky",
"prettier": "prettier --write ."
},
"dependencies": {
"@headlessui/react": "^2.0.3",
"@headlessui/tailwindcss": "^0.2.0",
"@hookform/resolvers": "^3.3.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@reduxjs/toolkit": "^2.2.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@remixicon/react": "^4.2.0",
"@tremor/react": "^3.16.3",
"axios": "^1.6.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.376.0",
"next": "14.2.3",
"prettier": "^3.2.5",
"prettier-plugin-css-order": "^2.1.2",
"prettier-plugin-tailwindcss": "^0.5.14",
"react": "^18",
"react-dom": "^18",
"react-fast-marquee": "^1.6.4",
Expand All @@ -34,6 +44,7 @@
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@tailwindcss/forms": "^0.5.7",
"@types/axios": "^0.14.0",
"@types/node": "^20",
"@types/react": "^18",
Expand All @@ -43,7 +54,7 @@
"eslint-config-next": "14.2.3",
"husky": "^9.0.11",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"typescript": "^5"
}
}
Loading

0 comments on commit 3100014

Please sign in to comment.