examples icon indicating copy to clipboard operation
examples copied to clipboard

Move to Parcel 2

Open v1rtl opened this issue 4 years ago • 3 comments

Are there plans on moving examples to parcel v2?

v1rtl avatar May 10 '21 10:05 v1rtl

Yes, we should probably update these at some point

DeMoorJasper avatar May 13 '21 15:05 DeMoorJasper

@DeMoorJasper that would be awesome! I'm trying to set up one of my projects with Parcel 2 but because of the docs being too raw at the moment it's not that easy

having some real examples would be cool :D

(esp using Parcel 2 API in Node)

v1rtl avatar May 13 '21 15:05 v1rtl

Two and a half years later... examples still not updated.

I discovered Parcel through https://en.parceljs.org/rust.html, scrolled down without noticing the line at the top about v1/v2, followed the link to the rust-cargo example in this repository...

Running "npm i" gave 14 deprecation warnings and warned about 56 vulnerabilities (44 moderate, 12 high), which is already kinda yikes but I was impressed with how easy and fast it was. Ran into the issue that parcel crashed when editing a source file in vim, found an old github issue for it where people reported the bug is fixed in v2 (it's not btw) which is how I finally discovered that the examples were still using an obsolete version of Parcel that hasn't been maintained in three years.

So then I tried updating the rust examples to Parcel v2, and after doing some trivial fixes I get

@parcel/core: No transformers found for add/src/lib.rs.

showing a config file that indeed contained no rule for *.rs or any other mention of rust or cargo. Checked the v2 documentation... No mention of rust in the v2 migration guide, rust not listed in the list of languages supported, no match for "rust" in the transformer plugins search, no useful google results.

I was briefly very enthausiastic about Parcel. Now I just feel the frustration and sadness you feel when discovering something really cool and then discovering it's abandonware. :-(

mvduin avatar Oct 04 '23 20:10 mvduin