Skip to content

fix: migrate Deno standard library imports to JSR - #456

Open
luojiyin1987 wants to merge 2 commits into
ryo-ma:masterfrom
luojiyin1987:fix/deno-std-jsr
Open

fix: migrate Deno standard library imports to JSR#456
luojiyin1987 wants to merge 2 commits into
ryo-ma:masterfrom
luojiyin1987:fix/deno-std-jsr

Conversation

@luojiyin1987

@luojiyin1987 luojiyin1987 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move standard library imports to JSR aliases.
  • Declare all dependency aliases in deno.json.
  • Replace any values in render_svg.ts.
  • Use a Deno 1.44.4 and Deno 2.x CI matrix.
  • Make lint errors fail CI.

Root cause

The project used mixed deno.land/std versions and JSR imports.
Deno 2 lint rejects inline dependency URLs.
The former CI only ran Deno 1.44.4. It ignored lint errors.

Local Deno 2 validation

Validated with Deno 2.9.0.

  • deno fmt --check
  • deno lint
  • deno test --allow-env

Closes #455

@luojiyin1987
luojiyin1987 marked this pull request as ready for review July 25, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: migrate Deno standard library imports to JSR

1 participant