mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
common/ had become the backend's library: 30 of its 41 modules were imported by nothing in the frontend, so the name no longer said what belonged there. It now holds only what the frontend or the build imports too; backend-only code moved to server/, flat except for datasets/ (the dataset engine and its readers). The *-db/ dataset directories stay in common/: self-hosting docs and Docker volumes mount those paths. frontend/utils/ keeps its app-wide modules at the root and gains ip/ (IP / ASN shaping and validation), report/ (the report pipeline) and features/ (the pure layer of a single feature). Paths only — no logic changes. The Dockerfile copies server/, and the AGENTS.md files say where a new module goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
68 lines
1.2 KiB
Plaintext
68 lines
1.2 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
.claude
|
|
tmp
|
|
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
.env
|
|
.env.forker
|
|
.vscode/extensions.json
|
|
|
|
package-lock.json
|
|
localtest
|
|
|
|
.VSCodeCounter
|
|
|
|
# Offline datasets (server/datasets/datasets.js): every common/<name>-db/ directory
|
|
# holds only downloaded data, its state and lock — created at runtime, never
|
|
# committed (CAIDA's data is under a non-commercial license).
|
|
common/*-db/
|
|
.learnings/
|
|
docs/
|
|
.plan/
|
|
.skills/
|
|
|
|
# Local Scripts (the listed exceptions are public — contributors need
|
|
# fetch-favicons.js for the Connectivity favicon pipeline, and the i18n pair
|
|
# to scaffold a locale pack and see how far along it is)
|
|
scripts/*
|
|
!scripts/fetch-favicons.js
|
|
!scripts/i18n-status.js
|
|
!scripts/i18n-scaffold.js
|
|
!scripts/check-dns-resolvers.js
|
|
|
|
# Section banners — deploy-time data (ads and campaign promos stay out of git)
|
|
frontend/data/banners/*
|
|
|
|
# Site configuration
|
|
public/sitemap.xml
|
|
public/robots.txt
|
|
public/llms.txt
|
|
public/llms-full.txt
|
|
public/tools/
|
|
public/robots.txt
|
|
public/ads.txt
|
|
|
|
# Private AI context (per-machine, not for the public repo)
|
|
local-context.md
|