Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-14 | refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) | Bartek Iwańczuk | |
This commit changes current "deno_core::resolve_url_or_path" API to "resolve_url_or_path_deprecated" and adds new "resolve_url_or_path" API that requires to explicitly pass the directory from which paths should be resolved to. Some of the call sites were updated to use the new API, the reminder of them will be updated in a follow up PR. Towards landing https://github.com/denoland/deno/pull/15454 | |||
2023-02-24 | fix(npm): lazily install package.json dependencies only when necessary (#17931) | David Sherret | |
This lazily does an "npm install" when any package name matches what's found in the package.json or when running a script from package.json with deno task. Part of #17916 Closes #17928 | |||
2023-02-22 | refactor: use deno_graph for npm specifiers (#17858) | David Sherret | |
This changes npm specifiers to be handled by deno_graph and resolved to an npm package name and version when the specifier is encountered. It also slightly changes how npm specifier resolution occurs—previously it would collect all the npm specifiers and resolve them all at once, but now it resolves them on the fly as they are encountered in the module graph. https://github.com/denoland/deno_graph/pull/232 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-02-20 | feat: auto-discover package.json for npm dependencies (#17272) | Bartek Iwańczuk | |
This commits adds auto-discovery of "package.json" file when running "deno run" and "deno task" subcommands. In case of "deno run" the "package.json" is being looked up starting from the directory of the script that is being run, stopping early if "deno.json(c)" file is found (ie. FS tree won't be traversed "up" from "deno.json"). When "package.json" is discovered the "--node-modules-dir" flag is implied, leading to creation of local "node_modules/" directory - we did that, because most tools relying on "package.json" will expect "node_modules/" directory to be present (eg. Vite). Additionally "dependencies" and "devDependencies" specified in the "package.json" are downloaded on startup. This is a stepping stone to supporting bare specifier imports, but the actual integration will be done in a follow up commit. --------- Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-02-15 | refactor: make resolver required (#17783) | David Sherret | |
Makes the resolver required and prints a warning when vendoring and a dynamic import can't be resolved. Closes #16522 | |||
2023-02-09 | refactor: deno_graph 0.43 upgrade (#17692) | David Sherret | |
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-24 | refactor(deno_graph): remove unused Resolved::Ok#kind usage (#17504) | David Sherret | |
See https://github.com/denoland/deno_graph/pull/205 for more details. | |||
2023-01-13 | refactor(cli/tools): reduce cloning (#17309) | Geert-Jan Zwiers | |
2023-01-07 | refactor(cli/tools): move flag and config logic to CliOptions (#17008) | Geert-Jan Zwiers | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-05 | refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274) | Yiyu Lin | |
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-30 | refactor: cleanup redundant call (#17226) | Geert-Jan Zwiers | |
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-09 | fix: respect the `--quiet` flag in more cases (#16998) | David Sherret | |
2022-12-06 | refactor: remove `deno_graph::Locker` usage (#16877) | David Sherret | |
This is just a straight refactor and doesn't make any improvements to the code that could now be made. Closes #16493 | |||
2022-12-01 | fix(vendor): properly handle bare specifiers that start with http (#16885) | David Sherret | |
2022-11-28 | refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵ | David Sherret | |
cache folder (#16857) | |||
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-11-02 | refactor: Combine ImportMapResolver and JsxResolver (#16508) | Bartek Iwańczuk | |
These resolvers are used in `deno_graph` APIs. Combining them removes a lot of code and unblocks me on https://github.com/denoland/deno/pull/16157 | |||
2022-10-25 | fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406) | David Sherret | |
2022-09-27 | fix(cli/vendor): handle assert type json during vendoring (#16059) | Sylvain Cau | |
2022-08-22 | perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵ | David Sherret | |
memory (#15502) | |||
2022-08-10 | feat: add initial internal npm client and dependency resolver (#15446) | David Sherret | |
2022-08-04 | fix(vendor): existing import map with bare specifier in remote (#15390) | David Sherret | |
2022-08-03 | fix(vendor): error on dynamic imports that fail to load instead of panicking ↵ | David Sherret | |
(#15391) | |||
2022-07-26 | chore: update jsonc_parser to 0.20 (#15316) | David Sherret | |
2022-07-01 | refactor: extract `deno_graph::create_graph` use to common function (#15009) | David Sherret | |
2022-07-01 | chore: use Rust 1.62.0 (#15028) | Bartek Iwańczuk | |
2022-06-29 | fix(vendor): ignore import map in output directory instead of erroring (#14998) | David Sherret | |
2022-06-29 | refactor: rename `RootConfig` to `CliOptions` (#15007) | David Sherret | |
2022-06-28 | refactor: add `RootConfig` (#14985) | David Sherret | |
2022-06-27 | refactor: create `args` folder (#14982) | David Sherret | |
2022-06-14 | feat(vendor): support using an existing import map (#14836) | David Sherret | |
2022-05-23 | fix(vendor): handle relative imports when mapped local folder name differs ↵ | David Sherret | |
from remote's (#14465) | |||
2022-05-20 | refactor: upgrade to deno_ast 0.15 (#14680) | David Sherret | |
2022-05-02 | fix(vendor): do not panic on relative specifier with scheme-like folder name ↵ | David Sherret | |
(#14453) | |||
2022-02-24 | chore: upgrade to Rust 1.59 (#13767) | David Sherret | |
2022-02-18 | fix(vendor): do not add absolute specifiers to scopes (#13710) | David Sherret | |
2022-02-16 | feat: deno vendor (#13670) | David Sherret | |