Skip to content

Commit 4db67db

Browse files
committed
chore: reorganize project structure and update configs
- Move docs from root to docs/ directory - Move scripts from root to scripts/ directory - Move .hintrc to config/ - Add .env to .gitignore (sensitive file protection) - Update .gitignore, eslint config, and package files - Update backend: Cargo.lock, Cargo.toml, escrow contract, database, reputation, tracing - Update mobile: package.json, ToastContext, useKeyboardAvoidance, screens - Update app: collab route, analytics page - Remove stale build artifacts (tsconfig.tsbuildinfo, lint_results.json, errors.txt)
1 parent e88768e commit 4db67db

52 files changed

Lines changed: 16626 additions & 13083 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["next/babel"]
3+
}

.gitignore

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,58 @@ node_modules/
1616
.next/
1717
backend/target/
1818
.DS_Store
19-
.DS_Store
2019
target/
2120
backend/target/
2221
**/test_snapshots/
2322
*.log
2423
.idea/
2524
.vscode/
25+
26+
# TypeScript build cache
27+
tsconfig.tsbuildinfo
28+
29+
# Build artifacts and temporary files
30+
*.tmp
31+
*.temp
32+
*~
33+
dist/
34+
build/
35+
coverage/
36+
.nyc_output/
37+
logs/
38+
*.log.*
39+
.cache/
40+
41+
# OS generated files
42+
.DS_Store
43+
.DS_Store?
44+
._*
45+
.Spotlight-V100
46+
.Trashes
47+
ehthumbs.db
48+
Thumbs.db
49+
50+
# Runtime data
51+
pids
52+
*.pid
53+
*.seed
54+
*.pid.lock
55+
56+
# Coverage directory used by tools like istanbul
57+
coverage/
58+
59+
# Dependency directories
60+
jspm_packages/
61+
62+
# Optional npm cache directory
63+
.npm
64+
65+
# Optional REPL history
66+
.node_repl_history
67+
68+
# Output of 'npm pack'
69+
*.tgz
70+
71+
# Yarn Integrity file
72+
.yarn-integrity
73+
.env

actual_errors.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

app/api/collab/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let setupWSConnection: (ws: WebSocket, req: Request, opts?: { docName?: string }
1111

1212
async function getSetup() {
1313
if (!setupWSConnection) {
14-
const mod = await import('y-websocket/bin/utils.js')
14+
const mod = await import('y-websocket/bin/utils')
1515
setupWSConnection = mod.setupWSConnection
1616
}
1717
return setupWSConnection

app/profile/analytics/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client'
2+
13
import dynamic from 'next/dynamic'
24
import { Header } from '@/components/header'
35
import { Footer } from '@/components/footer'

0 commit comments

Comments
 (0)