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-jsbundling-rails-rails71 Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack
1.3.1 wwwnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-18 06:22:21
Last Update: 2024-09-18 06:13:06
Commit Hash: a7ba0c4
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/rails/jsbundling-rails
Description:
Use esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use app/assets/builds to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to .gitignore by default). You develop using this approach by running the bundler in watch mode in a terminal with yarn build --watch (and your Rails server in another, if you're not using something like puma-dev). You can also use ./bin/dev, which will start both the Rails server and the JS build watcher (along with a CSS build watcher, if you're also using cssbundling-rails).
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-jsbundling-rails-rails71-1.3.1/catalog.mk
  2. /usr/local/share/licenses/rubygem-jsbundling-rails-rails71-1.3.1/LICENSE
  3. /usr/local/share/licenses/rubygem-jsbundling-rails-rails71-1.3.1/MIT
Collapse this list.
Dependency lines:
  • rubygem-jsbundling-rails-rails71>0:www/rubygem-jsbundling-rails-rails71
To install the port:
cd /usr/ports/www/rubygem-jsbundling-rails-rails71/ && make install clean
To add the package, run one of these commands:
  • pkg install www/rubygem-jsbundling-rails-rails71
  • pkg install rubygem-jsbundling-rails-rails71
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-jsbundling-rails-rails71
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1722711339 SHA256 (rubygem/jsbundling-rails-1.3.1.gem) = 0fa03f6d051c694cbf55a022d8be53399879f2c4cf38b2968f86379c62b1c2ca SIZE (rubygem/jsbundling-rails-1.3.1.gem) = 10752

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
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-railties71>=6.0.0 : www/rubygem-railties71
  2. ruby32 : lang/ruby32
  3. 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-jsbundling-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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.1
18 Sep 2024 06:13:06
commit hash: a7ba0c40b595a14c5f6a6593b5e76e95a42e722acommit hash: a7ba0c40b595a14c5f6a6593b5e76e95a42e722acommit hash: a7ba0c40b595a14c5f6a6593b5e76e95a42e722acommit hash: a7ba0c40b595a14c5f6a6593b5e76e95a42e722a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/rubygem-jsbundling-rails-rails71: Add rubygem-jsbundling-rails-rails71 1.3.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: 1