deno/tools
Bartek Iwańczuk cd0a592b2d
fix: restore Windows debug info (#30778)
Restores generation of debug info on Windows, that was disabled in 2.5.0
as part of V8 upgrade - https://github.com/denoland/deno/pull/30629
2025-09-18 18:14:05 -07:00
..
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
release fix: restore Windows debug info (#30778) 2025-09-18 18:14:05 -07:00
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 fix(ext/node): fs.statfsSync and fs.statfs compatibility (#30662) 2025-09-18 16:03:30 +02:00
cut_a_release.md docs: clarify release instructions (#24124) 2024-06-07 01:15:56 +00:00
deno.json chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
deno.lock.json ci: disable symcache generation on Windows (#30646) 2025-09-08 22:39:54 +00: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 refactor(node/npm): separate out permission check from npm resolvers (#27511) 2025-01-02 10:05:52 -05: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: permissions in the config file (#30330) 2025-09-02 13:37:33 +00: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_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.