summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-05 16:22:13 +0200
committerGitHub <noreply@github.com>2024-09-05 14:22:13 +0000
commitc678550a176ce5592d4b6e7ffb918e6926858a45 (patch)
treeeb1a1f7ce99f95bf6e4086a75bc7f3739a5b23a1 /cli/schemas
parent15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (diff)
BREAKING: remove "emit" and "map" from deno info output (#25468)
The map field has been empty for years now and we don't want the emit file to be exposed so it allows us to iterate on making the cache faster. Additionally, it's racy/unreliable to rely on this information. Instead, people should emit the TS files themselves using tools like deno_emit, typescript, esbuild, etc. Closes https://github.com/denoland/deno/issues/17703
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/module-graph.json8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/schemas/module-graph.json b/cli/schemas/module-graph.json
index b761badde..ea32d843b 100644
--- a/cli/schemas/module-graph.json
+++ b/cli/schemas/module-graph.json
@@ -83,14 +83,6 @@
"type": "string",
"description": "The checksum of the local source file. This can be used to validate if the current on disk version matches the version described here."
},
- "emit": {
- "type": "string",
- "description": "The path to an emitted version of the module, if the module requires transpilation to be loaded into the Deno runtime."
- },
- "map": {
- "type": "string",
- "description": "The path to an optionally emitted source map between the original and emitted version of the file."
- },
"error": {
"type": "string",
"description": "If when resolving the module, Deno encountered an error and the module is unavailable, the text of that error will be indicated here."