Closed marcusschiesser closed 10 hours ago
Latest commit: 29d92d99488608be90da22191c517e91d7c54f6f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
A new patch named "create-llama" has been introduced, which adds the environment variable NEXT_PUBLIC_CHAT_API
for a Next.js backend, allowing for alternative backend configurations. Additionally, several modifications were made to types and function signatures, including the removal of the customApiPath
property and the introduction of a port
property in the InstallAppArgs
type. The command-line interface options have also been enhanced with new parameters for improved flexibility in application bootstrapping.
File | Change Summary |
---|---|
.changeset/perfect-days-smoke.md | Added new environment variable NEXT_PUBLIC_CHAT_API for Next.js backend configuration. |
create-app.ts | Updated InstallAppArgs type by removing customApiPath and adding port . Modified createApp function accordingly. |
helpers/env-variables.ts | Added NEXT_PUBLIC_CHAT_API in getFrameworkEnvs for Next.js. Removed previous declaration in createFrontendEnvFile . |
helpers/index.ts | Modified installTemplate function to remove customApiPath parameter in createFrontendEnvFile call. |
helpers/types.ts | Removed customApiPath property from InstallTemplateArgs interface. |
index.ts | Enhanced CLI options by adding --db-source <connection-string> , --web-source <url> , and --example-file . Improved error handling and validation. |
NEXT_PUBLIC_CHAT_API
environment variable for a Next.js backend, related to the main PR's changes..env
file is loaded correctly, crucial for the introduction of new environment variables in the main PR.NEXT_PUBLIC_CHAT_API
.🐰 In the garden where ideas bloom,
A new variable brings chat to zoom.
With paths now clear and options bright,
We hop along, our code takes flight!
A port to guide, a source to share,
In this patch, we find our flair! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
…ernative backend
Summary by CodeRabbit
Release Notes
New Features
NEXT_PUBLIC_CHAT_API
for enhanced backend configuration in Next.js applications.--db-source <connection-string>
,--web-source <url>
, and--example-file
.Bug Fixes
Refactor
customApiPath
parameter and updating related interfaces.