micromatch / picomatch

Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, bulma, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's author: https://github.com/jonschlinkert
https://github.com/micromatch
MIT License
971 stars 56 forks source link

Initial port to Lua #118

Closed matthargett closed 1 year ago

matthargett commented 1 year ago

Still needs CI set up, but I was able to run the one minimatch test file locally to verify (and fix) funcionality. Note that I reimplemented the JS library functions (String, Array, etc) to eliminate any corporate copyright issues.

matthargett commented 1 year ago

ugh, meant tp PR this in my fork. sorry!

jonschlinkert commented 1 year ago

Hey @matthargett I just noticed this. Did you ever get the port working? This is pretty awesome.

matthargett commented 1 year ago

yup, this was re-doing the work done internally at my previous employer. With the help of some members of the Lua OSS and jsdotlua community, I demonstrated the full jest and React Native port (which relies on picomatch) last month at React Native EU: https://youtu.be/wRx9oSVaSXs?si=k4tvfYanlJ69kr7Q

The repo used: https://github.com/jsdotlua/jest-lua/tree/main/packages

Sadly, I could not find anyone willing to fund minimum wage rates for a month to do the proper package publishing, CI, etc. As I say in the talk, I've officially moved on from the Lua community to focus on my new XR venture. If you want to pick up the picomatch port and run with it, I'm happy to remote pair for an hour to make sure it gets a good home :)