Skip to content

Commit 7cbd663

Browse files
committed
- Install bx-compat-cfml when doing --rest due to needing some CFML compatibility
1 parent 7b0629d commit 7cbd663

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- New ColdBox ASCII art banner when creating apps and using the app-wizard
1515
- Improved readme and help commands
1616
- Name question in app-wizard if not provided
17+
- Install `bx-compat-cfml` when doing `--rest` due to needing some CFML compatibility
1718

1819
## [8.4.0] - 2025-12-15
1920

commands/coldbox/create/app.cfc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,19 @@ component extends="coldbox-cli.models.BaseCommand" {
396396
newConfig
397397
);
398398

399+
// Get the server.json : server show scripts.onServerInitialInstall so we can append to it and set it back
400+
var originalServerInstall = command( "server show" )
401+
.params( property: "scripts.onServerInitialInstall" )
402+
.run( returnOutput=true )
403+
404+
printInfo( "🥊 Original " & originalServerInstall )
405+
// Now call server set to append: ,bx-compat-cfml
406+
command( "server set" )
407+
.params(
408+
"scripts.onServerInitialInstall" : originalServerInstall & ",bx-compat-cfml"
409+
)
410+
.run();
411+
399412
// Install CommandBox Modules
400413
printInfo( "🥊 Installing ColdBox API Production Modules: Security, Mementifier, Validation" )
401414
command( "install" ).params( "cbsecurity,mementifier,cbvalidation" ).run();

0 commit comments

Comments
 (0)