{"id":19982364,"url":"https://github.com/netlify/build-plugin-template","last_synced_at":"2025-05-04T05:32:19.722Z","repository":{"id":41997924,"uuid":"234616801","full_name":"netlify/build-plugin-template","owner":"netlify","description":"Template repository to create new Netlify Build plugins.","archived":false,"fork":false,"pushed_at":"2025-04-25T20:54:27.000Z","size":17022,"stargazers_count":35,"open_issues_count":27,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-26T16:59:26.629Z","etag":null,"topics":["bash","build","ci","continuous-delivery","continuous-deployment","continuous-integration","continuous-testing","deployment","es6","javascript","linux","macos","netlify","netlify-plugins","nodejs","plugins","serverless","shell","terminal","windows"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/netlify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-17T18:59:27.000Z","updated_at":"2025-04-24T18:58:08.000Z","dependencies_parsed_at":"2023-10-17T07:31:00.803Z","dependency_job_id":"2ab4657a-f4fa-4efe-8b02-12a31a3c95df","html_url":"https://github.com/netlify/build-plugin-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fbuild-plugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fbuild-plugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fbuild-plugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify%2Fbuild-plugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlify","download_url":"https://codeload.github.com/netlify/build-plugin-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252293082,"owners_count":21724960,"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":["bash","build","ci","continuous-delivery","continuous-deployment","continuous-integration","continuous-testing","deployment","es6","javascript","linux","macos","netlify","netlify-plugins","nodejs","plugins","serverless","shell","terminal","windows"],"created_at":"2024-11-13T04:10:57.972Z","updated_at":"2025-05-04T05:32:19.223Z","avatar_url":"https://github.com/netlify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Netlify Status](https://api.netlify.com/api/v1/badges/79deda3b-d696-4878-b15d-d9f3a862bdfc/deploy-status)](https://app.netlify.com/sites/build-plugin-template/deploys)\n\nTemplate repository to create new Netlify Build plugins.\n\nThe main Build plugins documentation can be found\n[here](https://docs.netlify.com/configure-builds/build-plugins/).\n\n# Initialization\n\nTo create a repository with a new Netlify Build plugin, click on the\n[\"Use this template\" button](https://github.com/netlify/build-plugin-template/generate)\non top of the page.\n\nThe repository name should start with `netlify-plugin-`, for example\n`netlify-plugin-gatsby`.\n\n[Clone the repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)\nlocally.\n\nInside the new repository directory, run the following command.\n\n```\nnpm run init\n```\n\nSome questions will be asked. Make sure the plugin's name matches the repository\nname.\n\nAmong other things, this will replace this `README.md` with the plugin's user\ndocumentation. Development documentation will still be available in the\n[`CONTRIBUTING.md`](/CONTRIBUTING.md#development-tasks).\n\nFinally, create a Netlify Site with the repository. This will automatically run\nyour Build plugins in Netlify Build on every `git push`, as a smoke test.\n\nYou can also add a\n[Netlify status badge](https://docs.netlify.com/monitor-sites/status-badges/).\n\n# Usage\n\nThe plugin's logic should be added to [`./src/index.js`](/src/index.js).\nComments in that file will guide you through the creation of a Build plugin.\n\n## Development tasks\n\nThe following development tasks are available. Please check the\n[`package.json`](/package.json) `scripts` property for more information.\n\n```bash\nnpm run build\n```\n\nRuns a Netlify Build locally with the current plugin. This can be used for\ndebugging and manual tests.\n\nThe local Build configuration file is [`netlify.toml`](/netlify.toml) and can be\nmodified.\n\n```bash\nnpm run ava\n```\n\nRuns [unit tests](/test/index.js).\n\n```bash\nnpm run lint\n```\n\nLints and prettifies source files.\n\n```bash\nnpm test\n```\n\nRuns both unit tests and linting.\n\n```bash\nnpm run release\n```\n\nPublishes this plugin to `npm`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Fbuild-plugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlify%2Fbuild-plugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify%2Fbuild-plugin-template/lists"}