Tuist
@tuist.dev
about 1 year ago
💬 0
♻️ 0
❤️ 2
If you haven’t changed the implementation of the feature dependency we won’t trigger the tests for those. We’ll only do so if you’ve changed the dependency implementation or the interface.
Tuist CLI 4.49.0 is out now, featuring support for signature validation of XCFrameworks 🎉 Check it out: community.tuist.dev/t/tuist-cli... #Swift #Xcode 🧭 Adding auth shouldn't feel like a side quest.
In this guide, you'll learn how to:
🔐 Integrate Clerk for easy authentication in Next.js
🗄️ Store users in a Prisma Postgres DB with Prisma
⚡ Sync user data with Clerk webhooks
Dive in👇
pris.ly/guide/clerk Our documentation is now LLM-friendly, offering `./llms.txt` and `./llms-full.txt` routes with content in Markdown.
docs.tuist.dev/llms-full.txt Investing in good debugging practices is one of the highest leverage things you can do as an engineer. Particularly with more AI tooling and/or code written by AI. Just to name a few: - Step debugging (in VSC/Browser) - Structured logging (aiming for high signal) - OpenTelemetry
😵💫 Tired of copy-pasting DB URLs and bouncing between your editor and browser?
You can skip the hassle entirely by adding `--db` to your `npx prisma init` command!
`--db` spins up a Prisma Postgres database and automatically sets it up.
No more tab-switching & messy manual setups. This is what I have been advising a lot of new builders building AI agents with Chai.new by Langbase.
If you want to build a great AI agent, take it step by step instead of trying to one shot a huge system in one go. Vibe coding is great, but most builders get it wrong.
They try to one shot a lot of stuff.
Let's say you wanna get to 10.
You shouldn't do 5 + 5 = 10
When vibe coding you should do
1+2+3+1+1+2 = 10
Tell your coding agent to do one thing well
Then add 1-2 more, and so …
This works wonders. it's in downtown brooklyn, three blocks away from a police station, which is what i guess… kind of… explains it. a few weeks ago they had a dog sitting in the window, dyed blue
reporting from the redpilled blue lives matter dog grooming command center
My wishes for #WWDC:
- Deprecation of Package.swift and .xcodeproj in favor of a unified graph language.
- Content Addressable Store (CAS). There are already foundational work in the swift-build repo. What makes this approach work? The Directus backend gives TKstairs complete control over content while Nuxt and Vue.js deliver fast, responsive front-end experiences.
Check out our super talented friends at Rolley! 👉 www.rolley.io/ 👉 Custom page builder lets TKstairs create unique layouts for every section
👉 Easy product publishing to Google Merchant Centre
👉 Case studies, blogs, and product information managed directly through Directus
👉 Consistent brand experience across all custom configurations A staircase is never just a staircase - especially when it's custom-built.
TKstairs, a leading UK manufacturer, wanted their online presence to reflect the same attention to detail they put into their physical products.
Rolley delivered by building a site with Directus with Nuxt, Vue and Babylon: The line between the compiler is helping ensure the code does what is supposed to do and I’m adjusting my code to please the compiler is a fine one to walk. 💡 Schema changes don’t have to be scary.
If this helped, share it with your team, or keep it handy for when you’re staring down your next big migration.
Bookmark this for later! 🔖 Step 2️⃣: Contract
Once your app fully switches to firstName and lastName, drop the old name field.
🙌 Migration complete. No downtime, no stress. Step 1️⃣: Expand
You add new fields (firstName, lastName) while keeping the old one (name).
Then, write a sync trigger or job to keep data in sync.
✅ Nothing breaks. Reads/writes continue as usual. Use the Expand and Contract pattern to migrate schema changes without downtime.
1. Expand the schema
2. Backfill the data
3. Migrate the app
4. Contract the old field
🎉 This keeps your system live the entire time. 😱 Migrating database schemas can spiral into downtime.
Downtime = lost revenue, unhappy users, midnight deploys.
Want to avoid it completely?
Here's a proven pattern to ship schema changes safely in a team👇 That’s a model I’m pondering for @tuistdev. You bring your API keys, and we take care of the rest plugging the hosts to GitHub or GitLab. The costs are mostly on you, and you pay a flat fee for our managing of the those hosts. They resort to automation tools like Ansible, but I think it’d be amazing if they could do everything through a UI that allows them to add Mac Minis to their own pool, and let a tool provision them automatically. I’ve already come across a a handful of companies that set up their own Mac infra to escape abusive pricing models by some CI providers 😅.