Page MenuHomePhabricator

[web] add emoji-mart dependency
ClosedPublic

Authored by ginsu on Jan 24 2023, 9:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 10:15 AM
Unknown Object (File)
Mon, Jun 24, 10:32 AM
Unknown Object (File)
Sun, Jun 23, 2:17 PM
Unknown Object (File)
Sun, Jun 23, 2:17 PM
Unknown Object (File)
Sun, Jun 23, 2:17 PM
Unknown Object (File)
Sun, Jun 23, 2:17 PM
Unknown Object (File)
Sun, Jun 23, 2:14 PM
Unknown Object (File)
Sat, Jun 22, 3:54 AM
Subscribers

Details

Summary

Add emoji-mart dependency. https://github.com/missive/emoji-mart#-data


Linear Task: ENG-2776

Test Plan

N/A

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu added reviewers: atul, ashoat.
ginsu requested review of this revision.Jan 24 2023, 9:36 AM

include @emoji-mart/data dependency

atul requested changes to this revision.Jan 24 2023, 10:21 AM

Surprised to see changes to react-native-flipper@^0.164.0 entry in yarn.lock. When I patched in this diff and ran yarn cleaninstall, it looks like it reverted those changes:

68a457.png (966×1 px, 672 KB)

Maybe @ashoat or @tomek have context on what might be happening here?


The repo looks well maintained and license looks good (MIT).

yarn.lock
18924–18927 ↗(On Diff #21254)

Hm, wonder what's happening here? Maybe @ashoat or @tomek have context.

This revision now requires changes to proceed.Jan 24 2023, 10:21 AM

Are you using yarn add {dependency} workflow or are you making the addition to package.json manually?

The fact that ethers was repositioned in package.json makes me suspect you added emoji-mart via yarn add {dependency} command? There's some weirdness associated with using that command (something to do with our monorepo setup, I don't remember), could you try adding the emoji-mart entries to package.json manually and then running yarn cleaninstall?

Are you using yarn add {dependency} workflow or are you making the addition to package.json manually?

Was using the yarn add {dependency} workflow, will try the other method

In D6362#190471, @ginsu wrote:

Are you using yarn add {dependency} workflow or are you making the addition to package.json manually?

Was using the yarn add {dependency} workflow, will try the other method

Wonder if you just ran yarn cleaninstall from the root of the repo if things would get fixed up?

Wonder if you just ran yarn cleaninstall from the root of the repo if things would get fixed up?

Just tried this and the uid for react-native-flipper is still getting removed, but the version is still staying the same. Will keep investigating

(Went ahead and added @ashoat as blocking since we'll need to do that once the feedback is addressed anyways.)

added dependencies directly to package.json and ran yarn cleaninstall

Still not sure why the uid for react-native-flipper is getting removed. Wondering if @ashoat/ @tomek have some context

It's an annoying Yarn bug, I'm aware but not sure how to solve. I think Yarn ignores the root package.json Yarn resolution when running a command in a child repo. I don't remember for sure but I don't think the Yarn resolution worked in native/package.json, but we could try putting it in both of them

yarn.lock
18926 ↗(On Diff #21278)

I've noticed this change too recently

This revision is now accepted and ready to land.Jan 25 2023, 7:33 AM
This revision was automatically updated to reflect the committed changes.