Update update script to automatically find CivicTheme directory

Created on 31 March 2025, 3 months ago

Problem/Motivation

1. We hardcode the relative link from sub-theme to civictheme based on civictheme directory structure: `https://github.com/civictheme/monorepo-drupal/blob/080b05c537678d7a50580...
2. It would be great if we could update this as part of two things:
a. storybook update script (and future update scripts
b. civictheme starter script - we need to update this when we create the sub-theme

Steps to reproduce

Proposed resolution

1. Create a dynamic lookup or configuration step to get the civictheme directory
2. Update civictheme starter script to update the link in the JS to be updated when sub-theme is built

🐛 Bug report
Status

Active

Version

1.10

Component

Code

Created by

🇦🇺Australia RichardGaunt Melbourne

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

Comments & Activities

Production build 0.71.5 2024