Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-23 | fix(cli): Support deno.lock with only package.json present + fix DENO_FUTURE ↵ | Nathan Whitaker | |
install interactions with lockfile (#23918) Fixes #23571. Previously, we required a `deno.json` to be present (or the `--lock` flag) in order for us to resolve a `deno.lock` file. This meant that if you were using deno in an npm-first project deno wouldn't use a lockfile. Additionally, while I was fixing that, I discovered there were a couple bugs keeping the future `install` command from using a lockfile. With this PR, `install` will actually resolve the lockfile (or create one if not present), and update it if it's not up-to-date. This also speeds up `deno install`, as we can use the lockfile to skip work during npm resolution. | |||
2024-05-16 | perf(jsr): download metadata files as soon as possible and in parallel (#23836) | David Sherret | |
* https://github.com/denoland/deno_graph/pull/471 * https://github.com/denoland/deno_graph/pull/473 | |||
2024-05-08 | FUTURE: `deno install` changes (#23498) | Bartek Iwańczuk | |
This PR implements the changes we plan to make to `deno install` in deno 2.0. - `deno install` without arguments caches dependencies from `package.json` / `deno.json` and sets up the `node_modules` folder - `deno install <pkg>` adds the package to the config file (either `package.json` or `deno.json`), i.e. it aliases `deno add` - `deno add` can also add deps to `package.json` (this is gated behind `DENO_FUTURE` due to uncertainty around handling projects with both `deno.json` and `package.json`) - `deno install -g <bin>` installs a package as a globally available binary (the same as `deno install <bin>` in 1.0) --------- Co-authored-by: Nathan Whitaker <nathan@deno.com> |