Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(info): Dependency count and sizes #6786

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c6da66e
Add function for getting size in bytes.
KrisChambers Jul 16, 2020
2110ed8
Modify print_file_info to output file sizes
KrisChambers Jul 17, 2020
35ad6dd
Refactor into a graph transformation for better readability
KrisChambers Jul 17, 2020
ebfe722
Fix naming and add comments
KrisChambers Jul 17, 2020
d24d157
Add size as a property of ModuleGraphFile
KrisChambers Jul 17, 2020
8593abd
Add output for --json flag
KrisChambers Jul 17, 2020
f030366
Replace size property with associated function
KrisChambers Jul 22, 2020
a02c402
Clean up and fmt
KrisChambers Jul 22, 2020
b9747c9
Add function for formatting totals
KrisChambers Jul 22, 2020
4862fc6
Clean up and Format.
KrisChambers Jul 22, 2020
9a4ad44
Fix failing tests.
KrisChambers Jul 22, 2020
d29efe8
Add recursive module example.
KrisChambers Jul 23, 2020
fd1e761
Add integration test for when dependencies are repeated.
KrisChambers Jul 23, 2020
a138678
Fix lint issues.
KrisChambers Jul 23, 2020
aa46bfa
Fix typescript linting issues.
KrisChambers Jul 23, 2020
44e8bd5
Fix lint problems.
KrisChambers Jul 23, 2020
ba13f91
Fix test for windows paths
KrisChambers Jul 24, 2020
9b414a4
Fix lint error
KrisChambers Jul 24, 2020
ef1c730
Fix json output. Remove redundant sizes in output.
KrisChambers Jul 25, 2020
026b397
Move code for module dependency information to new module
KrisChambers Aug 12, 2020
0771061
Derive Serialize instead of using a custom implementation.
KrisChambers Aug 12, 2020
7691d77
Remove unused import
KrisChambers Aug 13, 2020
c7382a9
Fix issue reporting dependencies of specifiers accessed through http …
KrisChambers Aug 13, 2020
a60bd3f
Fix info output and tests
KrisChambers Aug 17, 2020
6d2d019
Fix integration test
KrisChambers Aug 17, 2020
e9b920e
Merge branch 'master' into feature_add_dep_count_and_sizes_to_deno_info
bartlomieju Sep 1, 2020
980b4e1
fix after merge
bartlomieju Sep 1, 2020
8f1eca0
don't create Isolate for deno info
bartlomieju Sep 1, 2020
c090cd2
return ModuleGraph from GlobalState::prepare_module_load
bartlomieju Sep 1, 2020
23f968b
cleanup
bartlomieju Sep 1, 2020
c39e67d
self review
bartlomieju Sep 1, 2020
41b63d5
remove core/Deps
bartlomieju Sep 1, 2020
05b115c
reset CI
bartlomieju Sep 1, 2020
1d8f6c2
better display
bartlomieju Sep 2, 2020
054e0d0
dedupe sibling deps
lucacasonato Sep 2, 2020
6a3a335
display total unique dep size
lucacasonato Sep 2, 2020
9feca56
fix tests
lucacasonato Sep 2, 2020
9f9c6fe
added * for already displayed leafs
lucacasonato Sep 3, 2020
97e10cd
fix tests
lucacasonato Sep 4, 2020
4bf09fc
remove typechecking from info
lucacasonato Sep 4, 2020
7c40f44
Merge branch 'master' into feature_add_dep_count_and_sizes_to_deno_info
bartlomieju Sep 4, 2020
65b4834
cleanup
bartlomieju Sep 4, 2020
eccb7e7
Merge branch 'master' into feature_add_dep_count_and_sizes_to_deno_info
bartlomieju Sep 4, 2020
90938ad
fix tests
bartlomieju Sep 4, 2020
99a89cd
fix test
bartlomieju Sep 5, 2020
dfc554e
Merge branch 'master' into feature_add_dep_count_and_sizes_to_deno_info
bartlomieju Sep 6, 2020
05f0538
Merge branch 'master' into feature_add_dep_count_and_sizes_to_deno_info
bartlomieju Sep 7, 2020
575fb9b
add test with compiled source
bartlomieju Sep 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/global_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ impl GlobalState {

if should_compile {
if self.flags.no_check {
self.ts_compiler.transpile(module_graph).await?;
self.ts_compiler.transpile(&module_graph).await?;
} else {
self
.ts_compiler
.compile(self, &out, target_lib, permissions, module_graph, allow_js)
.compile(self, &out, target_lib, permissions, &module_graph, allow_js)
.await?;
}
}
Expand Down
Loading