cli
zod
Our great sponsors
cli | zod | |
---|---|---|
16 | 286 | |
844 | 30,174 | |
8.2% | - | |
9.8 | 9.1 | |
7 days ago | 5 days ago | |
Go | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cli
-
How To Make An Insanely Fast AI App (Supabase, LLAMA 3 and Groq)
You'll need to install the Supabase CLI in different ways depending on your OS, check out this guide for details and come right back here.
-
We really need a way to know the remote stack container/image versions and be able to set them on local config.
Recently, I noticed that in our remote project, the database storage schema has a migration not present when one sets up the local stack for development. Upon inspection, the Supabase CLI uses an old version of the storage image. Currently, there is no way to change this (that I know of) until the CLI team updates the CLI to use this version.
-
Deno.land is down, which means Supabase functions are down locally
@doganugurlu Looks like Deno team implemented a fix https://denostatus.com/cllm0jzq219036bjottk03k2ac Are you still experiencing the issue?
We used to cache the modules locally, I will need to check if we made any configuration change. Can you kindly open an issue for Supabase CLI - https://github.com/supabase/cli/issues
-
Supabase Local Dev: migrations, branching, and observability
> Oh, I had no idea that the functions routes were "wild card"! I don't think that's mentioned anywhere in the documentation, btw.
Good point! will update the docs.
> Sorry, I actually mean "import-maps": https://github.com/supabase/cli/issues/1338
I'll take a look at this issue. We've improved import map resolution in the last couple of CLI releases. But it looks like there are more edge cases.
We’ve moved the Supabase CLI to a fortnightly stable-release cycle. Every 2 weeks, we will update the latest tag on npm, the supabase/tap for homebrew, and the supabase scoop bucket. You can find the binary downloads in our GitHub latest release.
-
Any comprehensive guide on self hosting ?
I think we've been working on that recently here: https://github.com/supabase/cli/pull/907
-
Using current_setting('request.cookies', true) to read request cookies doesn't seem to work
Can you try it locally with the supabase CLI? https://github.com/supabase/cli
-
SPARTAN. Type-safe Angular full-stack development powered by Analog.
For more info see this issue on GitHub.
-
Opaque errors trying to serve and deploy edge functions
I opened a Github issue: https://github.com/supabase/cli/issues/939, but I figured I'd see if any of you hit this and, hopefully, got past it.
-
The Case for better Self-Hosted Supabase Support
Are there plans to support connections to self hosted remotes (to deploy to self-hosted instances, for example) with the cli? https://github.com/supabase/cli/issues/753
zod
-
You can’t run away from runtime errors using TypeScript
Zod is a TypeScript-first schema declaration and validation library. It helps create schemas for any data type and is very developer-friendly. Zod has the functional approach of "parse, don't validate." It supports coercion in all primitive types.
-
Best Next.js Libraries and Tools in 2024
Link: https://zod.dev/
-
Popular Libraries For Building Type-safe Web Application APIs
You can check out their documentation here.
-
Epic Next JS 14 Tutorial Part 4: How To Handle Login And Authentication in Next.js
You can learn more about Zod on their website here.
-
What even is a JSON number?
In JS, it's a good idea anyway to use some JSON parsing library instead of JSON.parse.
With Zod, you can use z.bigint() parser. If you take the "parse any JSON" snippet https://zod.dev/?id=json-type and change z.number() to z.bigint(), it should do what you are looking for.
-
Error handling in our form component for the NextAuth CredentialsProvider
We will validate our input using client-side zod. Zod handles TypeScript-first schema validation with static type inference. This means that it will not only validate your fields, it will also set types on validated fields.
-
Zod: Zero to Hero - Chapter 4
A word of warning: while discriminated unions are very powerful, there's an ongoing discussion on whether discriminated unions should be deprecated and replaced with a different API.
-
Zod: Zero to Hero - Chapter 1
I was first introduced to Zod by Adam Bobrow - a colleague of mine and a dear friend. Adam was sick and tired from JavaScript's brittleness, and about two years ago he started migrating our code base to TypeScript. But that wasn't enough for him. He kept complaining: "What good are my types, if some other service decides to send me bad data and breaks my code?". That's when he discovered Zod.
-
Eloquent JavaScript 4th edition (2024)
It is (or should be) common practice to parse/validate any external data you depend on. You should be doing this for Javascript too. I find that the library https://zod.dev/ is quite helpful for this
-
How to build a blog with Astro
Astro uses Zod, a Typescript-first schema validation library, to type-check the collections' schemas. It helps validate data types when using collections inside UI components.
What are some alternatives?
objectbox-dart - Flutter database for super-fast Dart object persistence
class-validator - Decorator-based property validation for classes.
ng-signal-forms
joi - The most powerful data validation library for JS [Moved to: https://github.com/sideway/joi]
supabase-on-aws - Self-hosted Supabase on AWS
Yup - Dead simple Object schema validation
oak - A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
Appwrite - Build like a team of hundreds_
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
sql-examples - Curated list of SQL to help you find useful script easily 🚀
io-ts - Runtime type system for IO decoding/encoding