David Sherret
21dd7f8a7f
chore: update copyright to 2024 ( #21753 )
2024-01-04 20:34:51 +01:00
David Sherret
a1d823e27d
feat(compile): support discovering modules for more dynamic arguments ( #21381 )
...
This PR causes Deno to include more files in the graph based on how a
template literal looks that's provided to a dynamic import:
```ts
const file = await import(`./dir/${expr}`);
```
In this case, it will search the `dir` directory and descendant
directories for any .js/jsx/etc modules and include them in the graph.
To opt out of this behaviour, move the template literal to a separate
line:
```ts
const specifier = `./dir/${expr}`
const file = await import(specifier);
```
2023-12-01 20:12:10 +00:00
David Sherret
c213ad380f
chore: combine TestCommandBuilder
with DenoCmd
( #21248 )
2023-11-17 22:46:15 -05:00
David Sherret
0709c051f8
feat(unstable): package manager ( #20517 )
...
Adds an experimental unstable built-in package manager to Deno, but it is
currently not usable because the registry infrastructure hasn't been
setup and it points to a non-existent url by default. The default
registry url can be configured via the `DENO_REGISTRY_URL` environment
variable.
2023-09-18 10:46:44 -04:00
Vedant Pandey
4a5aaceb26
fix: deno info should respect import map ( #19781 )
...
Closes #19742
2023-07-25 18:23:43 +02:00
David Sherret
fe91cd5b84
chore(tests): update info_with_compiled_source to use TestContextBuilder ( #19783 )
2023-07-10 14:01:01 +00:00
David Sherret
a35c8e6588
fix(info/doc): add missing --no-lock
and --lock
flags ( #18166 )
...
Closes #18159
2023-03-13 17:04:00 -04:00
David Sherret
344317ec50
feat(npm): support bare specifiers from package.json in more subcommands and language server ( #17891 )
2023-02-23 10:58:10 -05:00
Bartek Iwańczuk
9e282155b7
tests: move integration tests to a single module ( #17380 )
...
Effectively reverts changes done in
https://github.com/denoland/deno/pull/16816
2023-01-13 02:59:13 +01:00
Bartek Iwańczuk
7e0c558187
tests: move integration tests to separate modules ( #16816 )
2022-11-26 02:29:56 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
David Sherret
1464b756a4
refactor: move out test files from root testdata directory into sub directories ( #15949 )
2022-09-19 10:32:21 -04:00
David Sherret
0ab262b901
feat: emit files on demand and fix racy emit ( #15220 )
2022-07-19 11:58:18 -04:00
Mark Ladyshau
decdc59071
fix(cli): add config flag to deno info
( #14706 )
2022-06-13 20:09:04 +02:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
David Sherret
6268a1a6fd
chore: replace .expect("...")
calls with .unwrap()
in test code ( #14081 )
2022-03-22 15:10:00 -04: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
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Kitson Kelly
7d151efc68
fix(cli): info now displays type reference deps ( #11478 )
...
Fixes #11476
2021-07-22 15:34:28 +10:00
David Sherret
ce3fbb4bd1
chore: add tests for previous assertion error when file contained only triple slash references ( #11285 )
2021-07-05 15:21:44 -04:00
David Sherret
098a7c8886
chore: split up integration_tests.rs into separate files ( #11131 )
2021-06-27 13:27:36 -04:00