Generate theme not working in D10.3

Created on 6 November 2024, 6 months ago
Updated 7 February 2025, 2 months ago

Problem/Motivation

Since Drupal 10.3 the generate-theme command when creating a theme from rocketship_theme_starter is throwing an error.

The getStarterKitVersion function fails.

Since D10.3 a theme_name.starterkit.yml is needed.

Proposed resolution

Add a rocketship_theme_starter.starterkit.yml file to the theme with the following content:

ignore:
  - '/src/StarterKit.php'
  - '/rocketship_theme_starter.starterkit.yml'
no_edit: []
no_rename: []
info:
  version: 3.1.0
📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium rubendello

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024