{"id":15134589,"url":"https://github.com/ari-party/scribunto-bundler","last_synced_at":"2026-03-06T05:09:29.761Z","repository":{"id":219653693,"uuid":"749571729","full_name":"ari-party/scribunto-bundler","owner":"ari-party","description":"Lua bundler with Scribunto in mind","archived":false,"fork":false,"pushed_at":"2025-05-21T12:20:16.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T19:54:52.336Z","etag":null,"topics":["bundler","lua","mediawiki","scribunto"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ari-party.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-01-29T00:00:49.000Z","updated_at":"2025-05-21T12:20:06.000Z","dependencies_parsed_at":"2024-02-21T17:29:22.450Z","dependency_job_id":"f3e2b3e2-e71c-43a3-9794-59388083a7e9","html_url":"https://github.com/ari-party/scribunto-bundler","commit_stats":null,"previous_names":["ari-party/scribunto-bundler"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/ari-party/scribunto-bundler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ari-party%2Fscribunto-bundler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ari-party%2Fscribunto-bundler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ari-party%2Fscribunto-bundler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ari-party%2Fscribunto-bundler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ari-party","download_url":"https://codeload.github.com/ari-party/scribunto-bundler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ari-party%2Fscribunto-bundler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445302,"owners_count":23766445,"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":["bundler","lua","mediawiki","scribunto"],"created_at":"2024-09-26T05:23:08.493Z","updated_at":"2026-03-06T05:09:29.645Z","avatar_url":"https://github.com/ari-party.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scribunto-bundler\n\n[![npm version](https://badge.fury.io/js/scribunto-bundler.svg)](https://badge.fury.io/js/scribunto-bundler)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nA Lua bundler written in TypeScript for [Scribunto](https://www.mediawiki.org/wiki/Extension:Scribunto).\nAutomatically detects require statements.\n\nscribunto-bundler has support for `.lua` and `.luau` file extensions.\n\n## Installation\n\n```bash\n$ npm install scribunto-bundler --global\n# or\n$ pnpm add scribunto-bundler --global\n```\n\n## Usage\n\n### `create`\n\nCreates a [basic project](https://github.com/ari-party/scribunto-bundler/tree/main/templates/create) and installs scribunto-bundler locally using **npm**.\n\n```bash\n$ npx scribunto-bundler --create\n# or\n$ pnpx scribunto-bundler --create\n```\n\n### `bundle`\n\nBundles the main lua file with its defined modules. Modules are only loaded once on [`require()`](https://www.lua.org/pil/8.1.html).\n\n```bash\n$ npm run bundle\n# or\n$ pnpm bundle\n```\n\n### Configuration\n\n```js\n// bundler.config.js\n\n/** @type {import(\"scribunto-bundler\").Config} */\nexport default {\n  prefix: 'Text that goes infront of the bundled code, e.g. license',\n  suffix: 'Text that goes after the bundled code',\n\n  main: 'src/main.lua', // Your main lua file\n  out: 'dist/bundled.lua', // The destination file for the bundle command\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fari-party%2Fscribunto-bundler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fari-party%2Fscribunto-bundler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fari-party%2Fscribunto-bundler/lists"}