Commit Graph

71 Commits

Author SHA1 Message Date
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
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
Melvin Chia
b9a8d07c6e chore(cli): update server dev command to use 'bun run dev' 2026-01-10 09:21:12 +08:00
Melvin Chia
89d1dd59d8 fix(tools): update zod dependency to version 4.3.5 and refactor useModalStore usage in templates 2026-01-10 09:19:01 +08:00
Melvin Chia
9bc717bbf5 feat(client,server,db): restructure docker setup, add db-init and client-builder services
feat(db): implement db-init container for migration generation and application
feat(client): create client-builder for on-demand client rebuilds
refactor(server): optimize Dockerfile and entrypoint for better build process
refactor(tools): enhance module install/uninstall with Docker reload options
fix(tools): prevent migration history-sync in Docker mode
feat(tools): add docker management commands for reload functionality
2026-01-07 18:47:22 +08:00
Melvin Chia
b5b0468c6f fix(cli): fix issue with registry generation 2026-01-06 22:03:59 +08:00
Melvin Chia
304810ed21 feat(cli): add aliases for commands and improve module handling 2026-01-06 00:14:32 +08:00
Melvin Chia
8ce71103ff fix(cli): validate locale and module names during installation 2026-01-06 00:14:18 +08:00
Melvin Chia
0de09398b2 refactor(cli): enhance logging and improve module handling functions 2026-01-05 16:29:54 +08:00
Melvin Chia
a32b938a6f feat(cli): add compare command to compare local modules with registry 2026-01-05 16:20:53 +08:00
Melvin Chia
cacdd09ce9 refactor(cli): enhance documentation for utility functions 2026-01-05 16:12:43 +08:00
Melvin Chia
3b8247d640 feat(cli): add command to generate routes and schema registry files 2026-01-05 15:53:20 +08:00