{"id":15400605,"url":"https://github.com/armanbilge/sbt-bundlemon","last_synced_at":"2025-04-15T22:30:41.511Z","repository":{"id":45402496,"uuid":"513169733","full_name":"armanbilge/sbt-bundlemon","owner":"armanbilge","description":"sbt plugin for monitoring Scala.js artifact size","archived":false,"fork":false,"pushed_at":"2024-12-27T23:52:11.000Z","size":102,"stargazers_count":14,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T03:21:34.324Z","etag":null,"topics":["bundle","bundlesize","github","scala-js","size"],"latest_commit_sha":null,"homepage":"https://github.com/LironEr/bundlemon","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/armanbilge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-12T14:13:26.000Z","updated_at":"2024-10-02T09:23:16.000Z","dependencies_parsed_at":"2024-05-03T20:32:06.240Z","dependency_job_id":"5713c895-31d9-4f00-a56c-0541e68eb4f7","html_url":"https://github.com/armanbilge/sbt-bundlemon","commit_stats":{"total_commits":98,"total_committers":2,"mean_commits":49.0,"dds":"0.44897959183673475","last_synced_commit":"581f1d1c00adb4bb825fea23d34b022a4c9f732e"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanbilge%2Fsbt-bundlemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanbilge%2Fsbt-bundlemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanbilge%2Fsbt-bundlemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanbilge%2Fsbt-bundlemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armanbilge","download_url":"https://codeload.github.com/armanbilge/sbt-bundlemon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249165858,"owners_count":21223335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","bundlesize","github","scala-js","size"],"created_at":"2024-10-01T15:54:20.984Z","updated_at":"2025-04-15T22:30:41.249Z","avatar_url":"https://github.com/armanbilge.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-bundlemon\n\nTrack Scala.js bundle size in CI with [BundleMon](https://github.com/LironEr/bundlemon). Check out an [example PR](https://github.com/armanbilge/sbt-bundlemon/pull/7#issuecomment-1189183347).\n\n## Configure\n\n1. Install the [BundleMon App](https://github.com/apps/bundlemon) on your repository.\n\n2. In `project/plugins.sbt` add:\n```scala\naddSbtPlugin(\"com.armanbilge\" % \"sbt-bundlemon\" % \"0.1.3\")\n```\n\n3. Enable the plugin on one or more _applications_ in your `build.sbt` (or anything that [exports to JavaScript](https://www.scala-js.org/doc/interoperability/export-to-javascript.html)):\n```scala\nlazy val todoMvc = project.in(file(\"todo-mvc\"))\n  .enablePlugins(BundleMonPlugin)\n  .settings(\n    scalaJSUseMainModuleInitializer := true\n  )\n```\n\n4. Add the following step to your CI workflow:\n```yaml\n- name: Monitor bundle size\n  run: sbt bundleMon\n```\n\n5. Now you will get reports about the gzipped, fully-optimized bundle size in CI status and PR comments!\n\nPlease open issues and PRs for anything and everything :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanbilge%2Fsbt-bundlemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmanbilge%2Fsbt-bundlemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanbilge%2Fsbt-bundlemon/lists"}