-
Notifications
You must be signed in to change notification settings - Fork 70
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
Implement file hashing for to-be-uploaded files #870
Implement file hashing for to-be-uploaded files #870
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'm less concerned because we'll probably rarely touch that file again, but I sort of agree with @thafryer's basic point which is that the file is a bit impenetrable and could be written in a simpler way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll defer to the other comments here, but otherwise approve.
#️⃣#️⃣#️⃣👍🏻
🚀 PR was released in |
Uses xxhash-wasm for fast hashing of Storybook file contents. Chromatic's Storybook took 21ms to hash on my machine (Apple M1 Pro).
📦 Published PR as canary version:
10.2.0--canary.870.7197051615.0
✨ Test out this PR locally via:
npm install chromatic@10.2.0--canary.870.7197051615.0 # or yarn add chromatic@10.2.0--canary.870.7197051615.0