googlefonts / googlefonts/specimen-skeleton
Refactor data generation
- Dominant language
- JavaScript
- Stars
- 51
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Do not mutate files, but write them once all data is gathered (see https://github.com/kabisa/specimen-skeleton/pull/58#discussion_r486812447)
(Optionally, clear out `_data` dir before generating new fonts, so as to not confuse the site that's being built with old fonts.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the discussion in pull request 58 first to understand the data-generation behavior. Trace where generated files are currently mutated and change the flow so files are written only after all data is gathered; consider whether clearing the _data directory is needed to avoid old fonts affecting the built site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100