{"id":34246464,"url":"https://github.com/ryohidaka/action-dnt","last_synced_at":"2026-03-14T03:02:49.345Z","repository":{"id":328257846,"uuid":"1114909192","full_name":"ryohidaka/action-dnt","owner":"ryohidaka","description":"GitHub Actions to convert Deno to npm package.","archived":false,"fork":false,"pushed_at":"2025-12-12T04:17:03.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-13T06:20:28.753Z","etag":null,"topics":["deno","dnt"],"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/ryohidaka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-12T04:12:31.000Z","updated_at":"2025-12-12T04:18:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ryohidaka/action-dnt","commit_stats":null,"previous_names":["ryohidaka/action-dnt"],"tags_count":1,"template":false,"template_full_name":"ryohidaka/composite-action-template","purl":"pkg:github/ryohidaka/action-dnt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryohidaka%2Faction-dnt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryohidaka%2Faction-dnt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryohidaka%2Faction-dnt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryohidaka%2Faction-dnt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryohidaka","download_url":"https://codeload.github.com/ryohidaka/action-dnt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryohidaka%2Faction-dnt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27760430,"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-12-16T02:00:10.477Z","response_time":57,"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":["deno","dnt"],"created_at":"2025-12-16T07:02:33.914Z","updated_at":"2026-03-14T03:02:49.316Z","avatar_url":"https://github.com/ryohidaka.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno to Node Transform (dnt) for GitHub Actions\n\n[![GitHub Release](https://img.shields.io/github/v/release/ryohidaka/action-dnt)](https://github.com/ryohidaka/action-dnt/releases/)\n[![Test Action](https://github.com/ryohidaka/action-dnt/actions/workflows/test.yml/badge.svg)](https://github.com/ryohidaka/action-dnt/actions/workflows/test.yml)\n\nGitHub Actions to convert Deno to npm package using\n[@deno/dnt](https://github.com/denoland/dnt).\n\n## Usage\n\n```yml\non: [push]\n\njobs:\n  dnt:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Node.js\n        uses: actions/setup-node@v6\n        with:\n          node-version: latest\n\n      - name: Run @deno/dnt\n        uses: ryohidaka/action-dnt@v0.2.0\n        with:\n          name: my-package\n          project-dir: .\n          out-dir: ./npm\n          copy-files: \"README.md,LICENSE\"\n          compiler-options: '{\"target\":\"ES2023\",\"lib\":[\"ESNext\"]}'\n          deno-version: stable\n\n      - name: Publish to npm\n        run: cd npm \u0026\u0026 npm publish\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n```\n\n## Inputs\n\n| Input              | Description                                                           | Required | Default  |\n| ------------------ | --------------------------------------------------------------------- | -------- | -------- |\n| `name`             | NPM package name                                                      | ✅       |          |\n| `project-dir`      | Project directory (contains `deno.json` and `mod.ts`)                 |          | `.`      |\n| `out-dir`          | Directory to output                                                   |          | `./npm`  |\n| `copy-files`       | Additional files or directories to copy                               |          |          |\n| `compiler-options` | TypeScript compiler options to pass to DNT (e.g. target, lib, strict) |          | `{}`     |\n| `deno-version`     | Deno version to use                                                   |          | `stable` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryohidaka%2Faction-dnt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryohidaka%2Faction-dnt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryohidaka%2Faction-dnt/lists"}