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: subset type graph for JSR dependencies #346

Merged
merged 97 commits into from Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from 96 commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
688e047
Start finding public ranges
dsherret Nov 30, 2023
81452af
Update.
dsherret Dec 1, 2023
612e1a0
Merge branch 'main' into low_res_graph
dsherret Dec 8, 2023
4ab110e
Start adding transform
dsherret Dec 8, 2023
e191d42
feat: ability to get `ModuleInfo` from swc types
dsherret Dec 8, 2023
6cf90ec
Merge branch 'feat_swc_module_info' into low_res_graph
dsherret Dec 8, 2023
67ff024
Add low res information to graph
dsherret Dec 8, 2023
30b00b7
Update
dsherret Dec 8, 2023
18ec6ac
Update comment.
dsherret Dec 9, 2023
1948fb9
Add some todos
dsherret Dec 9, 2023
e8cc973
Fixes.
dsherret Dec 11, 2023
8ceb85a
Fixes
dsherret Dec 11, 2023
29e5df5
Update
dsherret Dec 13, 2023
ee1105c
Add more
dsherret Dec 13, 2023
de64b51
Update
dsherret Dec 14, 2023
c168ee9
Starting to work cross module
dsherret Dec 15, 2023
92b615a
Further
dsherret Dec 15, 2023
460a762
Implement re-exports within a module
dsherret Dec 15, 2023
1b33963
Fixes for export named
dsherret Dec 15, 2023
5cf8375
Fix default exports
dsherret Dec 15, 2023
6934a4d
Improvements to classes
dsherret Dec 15, 2023
a904f94
Make param properties members of the class symbol
dsherret Dec 17, 2023
9ed8ee7
Better ctor param prop support
dsherret Dec 17, 2023
cbc5312
Enums and various fixes
dsherret Dec 17, 2023
52fa077
Fixes with latest deno_ast
dsherret Dec 18, 2023
d8e7ffb
Fix up variables
dsherret Dec 18, 2023
e319ffd
Infer simple types from assertions
dsherret Dec 18, 2023
47cf23b
Start on letting ts do more inference.
dsherret Dec 18, 2023
ae7ba70
Update
dsherret Dec 18, 2023
bfae6f3
More tests
dsherret Dec 19, 2023
bd6da7a
Switch to struct for transforming
dsherret Dec 19, 2023
790ad68
Low res module slot
dsherret Dec 19, 2023
b623369
Various updates
dsherret Dec 19, 2023
eeee427
Fix assertion
dsherret Dec 19, 2023
91b01e5
Add errors for some unsupported (global/cjs) declarations
dsherret Dec 19, 2023
6d7977c
Add diagnostic for 'global' module
dsherret Dec 19, 2023
5592765
Surface the symbol fill diagnostics
dsherret Dec 20, 2023
65f4791
Super expr and some other stuff
dsherret Dec 20, 2023
68dfa1b
Starting to add modules
dsherret Dec 20, 2023
4ca6b2e
Add private member detection and start on qualified names
dsherret Dec 20, 2023
9539f0f
Update
dsherret Dec 20, 2023
2194e87
Error when can't find a reference
dsherret Dec 20, 2023
8d7726f
Better cross module analysis
dsherret Dec 20, 2023
9798b46
Update.
dsherret Dec 20, 2023
ac07107
Pending traces should always analyze non-top level traces
dsherret Dec 20, 2023
92dfc29
Start fixing.
dsherret Dec 20, 2023
ffa2caf
Actually fix
dsherret Dec 20, 2023
c2077d9
Complex reference diagnostic
dsherret Dec 21, 2023
0128a48
Import type
dsherret Dec 21, 2023
ec3b229
Fix a bunch of clippy errors
dsherret Dec 21, 2023
50c3866
Add support for getting low res type checking information
dsherret Dec 21, 2023
3a242e5
Merge branch 'main' into low_res_graph
dsherret Dec 21, 2023
1169411
Rc -> Arc for the lsp
dsherret Dec 21, 2023
552292a
Store errors at entrypoints.
dsherret Dec 21, 2023
b2366a5
Make it work for checking workspace members
dsherret Dec 21, 2023
be6cc42
Support rest params
dsherret Dec 21, 2023
22afaae
Leave param initializers that are simple exprs alone
dsherret Dec 21, 2023
407c5f2
Leave param destructuring alone
dsherret Dec 21, 2023
44f8f88
Clear the props and elements
dsherret Dec 21, 2023
77a3923
Show why to clear the elemns/props
dsherret Dec 21, 2023
01dc071
Support more default exprs
dsherret Dec 22, 2023
1cbbb16
Allow keeping more expressions.
dsherret Dec 22, 2023
64c037f
Fix error with enum members
dsherret Dec 22, 2023
8132fd0
Handle super call in ctor
dsherret Dec 22, 2023
c4e2bb7
Fix default export expr
dsherret Dec 22, 2023
a54f921
Update
dsherret Jan 2, 2024
5345156
Do not add return statement for `void` and fix setters
dsherret Jan 2, 2024
f4b32a9
Better handling of class param prop being definite or not
dsherret Jan 2, 2024
62d07dc
Handle never type in a function
dsherret Jan 2, 2024
36f2963
Analyze computed prop exprs
dsherret Jan 2, 2024
2b219d9
Rename feature
dsherret Jan 3, 2024
52687c9
Keep as source map
dsherret Jan 3, 2024
54507bc
Revert "Keep as source map" because I want to serialize this informat…
dsherret Jan 3, 2024
ae4c6a4
Store as [u8] instead
dsherret Jan 3, 2024
3b48b52
Update.
dsherret Jan 3, 2024
3ca350d
Auto-detect if Symbol global
dsherret Jan 4, 2024
81a64a2
Infer Symbol and Symbol.for as unique symbol
dsherret Jan 4, 2024
6a85ee2
Fix compile errors when no features
dsherret Jan 4, 2024
570a222
Resolve some todos
dsherret Jan 4, 2024
5860daf
Use `into_with_scope_analysis` on `ParsedSource`
dsherret Jan 4, 2024
4ee2430
Start testing workspace fast check
dsherret Jan 4, 2024
876884b
Test workspaces with fast check
dsherret Jan 4, 2024
178db1e
Update clippy
dsherret Jan 4, 2024
c05db8a
Pass symbol to fully_qualified_symbol_name because we have the symbol…
dsherret Jan 4, 2024
f34a738
Add ability to get deps of only types
dsherret Jan 4, 2024
8e45594
Update even though some of this is wrong.
dsherret Jan 4, 2024
ea08856
Fix for prop names
dsherret Jan 4, 2024
e05c0b9
Ignore prop names in object literals
dsherret Jan 4, 2024
386938f
Update to skip over binding ident ident
dsherret Jan 4, 2024
77ca699
Update to use visit more
dsherret Jan 4, 2024
88614c4
More fixes.
dsherret Jan 4, 2024
e16cb64
Clippy
dsherret Jan 4, 2024
bd912bd
Remove todo.txt
dsherret Jan 4, 2024
555059d
Clippy
dsherret Jan 5, 2024
5346a45
Remove unused
dsherret Jan 5, 2024
b2778d6
- Make all the features on by default. Annoying to work in this repo …
dsherret Jan 5, 2024
dc4b8b4
ParseOptions
dsherret Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -44,14 +44,19 @@ jobs:
- name: Lint
if: contains(matrix.os, 'ubuntu')
run: |
cargo clippy --locked --release --all-features --all-targets -- -D clippy::all
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason besides CI time to not use --release?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the code has conditions based on release or debug, so it's faster to just do debug on the CI.

cargo clippy --locked --all-features --all-targets -- -D clippy::all
deno lint

- name: Cargo Build
run: cargo build --locked --release --all-features --all-targets
run: cargo build --locked --all-features --all-targets

- name: Cargo Test
run: cargo test --locked --release --all-features --all-targets
run: cargo test --locked --all-features --all-targets

# ensure we build with no default features, but only bother testing on linux
- name: Cargo Build (no-default-features)
if: contains(matrix.os, 'ubuntu')
run: cargo build --locked --no-default-features

- name: Build Wasm
run: deno task build
Expand Down