1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli
David Sherret 7b5bc87f29
fix(unstable): vendor cache should support adding files to hashed directories (#20070)
This changes the design of the manifest.json file to have a separate
"folders" map for mapping hashed directories. This allows, for example,
to add files in a folder like `http_localhost_8000/#testing_5de71/` and
have them be resolved automatically as long as their remaining
components are identity-mappable to the file system (not hashed). It
also saves space in the manifest.json file by only including the hashed
directory instead of each descendant file.

```
// manifest.json
{
  "folders": {
    "https://localhost/NOT_MAPPABLE/": "localhost/#not_mappable_5cefgh"
  },
  "modules": {
    "https://localhost/folder/file": {
      "headers": {
        "content-type": "application/javascript"
      }
    },
  }
}

// folder structure
localhost
  - folder
    - #file_2defn (note: I've made up the hashes in these examples)
  - #not_mappable_5cefgh
    - mod.ts
    - etc.ts
    - more_files.ts
```
2023-08-06 12:25:48 -04:00
..
args feat(permissions): add "--deny-*" flags (#19070) 2023-08-03 13:19:19 +02:00
bench chore: upgrade to dprint 0.39 (#19768) 2023-07-08 18:34:08 +00:00
cache fix(unstable): vendor cache should support adding files to hashed directories (#20070) 2023-08-06 12:25:48 -04:00
js fix(test): make test runner work when global setTimeout is replaced (#20052) 2023-08-04 22:29:04 +09:00
lsp feat(unstable/lsp): support navigating to deno_modules folder (#20030) 2023-08-02 16:57:25 -04:00
napi 1.36.0 (#20036) 2023-08-03 18:26:25 +02:00
npm feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
ops build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
schemas feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
standalone refactor(runtime): use new fd methods from resource table (#20010) 2023-08-01 14:48:39 -04:00
tests fix(unstable): vendor cache should support adding files to hashed directories (#20070) 2023-08-06 12:25:48 -04:00
tools refactor: use '--reporter' and '--junit-path' flags for 'deno test' (#20031) 2023-08-02 22:05:34 -04:00
tsc feat(permissions): add "--deny-*" flags (#19070) 2023-08-03 13:19:19 +02:00
util feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
Cargo.toml build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs 1.36.0 (#20036) 2023-08-03 18:26:25 +02:00
emit.rs refactor(lsp): move config file related code to config.rs (#19790) 2023-07-10 21:45:09 +00:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
factory.rs feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
file_fetcher.rs feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
graph_util.rs feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
http_util.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
js.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
main.rs fix(lint): allow to use --rules with --rules-tags (#19754) 2023-07-25 17:24:06 -04:00
module_loader.rs fix(ext/node): fix import json using npm specifier (#19723) 2023-08-01 23:20:08 +00:00
node.rs refactor(ext/node): CjsCodeAnalyzer - analyze_cjs optionally pass source text (#19896) 2023-07-24 15:35:13 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs feat: top level package.json install when node_modules dir is explicitly opted into (#19233) 2023-05-23 18:51:48 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.