Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

deno_ast

> 编程语言
Open source

Source text parsing, lexing, and AST related functionality for Deno

179 stars0 likes1 views
WebsiteGitHub

About

Source text parsing, lexing, and AST related functionality for Deno

deno_ast

Source text parsing, lexing, and AST related functionality for Deno.

…

Versioning Strategy

This crate does not follow semver so make sure to pin it to a patch version. Instead a versioning strategy that optimizes for more efficient maintenance is used:

  • Does deno_graph, deno_doc, deno_lint, eszip, and dprint-plugin-typescript still compile in the Deno repo?
    • If yes, is this a change that would break something at runtime?
      • If yes, it's recommended to do a minor release.
      • If no, it's a patch release.
    • If no, it's a minor release.

swc upgrades

We upgrade swc about once a month. Upgrading swc is a very involved process that often requires many changes in downstream Deno crates. We also test the new version of swc in all downstream crates before merging a PR into deno_ast that updates swc.

Please do not open a PR for upgrading swc unless you have stated you are going to work on it in the issue tracker and have run the tests on all downstream crates.

To upgrade swc:

  1. Checkout the following repositories in sibling directories to this repository (ex. /home/david/dev/deno_graph, /home/david/dev/deno_ast):
    • https://github.com/denoland/deno_graph
    • https://github.com/denoland/deno_lint
    • https://github.com/denoland/eszip
    • https://github.com/denoland/deno_doc
    • https://github.com/dprint/dprint-plugin-typescript
    • https://github.com/denoland/deno
  2. Ensure they all have upstream remotes set for the urls specified above. For example, your deno_graph repo should have git remote add upstream https://github.com/denoland/deno_graph.
  3. Run ./scripts/update_swc_deps.ts
  4. Run ./scripts/01_setup.ts
  5. Run ./scripts/02_build.ts and fix any build errors.
  6. Run ./scripts/03_test.ts and fix any failing tests.
    • At this point, all the tests should be passing in all the repositories.
  7. Open a PR for upgrading deno_ast.
  8. Merge the PR and publish a new version of deno_ast using the release workflow.
  9. At this point, bump the version of deno_ast and open PRs for deno_graph, deno_lint, and dprint-plugin-typescript (note: ./scripts/04_confirm.ts might be helpful to automate some of this. Read its source code to understand it so that you can deal with any problems that may arise).
  10. Merge the PR deno_graph and publish using its release workflow.
  11. Open PRs to deno_doc and eszip.
  12. Merge those PRs and do releases. Also merge and release deno_lint and dprint-plugin-typescript (Bartek and David have access to publish dprint-plugin-typescript).
  13. Open a PR to Deno with the versions bumped and merge the PR.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言