Skip to content

chore: update backstage/cli to 0.35.4#86

Merged
gashcrumb merged 4 commits intoredhat-developer:mainfrom
Zaperex:update-backstage-cli
Mar 18, 2026
Merged

chore: update backstage/cli to 0.35.4#86
gashcrumb merged 4 commits intoredhat-developer:mainfrom
Zaperex:update-backstage-cli

Conversation

@Zaperex
Copy link
Member

@Zaperex Zaperex commented Mar 18, 2026

Description

Updates backstage-cli to 0.35.4 to fix an issue with multiple versions of webpack being used when running with npx.

/home/frkong/.npm/_npx/6f3461dc3b5b6b27/node_modules/@red-hat-developer-hub/cli/dist/lib/bundler/bundlePlugin.cjs.js:74                                                                                     
            throw new Error(errors2[0]);                                                                    
            ^                                                                                               
                                                                                                            
Error: The 'compilation' argument must be an instance of Compilation                                        
    at                                                                                                      
/home/frkong/.npm/_npx/6f3461dc3b5b6b27/node_modules/@red-hat-developer-hub/cli/dist/lib/bundler/bundlePlugi
n.cjs.js:74:19                                                                                              
    at                                                                                                      
/home/frkong/.npm/_npx/6f3461dc3b5b6b27/node_modules/@red-hat-developer-hub/cli/node_modules/webpack/lib/web
pack.js:199:27                                                                                              
    at process.processTicksAndRejections (node:internal/process/task_queues:85:11)                          
                                                                                                            
Node.js v22.16.0   

Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Copy link
Member

@gashcrumb gashcrumb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I forgot, you'll also need to bump the version in the CLI's package.json to a new patch level, and update the changelog, as we'll need to do a release for this.

Zaperex added 2 commits March 18, 2026 10:44
Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@sonarqubecloud
Copy link

@Zaperex Zaperex requested a review from gashcrumb March 18, 2026 15:37
@gashcrumb gashcrumb merged commit 5aac240 into redhat-developer:main Mar 18, 2026
6 checks passed
@Zaperex Zaperex deleted the update-backstage-cli branch March 18, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants