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

Extension: Importers View and separate LSP protocol package #8747

Merged
merged 13 commits into from
Jan 9, 2023
Merged

Conversation

mischnic
Copy link
Member

@mischnic mischnic commented Jan 4, 2023

I guess the big question is: is this where you'd expect that "Focus in importers view" menu item? Does it better fit somewhere else?

Also

  • refactors the protocol definitions into a separate package (and as a file that is both valid TS and Flow).
  • add more VS Code tasks so that pressing F5 will now run every necessary tsc watch script.
Bildschirmaufnahme.2022-12-31.um.21.07.58.mov

@parcel-benchmark
Copy link

parcel-benchmark commented Jan 4, 2023

Benchmark Results

Kitchen Sink ✅

Timings

Description Time Difference
Cold 1.38s +3.00ms
Cached 317.00ms -13.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

Bundle Size Difference Time Difference
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 82.00ms -144.00ms 🚀
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 83.00ms -144.00ms 🚀
dist/modern/parcel.7cdb0fad.webp 102.94kb +0.00b 82.00ms -144.00ms 🚀

React HackerNews ✅

Timings

Description Time Difference
Cold 8.86s -66.00ms
Cached 394.00ms -2.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

AtlasKit Editor ✅

Timings

Description Time Difference
Cold 1.44m -954.00ms
Cached 1.94s +61.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/refractor.a33d61f8.js 599.70kb +0.00b 1.10m +9.25s ⚠️
dist/media-viewer-analytics-error-boundary.6847f80f.js 3.43kb +0.00b 1.10m +9.25s ⚠️
dist/ro.82d888a1.js 633.00b +0.00b 54.57s +14.81s ⚠️
dist/index.html 167.00b +0.00b 1.10m +29.00s ⚠️

Cached Bundles

No bundle changes detected.

Three.js ✅

Timings

Description Time Difference
Cold 6.44s +57.00ms
Cached 235.00ms -10.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

Click here to view a detailed benchmark overview.

@devongovett
Copy link
Member

where you'd expect that "Focus in importers view" menu item?

I don't think I would ever think to search for it. Can it just always be up to date when you switch files if it's expanded? Should there be a button in the bottom toolbar for Parcel actions like the one Flow has?

@mischnic
Copy link
Member Author

mischnic commented Jan 9, 2023

Can it just always be up to date when you switch files if it's expanded

But there is always one root file in that tree. And you might want to keep that root and take a look at the children without the view changing? Or are you thinking of something else? (So first of all that, and also not doing unnecessary work)

@devongovett
Copy link
Member

Ah yeah that makes sense. I think a button in the toolbar might be good though.

@mischnic mischnic merged commit 723e844 into v2 Jan 9, 2023
@mischnic mischnic deleted the lsp-importers branch January 9, 2023 21:50
marcins pushed a commit to marcins/parcel that referenced this pull request Jul 14, 2023
* upstream/v2: (33 commits)
  v2.8.3
  Changelog for v2.8.3
  Address bug by updating an asset reference and merge conditions (parcel-bundler#8762)
  Fix CSS order when merging type change bundles (parcel-bundler#8766)
  fixing failing build for contributors on Linux using Node 18 (parcel-bundler#8763)
  Extension: Importers View and separate LSP protocol package (parcel-bundler#8747)
  Bump swc to fix sourcemaps with Windows line endings (parcel-bundler#8756)
  Apply HMR updates in topological order (parcel-bundler#8752)
  Make extension packaging work (parcel-bundler#8730)
  Typed api.storeResult (parcel-bundler#8732)
  Refactor LSP to use vscode-jsonrpc (parcel-bundler#8728)
  Bump swc (parcel-bundler#8742)
  Recursively check reachability when removing asset graphs from bundles in deduplication (parcel-bundler#6004)
  Fix tsc sourcemaps metadata (parcel-bundler#8734)
  Assigning to `this` in CommonJS (parcel-bundler#8737)
  Don't retarget dependencies if a symbol is imported multiple times with different local names (parcel-bundler#8738)
  Add a note about using flow in CONTRIBUTING.md (parcel-bundler#8731)
  filter out title execArgv to workers (parcel-bundler#8719)
  Document more of the BundleGraph class (parcel-bundler#8711)
  Fixed the hmr connection with host 0.0.0.0 (parcel-bundler#7357)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants