Full configuration export/import system for Homarr with excellent DX: - Export/import boards, apps, integrations (with re-encrypted secrets), users (with bcrypt hashes), groups (with permissions and memberships), search engines, and server settings - Homepage services.yaml import with widget-type mapping - Generic resolveEntities() utility eliminates per-entity boilerplate - Declarative entity-fields.ts: adding a new user preference requires only one line change (no export/import/schema edits needed) - User schema uses .catchall(z.unknown()) for forward-compatible prefs - groupByKey() utility replaces manual Map-building - CONFIG_ENTITY_KEYS as single source of truth for entity metadata - Reuse existing entities (apps by name+icon+href, integrations by kind+name+url, users by email, groups by name, boards by name) - Skip duplicates with warnings rather than failing - Onboarding flow skips user creation step when config includes users - Reuse existing admin group during onboarding after config import
79 lines
875 B
Plaintext
79 lines
875 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
node_modules
|
|
.pnp
|
|
.pnp.js
|
|
.idea/
|
|
|
|
# testing
|
|
coverage
|
|
|
|
# next.js
|
|
.next/
|
|
out/
|
|
next-env.d.ts
|
|
|
|
# artifacts
|
|
packages/db/migrations/*/migrate.cjs
|
|
|
|
# nitro
|
|
.nitro/
|
|
.output/
|
|
|
|
# production
|
|
build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# local env files
|
|
.env
|
|
.env*.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
|
|
# turbo
|
|
.turbo
|
|
|
|
# database
|
|
*.sqlite
|
|
|
|
# logs
|
|
*.log
|
|
|
|
apps/tasks/tasks.cjs
|
|
apps/tasks/tasks.css
|
|
apps/websocket/wssServer.cjs
|
|
apps/websocket/wssServer.css
|
|
apps/nextjs/.million/
|
|
packages/cli/cli.cjs
|
|
|
|
# e2e mounts
|
|
e2e/shared/tmp
|
|
|
|
#personal backgrounds
|
|
apps/nextjs/public/images/background.png
|
|
|
|
# next-intl
|
|
en.d.json.ts
|
|
|
|
# personal agent config
|
|
AGENTS.md
|
|
.opencode
|
|
|
|
# local docker dev
|
|
.docker-data/
|
|
.docker-cache/
|