1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/cli/tests/testdata/subdir
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
..
CAPITALS fix(unstable): vendor cache should support adding files to hashed directories (#20070) 2023-08-06 12:25:48 -04:00
redirects
subdir2 fix(check): use "moduleDetection": "force" (#14875) 2022-06-15 12:26:43 -04:00
amd_like.js
auto_print_hello.ts
circular1.ts
circular2.ts
comment.ts
config.json
emittable.d.ts
evil_remote_import.js
export_types.ts
foo_types.d.ts
form_urlencoded.txt
import.mts
indirect_import_error.js
indirect_throws.js
json_1.json
json_2.json
json_3.json fix(cli): include JSON modules in bundle (#13188) 2021-12-24 09:38:20 +11:00
jsx_import_source_no_pragma.tsx fix: resolve jsxImportSource relative to module (#15561) 2022-08-24 19:36:05 +02:00
main.ts
mismatch_ext.ts
mod.mjs
mod1.ts
mod2.ts
mod3.js
mod4.js
mod5.mjs
mod6.js
mod7.js fix(cli): include JSON modules in bundle (#13188) 2021-12-24 09:38:20 +11:00
mod8.js fix(cli): include JSON modules in bundle (#13188) 2021-12-24 09:38:20 +11:00
more_decorators.ts
mt_application_ecmascript.j2.js
mt_application_ecmascript_jsx.j2.jsx
mt_application_x_javascript.j4.js
mt_application_x_javascript_jsx.j4.jsx
mt_application_x_typescript.t4.ts
mt_application_x_typescript_tsx.t4.tsx
mt_javascript.js
mt_javascript_jsx.jsx
mt_text_ecmascript.j3.js
mt_text_ecmascript_jsx.j3.jsx
mt_text_javascript.j1.js
mt_text_javascript_jsx.j1.jsx
mt_text_typescript.t1.ts
mt_text_typescript_tsx.t1.tsx
mt_video_mp2t.t3.ts
mt_video_mp2t_tsx.t3.tsx
mt_video_vdn.t2.ts
mt_video_vdn_tsx.t2.tsx
no_ext
no_js_ext
polyfill.ts fix(check): use "moduleDetection": "force" (#14875) 2022-06-15 12:26:43 -04:00
print_hello.ts
shebang_file.js fix(cli): bundle command support shebang file (#17113) 2023-01-03 16:19:28 +00:00
single_module.ts fix(check): use "moduleDetection": "force" (#14875) 2022-06-15 12:26:43 -04:00
test_worker_basic.js
throws.js
tla.ts
type_and_code.ts
type_error.ts
type_reference.d.ts
type_reference.js
types.d.mts
unknown_ext.deno