Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…djust framework file handling
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes
Modules install without app configuration. The installer now handles two package types by default:
saucebase-moduleandlaravel-module. Before, the default waslaravel-moduleonly, so a plain Laravel app that required a Saucebase module got it invendor/and crashed on boot. An app that setsextra.module-typestill gets exactly that one type.module-typelaravel-modulesaucebase-moduleandlaravel-moduleThe project config is
saucebase.json. The installer reads the framework fromsaucebase.jsoninstead offrontend.json, and skips flattening when"contributor": true(was"dev": true). This is a breaking change for apps still onfrontend.json(sc-746).Svelte is no longer a known framework. It isn't supported yet, so
sveltedirectories are no longer treated as framework sources.What does not change
Install, update and uninstall behave as before: existing module files are never downloaded over, updates merge by default, and
composer removekeeps the module directory unlessmodule-delete-on-removeis set.How it was checked
module-type:composer require saucebase/authlands inmodules/authand the app runs.module-type, reports nothing to install or change.Not tested: upgrading an app that already has a Saucebase module in
vendor/from the old default.Release note
saucebase/coreshould require this release, since its install step tells people tocomposer require saucebase/auth.🤖 Generated with Claude Code
Summary by CodeRabbit
saucebase-moduleandlaravel-moduleby default. Setting a module type configures support for that type alone.saucebase.jsonand supports Vue and React. Framework files are left untouched when the configuration is missing or unreadable, or when"contributor": true.