Skip to content

Tags: hyperjumptech/hyperjump-web-framework

Tags

v0.0.10

Toggle v0.0.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement project root detection and enhance route path resolution in…

… CLI (#21)

- Added a new `findProjectRoot` function to locate the project root directory by searching for `package.json` in parent directories.
- Updated `resolveRoutePath` methods in `NextAppRouterGenerator` and `NextPagesRouterGenerator` to utilize the detected project root for more accurate route path resolution.
- Enhanced tests for route path resolution to cover various scenarios, including multiple `/app/` segments and projects using a `src` directory structure.
- Introduced a new test file for `findProjectRoot` to ensure its functionality and correctness.

These changes improve the flexibility and accuracy of route path generation in the CLI, particularly for complex project structures.

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>

v0.0.9

Toggle v0.0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `--with-entrypoint` option to CLI for route entry-point file gene…

…ration (#20)

- Introduced a new command-line option `--with-entrypoint` to create missing route entry-point files during the generation process.
- Updated documentation to reflect the new option and its usage.
- Modified CLI behavior to conditionally create entry-point files based on the presence of the `--with-entrypoint` flag.
- Enhanced tests to verify the correct functionality of the new option and its impact on entry-point file creation.

This change improves the flexibility of the route-action-gen tool by allowing users to control entry-point file generation explicitly.

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>

v0.0.8

Toggle v0.0.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add database support (#17)

* Enhance database package and update environment configuration

- Introduced a new `@workspace/database` package with Prisma integration for managing user and post models.
- Updated `dev-bootstrap.sh` to create symlinks for environment variables and added checks for `.env` file existence.
- Enhanced `package.json` and `pnpm-lock.yaml` to include new dependencies for PostgreSQL and Prisma.
- Refactored user and post model functions to utilize Prisma client for database operations.
- Updated API routes to leverage the new database package for improved data handling.
- Added comprehensive README documentation for the database package, including setup instructions and environment variable configurations.

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>

* Enhance database documentation and environment variable setup

- Added comprehensive documentation for the `@workspace/database` package, detailing usage, environment variable symlinks, and Prisma client integration.
- Updated instructions for managing multiple databases and environment variable requirements for different applications.
- Modified the `client.ts` file to standardize the environment variable name for SSL connections from `DATABASE_CERT_BASE64` to `DB_CERT_BASE64`, ensuring clarity and consistency.

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>

* Fix workflows

---------

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>

v0.0.7

Toggle v0.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Npm release workflow (#16)

* Add GitHub Actions workflow for publishing CLI to npm

* Enhance README with publishing instructions for route-action-gen package

---------

Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>