-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature: v1 #1
feature: v1 #1
Conversation
🦋 Changeset detectedLatest commit: bd2f369 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey @marlonmarcello, I'm having trouble testing this one.
Lmk if I can help debug at all. I think we could also maybe add an Thanks |
@andrewrubin use |
Already added a |
Oh, I didn't build the package. |
Ooh, missed that step, my bad! |
Tested and working well, thanks! Just a couple notes:
|
Thanks @andrewrubin !
You can, as per my comment on the PR body, it's not ready. But you can test the one on Corgi to make sure this didn't break that.
Do you mean for the NPM package itself? If so that's expected. |
Okay cool, thanks. Been a while since I last set up a new package for publishing, so wasn't sure how the
|
You can just delete |
Thanks for the review! |
Maybe we output this file inside |
Goal
Masher V1!
This initial work is mostly conversion and refactoring. A lot of the logic was kept intact with some improvements here and there.
Notes
Timing
I am not able to spend much more time refactoring this as we need V1 ready to continue work on Corgi and Component Library, so please focus your test on potential bugs and incompatibilities.
With the hardest part in place we can keep track of changes and features in Issues from here on out.
Picture component
I added the
Picture
component to the repo with the intention of releasing it soon. I have a ticket create for it so we can keep track of that feature #2 but please ignore it for now.Testing
You don't need a Corgi project to test this.
feature/v1
npm install
npm run build
npm link
You are now ready to test
mkdir my-test
cd my-test
npm init -y
npm link @wethegit/masher
mkdir -p src/images/defined/
defined
directory created abovenpx @wethegit/masher
npx @wethegit/masher --watch
After running the masher you should see the compressed images in a
public/_images/
directory. You can change the input and output directories inside themasher.config.json
file gets created after you ran it at least once.