Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-21 | fix(lsp): improved npm specifier to import map entry mapping (#22016) | David Sherret | |
Upgrades to the latest deno_semver | |||
2024-01-09 | fix: update deno_lint and swc (#21718) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2024-01-01 | chore: update to Rust 1.75 (#21731) | 林炳权 | |
2024-01-01 | chore: update copyright to 2024 (#21753) | David Sherret | |
2023-11-04 | fix(node): use closest package.json to resolve package.json imports (#21075) | David Sherret | |
2023-10-25 | feat(unstable): ability to `npm install` then `deno run main.ts` (#20967) | David Sherret | |
This PR adds a new unstable "bring your own node_modules" (BYONM) functionality currently behind a `--unstable-byonm` flag (`"unstable": ["byonm"]` in a deno.json). This enables users to run a separate install command (ex. `npm install`, `pnpm install`) then run `deno run main.ts` and Deno will respect the layout of the node_modules directory as setup by the separate install command. It also works with npm/yarn/pnpm workspaces. For this PR, the behaviour is opted into by specifying `--unstable-byonm`/`"unstable": ["byonm"]`, but in the future we may make this the default behaviour as outlined in https://github.com/denoland/deno/issues/18967#issuecomment-1761248941 This is an extremely rough initial implementation. Errors are terrible in this and the LSP requires frequent restarts. Improvements will be done in follow up PRs. | |||
2023-10-02 | refactor(npm): make `NpmCache`, `CliNpmRegistryApi`, and `NpmResolution` ↵ | David Sherret | |
internal to `npm::managed` (#20764) | |||
2023-09-30 | refactor(npm): create `cli::npm::managed` module (#20740) | David Sherret | |
Creates the `cli::npm::managed` module and starts moving more functionality into it. | |||
2023-09-29 | refactor(cli): make `CliNpmResolver` a trait (#20732) | David Sherret | |
This makes `CliNpmResolver` a trait. The terminology used is: - **managed** - Deno manages the node_modules folder and does an auto-install (ex. `ManagedCliNpmResolver`) - **byonm** - "Bring your own node_modules" (ex. `ByonmCliNpmResolver`, which is in this PR, but unimplemented at the moment) Part of #18967 | |||
2023-09-28 | refactor(ext/node): remove dependency on deno_npm and deno_semver (#20718) | David Sherret | |
This is required from BYONM (bring your own node_modules). Part of #18967 | |||
2023-09-26 | chore: slight cleanup in npm resolvers (#20692) | David Sherret | |
2023-09-24 | feat(lsp): cache all dependencies quick fix (#20665) | Nayeem Rahman | |
2023-09-18 | fix(lsp): restore tsc's quick fix ordering (#20545) | Nayeem Rahman | |
2023-09-17 | fix(lsp): sort quickfix actions (#17221) | Bartek Iwańczuk | |
This commit changes ordering of quickfix actions, by sorting them in following order: - TSC fixes - Deno fixes - deno_lint fixes Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2023-08-21 | refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) | David Sherret | |
2023-07-17 | fix(node): improve require esm error messages (#19853) | David Sherret | |
Part of #19842. Closes #19583 Closes #16913 | |||
2023-07-11 | fix(lsp): stop diagnostics flickering (#19803) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/835 | |||
2023-07-03 | feat(lsp): support import maps in quick fix and auto-imports (#19692) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/849 Closes #15330 Closes #10951 Closes #13623 | |||
2023-07-02 | feat(lsp): basic support of auto-imports for npm specifiers (#19675) | David Sherret | |
Closes #19625 Closes https://github.com/denoland/vscode_deno/issues/857 | |||
2023-04-13 | refactor(cli,ext,ops): cleanup `regex` with `lazy-regex` (#17296) | Yiyu Lin | |
- bump deps: the newest `lazy-regex` need newer `oncecell` and `regex` - reduce `unwrap` - remove dep `lazy_static` - make more regex cached --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-03-02 | chore(cli): update deno_lint to 0.41.0 (#17997) | Yusuke Tanaka | |
<!-- Before submitting a PR, please read http://deno.land/manual/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. 7. Open as a draft PR if your work is still in progress. The CI won't run all steps, but you can add '[ci]' to a commit message to force it to. 8. If you would like to run the benchmarks on the CI, add the 'ci-bench' label. --> This commit updates deno_lint crate to 0.41.0. The new version contains a braking change that requries a minor code fix here, which is also addressed in this commit. | |||
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-16 | refactor(cli): fewer clones (#17450) | 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-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-29 | fix(lsp): "Add all missing imports" uses correct specifiers (#17216) | Bartek Iwańczuk | |
This commit fixes "Add all missing imports" quick fix; before it was replacing all occurrences with the same specifier. Now every line returned from TSC is processed individually. | |||
2022-09-26 | chore: use Rust 1.64.0 (#16035) | Mathias Lafeldt | |
2022-06-27 | refactor: create `args` folder (#14982) | David Sherret | |
2022-05-20 | refactor: upgrade to deno_ast 0.15 (#14680) | David Sherret | |
2022-04-25 | refactor(lsp): store all the assets in Rust when initializing (#14367) | David Sherret | |
2022-04-03 | refactor(lsp): migrate from lspower back to tower-lsp (#14163) | Jason | |
2022-03-23 | chore: remove all `pub(crate)`s from the cli crate (#14083) | David Sherret | |
2022-02-24 | refactor: remove dead code from lsp (#13743) | Kitson Kelly | |
2022-02-04 | feat(lsp): add redirect diagnostic and quick fix (#13580) | Kitson Kelly | |
Ref: #12864 | |||
2022-01-19 | refactor(lsp): reduce data stored in `StateSnapshot` (#13426) | David Sherret | |
2022-01-19 | refactor(lsp): store the `LspUrlMap`'s state inside a mutex (#13416) | David Sherret | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-18 | refactor: use `once_cell` instead of `lazy_static` (#13135) | Divy Srivastava | |
2021-12-16 | fix(lsp): provide diagnostics for import assertions (#13105) | Kitson Kelly | |
Fixes: #13099 | |||
2021-11-25 | chore: upgrade lspower to 1.4.0 (#12894) | Bartek Iwańczuk | |
2021-11-16 | refactor: re-export anyhow from deno_core (#12777) | Ryan Dahl | |
2021-11-04 | fix(lint): use recommended tag if there is no tags in config file or flags ↵ | Zheyu Zhang | |
(#12644) | |||
2021-10-29 | refactor(lsp): use deno_graph and single document struct (#12535) | Kitson Kelly | |
Closes #12473 | |||
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-10-12 | fix(lsp): lint diagnostics respect config file (#12338) | Bartek Iwańczuk | |
This commit fixes problem with LSP where diagnostics coming from "deno lint" don't respect configuration file. LSP was changed to store "Option<ConfigFile>", "Option<LintConfig>" and "Option<FmtConfig>" on "Inner"; as well as storing "Option<LintConfig>" and "Option<FmtConfig>" on "StateSnapshot". Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-09-14 | feat(lsp): ignore specific lint for entire file (#12023) | Satya Rohith | |
2021-09-12 | chore(lsp): temporarily reparse AST for linting (#11988) | David Sherret | |
2021-09-11 | refactor: use import_map crate (#11974) | Bartek Iwańczuk | |
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate | |||
2021-09-07 | refactor(lsp): use deno_ast and cache swc ASTs (#11780) | David Sherret | |