At Revelry, we believe in sharing and learning from one another (beliefs that are rooted in our Core Values). Among the many things we do to encourage internal knowledge exchange is to have a different team member present at each week’s Engineering Meeting. These presentations don’t have to be lengthy, formal, or complicated; in fact, many are brief, but also powerful in that they teach our Revelers something new, inspire conversation, and/or encourage collaboration.
In the spirit of sharing, we share our This Week I Learned presentations (aka RevTWILs”) here. We hope you find them helpful.
THIS WEEK: We share an assortment of learnings shared across our own Slack channels:
When you need to bring a dependency into your code base as a file (like when it gets de-published), you can use package.json’s “resolution” key and put a reference to the file you have brought in. Like:
"resolutions": {
"published_but_with_depub_dep/depublished-dep": "file:./path_to_file/npm-depublished-dep-1.0.0-uuid-integrity.yarn-tarball.tgz",
"depublished-dep": "file:./path_to_file/npm-depublished-dep-1.0.0-uuid-integrity.yarn-tarball.tgz"
}
This will resolve into usable code that you can import as you were previously.
You can learn how to generate QR codes in Google Sheets here: https://www.youtube.com/watch?v=V81gL6uofDU
If you find yourself scripting things from JSON into shell commands with jq
, you can pipe strings into @sh
to have them automatically escaped! https://jqlang.github.io/jq/manual/#format-strings-and-escaping
mix test --trace
will output the path to each test file. Helpful for tracking down error logs in tests that may not cause the test to actually fail.
If you’re tired of manually enabling participant screen sharing in your Zoom meetings, you can update your default meeting settings at https://zoom.us/profile/setting (as well as other settings for meetings you host). These settings are configured separately from the your “Preferences” in the desktop app.
We're building an AI-powered Product Operations Cloud, leveraging AI in almost every aspect of the software delivery lifecycle. Want to test drive it with us? Join the ProdOps party at ProdOps.ai.