Skip to content

fix(branding): update package metadata and HTML titles to Smalruby#8

Merged
takaokouji merged 2 commits into
developfrom
fix/branding-and-titles
Jan 22, 2026
Merged

fix(branding): update package metadata and HTML titles to Smalruby#8
takaokouji merged 2 commits into
developfrom
fix/branding-and-titles

Conversation

@takaokouji
Copy link
Copy Markdown

@takaokouji takaokouji commented Jan 22, 2026

Summary

Update package metadata and HTML titles from Scratch 3.0 to Smalruby branding.
This is Phase 1 of the critical branding fixes identified in the migration
analysis.

Changes

Package Metadata (package.json)

packages/scratch-gui/package.json:

  • Package scope: @scratch/scratch-gui@smalruby/scratch-gui
  • Author: Massachusetts Institute of TechnologyRuby Programming Shounendan
  • Repository: scratchfoundation/scratch-editorsmalruby/smalruby3-editor
  • Homepage: Updated to point to smalruby3-editor repository
  • Dependencies: Updated to reference @smalruby/scratch-vm, @smalruby/scratch-render, @smalruby/scratch-svg-renderer
  • Jest config: Updated moduleNameMapper for @smalruby/scratch-vm

packages/scratch-vm/package.json:

  • Package scope: @scratch/scratch-vm@smalruby/scratch-vm
  • Author: Massachusetts Institute of TechnologyRuby Programming Shounendan
  • Repository: scratchfoundation/scratch-editorsmalruby/smalruby3-editor
  • Homepage: Updated to point to smalruby3-editor repository
  • Dependencies: Updated to reference @smalruby/scratch-render, @smalruby/scratch-svg-renderer

packages/scratch-render/package.json:

  • Package scope: @scratch/scratch-render@smalruby/scratch-render
  • Author: Updated to Ruby Programming Shounendan
  • Repository: Updated to point to smalruby3-editor
  • Dependencies: Updated to reference @smalruby/scratch-svg-renderer

packages/scratch-svg-renderer/package.json:

  • Package scope: @scratch/scratch-svg-renderer@smalruby/scratch-svg-renderer
  • Author: Updated to Ruby Programming Shounendan
  • Repository: Updated to point to smalruby3-editor

HTML Titles (webpack.config.js)

Updated all HtmlWebpackPlugin instances:

  • Main GUI: "Scratch 3.0 GUI""Smalruby"
  • Standalone: "Scratch 3.0 GUI: Standalone Mode""Smalruby: Standalone Mode"
  • Blocks Only: "Scratch 3.0 GUI: Blocks Only Example""Smalruby: Blocks Only Example"
  • Compatibility Testing: "Scratch 3.0 GUI: Compatibility Testing""Smalruby: Compatibility Testing"
  • Player: "Scratch 3.0 GUI: Player Example""Smalruby: Player Example"

Test Files

  • Updated all test file imports from @scratch/scratch-vm to @smalruby/scratch-vm
  • Affected files: 9 test files including helpers and component tests

Package Management

  • Ran npm install to update package-lock.json with new package references
  • All inter-package dependencies now consistently use @smalruby scope

Implementation Details

  • Package names remain as "scratch-gui", "scratch-vm", "scratch-render", and "scratch-svg-renderer" (not changed to "smalruby3-*") to maintain compatibility with the upstream Scratch project structure
  • Only the package scope changes from @scratch to @smalruby
  • All branding metadata (author, repository, homepage) now correctly references the Smalruby project
  • All inter-package dependencies updated to use @smalruby scope for internal consistency

Test Coverage

  • Build test: ✅ Confirmed webpack builds successfully with updated titles and dependencies
  • Unit tests: ✅ All 72 test suites pass (718 tests passed, 1 skipped)
  • Lint check: Existing errors unrelated to these changes

Related

  • Migration analysis: tmp/scratch-gui-migration-final-analysis.md
  • Based on detailed investigation of gui/smalruby3-gui → gui/smalruby3-editor/packages/scratch-gui migration

🤖 Generated with Claude Code

takaokouji and others added 2 commits January 22, 2026 22:09
Phase 1: Critical branding fixes

Changes:
- Update package.json branding for scratch-gui and scratch-vm
  - Package scope: @scratch@smalruby
  - Author: Massachusetts Institute of Technology
    → Ruby Programming Shounendan
  - Repository: scratchfoundation/scratch-editor
    → smalruby/smalruby3-editor
  - Homepage: Updated to point to smalruby3-editor repository

- Update webpack.config.js HTML titles
  - Main GUI: "Scratch 3.0 GUI" → "Smalruby"
  - Standalone: "Scratch 3.0 GUI: Standalone Mode"
    → "Smalruby: Standalone Mode"
  - Blocks Only: "Scratch 3.0 GUI: Blocks Only Example"
    → "Smalruby: Blocks Only Example"
  - Compatibility Testing: "Scratch 3.0 GUI: Compatibility Testing"
    → "Smalruby: Compatibility Testing"
  - Player: "Scratch 3.0 GUI: Player Example"
    → "Smalruby: Player Example"

Note: Package names remain as "scratch-gui" and "scratch-vm"
to maintain compatibility with the upstream Scratch project structure.

Related: Migration analysis in
tmp/scratch-gui-migration-final-analysis.md

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Update scratch-gui dependencies to reference @smalruby packages
- Update scratch-vm dependencies to reference @smalruby packages
- Update scratch-render dependencies to reference @smalruby packages
- Update Jest moduleNameMapper for @smalruby/scratch-vm
- Update all test file imports to use @smalruby/scratch-vm
- Update package names in scratch-render and scratch-svg-renderer
- Run npm install to update package-lock.json

This change ensures all inter-package references use the @smalruby scope
consistently across the monorepo.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@takaokouji takaokouji merged commit c4cf089 into develop Jan 22, 2026
@takaokouji takaokouji deleted the fix/branding-and-titles branch January 22, 2026 13:29
takaokouji added a commit that referenced this pull request Jan 23, 2026
Replaced static/favicon.ico with the Smalruby-branded version from
smalruby3-gui to complete the branding update.

The original Scratch favicon was still present in the codebase.
This change aligns with the branding updates made in PR #8.

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
takaokouji pushed a commit that referenced this pull request Mar 8, 2026
… occupied by a shadow block (#8)

* chore: format engine/blocks.js

* fix: restore shadow blocks when removing a block from an input
takaokouji added a commit that referenced this pull request Apr 12, 2026
- Add next-steps guidance after student joins classroom (#1)
- Add submit hint for students who haven't submitted yet (#2)
- Add STAGE !== 'prod' failsafe for DEV_BYPASS_TOKEN (#3)
- Add fullscreen tooltip to join code expand button (#4)
- Improve member grid prompt to clarify clickable seats (#5)
- Remove window._classroomIdToken debug variable (#8)

Closes #495

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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