{"id":16223398,"url":"https://github.com/vtrbo/starter-unplugin","last_synced_at":"2025-04-08T01:44:46.126Z","repository":{"id":142625194,"uuid":"521485411","full_name":"vtrbo/starter-unplugin","owner":"vtrbo","description":"💿 Template For Unplugin.","archived":false,"fork":false,"pushed_at":"2023-07-29T01:39:57.000Z","size":405,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T01:48:58.988Z","etag":null,"topics":["starter","unplugin"],"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/vtrbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["vtrbo"]}},"created_at":"2022-08-05T03:06:05.000Z","updated_at":"2023-08-03T07:30:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"77ca2452-1077-48e7-b920-a8e8912ecc68","html_url":"https://github.com/vtrbo/starter-unplugin","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/vtrbo%2Fstarter-unplugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtrbo%2Fstarter-unplugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtrbo%2Fstarter-unplugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtrbo%2Fstarter-unplugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtrbo","download_url":"https://codeload.github.com/vtrbo/starter-unplugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761031,"owners_count":20991533,"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":["starter","unplugin"],"created_at":"2024-10-10T12:18:39.933Z","updated_at":"2025-04-08T01:44:46.101Z","avatar_url":"https://github.com/vtrbo.png","language":"TypeScript","readme":"# ---plugin-name--- \n\n[![NPM version](https://img.shields.io/npm/v/---plugin-name---?color=a1b858\u0026label=)](https://www.npmjs.com/package/---plugin-name---)\n\n---plugin-name--- for [unplugin](https://github.com/unjs/unplugin).\n\nForked from [antfu/unplugin-starter](https://github.com/antfu/unplugin-starter)\n\n## Template Usage\n\n\u003e example use [@vtrbo/cli](https://github.com/vtrbo/cli)  \n\u003e\n\u003e example use [@vtrbo/ni](https://github.com/vtrbo/ni)  \n\nClone this template\n\n```bash\nvtr\n# select Unplugin\n\n# or\n# vtr vtrbo/starter-unplugin my-plugin\n```\n\nGlobally replace `---plugin-name---` with your plugin name.  \n\nGlobally replace `---PluginName---` with your plugin name (big camel case).  \n\nThen you can start developing your plugin.  \n\nTo test your plugin, run `nr dev`.  \n\nTo release your plugin, run `nr release`.  \n\n## Install\n\n```bash\nnpm i ---plugin-name---\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// vite.config.js\nimport ---PluginName--- from '---plugin-name---/vite'\n\nexport default defineConfig({\n  plugins: [---PluginName---({ /* options */ })],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// rollup.config.js\nimport ---PluginName--- from '---plugin-name---/rollup'\n\nexport default {\n  plugins: [---PluginName---({ /* options */ })],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// webpack.config.js\nmodule.exports = {\n  /* ... */\n  plugins: [\n    require('---plugin-name---/webpack')({ /* options */ })\n  ]\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eNuxt\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// nuxt.config.js\nexport default {\n  buildModules: [\n    ['---plugin-name---/nuxt', { /* options */ }],\n  ],\n}\n```\n\n\u003e This module works for both Nuxt 2 and [Nuxt Vite](https://github.com/nuxt/vite)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVue CLI\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// vue.config.js\nmodule.exports = {\n  configureWebpack: {\n    plugins: [\n      require('---plugin-name---/webpack')({ /* options */ }),\n    ],\n  },\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eEsbuild\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// esbuild.config.js\nimport { build } from 'esbuild'\nimport ---PluginName--- from '---plugin-name---/esbuild'\n\nbuild({\n  plugins: [---PluginName---({ /* options */ })],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n## License\n\n[MIT](./LICENSE) License © 2022 [Victor Bo](https://github.com/vtrbo)\n","funding_links":["https://github.com/sponsors/vtrbo"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtrbo%2Fstarter-unplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtrbo%2Fstarter-unplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtrbo%2Fstarter-unplugin/lists"}