Developer guides, tutorials, and deep dives from the SnipShift team.
Learn how to publish a TypeScript npm package with tsup, dual ESM/CJS output, changesets for versioning, and GitHub Actions automation. The complete 2026 workflow.
Fix the 'property does not exist on type' error in TypeScript. Learn 5 causes missing properties, wrong assertions, union types, index signatures, and extending types.
Learn the key differences between Promise.all, allSettled, race, and any. Real-world examples for parallel API calls, error handling, and more.
Set up Prisma database seeding with TypeScript: createMany, upsert, faker.js, idempotent seeds, and referencing related records.
Learn when Prisma's query builder falls short and how to safely use $queryRaw, Prisma.sql, and $executeRaw for window functions, CTEs, and more.
Implement full-text search in Prisma using the preview feature, raw SQL with ts_vector/ts_query for PostgreSQL, MATCH AGAINST for MySQL, and when to use dedicated search engines.
Learn how to build dynamic, conditional where clauses in Prisma using spread patterns, AND/OR/NOT composition, and optional query params.
Set up a TypeScript monorepo with pnpm workspaces. Package structure, shared tsconfig, cross-package imports, build order, and common gotchas explained.
Understand the difference between package.json exports, main, and module fields. Learn conditional exports, subpath exports, and the minimum config for 2026.
Learn javascript optional chaining and nullish coalescing how ?. and ?? work, when to use them over ||, and real examples with API responses and TypeScript.
Fix the 'object is possibly undefined' error in TypeScript with optional chaining, type guards, non-null assertion, and default values. Four approaches compared.
Set up dual ESM and CJS output for your npm package using tsup. Covers package.json exports, .d.ts and .d.cts declarations, testing, and common pitfalls.
Showing 12 of 36 articles