Commit Graph

214 Commits

Author SHA1 Message Date
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
aaf1c0a428 fix(tools): update zod dependency to version 4.3.5 2026-01-10 09:19:40 +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
d24338a74d chore(cli): add tar and its types to dependencies 2026-01-05 16:20:42 +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
Melvin Chia
ec37a0b8b5 fix(cli): ensure module names are snake_cased when generating collection prefixes for matching. 2026-01-05 13:55:08 +08:00
Melvin Chia
8067465120 refactor(cli): update install and uninstall commands to handle multiple modules 2026-01-05 13:14:12 +08:00
Melvin Chia
1bd2e49bca feat(cli): add available template module types and refactor registry imports 2026-01-05 13:14:12 +08:00
Melvin Chia
9c4bd708f8 refactor(cli): update module type imports for better clarity 2026-01-05 13:14:12 +08:00
Melvin Chia
66e5b11d6d refactor(cli): improve key generation for module schemas 2026-01-05 13:14:12 +08:00
Melvin Chia
9a2ddb6cd8 feat(cli): rename generateServerRegistry function to generateRouteRegistry 2026-01-05 13:14:12 +08:00
Melvin Chia
16c6dff41d refactor(cli): simplify module type imports and structure 2026-01-05 13:14:12 +08:00
Melvin Chia
8d42597e5e fix(cli): better handle error output when starting PocketBase server 2026-01-05 13:14:12 +08:00
Melvin Chia
eb8ffebd2c fix(cli): add proper removal of symlink when uninstalling package 2026-01-05 13:14:12 +08:00
Melvin Chia
c4048af9bd feat(cli): add bump and revert package version functionality when publishing locales or modules 2026-01-05 13:14:12 +08:00
Melvin Chia
254698919d refactor(cli): remove parseCollectionName function and related constants as they are moved to shared package 2026-01-05 13:14:12 +08:00
Melvin Chia
0292932082 fix(cli): add dereference option to fs.cpSync in installPackage 2026-01-05 13:14:12 +08:00
Melvin Chia
b9af7fc014 feat(cli): add initGitRepository to handle git initialization 2026-01-05 13:14:12 +08:00
Melvin Chia
faba78618f refactor(utils): update writeFormattedFile to determine filePath dynamically 2026-01-05 13:14:12 +08:00