{"id":22588748,"url":"https://github.com/jiawei397/deno_template","last_synced_at":"2026-05-03T16:32:19.143Z","repository":{"id":108486592,"uuid":"429392654","full_name":"jiawei397/deno_template","owner":"jiawei397","description":"a template by deno","archived":false,"fork":false,"pushed_at":"2023-10-25T09:38:35.000Z","size":192,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T09:52:01.218Z","etag":null,"topics":["deno","mongodb","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiawei397.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-18T10:50:44.000Z","updated_at":"2024-06-15T07:40:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"679c22ca-3c84-4101-b25d-5042559f37cb","html_url":"https://github.com/jiawei397/deno_template","commit_stats":null,"previous_names":[],"tags_count":16,"template":true,"template_full_name":null,"purl":"pkg:github/jiawei397/deno_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Fdeno_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Fdeno_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Fdeno_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Fdeno_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiawei397","download_url":"https://codeload.github.com/jiawei397/deno_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Fdeno_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["deno","mongodb","typescript"],"created_at":"2024-12-08T08:10:42.552Z","updated_at":"2026-05-03T16:32:19.119Z","avatar_url":"https://github.com/jiawei397.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno_template\n\n[![deno version](https://img.shields.io/badge/deno-^1.37.0-green?logo=deno)](https://github.com/denoland/deno)\n\n## 安装插件\n\n在当前工程执行：\n\n```bash\ndeno run  --allow-write https://deno.land/x/jw_cli@v0.5.0/cli/git_hook.ts\n```\n\n## vscode开启deno插件\n\n在应用商店查找`deno`插件，安装使用。\n\n## 运行\n\n```bash\ndeno task dev\n```\n\n## 校验\n\n```shell\ndeno lint\n```\n\n## 格式化\n\n```shell\ndeno fmt\n```\n\n建议开发时，开启`vscode`自动格式化。\n\n## 发布到gitlab\n\n我们通过打标签的方式，跑CI/CD进行发布，建议安装以下命令：\n\n```bash\ndeno install --allow-read --allow-write --allow-run --unstable -n tag -f https://deno.land/x/jw_cli@v0.5.0/cli/tag/mod.ts\n```\n\n然后在项目根目录下执行`patch/minor/major`进行版本号的变更，逻辑与`Node.js`的`npm version`命令一致，它会更新`deno.jsonc`文件中版本号。\n\n```bash\ntag patch -L\ntag minor -L\ntag major -L\n```\n\n## 生成git日志文件\n\n```bash\nnpm install -g conventional-changelog-cli\nconventional-changelog -p angular -i CHANGELOG.md -s -r 0\n```\n\n如果只是添加：\n\n```bash\nconventional-changelog -p angular -i CHANGELOG.md -s\n```\n\n现使用`deno task log`来调用上述命令。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiawei397%2Fdeno_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiawei397%2Fdeno_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiawei397%2Fdeno_template/lists"}