{"id":28329153,"url":"https://github.com/ressiws/typescript-template-pnpm","last_synced_at":"2026-04-08T18:31:14.771Z","repository":{"id":293335314,"uuid":"983671744","full_name":"ressiws/typescript-template-pnpm","owner":"ressiws","description":"Minimal TypeScript project base with a custom builder, ESLint setup, structured logging, and auto-handling of build outputs.","archived":false,"fork":false,"pushed_at":"2025-07-30T15:37:34.000Z","size":104,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-29T03:44:48.569Z","etag":null,"topics":["automation","backend","debugging","dev-tools","eslint","javascript","minimal","nodejs","npm","open-source","pnpm","project-template","starter-kit","tsconfig","typescript","typescript-starter"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ressiws.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,"zenodo":null}},"created_at":"2025-05-14T18:26:52.000Z","updated_at":"2025-10-01T10:32:02.000Z","dependencies_parsed_at":"2025-05-14T20:46:27.813Z","dependency_job_id":"ec86baea-c618-431d-9b7c-2972a92dc012","html_url":"https://github.com/ressiws/typescript-template-pnpm","commit_stats":null,"previous_names":["ressiws/typescript-template-pnpm"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ressiws/typescript-template-pnpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ressiws%2Ftypescript-template-pnpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ressiws%2Ftypescript-template-pnpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ressiws%2Ftypescript-template-pnpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ressiws%2Ftypescript-template-pnpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ressiws","download_url":"https://codeload.github.com/ressiws/typescript-template-pnpm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ressiws%2Ftypescript-template-pnpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31568577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","backend","debugging","dev-tools","eslint","javascript","minimal","nodejs","npm","open-source","pnpm","project-template","starter-kit","tsconfig","typescript","typescript-starter"],"created_at":"2025-05-26T10:18:21.954Z","updated_at":"2026-04-08T18:31:14.758Z","avatar_url":"https://github.com/ressiws.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚙️ TypeScript PNPM Base \n\n![Node.js](https://img.shields.io/badge/Node.js-18+-green?logo=node.js)\n![Made with PNPM](https://img.shields.io/badge/Built%20with-PNPM-f69220?logo=pnpm)\n![TypeScript](https://img.shields.io/badge/TypeScript-%F0%9F%94%A5-blue?logo=typescript)\n![Custom Builder](https://img.shields.io/badge/Custom%20Builder-%E2%9C%94-lightgrey)\n![Logger](https://img.shields.io/badge/Logger-Emoji%20Powered-yellow)\n![License](https://img.shields.io/badge/License-CC%20BY%204.0-blue?logo=creativecommons)\n![Last Commit](https://img.shields.io/github/last-commit/ressiws/typescript-template-pnpm)\n![Open Issues](https://img.shields.io/github/issues/ressiws/typescript-template-pnpm)\n![Stars](https://img.shields.io/github/stars/ressiws/typescript-template-pnpm?style=social)\n\n\u003e A simple and generic TypeScript starter powered by PNPM, with a custom builder and a clean logging system.\n\n## 🚀 About \n\nThis is a basic template for any TypeScript project. It's not tied to a specific use — you can use it to build bots, APIs, scripts, or anything else you want.\n\nIt includes a **custom builder** that compiles your code and handles everything for you, so you can focus on building your project.\n\n## ✨ Features\n\n- 📦 Uses **PNPM** as the package manager\n- ⚙️ **Custom builder**:\n  - Organizes output structure\n  - Automatically copies assets\n  - Replaces string patterns\n  - Fixes TypeScript import paths after build\n  - Clean and colorful logs with emojis\n  - Optional `--debug` mode to show what's going on under the hood\n- 🖥️ **Developer mode** with `pnpm run dev` — auto-restarts and watches for changes\n- 📋 **Custom logger** with log levels (debug, info, warn, error, critical) and emojis\n- 🔍 **ESLint** for code quality\n- 🧱 Minimal and clean project structure\n\n## 📁 Project Structure\n```\n├── .build/ # Builder settings and internal state\n├── scripts/ # Scripts used by the builder\n├── src/ # Your TypeScript source code\n├── src/config.ts # Project configuration file\n└── types/ # Types used internally\n```\n\n## 📦 Getting Started\n\n1. **Install dependencies:**\n\n```bash\npnpm install\n```\n2. Run in development mode (auto compile \u0026 start):\n```bash\npnpm run dev\n```\n\u003e No need to manually build or restart. It watches for changes and runs the latest code.\n\n3. Build your project manually (optional):\n```bash\npnpm run build\n```\n### Optional build flags:\n- `--debug`: Shows detailed builder logs\n\n\u003e Example:\n```bash\npnpm run build --debug\n```\n\n# 📜 Scripts\n| Command                         | Description |\n|---------------------------------|-------------|\n| `pnpm run dev`                  | Starts in dev mode with file watching. Reloads on Save. |\n| `pnpm run build`\t\t\t\t  | Builds the project using the custom builder. |\n| `pnpm run build --debug`        | Shows detailed builder logs (useful for debugging build issues.) |\n| `pnpm run lint`                 | Lints the code using ESLint to catch errors and enforce style. |\n| `pnpm run backup \u003cmsg\u003e`         | Creates a `.zip` backup of the current state. |\n\n\u003e [!TIP]\n\u003e Run `pnpm run lint` before **build** to avoid dumb mistakes in production.\n\n\u003e [!CAUTION]\n\u003e Don't use `debug` mode in production. The config system will automatically warn you if it's enabled while in a production environment.\n\n# ✅ Requirements\n- **Node.js 18+**\n- **PNPM**\n\n# 🧠 Tips\n- All your code goes in the `src/` folder.\n- You can change settings in `config.ts`.\n- Use the `loader` to initialize and organize your boot sequence — helpful for loading services, components, or other logic in a clean way.\n- The builder takes care of everything — you don't need to configure anything else.\n\n# 🧾 License\nThis project is licensed under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) — Use freely with credit. See [LICENSE.md](./LICENSE.md).\n\n\u003e You can use it for whatever you want — commercial or not — as long as you give credit. Don’t worry, we won't sue you for becoming a millionaire off this… probably.\n\n# 🙌 Credits\nBuilt with ❤️ by [DarkenLM](https://github.com/darkenlm) and [swisser](https://github.com/ressiws), just two devs who believe semicolons are optional but clean code isn't.\n\n\u003e They log with emojis, debug with sarcasm, and write better README files than code (allegedly).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fressiws%2Ftypescript-template-pnpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fressiws%2Ftypescript-template-pnpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fressiws%2Ftypescript-template-pnpm/lists"}