{"id":19024116,"url":"https://github.com/astrohelm/bun-workspace","last_synced_at":"2025-09-01T04:39:21.836Z","repository":{"id":194320428,"uuid":"690575333","full_name":"astrohelm/bun-workspace","owner":"astrohelm","description":"Astrohelm example of Bunjs workspace  📝","archived":false,"fork":false,"pushed_at":"2023-09-12T13:10:13.000Z","size":42,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T13:45:55.494Z","etag":null,"topics":["astrohelm","bun","eslint","example","preset","prettier","starter-kit","ts","typescript","workspace","zero-dependencies"],"latest_commit_sha":null,"homepage":"https://astrohelm.ru","language":"Makefile","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/astrohelm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2023-09-12T13:09:36.000Z","updated_at":"2025-02-01T04:26:14.000Z","dependencies_parsed_at":"2023-09-12T21:58:41.796Z","dependency_job_id":"c14fbf56-a904-45e5-853d-38e387ed27d5","html_url":"https://github.com/astrohelm/bun-workspace","commit_stats":null,"previous_names":["astrohelm/bun-workspace"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/astrohelm/bun-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrohelm%2Fbun-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrohelm%2Fbun-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrohelm%2Fbun-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrohelm%2Fbun-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrohelm","download_url":"https://codeload.github.com/astrohelm/bun-workspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrohelm%2Fbun-workspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273075272,"owners_count":25041146,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["astrohelm","bun","eslint","example","preset","prettier","starter-kit","ts","typescript","workspace","zero-dependencies"],"created_at":"2024-11-08T20:34:53.618Z","updated_at":"2025-09-01T04:39:21.786Z","avatar_url":"https://github.com/astrohelm.png","language":"Makefile","readme":"\u003ch1 align=\"center\"\u003eAstrohelm Bun workspace\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003eInstallation guide 🚀\u003c/h2\u003e\n\n### First step: workspace installation\n\nUse next commands to install and update your workspace Or use this repository as a template\nrepository.\n\n```bash\n  # Download repository\n  git clone https://github.com/astrohelm/bun-workspace ./path/to/workspace\n  rm -rf ./path/to/workspace/.git ./path/to/workspace/package-lock.json\n  cd ./path/to/workspace\n  # Update and install dependencies\n  ncu -u\n  bun install\n  # Update Bun.js (optional()\n  bun upgrade\n```\n\n### Second step: Package personalization\n\nUpdate package json, all with prefix \u003ccode\u003eyour-\u003c/code\u003e\u003cbr/\u003e If your nodejs version newer than\npackage.json current add \u003ccode\u003e|| your-node-version\u003c/code\u003e.\n\n```js\n// package.json\n{\n  \"license\": \"MIT\",\n  \"version\": \"0.0.1\",\n  \"type\": \"module\",\n  \"name\": \"your-package-name\",\n  \"homepage\": \"https://astrohelm.ru\",\n  \"description\": \"your-package-description\",\n  \"author\": \"your-name \u003cyour-mail\u003e\",\n  \"keywords\": [\"your-keyword #1\", \"your-keyword #n\"],\n\n  \"main\": \"index.ts\",\n  \"module\": \"index.ts\",\n  \"readmeFilename\": \"README.md\",\n  \"files\": [\"/lib\", \"/types\"],\n\n  \"scripts\": {\n    \"test\": \"bun test\",\n    \"dev\": \"bun ./index.ts\",\n    \"prettier:fix\": \"prettier --write \\\"**/*.{js,ts,json,html,cjs,md,yaml}\\\"\",\n    \"eslint:fix\": \"eslint --fix \\\"**/*.{js,ts}\\\"\"\n  },\n\n  \"repository\": { \"type\": \"git\", \"url\": \"git+https://github.com/astrohelm/your-package-name.git\" },\n  \"bugs\": { \"url\": \"https://github.com/astrohelm/your-package-name/issues\", \"email\": \"your-mail\" },\n\n  \"devDependencies\": {\n    \"bun-types\": \"latest\",,\n    \"@types/node\": \"^18.15.10\",\n    \"eslint\": \"^8.40.0\",\n    \"eslint-config-astrohelm\": \"^1.0.0\",\n    \"eslint-config-prettier\": \"^8.8.0\",\n    \"eslint-plugin-import\": \"^2.27.5\",\n    \"eslint-plugin-prettier\": \"^4.2.1\",\n    \"prettier\": \"^2.8.8\",\n  },\n  \"peerDependencies\": {\n    \"typescript\": \"^5.0.0\"\n  }\n}\n```\n\n### Third step: About files\n\nGo to CHANGELOG.md and update it for your package. _WARNING !_ Don't fotget about date (xxxx-xx-xx).\n\n```md\n\u003c!-- CHANGELOG.md --\u003e\n\n# Changelog\n\n## [Unreleased][unreleased]\n\n## [0.0.1][] - xxxx-xx-xx\n\n- Stable release version\n- Repository created\n\n[unreleased]: https://github.com/astrohelm/your-package-name/compare/release...HEAD\n[0.0.1]: https://github.com/astrohelm/your-package-name/releases/tag/release\n```\n\nUpdate AUTHORS\n\n```md\n \u003c!-- AUTHORS --\u003e\n\nyour-name \u003cyour-mail\u003e\n```\n\n### Almost last step: Update README.md\n\nReplace your README.md with next information and change Your-package-name to actual.\n\n```md\n\u003ch1 align=\"center\"\u003eYour-package-name v0.0.1\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003eInitial release 🚀\u003c/h2\u003e\n\n\u003ch2 align=\"center\"\u003eCopyright \u0026 contributors\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\nCopyright © 2023 \u003ca href=\"https://github.com/astrohelm/Your-package-name/graphs/contributors\"\u003eAstrohelm contributors\u003c/a\u003e.\nWorkspace is \u003ca href=\"./LICENSE\"\u003eMIT licensed\u003c/a\u003e.\u003cbr/\u003e\nWorkspace is part of \u003ca href=\"https://github.com/astrohelm\"\u003eAstrohelm ecosystem\u003c/a\u003e.\n\u003c/p\u003e\n```\n\n### Last step: Save results\n\n_WARNING !_ Update this file before moving throw this step.\n\nCreate a new package in [organization][https://github.com/astrohelm/] repository. Use next commands\nto save you package.\n\n```bash\ngit init\ngit remote add origin your-package-location\ngit branch -M main # if your default branch is not main\ngit commit -am \"Repository init\"\ngit tag v0.0.1\ngit push origin main\ngit push origin v0.0.1\ngit checkout -b dev\ngit push origin dev\n```\n\nReturn to your organization repository and do:\n\n- Add keywords\n- Update description\n- Draft release with `release` tag and `v0.0.1` as a title and updated README file as description.\n\n\u003e If you creating library you may publish it now to npm with `npm publish` command.\n\nCongratulations, package initialized 🚀\n\n## About files \u0026 structure\n\nThis workspace have commonjs in use by default. You can switch it in package.json if you want.\n\n- `dist` directory used for fronted package analog. You can use it if your package is multi-platform\n  based.\n- `eslint` astrohelm eslint rules\n- `types` .d.ts library types exports\n- `CHANGELOG.md` in use for project history documentation\n- `Makefile` ultimate commands shortcuts creator\n- `tests` here you can put all test coverage of your package\n- `.github` github ci pipeline by default\n- `lib` folder should contain all you library logic, _WARNING !_ Remove if you not writing library.\n  Replace with src folder.\n\n\u003ch2 align=\"center\"\u003eCopyright \u0026 contributors\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\nCopyright © 2023 \u003ca href=\"https://github.com/astrohelm/bun-workspace/graphs/contributors\"\u003eAstrohelm contributors\u003c/a\u003e.\nThis workspace is \u003ca href=\"./LICENSE\"\u003eMIT licensed\u003c/a\u003e.\u003cbr/\u003e\nAnd it is part of \u003ca href=\"https://github.com/astrohelm\"\u003eAstrohelm ecosystem\u003c/a\u003e.\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrohelm%2Fbun-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrohelm%2Fbun-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrohelm%2Fbun-workspace/lists"}