ข้ามไปเนื้อหาหลัก

#configuration 5

รายการ Projects, Resources และ Notes ทั้งหมดที่มี tag นี้

Projects 2

completed

type-safe-env

TypeScript utility สำหรับ parse และ validate environment variables ด้วย Zod — crash ทันทีถ้า env ขาดหาย แทนที่จะ fail แบบ silent

อ่านเพิ่ม →

completed

Shareable ESLint Config

ESLint configuration package ที่แชร์ได้ across TypeScript projects — รวม rules สำหรับ Node.js, Astro, และ vanilla TS ในชุดเดียว

อ่านเพิ่ม →

Resources 3

reference

ESLint + Prettier Configuration — TypeScript Project Setup

ตั้งค่า ESLint + Prettier ที่ทำงานร่วมกันได้สำหรับ TypeScript project: rules, integrations, pre-commit hooks

อ่านเพิ่ม →

reference

package.json Modern Fields — exports, type, engines

Fields สำคัญใน package.json สำหรับ modern npm packages: exports map, type: module, engines, files, และ npm publish workflow

อ่านเพิ่ม →

reference

TypeScript Configuration — tsconfig.json Guide

เข้าใจ tsconfig.json ทุก option ที่สำคัญ: strict mode, paths, module resolution, target, lib — ตั้งค่าให้ถูกสำหรับแต่ละ project

อ่านเพิ่ม →