Page MenuHomePhabricator

[keyserver/landing] add @babel/plugin-transform-private-methods to list of plugins
ClosedPublic

Authored by ginsu on Mar 27 2024, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 7, 12:20 AM
Unknown Object (File)
Sat, Apr 6, 2:20 PM
Unknown Object (File)
Sat, Apr 6, 1:14 PM
Unknown Object (File)
Sat, Apr 6, 12:56 PM
Unknown Object (File)
Sat, Apr 6, 12:27 PM
Unknown Object (File)
Fri, Apr 5, 6:07 AM
Unknown Object (File)
Thu, Apr 4, 12:19 PM
Unknown Object (File)
Wed, Apr 3, 1:32 AM
Subscribers

Details

Summary

The day before the hackathon @ashoat and I were debugging an issue where the farcaster app signin redirect url was not being returned with the WebView. As we were working on a solution where we need to run yarn prod in landing + yarn prod-build && yarn prod in keyserver we were getting some babel issues that were resolved by adding the plugins in this diff

Linear task w/ discussion about the issue @ashoat and I were trying to solve: https://linear.app/comm/issue/ENG-7325/connect-to-farcaster-wo-siwn

Added the babel plugins + ran yarn cleaninstall

Made @ashoat blocking since this diff adds a dependency + new babel plugins

Depends on D11426

Test Plan

N/A + was able to test the entire SIWF flow during the hackathon + was able to run yarn prod in landing + yarn prod-build && yarn prod in keyserver w/o getting any errors

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: ashoat, atul.
ginsu edited the test plan for this revision. (Show Details)
ginsu requested review of this revision.Mar 27 2024, 9:16 PM
ashoat requested changes to this revision.Thu, Mar 28, 6:41 AM

We should include the new package in keyserver/package.json since it's used in keyserver/.babelrc.cjs. It doesn't cause any issues right now because the package isn't getting hoisted, but subtle changes to dependencies could change that.

This revision now requires changes to proceed.Thu, Mar 28, 6:41 AM

We should include the new package in keyserver/package.json since it's used in keyserver/.babelrc.cjs. It doesn't cause any issues right now because the package isn't getting hoisted, but subtle changes to dependencies could change that.

Got it. Will fix that now. Thanks for taking the time to explain this to me

addd @babel/plugin-transform-private-methods to keysever/package.json

Also ran yarn cleaninstall after addding the dep to make sure the yarn.lock file was up to date

This revision is now accepted and ready to land.Thu, Mar 28, 9:48 AM