vtex / faststore

Digital commerce toolkit for frontend developers
https://faststore.dev
MIT License
182 stars 57 forks source link

Adds a node script to copy files from one directory to another #2375

Closed gvc closed 2 weeks ago

gvc commented 2 weeks ago

What's the purpose of this pull request?

Remove dependency from core by creating a script and using node's stdlib.

How to test it?

I've added tests to the script but you can run yarn generate on packages/core and check the @generated files get copied to node_modules/@faststore/core/@generated. Or run yarn generate and then run DESTINATION=testdir yarn generate:copy-back and see if the contents match for testdir and @generated

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 0:35am
codesandbox-ci[bot] commented 2 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.