Port details |
- rubygem-importmap-rails Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling
- 2.1.0_1 www =2 2.0.3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-01-11 18:56:01
- Last Update: 2025-01-02 16:29:35
- Commit Hash: 6ad63cf
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-importmap-rails>0:www/rubygem-importmap-rails
- To install the port:
- cd /usr/ports/www/rubygem-importmap-rails/ && make install clean
- To add the package, run one of these commands:
- pkg install www/rubygem-importmap-rails
- pkg install rubygem-importmap-rails
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-importmap-rails
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1735228188
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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-actionpack80>=6.0.0 : www/rubygem-actionpack80
- rubygem-activesupport80>=6.0.0 : devel/rubygem-activesupport80
- rubygem-railties80>=6.0.0 : www/rubygem-railties80
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- www/rubygem-rails80
Configuration Options:
- No options to configure
- Options name:
- www_rubygem-importmap-rails
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.1.0_1 02 Jan 2025 16:29:35 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update RUN_DEPENDS: use Rails 8.0
- Bump PORTREVISION for dependency change |
2.1.0 31 Dec 2024 15:54:44 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 2.1.0
Changes: https://github.com/rails/importmap-rails/releases |
2.0.3 14 Oct 2024 05:26:20 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 2.0.3
Changes: https://github.com/rails/importmap-rails/releases |
2.0.1_1 18 Sep 2024 06:15:07 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update RUN_DEPENDS: use Rails 7.2
- Bump PORTREVISION for dependency change |
2.0.1 21 Feb 2024 15:10:53 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 2.0.1
Changes: https://github.com/rails/importmap-rails/releases |
1.2.3 02 Nov 2023 07:37:40 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.2.3
Changes: https://github.com/rails/importmap-rails/releases |
1.2.1_1 01 Nov 2023 07:57:25 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update RUN_DEPENDS: use Rails 7.1 |
1.2.1 09 Jul 2023 10:26:44 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.2.1
Changes: https://github.com/rails/importmap-rails/releases |
1.1.6 27 Apr 2023 23:59:28 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.1.6
Changes: https://github.com/rails/importmap-rails/releases |
1.1.5 14 Jan 2023 23:08:33 |
Muhammad Moinur Rahman (bofh) |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.1.5 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.1.5 20 Jul 2022 14:23:26 |
Tobias C. Berner (tcberner) |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
1.1.5 18 Jul 2022 18:00:51 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.1.5
Changes: https://github.com/rails/importmap-rails/releases |
1.1.3 18 Jul 2022 12:40:03 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.1.3
Changes: https://github.com/rails/importmap-rails/releases |
1.1.2 21 Jun 2022 20:58:28 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.1.2
Changes: https://github.com/rails/importmap-rails/releases |
1.1.0 03 Jun 2022 09:00:53 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.1.0
Changes: https://github.com/rails/importmap-rails/releases |
1.0.3 06 Apr 2022 01:20:03 |
Yasuhiro Kimura (yasu) |
*/*: Cleanup after removal of lang/ruby26
* Remove conditions that are applied to Ruby 2.6 or before.
* Remove BROKEN_RUBY26.
* Mark ports broken with all supported versions of Ruby as DEPRECATED
and set EXPIRATION_DATE.
Reviewed by: rene
Approved by: rene (portmgr)
Differential Revision: https://reviews.freebsd.org/D34745 |
1.0.3 07 Mar 2022 18:13:06 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.0.3
Changes: https://github.com/rails/importmap-rails/releases |
1.0.2 25 Jan 2022 19:51:06 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Update to 1.0.2
Changes: https://github.com/rails/importmap-rails/releases |
1.0.1 11 Jan 2022 18:43:48 |
Po-Chuan Hsieh (sunpoet) |
www/rubygem-importmap-rails: Add rubygem-importmap-rails 1.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.
WWW: https://github.com/rails/importmap-rails |