Commit Graph

240 Commits

Author SHA1 Message Date
lukashow
b7fe04dd61 fix(cli): improve logging with chalk for better visibility 2026-02-04 17:54:00 +08:00
lukashow
f178141dc8 fix(cli): enhance database boot with address check and logging 2026-02-03 20:47:27 +08:00
lukashow
b2c58447a1 fix(db): Implement Pocketbsse http kwargs for accurate database startup 2026-02-03 20:11:54 +08:00
lukashow
c784a00433 fix(cli): Remove extra logger conditional statement 2026-02-03 19:48:53 +08:00
lukashow
051b698678 fix(cli): include cwd logging in single service execution 2026-02-03 19:48:16 +08:00
melvinchia3636
2f9854175a fix(cli): update filter logic to exclude lang modules correctly when listing modules 2026-01-30 22:23:41 +08:00
melvinchia3636
58882ecf3a fix(cli): update locale name validation when installing locales 2026-01-30 06:30:26 +08:00
melvinchia3636
1fcafb486c feat(cli): add view and whoami commands, remove dependencies to npm 2026-01-29 19:08:36 +08:00
melvinchia3636
b07d19e12a feat(cli): Implement checkNPM utility and integrate it into module/locale publishing and registry functions
Should help #86 and #87
2026-01-29 16:27:46 +08:00
melvinchia3636
a0b63d32dc feat(cli): remove stdio: 'pipe' option from executeCommand when checking package existence. 2026-01-29 11:29:41 +08:00
melvinchia3636
2b45a41369 fix(cli): hopefully fix #84 2026-01-29 09:24:08 +08:00
melvinchia3636
77a2660c1d fix(cli): await concurrently result to ensure all services complete. 2026-01-29 08:37:32 +08:00
melvinchia3636
761369f597 fix(cli): improve error logging and remove actionableError calls 2026-01-29 08:21:48 +08:00
melvinchia3636
ad2e7fb623 fix(cli): download PocketBase binary if not exists before starting server 2026-01-29 08:03:15 +08:00
melvinchia3636
d244c02500 refactor(cli): replace execSync with executeCommand for service control 2026-01-29 08:02:49 +08:00
melvinchia3636
de83044506 fix(cli): remove Docker environment check for migration generation 2026-01-29 08:02:12 +08:00
melvinchia3636
8b886b7012 fix(cli): ensure stdio is inherited for command execution in startSingleService 2026-01-29 08:01:33 +08:00
melvinchia3636
8eec0b5334 fix(cli): update cwd to use PB_DIR constant for db dev script 2026-01-29 08:01:16 +08:00
melvinchia3636
922f5d6daf fix: minor fixes 2026-01-28 22:04:09 +08:00
melvinchia3636
6b2ffd09c6 fix(cli): Further fix on #81 2026-01-28 19:17:51 +08:00
melvinchia3636
0e10723dd9 fix(cli): fix #81 2026-01-28 18:42:36 +08:00
melvinchia3636
231d73064c feat: migrate locale files to a new @lifeforge/<owner>--lang- package structure and refactor locale validation 2026-01-28 14:12:45 +08:00
melvinchia3636
6f862ba1c8 feat: standardize locale package naming to @lifeforge/owner--lang-code and implement Zod validation for locale package structure and author. 2026-01-28 13:42:04 +08:00
melvinchia3636
0f48b48da6 feat: conditionally stop and restart lifeforge-db Docker service only if it is already running during PocketBase server startup. 2026-01-28 13:03:53 +08:00
melvinchia3636
3831cafc5b feat(cli): remove indexes from generated content structure for all tables except 'users' 2026-01-28 12:52:55 +08:00
melvinchia3636
217a531ee3 fix(cli): switch to pb.collections.import for updating collections and remove redundant index filtering logic. 2026-01-28 12:47:10 +08:00
melvinchia3636
22b77a4fa6 fix: prevent duplicate indexes from being added to collections during migration generation. 2026-01-28 12:33:57 +08:00
melvinchia3636
9c7abb5cda chore: remove debug log from migration generator 2026-01-28 09:25:47 +08:00
melvinchia3636
009ab7e354 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-01-28 09:19:46 +08:00
melvinchia3636
2562f101b8 feat: implement migration cleanup and disable PocketBase automigrate during migration generation. 2026-01-28 08:49:59 +08:00
melvinchia3636
f6890a81e7 fix(cli): emove cleanupOldMigrations function and its invocation from the migration generation handler. 2026-01-28 08:23:00 +08:00
melvinchia3636
39773f7aa4 feat(cli): add --ignore-scripts flag to bun install and bun add commands 2026-01-28 07:57:07 +08:00
melvinchia3636
2c5fd3e4d6 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-01-28 07:41:43 +08:00
melvinchia3636
eb13852833 fix: corrected PocketBase changelog filename 2026-01-28 06:01:50 +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
Melvin Chia
006d1fa522 feat(cli): enhance module upgrade process with gitignore restoration and source cleaning 2026-01-20 11:53:55 +08:00
Melvin Chia
36955c2118 fix(cli): update migration generation logic to run outside dev mode 2026-01-20 11:53:45 +08:00
Melvin Chia
bbd12bf8e8 refactor(cli): streamline module handling and improve gitignore management 2026-01-20 05:58:33 +08:00
Melvin Chia
85ab0629dc feat(cli): implement cleanModuleSource function and flexible package.json location 2026-01-20 05:26:23 +08:00
Melvin Chia
36fe7adcd8 feat(cli): remove generateRouteRegistry and generateSchemaRegistry calls 2026-01-20 05:25:52 +08:00
Melvin Chia
cab4276ade feat(tools): WIP 2026-01-18 21:26:32 +08:00
Melvin Chia
9308b6a97f refactor(cli): replace logging utility with new logger implementation, update logging calls across modules 2026-01-12 18:36:41 +08:00
Melvin Chia
3ffb4cc136 feat(cli): improve module management commands and Docker integration 2026-01-12 16:18:21 +08:00
Melvin Chia
61f9dd9628 feat(cli): expose build command for module client bundles 2026-01-10 16:20:32 +08:00
Melvin Chia
f50f789037 feat(cli): add buildModuleHandler for client bundle generation 2026-01-10 16:19:50 +08:00
Melvin Chia
10554a09fb refactor(cli): update module structure validation rule in module publish command to include client files 2026-01-10 16:19:31 +08:00