David Sherret
a7c002ae63
chore: enable no-console dlint rule ( #25113 )
2024-08-20 15:14:37 -04:00
Asher Gomez
5f44148e83
chore: update to std@2024.07.19
( #24715 )
2024-07-25 15:30:28 +10:00
Asher Gomez
f248050cb4
chore: use @std
prefix for internal module specifiers ( #24543 )
...
This change aims to replace all relative import specifiers targeted at
`tests/util/std` with mapped ones (using a `deno.json` file). Towards
updating the `std` git submodule.
2024-07-25 10:26:54 +10:00
snek
e3b2ee183b
fix: Rewrite Node-API ( #24101 )
...
Phase 1 node-api rewrite
2024-06-10 16:20:44 +00:00
David Sherret
7ed90a20d0
fix: better handling of npm resolution occurring on workers ( #24094 )
...
Closes https://github.com/denoland/deno/issues/24063
2024-06-05 17:04:16 +02:00
Bartek Iwańczuk
eb218c0f33
chore: upgrade dlint to 0.60.0 ( #24041 )
...
Factoring out `dlint` upgrade from
https://github.com/denoland/deno/pull/24034 as it
requires us to change the lint step on mac to use ARM runners.
---------
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-06-05 01:09:29 +02:00
Asher Gomez
6be389ce29
chore: move test_util/std
to tests/util/std
( #22402 )
...
Note: tests are not the only part of the codebase that uses `std`. Other
parts, like `tools/`, do too. So, it could be argued that this is a
little misleading. Either way, I'm doing this as discussed with
@mmastrac.
2024-02-13 09:22:49 -07:00
Kenta Moriuchi
e7e25db24f
chore: update deno_lint for CI ( #21802 )
2024-01-05 15:03:06 +00:00
David Sherret
7e72f3af61
chore: update copyright to 2024 ( #21753 )
2024-01-01 19:58:21 +00:00
Matt Mastracci
778e4c9710
chore: start codesigning mac release builds ( #21303 )
...
- Adds a codesigning step to all mac targets
- Adds a new ci-full label to the build to force aarch64 builds on any
PR
2023-11-23 15:30:26 -07:00
Asher Gomez
616354e76c
refactor: replace deferred()
from std/async
with Promise.withResolvers()
( #21234 )
...
Closes #21041
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 12:11:20 +01:00
David Sherret
32025dca5c
chore(tools): pull dprint from npm instead of third_party ( #21281 )
...
This will allow this format script to work on more architectures. Also,
this upgrade fixes the issue with the unstable incremental cache that's
currently on main.
2023-11-21 00:21:21 +00:00
Matt Mastracci
93c4c1a2c1
chore: add aarch64-apple-darwin builds to ci ( #21243 )
...
This is a prerequisite to automatic code signing.
2023-11-19 16:11:20 -07:00
Matt Mastracci
ec0e387d1c
chore: fix dlint version and sanity check version after download ( #21058 )
...
Follow-up to fix version error introduced in #21014
2023-11-02 15:37:10 -06:00
Kenta Moriuchi
841f215fd4
fix(ext/node): adapt dynamic type checking to Node.js behavior ( #21014 )
2023-11-01 16:06:25 +09:00
Matt Mastracci
8eda8c0dbd
chore: make downloadPrebuilt a little more reliable ( #20401 )
...
Makes the prebuilt installation a bit more reliable:
- Check for 200
- Check for an executable header (MZ, ELF, etc)
- Download to a .temp file until we're certain the file is valid
- If multiple requests for a tool are made, only run one task
2023-09-07 17:13:11 +00:00
David Sherret
3fc19dab47
feat: support import attributes ( #20342 )
2023-09-07 09:09:16 -04:00
David Sherret
a0af53fea1
chore: pin third_party ( #20386 )
2023-09-06 06:07:55 +02:00
Divy Srivastava
c2259f78eb
chore: remove third_party submodule ( #20201 )
...
removes third_party submodule, tools are installed on-demand.
- removed `load_test` and websocket benchmark (covered by benchy)
- removed node/bun http benchmarks (covered by benchy)
- `dlint` & `dprint` downloaded on-demand.
- `wrk` & `hyperfine` downloaded before CI benchmark run.
Install locally using: `./tools/install_prebuilt.js wrk hyperfine`
#### updating dlint/dprint
update version in `tools/util.js` and place binary in
`denoland/deno_third_party`.
2023-08-19 09:56:12 +05:30
Asher Gomez
7683ba5e90
chore: update std submodule and its imports ( #17408 )
2023-01-15 21:09:26 +01:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Bartek Iwańczuk
4d07ed0efa
chore: rewrite tests and utils to use Deno.Command API ( #16895 )
...
Since "Deno.spawn()", "Deno.spawnSync()" and "Deno.spawnChild"
are getting deprecated, this commits rewrites all tests and utilities to
use "Deno.Command" API instead.
2022-12-02 14:43:17 +01:00
Satya Rohith
e98e0da8b2
fix(tools): upgrade to new Deno.spawn
api ( #15265 )
2022-07-21 14:15:15 +05:30
Leo Kettmeir
4e1ca1d178
refactor: use spawn API across codebase ( #14414 )
2022-05-18 22:00:11 +02:00
Aaron O'Mullan
bd5d445da9
chore: re-enable wgpu_sync ( #13453 )
2022-01-24 23:47:05 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Bartek Iwańczuk
59696df9e0
chore: use local deno_std in tools scripts ( #11122 )
2021-06-26 02:02:31 +02:00
Bert Belder
5a250b9e55
tests: fix bug in WPT test harness ( #10920 )
2021-06-23 19:36:04 +00:00
David Sherret
6ee983b127
chore(tools): Fix stdout buffer of launched process getting full causing tools/lint.js to hang on Windows ( #10888 )
...
Also fix Windows only clippy issues.
2021-06-07 22:29:47 -04:00
Luca Casonato
a66f327250
tests: run wpt scripts with Deno.core.evalContext ( #10852 )
...
This means wpts are now run in script context, and there are better
stack traces.
2021-06-06 18:32:06 +02:00
Satya Rohith
2bd087ab1b
chore: upgrade dprint plugins ( #10397 )
2021-04-28 10:08:51 -04:00
Luca Casonato
2638aa03a5
tests: new typescript WPT runner ( #9269 )
2021-01-27 15:06:18 +01:00
Ryan Dahl
2b75a11559
update copyright to 2021 ( #9081 )
2021-01-10 21:59:07 -05:00
Yusuke Tanaka
9029003046
build: update dlint to v0.2.10 ( #8284 )
...
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14 20:27:37 +01:00
Bartek Iwańczuk
791119d4af
build: rewrite tools/ scripts to deno ( #8247 )
...
This commit rewrites scripts in "tools/" directory
to use Deno instead of Python. In return it allows
to remove huge number of Python packages in "third_party/".
2020-11-05 15:53:21 +01:00