{"id":18048513,"url":"https://github.com/bent10/monorepo-starter","last_synced_at":"2025-04-10T09:51:43.433Z","repository":{"id":37800931,"uuid":"403362625","full_name":"bent10/monorepo-starter","owner":"bent10","description":"A starter template for a monorepo using NPM workspaces 🗂️","archived":false,"fork":false,"pushed_at":"2025-04-06T02:29:50.000Z","size":1763,"stargazers_count":14,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T03:24:47.400Z","etag":null,"topics":["ava","babel","boilerplate","bundling","eleventy","eslint","jest","monorepo","npm","package","prettier","renovate","rollup","scss","typescript","webpack","workspace"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/bent10.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-09-05T16:48:11.000Z","updated_at":"2025-03-23T17:55:02.000Z","dependencies_parsed_at":"2023-10-16T00:21:08.410Z","dependency_job_id":"423e10a5-0ab7-437b-b281-2f17d8c64953","html_url":"https://github.com/bent10/monorepo-starter","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/bent10%2Fmonorepo-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bent10%2Fmonorepo-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bent10%2Fmonorepo-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bent10%2Fmonorepo-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bent10","download_url":"https://codeload.github.com/bent10/monorepo-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248197932,"owners_count":21063623,"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":["ava","babel","boilerplate","bundling","eleventy","eslint","jest","monorepo","npm","package","prettier","renovate","rollup","scss","typescript","webpack","workspace"],"created_at":"2024-10-30T20:13:15.203Z","updated_at":"2025-04-10T09:51:43.410Z","avatar_url":"https://github.com/bent10.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Make sure you overwrite all the contents of this readme file with yours on your real project! --\u003e\n\n# \u003cimg src=\".github/media/logo.svg\" alt=\"Logo\" width=\"520px\"\u003e\n\n\u003c!-- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bent10/monorepo-starter/Release?style=flat-square)](https://github.com/bent10/monorepo-starter/actions/workflows/release.yml) --\u003e\n\nA starter template for a monorepo using NPM workspaces.\n\n## Features\n\n- **Quick start:** Efficient starting point for Web and Node.js projects\n- **Lightweight**: Only native NPM workspaces, for speed and simplicity\n- **Multilingual support**: Supports multiple programming languages in a single repository\n- **Modern syntax:** Supports the latest language features\n- **Flexible output:** Output in any format\n- **Automatic updates:** Keeps your dependencies up to date. See [recipes](#recipes) for more info\n- **Automated releases:** Automatically handles GitHub releases, NPM publishing, and changelog updates. Check out [recipes](#recipes) for details\n- **Live Playground**: Includes a live environment for testing code\n\n## Installation\n\nTo start a new project with this template, use one of the following methods:\n\n### Clone from GitHub\n\nClick the \"Use this template\" button above or clone the repository. Then, install dependencies:\n\n```bash\nnpm i\n```\n\n### Use `npx degit`\n\nClone the template and install dependencies:\n\n```bash\nnpx degit \"bent10/monorepo-starter\" my-project\ncd my-project\nnpm i\n```\n\n## Commands\n\n- `npm run dev -w pkgName`: Starts the dev server for a specific package\n- `npm run build`: Builds the project and checks types\n- `npm test`: Runs tests with Vitest\n- `npm run coverage`: Generates test coverage reports\n- `npm run types`: Generates TypeScript declaration files\n- `npm run lint`: Checks types and lints the project\n- `npm run format`: Formats code using Prettier\n\nUse these commands to manage your development workflow. Add `-w` or `--workspace` to target specific packages:\n\n```bash\nnpm run build -w pkg1 -w pkg2 ...\n```\n\n## Packages\n\n| Package                             | Description             | Version                                                 |\n| :---------------------------------- | :---------------------- | :------------------------------------------------------ |\n| [js-lib](packages/js-lib)           | JavaScript library      | [v0.0.0-development](packages/js-lib/changelog.md)      |\n| [theme](packages/theme)             | Bootstrap-powered theme | [v0.0.0-development](packages/theme/changelog.md)       |\n| [vite-plugin](packages/vite-plugin) | Vite plugin             | [v0.0.0-development](packages/vite-plugin/changelog.md) |\n\n### Adding new packages\n\nTo add a new package:\n\n1. Run the following command with your desired template:\n\n   ```bash\n   # For npm 6.x\n   npm create vite@latest packages/new-package --template react\n\n   # For npm 7+\n   npm create vite@latest packages/new-package -- --template react\n   ```\n\n   Check [available templates](https://github.com/vitejs/vite/tree/main/packages/create-vite)\n\n2. Open `packages/new-package/package.json` and remove dependencies already included in [`doogu`](https://github.com/bent10/doogu/blob/main/package.json#L44) (e.g., `vite`, `vitest`, `typescript`, `prettier`, `eslint`).\n\nYour new package is now ready for development with Vite features.\n\n## Recipes\n\n- [Automated dependency updates](.github/recipes/setup-renovate.md) – Set up automated updates with Renovate\n- [Release automation](.github/recipes/release-automation.md) – Automate your project's release process\n\n## Related\n\n- [module-starter](https://github.com/bent10/module-starter) – A minimalist template for modern web development\n- [doogu](https://github.com/bent10/doogu) – A wrapper around modern JavaScript tools\n\n## Contributing\n\nWe 💛\u0026nbsp; issues.\n\nWhen committing, please conform to [the semantic-release commit standards](https://www.conventionalcommits.org/). Please install `commitizen` and the adapter globally, if you have not already.\n\n```bash\nnpm i -g commitizen cz-conventional-changelog\n```\n\nNow you can use `git cz` or just `cz` instead of `git commit` when committing. You can also use `git-cz`, which is an alias for `cz`.\n\n```bash\ngit add . \u0026\u0026 git cz\n```\n\n## License\n\n![GitHub](https://img.shields.io/github/license/bent10/module-starter)\n\nA project by [Stilearning](https://stilearning.com) \u0026copy; 2021-2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbent10%2Fmonorepo-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbent10%2Fmonorepo-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbent10%2Fmonorepo-starter/lists"}