deno/tools
Jeff Hykin 2f72884425
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972)
2025-07-01 11:35:45 +02:00
..
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
release chore: fix deno_lib version bump for release and verify Deno binary version outputs expected version (#29540) 2025-05-30 17:11:26 +00: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 feat(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +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 chore: add npm distribution at deno package (#27346) 2024-12-12 23:43:43 +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(node API): add fs.glob, fs.globSync, fs.promises.glob (#28972) 2025-07-01 11:35:45 +02: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_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(ci): pass GITHUB_TOKEN to download prebuilt to prevent GitHub rate limits (#29392) 2025-05-20 14:14:06 -04:00
verify_pr_title.js ci: improve verify_pr_title script (#28759) 2025-04-05 08:24:29 +05:30
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.