百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

deno_ast

> 编程语言
开源

用于 Deno 的源文本解析、词法分析和 AST 相关功能

179 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

用于 Deno 的源文本解析、词法分析和 AST 相关功能

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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