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
41 changes: 39 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
Expand All @@ -10,18 +15,50 @@
# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files
.env*
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# turborepo
.turbo

# SSH Keys and secrets (additional protection)
**/*.pem
**/*.key
**/*.ppk
**/*.keystore
**/*id_rsa*
**/*id_dsa*
**/*id_ed25519*
**/*.p12
**/*.pfx
**/*.cert
**/*.crt
**/*.cer
**/*.der
**/*.secret
**/*credential*
**/*token*
**/*password*
**/*SECRET*
**/*API_KEY*

# typescript
*.tsbuildinfo
next-env.d.ts
next-env.d.tsid_ed25519
13 changes: 13 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

# Hook to check for sensitive files
if git diff --cached --name-only | grep -E "\.(pem|key|p12|pfx|cert|crt|cer|der|secret)$|id_(rsa|dsa|ed25519)" > /dev/null; then
echo "ERROR: Attempting to commit sensitive files."
echo "The following sensitive files were found:"
git diff --cached --name-only | grep -E "\.(pem|key|p12|pfx|cert|crt|cer|der|secret)$|id_(rsa|dsa|ed25519)"
echo "Please remove these files from your commit."
exit 1
fi

# Execute regular lint-staged
npx lint-staged
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# liquidity
1 change: 1 addition & 0 deletions dae-nan.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEiYPZCQIxMMMcI22ALpzsrmxp+ZP+O2+BF4VW+4GheB daenan.dsouza@gmail.com
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import next from 'eslint-config-next'

export default [
next,
{
ignores: ['.next', 'node_modules']
}
]
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Loading