Giter VIP home page Giter VIP logo

Comments (10)

eugene-beliaev avatar eugene-beliaev commented on May 26, 2024 1

@yamafaktory thanks

from shrimpit.

eugene-beliaev avatar eugene-beliaev commented on May 26, 2024

The same problem. Is anybody going to fix it?
@yamafaktory ?

from shrimpit.

yamafaktory avatar yamafaktory commented on May 26, 2024

Hi, I'll have a look at it. I'm pretty sure this can be easily fixed by updating the dependencies 🤞.

from shrimpit.

yamafaktory avatar yamafaktory commented on May 26, 2024

Alright, we need to use the new @babel/parser & @babel/traverse modules since everything has been reworked in the Babel ecosystem. Hopefully, I've it already working in a branch, just need a small additional tweak for the decorators plugin (not sure to keep it...). It should then parse React Fragments right without any issue 🚀.

from shrimpit.

yamafaktory avatar yamafaktory commented on May 26, 2024

@Eugen-Ask & @underblob sorry for the late support... The issue has been addressed in https://github.com/yamafaktory/shrimpit/releases/tag/v0.21.0. Please give it a try so that I can close that issue 👍.

from shrimpit.

yamafaktory avatar yamafaktory commented on May 26, 2024

I'm closing the issue. Feel free to reopen it if this shows up again 👍 .

from shrimpit.

underblob avatar underblob commented on May 26, 2024

Hi @yamafaktory sorry for the delay getting back to you. I did a quick run with...

npx shrimpit ./src

...still seeing the syntax error on fragment tags. Was the NPM registry updated to the latest?

from shrimpit.

underblob avatar underblob commented on May 26, 2024

OK seems like that's the problem. The NPM registry has version 0.20: https://www.npmjs.com/package/shrimpit

from shrimpit.

underblob avatar underblob commented on May 26, 2024
npx https://github.com/yamafaktory/shrimpit\#v0.21.0 ./src

LGTM, thanks @yamafaktory!

from shrimpit.

yamafaktory avatar yamafaktory commented on May 26, 2024

Oh my bad... @underblob https://github.com/yamafaktory/shrimpit/tree/v0.21.1 has been released & published to NPM this time 😅.

from shrimpit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.