257 Commits

Author SHA1 Message Date
melvinchia3636
43e618a383 refactor: codebase linting 2026-06-25 08:53:36 +08:00
melvinchia3636
a1509bbaee refactor: massive codebase folder restructuring 2026-06-25 08:53:35 +08:00
melvinchia3636
bdb860853c build: introduce to turborepo 2026-06-25 08:53:34 +08:00
melvinchia3636
c1afad2b21 refactor(shared): remove this library 2026-06-25 08:53:34 +08:00
melvinchia3636
e9776c3fd6 refactor: extract shared configs & federation packages; rename log/server-utils
- Create @lifeforge/configs package with shared client/module Vite configs
  and the `@` path alias resolver extracted from client/vite.config.ts
- Create @lifeforge/federation package with module loading, federation
  provider, and route utilities moved out of the client app
- Rename packages/lifeforge-log → packages/log
- Rename packages/lifeforge-server-utils → packages/server-utils
- Update all imports, tsconfig references, Dockerfiles, and workspace
  scripts to reflect the new package names and locations
2026-06-25 08:53:34 +08:00
melvinchia3636
57fbf2a375 chore(tools): remove outdated templates (to be added back in the future) 2026-06-25 08:53:34 +08:00
melvinchia3636
8e579ab8a4 refactor: some more miscellaneous bug fixing and refactoring 2026-06-25 08:53:33 +08:00
melvinchia3636
8e70954a7d chore: some more misc detailwinding 2026-06-25 08:53:33 +08:00
melvinchia3636
4ba885e61c feat: refactor client codebase in progress 2026-06-25 08:53:32 +08:00
melvinchia3636
60b7e0395c refactor(ui): post-tailwind refactoring started 2026-06-25 08:53:32 +08:00
lukashow
2050e0304f feat(forgeCLI): add host and port options for client and all services 2026-06-25 08:53:31 +08:00
lukashow
4555f73570 style(cli): Switch cli logo to better ASCII art 2026-06-25 08:53:31 +08:00
lukashow
6ce26ed8f1 fix(migration): Improve migration logging 2026-06-25 08:53:31 +08:00
lukashow
4cd625f38b fix(cli): filter out --http flag for superuser creation command 2026-06-25 08:53:31 +08:00
lukashow
7d290cc320 fix(cli): Fix database keyword-args issue 2026-06-25 08:53:31 +08:00
melvinchia3636
d56ec866c7 fix(cli): replace platform-specific netstat/ss commands with lsof for unified port usage checks. 2026-06-25 08:53:31 +08:00
melvinchia3636
0dfbbb5e8c fix(cli): improve checkAddressInUse utility to support macOS by using netstat for process identification. 2026-06-25 08:53:31 +08:00
lukashow
1195e99a3f fix(cli): improve logging with chalk for better visibility 2026-06-25 08:53:30 +08:00
lukashow
b4122bed49 fix(cli): enhance database boot with address check and logging 2026-06-25 08:53:30 +08:00
lukashow
bfb039eac0 fix(db): Implement Pocketbsse http kwargs for accurate database startup 2026-06-25 08:53:30 +08:00
lukashow
6dd5784a30 fix(cli): Remove extra logger conditional statement 2026-06-25 08:53:30 +08:00
lukashow
62b3045f69 fix(cli): include cwd logging in single service execution 2026-06-25 08:53:30 +08:00
melvinchia3636
0dcc7abb10 fix(cli): update filter logic to exclude lang modules correctly when listing modules 2026-06-25 08:53:30 +08:00
melvinchia3636
c3e9d9283d fix(cli): update locale name validation when installing locales 2026-06-25 08:53:30 +08:00
melvinchia3636
62fe715d7f feat(cli): add view and whoami commands, remove dependencies to npm 2026-06-25 08:53:30 +08:00
melvinchia3636
fa300e9120 feat(cli): Implement checkNPM utility and integrate it into module/locale publishing and registry functions
Should help #86 and #87
2026-06-25 08:53:30 +08:00
melvinchia3636
314338c393 feat(cli): remove stdio: 'pipe' option from executeCommand when checking package existence. 2026-06-25 08:53:30 +08:00
melvinchia3636
7610915382 fix(cli): hopefully fix #84 2026-06-25 08:53:30 +08:00
melvinchia3636
d1c1f47e70 fix(cli): await concurrently result to ensure all services complete. 2026-06-25 08:53:30 +08:00
melvinchia3636
6de3fb074b fix(cli): improve error logging and remove actionableError calls 2026-06-25 08:53:30 +08:00
melvinchia3636
f0f387a7a9 fix(cli): download PocketBase binary if not exists before starting server 2026-06-25 08:53:30 +08:00
melvinchia3636
5dfc58ed97 refactor(cli): replace execSync with executeCommand for service control 2026-06-25 08:53:30 +08:00
melvinchia3636
b7c3898a37 fix(cli): remove Docker environment check for migration generation 2026-06-25 08:53:30 +08:00
melvinchia3636
e9ef672173 fix(cli): ensure stdio is inherited for command execution in startSingleService 2026-06-25 08:53:30 +08:00
melvinchia3636
36398be86b fix(cli): update cwd to use PB_DIR constant for db dev script 2026-06-25 08:53:30 +08:00
melvinchia3636
1e0e0e3b91 fix: minor fixes 2026-06-25 08:53:30 +08:00
melvinchia3636
09167db483 fix(cli): Further fix on #81 2026-06-25 08:53:30 +08:00
melvinchia3636
15eea88bb3 fix(cli): fix #81 2026-06-25 08:53:30 +08:00
melvinchia3636
93ba3fe1fa feat: migrate locale files to a new @lifeforge/<owner>--lang- package structure and refactor locale validation 2026-06-25 08:53:30 +08:00
melvinchia3636
ae4ea62d80 feat: standardize locale package naming to @lifeforge/owner--lang-code and implement Zod validation for locale package structure and author. 2026-06-25 08:53:30 +08:00
melvinchia3636
447ad62da0 feat: conditionally stop and restart lifeforge-db Docker service only if it is already running during PocketBase server startup. 2026-06-25 08:53:30 +08:00
melvinchia3636
a078b0f875 feat(cli): remove indexes from generated content structure for all tables except 'users' 2026-06-25 08:53:30 +08:00
melvinchia3636
2c1a47a616 fix(cli): switch to pb.collections.import for updating collections and remove redundant index filtering logic. 2026-06-25 08:53:30 +08:00
melvinchia3636
ba3172748f fix: prevent duplicate indexes from being added to collections during migration generation. 2026-06-25 08:53:30 +08:00
melvinchia3636
6bcbabc90e chore: remove debug log from migration generator 2026-06-25 08:53:30 +08:00
melvinchia3636
b9d71e8cd0 feat: integrate Docker service control into PocketBase management, remove the docker CLI command, and enhance module source cleaning to preserve assets and schema.ts. 2026-06-25 08:53:30 +08:00
melvinchia3636
5feb94f95a feat: implement migration cleanup and disable PocketBase automigrate during migration generation. 2026-06-25 08:53:30 +08:00
melvinchia3636
b57a37dc8d fix(cli): emove cleanupOldMigrations function and its invocation from the migration generation handler. 2026-06-25 08:53:30 +08:00
melvinchia3636
048d70f72c feat(cli): add --ignore-scripts flag to bun install and bun add commands 2026-06-25 08:53:30 +08:00
melvinchia3636
c4904d0ef3 feat(cli): refactor database migration generation to dynamically resolve collection IDs and relations against a live PocketBase instance, removing static ID-to-name mapping and simplifying the migration application process 2026-06-25 08:53:30 +08:00