Skip to content

fix: make template-hardening retrofit tolerate non-template icon scripts - #34

Merged
veillette merged 1 commit into
mainfrom
fix/retrofit-hardening-lint
Aug 12, 2026
Merged

fix: make template-hardening retrofit tolerate non-template icon scripts#34
veillette merged 1 commit into
mainfrom
fix/retrofit-hardening-lint

Conversation

@veillette

Copy link
Copy Markdown
Contributor

Summary

  • MazeGame, OpticsLab, and TrackLab CI went red after the fleet retrofit because generate-icons.ts used template names (svg, publicDir) those sims do not declare, and TrackLab got an unused INLINE_LIMIT_BYTES.
  • Detect svg vs svgBuffer and publicDir vs root, only emit constants that are referenced, and run npm run fix so biome format/lint is clean before the PR is opened.

Test plan

  • Review the three companion sim PRs stay green
  • Next fleet retrofit should not reintroduce undeclared-variable lint failures

Made with Cursor

Detect svg vs svgBuffer and publicDir vs root, skip unused
INLINE_LIMIT_BYTES, and run npm run fix so biome does not fail CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@veillette
veillette merged commit 0bf0b0e into main Aug 12, 2026
1 check failed
@veillette
veillette deleted the fix/retrofit-hardening-lint branch August 12, 2026 02:35
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.

1 participant