1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tools
Divy Srivastava 642c4a44a5
fix(ext/node): querystring stringify without encode callback (#21740)
Fixes https://github.com/denoland/deno/issues/21734

Changes:
- Use default encode when options do not provide a encode callback.
- Remove internal TS for `node:querystring`. Its not helping catching
bugs like this because of invalid type assumptions and use of `any`,
more of a maintenance burden.
2024-01-02 04:54:11 +00:00
..
napi chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
node_compat chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
release chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
wpt chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
build_bench.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
build_benchmark_jsons.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
copyright_checker.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
core_import_map.json fix(ext/node): querystring stringify without encode callback (#21740) 2024-01-02 04:54:11 +00:00
cut_a_release.md chore: make the start_release workflow go faster (#15416) 2022-08-08 19:31:45 -04:00
deno.lock.json chore: upgrade rusty_v8 to 0.71.2 (#19116) 2023-05-13 21:11:40 +02:00
format.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
install_prebuilt.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lint.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md feat: bring back WebGPU (#20812) 2023-12-09 01:19:16 +01:00
update_typescript.md fix: update to TypeScript 4.7.4 (#15022) 2022-07-04 15:13:50 +10:00
upload_wptfyi.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
util.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
verify_pr_title.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
wgpu_sync.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
wpt.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +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 --unstable ./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 --unstable ./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 --unstable ./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 --unstable  ./tools/copyright_checker.js

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