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)
Wed, Nov 13, 12:45 AM
Unknown Object (File)
Tue, Nov 12, 10:55 PM
Unknown Object (File)
Oct 22 2024, 2:44 PM
Unknown Object (File)
Oct 18 2024, 6:25 PM
Unknown Object (File)
Oct 18 2024, 6:25 PM
Unknown Object (File)
Oct 18 2024, 6:25 PM
Unknown Object (File)
Oct 11 2024, 11:16 AM
Unknown Object (File)
Sep 18 2024, 8:19 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.Mar 28 2024, 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.Mar 28 2024, 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.Mar 28 2024, 9:48 AM