Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.32-pr.246.eec21b0Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.32-pr.246.eec21b0"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.32-pr.246.eec21b0"
}
}
Preview published to npm registry — try new features instantly! |
|
README check ran. 6 discrepancies found:
The README command table needs to be updated to accurately reflect all 17 commands available in the CLI. |
kfirstri
left a comment
There was a problem hiding this comment.
Just let's do the fix for function name
| absolute: true, | ||
| }); | ||
|
|
||
| const name = basename(functionDir); |
There was a problem hiding this comment.
Let's kebab case this? Or at least cleanup it to be usable in a url
|
README check ran. 6 issues found and applied: added missing commands (eject, connectors pull/push, types generate), updated command descriptions to match code exactly. README.md has been updated in this branch. |
Note
Description
Function directories can now be discovered without a
function.json/function.jsoncfile. If a subdirectory under the functions directory contains anindex.jsorindex.ts(and no config file), it is automatically treated as a function with default configuration:name= directory name,entry= index file name. Existing config-based discovery is unchanged and both discovery methods are merged, with duplicate-name validation still applied.Related Issue
None
Type of Change
Changes Made
*/index.{js,ts}to discover function directories with index filesfunction.json/function.jsonc(name from directory, entry from index file)readAllFunctions()to merge config-based and zero-config functionsbasenameutility for deriving function name from directory pathTesting
bun run test)Checklist
Additional Notes
This is a developer experience improvement that removes boilerplate. Functions with simple, convention-based structures no longer need explicit config files. The feature is backwards compatible and does not affect existing functions with config files.
🤖 Generated by Claude | 2026-02-16 15:08 UTC