notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
rubygem-importmap-rails-rails71 Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling
2.1.0 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-18 06:22:19
Last Update: 2024-12-31 15:54:51
Commit Hash: 99a2786
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/rails/importmap-rails
Description:
Import maps let you import JavaScript modules using logical names that map to versioned/digested files -- directly from the browser. So you can build modern JavaScript applications using JavaScript libraries made for ESM without the need for transpiling or bundling.This frees you from needing Webpack, Yarn, npm, or any other part of the JavaScript toolchain. All you need is the asset pipeline that's already included in Rails. With this approach you'll ship many small JavaScript files instead of one big JavaScript file. Thanks to HTTP/2 that no longer carries a material performance penalty during the initial transport, and in fact offers substantial benefits over the long run due to better caching dynamics. Whereas before any change to any JavaScript file included in your big bundle would invalidate the cache for the the whole bundle, now only the cache for that single file is invalidated. There's native support for import maps in Chrome/Edge 89+, and a shim available for any browser with basic ESM support. So your app will be able to work with all the evergreen browsers.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-importmap-rails-rails71-2.1.0/catalog.mk
  2. /usr/local/share/licenses/rubygem-importmap-rails-rails71-2.1.0/LICENSE
  3. /usr/local/share/licenses/rubygem-importmap-rails-rails71-2.1.0/MIT
Collapse this list.
Dependency lines:
  • rubygem-importmap-rails-rails71>0:www/rubygem-importmap-rails-rails71
To install the port:
cd /usr/ports/www/rubygem-importmap-rails-rails71/ && make install clean
To add the package, run one of these commands:
  • pkg install www/rubygem-importmap-rails-rails71
  • pkg install rubygem-importmap-rails-rails71
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-importmap-rails-rails71
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1735381768 SHA256 (rubygem/importmap-rails-2.1.0.gem) = 9f10c67d60651a547579f448100d033df311c5d5db578301374aeb774faae741 SIZE (rubygem/importmap-rails-2.1.0.gem) = 17408

Packages (timestamps in pop-ups are UTC):
rubygem-importmap-rails-rails71
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.1.02.1.0--2.1.0---
FreeBSD:13:quarterly2.0.12.1.0--2.1.0---
FreeBSD:14:latest2.0.32.1.0--2.1.0---
FreeBSD:14:quarterly2.0.12.1.0--2.1.0---
FreeBSD:15:latest2.1.02.1.0n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Runtime dependencies:
  1. rubygem-actionpack71>=6.0.0 : www/rubygem-actionpack71
  2. rubygem-activesupport71>=6.0.0 : devel/rubygem-activesupport71
  3. rubygem-railties71>=6.0.0 : www/rubygem-railties71
  4. ruby32 : lang/ruby32
  5. gem : devel/ruby-gems
Patch dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby32 : lang/ruby32
This port is required by:
for Run
  1. www/rubygem-rails71

Configuration Options:
No options to configure
Options name:
www_rubygem-importmap-rails-rails71
USES:
gem
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.0
31 Dec 2024 15:54:51
commit hash: 99a2786cf10130a80967b694216bcd84e1169762commit hash: 99a2786cf10130a80967b694216bcd84e1169762commit hash: 99a2786cf10130a80967b694216bcd84e1169762commit hash: 99a2786cf10130a80967b694216bcd84e1169762 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/rubygem-importmap-rails-rails71: Update to 2.1.0

Changes:	https://github.com/rails/importmap-rails/releases
2.0.3
14 Oct 2024 05:26:21
commit hash: 27ea2799597c38a4bc6af224312e47b375bbe15fcommit hash: 27ea2799597c38a4bc6af224312e47b375bbe15fcommit hash: 27ea2799597c38a4bc6af224312e47b375bbe15fcommit hash: 27ea2799597c38a4bc6af224312e47b375bbe15f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/rubygem-importmap-rails-rails71: Update to 2.0.3

Changes:	https://github.com/rails/importmap-rails/releases
2.0.1
18 Sep 2024 06:13:05
commit hash: 9b6edc5b22460ea3404510da4f0c99c4fc21bf6dcommit hash: 9b6edc5b22460ea3404510da4f0c99c4fc21bf6dcommit hash: 9b6edc5b22460ea3404510da4f0c99c4fc21bf6dcommit hash: 9b6edc5b22460ea3404510da4f0c99c4fc21bf6d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
rubygem-importmap-rails-rails71: Add rubygem-importmap-rails-rails71 2.0.1

Import maps let you import JavaScript modules using logical names that map to
versioned/digested files -- directly from the browser. So you can build modern
JavaScript applications using JavaScript libraries made for ESM without the need
for transpiling or bundling.This frees you from needing Webpack, Yarn, npm, or
any other part of the JavaScript toolchain. All you need is the asset pipeline
that's already included in Rails.

With this approach you'll ship many small JavaScript files instead of one big
JavaScript file. Thanks to HTTP/2 that no longer carries a material performance
penalty during the initial transport, and in fact offers substantial benefits
over the long run due to better caching dynamics. Whereas before any change to
any JavaScript file included in your big bundle would invalidate the cache for
the the whole bundle, now only the cache for that single file is invalidated.

There's native support for import maps in Chrome/Edge 89+, and a shim available
for any browser with basic ESM support. So your app will be able to work with
all the evergreen browsers.

Number of commits found: 3