deno/tools
Bartek Iwańczuk 004b85703a
Revert "refactor: merge deno_cache into deno_web (#31183)" (#31205)
This reverts commit 5eccca8717.

Turns out this extension requires `ext/fetch` to be merged in `ext/web`
first, so reverting for now to keep `main` green.
2025-11-06 09:25:55 +00:00
..
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
release ci: fix release script to format semver (#30962) 2025-10-13 15:20:40 +05:30
build_bench.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
build_benchmark_jsons.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
copyright_checker.js feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +02:00
core_import_map.json Revert "refactor: merge deno_cache into deno_web (#31183)" (#31205) 2025-11-06 09:25:55 +00:00
cut_a_release.md docs: clarify release instructions (#24124) 2024-06-07 01:15:56 +00:00
deno.json chore: add automated blog post link to releases.md (#30932) 2025-10-06 21:57:46 +00:00
deno.lock.json chore: add automated blog post link to releases.md (#30932) 2025-10-06 21:57:46 +00:00
ecosystem_compat_slack.ts ci: adjustments to the ecosystem compat tests (#31076) 2025-10-24 10:23:13 +00:00
ecosystem_compat_tests.ts ci: increase ecosystem tests timeout to 2m (#31109) 2025-10-28 10:46:03 -04:00
faster-rebuilds.md chore(build): document faster rebuilds with cargo plonk (#21823) 2024-01-06 16:27:04 +05:30
format.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
generate_minimatch_dep.js feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +02:00
generate_types_deno.ts fix(dts): update some GPU types to not cause errors in upcoming DOM type declarations (#30893) 2025-10-01 20:34:43 +00:00
install_prebuilt.js chore(ci): pass GITHUB_TOKEN to download prebuilt to prevent GitHub rate limits (#29392) 2025-05-20 14:14:06 -04:00
jsdoc_checker.js fix(ext/ffi): unexport brand from dts (#28503) 2025-04-28 18:54:21 +00:00
lint.js feat(coverage): add dark-mode toggle for html output (#31140) 2025-11-04 12:18:12 +01:00
memfd_create_shim.c feat: Upgrade V8 to 13.4 (#28080) 2025-02-14 11:26:47 +00:00
node_compat_tests.js test: add shorthand script to run all Node test and filtering to it (#29224) 2025-05-17 02:08:21 +02:00
ops.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: use granular unstable flags in tools/ (#22138) 2024-01-26 22:35:43 +00:00
update_import_map_for_tests.ts chore: update submodule std version (#30676) 2025-09-11 17:48:32 +09:00
update_node_gyp_for_tests.ts fix: upgrade @node/types to 24 (#30343) 2025-08-07 16:08:47 +00:00
update_tsgo.ts feat(unstable): typescript-go integration for deno check (#30920) 2025-10-20 09:59:54 -07:00
update_typescript.md docs: fix a numerical error in update_typescript.md (#28556) 2025-03-20 14:21:49 +00:00
upload_wptfyi.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
util.js chore: remove wait dependency in scripts (#30267) 2025-07-31 18:30:20 +00:00
verify_pr_title.js chore: update lint PR title name and job name (#30370) 2025-08-13 09:07:32 -04:00
wgpu_sync.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00

Tools

Documentation for various tooling in support of Deno development.

format.js

This script will format the code (currently using dprint, rustfmt). It is a prerequisite to run this before code check in.

To run formatting:

deno run --allow-read --allow-write --allow-run ./tools/format.js

lint.js

This script will lint the code base (currently using dlint, clippy). It is a prerequisite to run this before code check in.

To run linting:

deno run --allow-read --allow-write --allow-run ./tools/lint.js

Tip: You can also use cargo to run the current or pending build of the deno executable

cargo run -- run --allow-read --allow-write --allow-run ./tools/<script>

wgpu_sync.js

wgpu_sync.js streamlines updating deno_webgpu from gfx-rs/wgpu.

It essentially vendors the deno_webgpu tree with a few minor patches applied on top, somewhat similar to git subtree.

  1. Update COMMIT or V_WGPU in ./tools/wgpu_sync.js
  2. Run ./tools/wgpu_sync.js
  3. Double check changes, possibly patch
  4. Commit & send a PR with the updates

copyright_checker.js is used to check copyright headers in the codebase.

To run the copyright checker:

deno run --allow-read --allow-run  ./tools/copyright_checker.js

Then it will check all code files in the repository and report any files that are not properly licensed.