<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv" -->

---
title: Announcing importmap-update: automated dependency...
description: Thoughtbot released importmap-update, an open-source GitHub Action that automates dependency updates for Rails apps using importmap-rails. Since Dependabot...
canonical: https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Announcing importmap-update: automated dependency updates for importmap-rails | daily.dev
og:description: Thoughtbot released importmap-update, an open-source GitHub Action that automates dependency updates for Rails apps using importmap-rails. Since Dependabot...
og:url: https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv
og:image: https://api.daily.dev/og/posts/f3BWbt8SV.png
og:image:alt: Announcing importmap-update: automated dependency updates for importmap-rails
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcing importmap-update: automated dependency updates for importmap-rails

**[thoughbot](https://daily.dev/sources/thoughbot)** · 5 min read · 1 upvotes · 0 comments

## Summary

Thoughtbot released importmap-update, an open-source GitHub Action that automates dependency updates for Rails apps using importmap-rails. Since Dependabot cannot track JavaScript packages pinned via importmap (no package.json or lockfile exists), this gap has stayed open since a 2023 feature request. The action runs bin/importmap outdated and bin/importmap audit, opens pull requests for outdated or vulnerable packages, groups updates by security/patch/minor/major with configurable strategies, keeps PRs in sync on subsequent runs, and supports a dry-run mode. Depfu is noted as the only existing alternative supporting importmaps since 2023.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thoughtbot.com/blog/announcing-importmap-update-automated-dependency-updates-for-importmap-rails>

## Questions this post answers

### How can I get automated pull requests for outdated or vulnerable JavaScript packages in a Rails app using importmap-rails?

Use the importmap-update GitHub Action, which runs bin/importmap outdated and bin/importmap audit and opens pull requests for what it finds, keeping them in sync on every scheduled run. Add it as a workflow step with thoughtbot/importmap-update@v1, enable workflow permissions to create pull requests, and optionally configure grouping strategies for security, patch, minor, and major updates in .github/importmap-updates.yml.

_daily.dev surfaces tooling like this for teams automating dependency hygiene in Rails importmap projects._

### Why doesn't Dependabot detect outdated JavaScript packages in a Rails app using importmap-rails?

Dependabot reads package.json and lockfiles, but importmap-rails apps store JavaScript pins as a one-line comment in config/importmap.rb with vendored files in vendor/javascript, so there's no package.json or lockfile for Dependabot to parse. A feature request to add importmap support has been open since February 2023 without resolution.

_Rails developers weighing dependency tooling gaps can track fixes and alternatives via daily.dev._

### What is the alternative to importmap-update for tracking outdated import map dependencies in Rails?

Depfu is the main alternative, having supported import maps since 2023. It's free for public repositories and a paid hosted service for private ones, and suits teams wanting one service that watches both Ruby gems and JavaScript dependencies together rather than a dedicated GitHub Action.

_Comparing dependency update tools for Rails is easier when relevant options surface on daily.dev._

## Similar posts on daily.dev

- [Understanding importmap-rails](https://daily.dev/posts/understanding-importmap-rails-zzmimkjbc) · RUBYLAND · 0 upvotes · 0 comments
- [Making Sense of JavaScript in Rails: Webpack, Rollup, esbuild, and Importmaps](https://daily.dev/posts/making-sense-of-javascript-in-rails-webpack-rollup-esbuild-and-importmaps-knxxynth9) · Ruby Flow · 1 upvotes · 0 comments
- [Dependabot version updates now support OpenTofu](https://daily.dev/posts/dependabot-version-updates-now-support-opentofu-pc9mav7d3) · GitHub Changelog · 1 upvotes · 0 comments
- [Chris’ Corner: Import Maps](https://daily.dev/posts/chris-corner-import-maps-jhoaris1q) · CodePen · 44 upvotes · 0 comments

---

Tags: [#ruby](https://daily.dev/tags/ruby), [#rails](https://daily.dev/tags/rails), [#github-actions](https://daily.dev/tags/github-actions)

[View this post on daily.dev](https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Announcing importmap-update: automated dependency updates for importmap-rails","url":"https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv"},"datePublished":"2026-09-09T00:01:41.695Z","dateModified":"2026-09-14T07:46:16.955Z","description":"Thoughtbot released importmap-update, an open-source GitHub Action that automates dependency updates for Rails apps using importmap-rails. Since Dependabot...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5d2e3dce03bc7bf19bd17271029b50de?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5d2e3dce03bc7bf19bd17271029b50de?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"thoughbot","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"thoughbot","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9fe12feb57f944a29ff63a79e350081a","url":"https://daily.dev/sources/thoughbot"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ruby,rails,github-actions","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"thoughbot","item":"https://daily.dev/sources/thoughbot"},{"@type":"ListItem","position":3,"name":"Announcing importmap-update: automated dependency updates for importmap-rails"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/announcing-importmap-update-automated-dependency-updates-for-importmap-rails-f3bwbt8sv#faq","mainEntity":[{"@type":"Question","name":"How can I get automated pull requests for outdated or vulnerable JavaScript packages in a Rails app using importmap-rails?","acceptedAnswer":{"@type":"Answer","text":"Use the importmap-update GitHub Action, which runs bin/importmap outdated and bin/importmap audit and opens pull requests for what it finds, keeping them in sync on every scheduled run. Add it as a workflow step with thoughtbot/importmap-update@v1, enable workflow permissions to create pull requests, and optionally configure grouping strategies for security, patch, minor, and major updates in .github/importmap-updates.yml. daily.dev surfaces tooling like this for teams automating dependency hygiene in Rails importmap projects."}},{"@type":"Question","name":"Why doesn't Dependabot detect outdated JavaScript packages in a Rails app using importmap-rails?","acceptedAnswer":{"@type":"Answer","text":"Dependabot reads package.json and lockfiles, but importmap-rails apps store JavaScript pins as a one-line comment in config/importmap.rb with vendored files in vendor/javascript, so there's no package.json or lockfile for Dependabot to parse. A feature request to add importmap support has been open since February 2023 without resolution. Rails developers weighing dependency tooling gaps can track fixes and alternatives via daily.dev."}},{"@type":"Question","name":"What is the alternative to importmap-update for tracking outdated import map dependencies in Rails?","acceptedAnswer":{"@type":"Answer","text":"Depfu is the main alternative, having supported import maps since 2023. It's free for public repositories and a paid hosted service for private ones, and suits teams wanting one service that watches both Ruby gems and JavaScript dependencies together rather than a dedicated GitHub Action. Comparing dependency update tools for Rails is easier when relevant options surface on daily.dev."}}]}
```

