تخطَّ إلى المحتوى
نصمسودة آلية

TypeScript Library taste

مسودة آلية لم تُراجَع بعد

أنتج هذا النص نموذج ذكاء اصطناعي واجتاز فحوصاً آلية فقط، ولم يراجعه محرر بعد. قد تجد فيه أخطاء في المعنى أو في الصياغة، فاقرأه قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

نص البرومبت

لا ترجمة عربية لهذا البرومبت بعد، فهذا هو نصه الأصلي.

# TypeScript library taste - Use pnpm as the package manager. Confidence: 0.95 - Enable strict mode and noUncheckedIndexedAccess in tsconfig. Confidence: 0.95 - Build with tsup and emit both ESM and CJS with .d.ts files. Confidence: 0.90 - Declare the exports map in package.json instead of relying on main. Confidence: 0.90 - Test with vitest and keep tests next to source as *.test.ts. Confidence: 0.90 - Use Changesets for versioning and changelogs. Confidence: 0.85 - Lint and format with Biome instead of ESLint plus Prettier. Confidence: 0.70 - Keep runtime dependencies at zero where practical. Confidence: 0.85 - Mark the package with "sideEffects": false to enable tree shaking. Confidence: 0.85 - Prefer named exports over default exports. Confidence: 0.90 - Validate untrusted input with zod and infer types from the schemas. Confidence: 0.80 - Run publint and arethetypeswrong in CI before every release. Confidence: 0.80 - Use type-only imports (import type) for types. Confidence: 0.85 - Publish with npm provenance enabled from GitHub Actions. Confidence: 0.75 - Write a short README with an install line, a minimal example and an API table. Confidence: 0.90 - Start versions at 0.1.0 and follow semver strictly once stable. Confidence: 0.70

افتح في…

تنبيه: عند فتح موقع خارجي يُرسَل إليه نص البرومبت كما تراه الآن، بما ملأته فيه. لا تضع فيه بيانات سرية أو شخصية.

Claude وChatGPT: يذهب النص داخل رابط الموقع.

Gemini: ننسخ النص إلى حافظتك ونفتح الموقع، فالصق النص هناك.

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ