Expand the find-and-replace functionality of starterkit

Created on 21 November 2022, about 2 years ago
Updated 10 November 2023, about 1 year ago

Problem/Motivation

The current starterkit generate-theme command does a bit of find-and-replace to update library names/usages, hook implementations, and the .theme/.yml files we expect in all themes, but this potentially leaves behind a lot of other files like breakpoints.yml, layouts.yml, config yml files and usages of the theme name in CSS/JavaScript. We should expand the find/replace to better cover those other files without requiring custom implementations of the postProcess method.

Steps to reproduce

Generate a new theme using olivero as the starterkit. The new theme will still have lots of references to Olivero in file names/contents.

Proposed resolution

We should make use of the symfony Finder and Filesystem modules find files named/using the starterkit's theme name and replace those usages with the new theme's name.

See πŸ“Œ [PP-1] Allow starterkit theme generator tool to clone Olivero Postponed and this accompanying MR for an example.

✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
StarterkitΒ  β†’

Last updated 18 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States andy-blum Ohio, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024