@blazetrails/vite-trails
Vite tag helpers and engine for Trails, mirroring the vite_rails gem
| Measure | Value |
|---|---|
| Rails counterpart | vite_rails vite_ruby@3.11.1 |
| API methods matched | 100% (17 of 17) |
| Rails tests matched | — |
| Ruby files ported | 3 |
| Ruby files unported | 0 |
| Measured at | fe89b44726 |
Gaps by file
No gaps recorded for this package.
Missing methods
None recorded for this package.
Unported Ruby files
Every compared Ruby file has a TypeScript file.
Deviation receipts
JSDoc receipt tags in the package's source, by the receipt each carries.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@missingRailsCall | 3 | 0 | 0 |
@missingRailsArgs | 2 | 0 | 0 |
@internal | 0 | 0 | 5 |
Permanently skipped tests
importmap-rails and propshaft are out of scope; JavaScript is served by Vite (vite_rails) (1)
Ratified deviations
Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.
importmap-rails and propshaft are out of scope; JavaScript is served by Vite (vite_rails)
A Rails 8 app serves JavaScript through importmap-rails and assets through propshaft (railties/lib/rails/generators/app_base.rb's javascript default of importmap), and an older one through Sprockets (sprockets-rails). trails ports none of the three. Sprockets was ruled out of scope by the operator on 2026-11-19; the heading keeps its original wording so citations resolve. Vite fills both roles, through ports of the vite_ruby and vite_rails gems (vendor/vite_ruby/v3.11.1/): ViteRuby::Config reads config/vite.json, ViteRuby::Manifest resolves entries, ViteRuby::DevServerProxy proxies to the Vite dev server, and ViteTrails::TagHelpers renders the tags. The npm vite, vite-plugin-ruby, @hotwired/turbo-rails and @hotwired/stimulus are dependencies, not ports.