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

New resolver implementation in Rust #8807

Merged
merged 82 commits into from
Feb 19, 2023
Merged
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
3f114b7
wip
devongovett Dec 31, 2022
b48aa2d
Implement package.json exports and aliases
devongovett Jan 1, 2023
354348e
More alias stuff
devongovett Jan 1, 2023
5a2a642
Refactor specifier parsing
devongovett Jan 1, 2023
bbdd862
Simplify exports and subpath handling
devongovett Jan 1, 2023
2474d00
More tests, better specifier parsing
devongovett Jan 2, 2023
e598f74
Parse tsconfig.json
devongovett Jan 3, 2023
aa2b283
Load extended tsconfigs
devongovett Jan 3, 2023
f7d5b5a
Improve and test tsconfig parsing
devongovett Jan 3, 2023
b645d41
More tests for tsconfig
devongovett Jan 4, 2023
23b9b79
Strip comments in tsconfig.json
devongovett Jan 4, 2023
052503c
Use feature flags
devongovett Jan 4, 2023
392cdd4
wip: typescript extensions
devongovett Jan 7, 2023
418d560
tsconfig moduleSuffixes
devongovett Jan 8, 2023
28ea048
Test moduleSuffixes and TS extensions
devongovett Jan 8, 2023
7173b23
Don't apply tsconfig inside node_modules
devongovett Jan 8, 2023
3c3c884
Merge branch 'rust-resolver' of github.com:parcel-bundler/parcel into…
devongovett Jan 8, 2023
742c11f
Implement package.json and tsconfig.json cache
devongovett Jan 9, 2023
3d8079b
Refactor into ResolveRequest
devongovett Jan 10, 2023
2d5ff9a
Avoid passing around tsconfig
devongovett Jan 10, 2023
92e5437
cleanup
devongovett Jan 10, 2023
b333afe
Track invalidations
devongovett Jan 13, 2023
a1689f3
wip: glob
devongovett Jan 14, 2023
0374244
more globbing
devongovett Jan 15, 2023
d473586
refactor
devongovett Jan 16, 2023
94da887
Implement glob aliases
devongovett Jan 23, 2023
f04a956
Resolve side effects
devongovett Jan 23, 2023
ad9a986
Start node bindings
devongovett Jan 23, 2023
a565e95
Support custom file systems
devongovett Jan 24, 2023
d507c75
Implement source field
devongovett Jan 24, 2023
e1964f5
Builtins
devongovett Jan 25, 2023
90d69c7
includeNodeModules
devongovett Jan 25, 2023
0c39069
wip
devongovett Jan 26, 2023
8acc530
improve JS bindings
devongovett Jan 26, 2023
9605ed9
wip: error handling
devongovett Jan 26, 2023
44c662c
Fix tests
devongovett Jan 26, 2023
a459cae
Serialize errors
devongovett Jan 27, 2023
5ad7fd2
More error handling
devongovett Jan 27, 2023
5321093
Handle JSON errors
devongovett Jan 27, 2023
335ae6f
More errors and fix index.js fallback
devongovett Jan 27, 2023
43e81bc
Diagnostics for package.json errors
devongovett Jan 28, 2023
5852959
Apply exports conditions
devongovett Jan 28, 2023
77e7a4b
Handle query and empty aliases
devongovett Jan 28, 2023
5d77957
Test fixes
devongovett Jan 29, 2023
b13242c
Try adding the same extension as in the parent file.
devongovett Jan 29, 2023
e63bc24
fixes
devongovett Jan 30, 2023
af6d8a5
Fix extension priority
devongovett Jan 31, 2023
8c23804
Fix glob resolver
devongovett Jan 31, 2023
c6e5a35
Normalize paths before sending to JS
devongovett Jan 31, 2023
9fee648
Implement yarn pnp
devongovett Feb 1, 2023
83dc5b2
Use rust resolver for NodePackageManager
devongovett Feb 1, 2023
14e630c
Expose entries to JS bindings
devongovett Feb 2, 2023
7c33a0b
Avoid circular aliases
devongovett Feb 2, 2023
0680fdb
Fix tests
devongovett Feb 2, 2023
7b44692
Fix remaining tests
devongovett Feb 1, 2023
4d78010
Normalize invalidation paths
devongovett Feb 2, 2023
39eabf8
Fix pnp
devongovett Feb 2, 2023
5e761aa
Merge branch 'v2' of github.com:parcel-bundler/parcel into rust-resolver
devongovett Feb 2, 2023
54256c1
Fix cargo lock
devongovett Feb 2, 2023
8dcf082
Some cleanup
devongovett Feb 3, 2023
903fd54
Expose native build
devongovett Feb 3, 2023
73f5193
Add more exports tests
devongovett Feb 3, 2023
8d7142f
Yet more tests
devongovett Feb 3, 2023
d2ddc4e
Fix relative aliases in project root
devongovett Feb 4, 2023
afad4c3
Fix invalidations
devongovett Feb 4, 2023
4b3602a
Format and fix tests
devongovett Feb 5, 2023
7bd0a92
flow
devongovett Feb 5, 2023
7f719be
Make threadsafe and implement fs caching
devongovett Feb 6, 2023
4e6743d
Fix
devongovett Feb 6, 2023
d8fa766
Invalidate on auto install
devongovett Feb 6, 2023
8077a19
Fix unit test
devongovett Feb 6, 2023
51fe1de
Windows fixes
devongovett Feb 7, 2023
2147d80
Use custom realpath on windows
devongovett Feb 8, 2023
b388f8d
Remove dunce
devongovett Feb 8, 2023
9176285
Fix flow
devongovett Feb 8, 2023
36df727
Improve error handling more
devongovett Feb 9, 2023
5fe6b4e
Delete old implementation
devongovett Feb 9, 2023
e44e2fb
Reproduce url extension bug for now
devongovett Feb 9, 2023
dd91221
prettier broke my code
devongovett Feb 9, 2023
f85b257
Merge branch 'v2' of github.com:parcel-bundler/parcel into rust-resolver
devongovett Feb 19, 2023
9f48266
updates
devongovett Feb 19, 2023
5c2e1ed
Add flow types for resolver
devongovett Feb 19, 2023
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
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<PROJECT_ROOT>/packages/core/integration-tests/test/input/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/babel-strip-flow-types/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/diagnostic-sourcemap/**
<PROJECT_ROOT>/packages/utils/node-resolver-core/test/fixture/node_modules/json-error/package.json

[untyped]
.*/node_modules/graphql/error/GraphQLError.js.flow
Expand Down
Loading