Commit Graph

251 Commits

Author SHA1 Message Date
melvinchia3636
1b19eba56d refactor: some more miscellaneous bug fixing and refactoring 2026-06-25 08:54:13 +08:00
melvinchia3636
f55e8708c6 chore: some more misc detailwinding 2026-06-25 08:54:13 +08:00
melvinchia3636
cd2cdbe254 feat: refactor client codebase in progress 2026-06-25 08:54:12 +08:00
melvinchia3636
97dd0182ab refactor(ui): post-tailwind refactoring started 2026-06-25 08:54:12 +08:00
lukashow
222129fa23 feat(forgeCLI): add host and port options for client and all services 2026-06-25 08:54:11 +08:00
lukashow
1032be1ed7 style(cli): Switch cli logo to better ASCII art 2026-06-25 08:54:11 +08:00
lukashow
785266cddf fix(migration): Improve migration logging 2026-06-25 08:54:11 +08:00
lukashow
bc3e407248 fix(cli): filter out --http flag for superuser creation command 2026-06-25 08:54:11 +08:00
lukashow
098f262b5e fix(cli): Fix database keyword-args issue 2026-06-25 08:54:11 +08:00
melvinchia3636
bcd3505016 fix(cli): replace platform-specific netstat/ss commands with lsof for unified port usage checks. 2026-06-25 08:54:11 +08:00
melvinchia3636
a5cd152d2e fix(cli): improve checkAddressInUse utility to support macOS by using netstat for process identification. 2026-06-25 08:54:11 +08:00
lukashow
203a1b6cc3 fix(cli): improve logging with chalk for better visibility 2026-06-25 08:54:11 +08:00
lukashow
53c16a51f0 fix(cli): enhance database boot with address check and logging 2026-06-25 08:54:11 +08:00
lukashow
cf820b099e fix(db): Implement Pocketbsse http kwargs for accurate database startup 2026-06-25 08:54:11 +08:00
lukashow
2b290d54c8 fix(cli): Remove extra logger conditional statement 2026-06-25 08:54:11 +08:00
lukashow
9e7e3b82b0 fix(cli): include cwd logging in single service execution 2026-06-25 08:54:11 +08:00
melvinchia3636
c1a07807f8 fix(cli): update filter logic to exclude lang modules correctly when listing modules 2026-06-25 08:54:11 +08:00
melvinchia3636
8088a7d765 fix(cli): update locale name validation when installing locales 2026-06-25 08:54:11 +08:00
melvinchia3636
e71edeccfb feat(cli): add view and whoami commands, remove dependencies to npm 2026-06-25 08:54:11 +08:00
melvinchia3636
74780b70a2 feat(cli): Implement checkNPM utility and integrate it into module/locale publishing and registry functions
Should help #86 and #87
2026-06-25 08:54:11 +08:00
melvinchia3636
04e130c594 feat(cli): remove stdio: 'pipe' option from executeCommand when checking package existence. 2026-06-25 08:54:11 +08:00
melvinchia3636
f7d19eab8e fix(cli): hopefully fix #84 2026-06-25 08:54:10 +08:00
melvinchia3636
e5e0596205 fix(cli): await concurrently result to ensure all services complete. 2026-06-25 08:54:10 +08:00
melvinchia3636
a979af1e1a fix(cli): improve error logging and remove actionableError calls 2026-06-25 08:54:10 +08:00
melvinchia3636
0f857ec94a fix(cli): download PocketBase binary if not exists before starting server 2026-06-25 08:54:10 +08:00
melvinchia3636
e02ca887bf refactor(cli): replace execSync with executeCommand for service control 2026-06-25 08:54:10 +08:00
melvinchia3636
36d0378af5 fix(cli): remove Docker environment check for migration generation 2026-06-25 08:54:10 +08:00
melvinchia3636
0c1abf4ee1 fix(cli): ensure stdio is inherited for command execution in startSingleService 2026-06-25 08:54:10 +08:00
melvinchia3636
604eb99bd7 fix(cli): update cwd to use PB_DIR constant for db dev script 2026-06-25 08:54:10 +08:00
melvinchia3636
8d5a97c2ed fix: minor fixes 2026-06-25 08:54:10 +08:00
melvinchia3636
ef4a934cdb fix(cli): Further fix on #81 2026-06-25 08:54:10 +08:00
melvinchia3636
11ffe3f2d2 fix(cli): fix #81 2026-06-25 08:54:10 +08:00
melvinchia3636
94033d6bf3 feat: migrate locale files to a new @lifeforge/<owner>--lang- package structure and refactor locale validation 2026-06-25 08:54:10 +08:00
melvinchia3636
15c46e71e7 feat: standardize locale package naming to @lifeforge/owner--lang-code and implement Zod validation for locale package structure and author. 2026-06-25 08:54:10 +08:00
melvinchia3636
f987cc14bc feat: conditionally stop and restart lifeforge-db Docker service only if it is already running during PocketBase server startup. 2026-06-25 08:54:10 +08:00
melvinchia3636
e771c2627c feat(cli): remove indexes from generated content structure for all tables except 'users' 2026-06-25 08:54:10 +08:00
melvinchia3636
676763cecf fix(cli): switch to pb.collections.import for updating collections and remove redundant index filtering logic. 2026-06-25 08:54:10 +08:00
melvinchia3636
bd1daedf89 fix: prevent duplicate indexes from being added to collections during migration generation. 2026-06-25 08:54:10 +08:00
melvinchia3636
7bc623232b chore: remove debug log from migration generator 2026-06-25 08:54:10 +08:00
melvinchia3636
792e087f93 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:54:10 +08:00
melvinchia3636
c454e0346a feat: implement migration cleanup and disable PocketBase automigrate during migration generation. 2026-06-25 08:54:10 +08:00
melvinchia3636
76b74305ad fix(cli): emove cleanupOldMigrations function and its invocation from the migration generation handler. 2026-06-25 08:54:10 +08:00
melvinchia3636
85074f73eb feat(cli): add --ignore-scripts flag to bun install and bun add commands 2026-06-25 08:54:10 +08:00
melvinchia3636
13a7bc6f6c 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:54:10 +08:00
melvinchia3636
cc26d2e7e2 fix: corrected PocketBase changelog filename 2026-06-25 08:54:10 +08:00
Melvin Chia
0ab5c230b2 feat(cli): implement root dependency removal in installPackage and refine its target type 2026-01-21 19:14:31 +08:00
Melvin Chia
8bbe575f7d fix(cli): specify target directory for installPackage function 2026-01-21 16:00:36 +08:00
Melvin Chia
f6c0aad483 chore(cli): clean up constants file 2026-01-21 16:00:27 +08:00
Melvin Chia
e1a59ae930 fix(cli): await generate migrations handler for new modules 2026-01-21 15:58:14 +08:00
Melvin Chia
3141a4573f fix(cli): update module collection mapping logic and improve schema file handling 2026-01-21 15:58:04 +08:00