summaryrefslogtreecommitdiff
path: root/cli/tools
AgeCommit message (Collapse)Author
2022-10-22refactor: testable update checker code (#16386)David Sherret
2022-10-21feat(upgrade): check if user has write access to deno exe (#16378)sigmaSd
2022-10-21feat(unstable/npm): initial type checking of npm specifiers (#16332)David Sherret
2022-10-21fix(upgrade): put prompt date in the past when creating a file (#16380)Bartek Iwańczuk
2022-10-21feat(update): prompt for new version once per day (#16375)Bartek Iwańczuk
<!-- 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. -->
2022-10-20refactor(cli): update checker - use a single option instead of two (#16372)David Sherret
2022-10-20feat(cli): check for updates in background (#15974)Bert Belder
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-10-18feat(task): remove warning about being unstable (#16281)Bartek Iwańczuk
`deno task` has been in use for a few months now. It was very well received and there are not many complaints. I feel like this warning might be discouraging for some users and we don't really plan to make drastic changes to it (besides adding support for globs in unspecified future).
2022-10-15feat(unstable/task): add `INIT_CWD` env var (#16110)David Sherret
2022-10-12fix(cli): skip removing the latter part if `@` appears at the beginning (#16244)Yusuke Tanaka
This commit prevents panics that `deno compile` command ran into under certain conditions from occurring. Such conditions are as follows. - the target file name begins with `@`, OR - the stem part of the target file name is equal to one of ["main", "index", "mod", "index"] && the parent directory name starts with `@` Fixes #16243
2022-09-28feat(lint): add --compact flag for terse output (#15926)Brenley Dueck
2022-09-28feat: add --allow-sys permission flag (#16028)Yoshiya Hinosawa
2022-09-27fix(cli/vendor): handle assert type json during vendoring (#16059)Sylvain Cau
2022-09-26chore: use Rust 1.64.0 (#16035)Mathias Lafeldt
2022-09-22fix(compile): keep non-exe extension in output name on Windows (#15994)David Sherret
2022-09-22feat(npm): add flag for creating and resolving npm packages to a local ↵David Sherret
node_modules folder (#15971)
2022-09-22feat: allow exiting on two consecutive ctrl+c presses (#15981)Kayla Washburn
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-19chore: fix clippy warnings (#15944)Ben Noordhuis
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings about deriving PartialEq without also deriving Eq. In one case I removed the PartialEq because it a) wasn't necessary, and b) sketchy because it was comparing floating point numbers. IMO, that's a good argument for enforcing the lint rule, because it would most likely have been caught during review if it had been enabled.
2022-09-18fix(doc): deno doc should parse modules if they haven't been parsed before ↵David Sherret
(#15941)
2022-09-07fix: upgrade deno_ast to 0.19 (#15808)David Sherret
2022-09-07feat: add --no-npm flag to disable npm: imports (#15673)Bartek Iwańczuk
This commit adds "--no-npm" flag, it's similar to "--no-remote" flag. This flag makes Deno error out if "npm:" specifier is encountered.
2022-09-03BREAKING(unstable): remove --compat mode (#15678)Bartek Iwańczuk
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon.
2022-09-02refactor: move JsError formatting to deno_runtime (#15345)Christian Dürr
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`.
2022-09-02fix(init): suppress info logs when using quiet mode (#15741)Geert-Jan Zwiers
2022-09-02refactor: extract out check code from emit (#15729)David Sherret
Closes #15535
2022-09-02fix(cli/repl): await Promise.any([])... (#15623)Jason
2022-08-30fix(fmt): add the file path to the panic messages when formatting is ↵David Sherret
unstable (#15693)
2022-08-29refactor(cli): Remove cli/node dependency on cli/compat (#15654)Bartek Iwańczuk
2022-08-27fix(cli): `deno upgrade --canary` always downloaded latest version even if ↵cuobiezi
it was already latest (#15639) Closes #15570
2022-08-23feat: binary npm commands (#15542)David Sherret
2022-08-22perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵David Sherret
memory (#15502)
2022-08-21chore: use Rust 1.63.0 (#15464)Mathias Lafeldt
2022-08-20feat: add "deno init" subcommand (#15469)Leo Kettmeir
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-11refactor(cli): consolidate most MainWorker related code to the same place ↵David Sherret
(#15459)
2022-08-10feat: add initial internal npm client and dependency resolver (#15446)David Sherret
2022-08-10fix(permissions): ignore empty values (#15447)Leo Kettmeir
2022-08-10feat(repl): add color to functions for syntax highlighting (#15434)sigmaSd
2022-08-04fix(test): output parallel test results independently (#15399)Nayeem Rahman
2022-08-04fix(vendor): existing import map with bare specifier in remote (#15390)David Sherret
2022-08-03fix(vendor): error on dynamic imports that fail to load instead of panicking ↵David Sherret
(#15391)
2022-08-02fix(test): race condition for cancelled tests (#15233)Nayeem Rahman
2022-07-26chore: update jsonc_parser to 0.20 (#15316)David Sherret
2022-07-20fix(coverage): do not verify emit source hash for coverage (#15260)David Sherret
2022-07-19feat: emit files on demand and fix racy emit (#15220)David Sherret
2022-07-18feat(cli): support configuring the test tool in the config file (#15079)Roj
2022-07-18chore(repl): update rustyline to 10.0.0 (#15232)sigmaSd
2022-07-15refactor: allocate IDs for tests (#14729)Nayeem Rahman
2022-07-12perf: use emit from swc instead of tsc (#15118)David Sherret
2022-07-11fix(coverage): better handling of multi-byte characters (#15159)David Sherret