@intlayer/docs 6.0.0-canary.0 → 6.0.0-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ npx intlayer content test
52
52
 
53
53
  استخدم واجهة برمجة تطبيقات Intlayer CLI للتأكد من عدم وجود ترجمات مفقودة للغات المطلوبة.
54
54
 
55
- ```ts file=i18n.test.ts
55
+ ```ts fileName=i18n.test.ts
56
56
  /* @vitest-environment node */
57
57
  import { listMissingTranslations } from "intlayer/cli";
58
58
  import { describe, expect, it } from "vitest";
@@ -73,7 +73,7 @@ describe("الترجمات", () => {
73
73
 
74
74
  المكافئ في Jest:
75
75
 
76
- ```ts file=i18n.test.ts
76
+ ```ts fileName=i18n.test.ts
77
77
  import { listMissingTranslations } from "intlayer/cli";
78
78
 
79
79
  test("لا توجد لغات مطلوبة مفقودة", () => {
@@ -53,7 +53,7 @@ Hinweis: Die CLI gibt einen detaillierten Bericht aus, beendet sich jedoch bei F
53
53
 
54
54
  Verwenden Sie die Intlayer CLI API, um sicherzustellen, dass keine Übersetzungen für Ihre erforderlichen Sprachversionen fehlen.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("Übersetzungen", () => {
74
74
 
75
75
  Jest-Äquivalent:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("hat keine fehlenden erforderlichen Sprachversionen", () => {
@@ -53,7 +53,7 @@ Note: the CLI prints a detailed report but does not exit non‑zero on failures.
53
53
 
54
54
  Use the Intlayer CLI API to assert there are no missing translations for your required locales.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("translations", () => {
74
74
 
75
75
  Jest equivalent:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("has no missing required locales", () => {
@@ -53,7 +53,7 @@ Note: the CLI prints a detailed report but does not exit with a non-zero code on
53
53
 
54
54
  Use the Intlayer CLI API to assert there are no missing translations for your required locales.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("translations", () => {
74
74
 
75
75
  Jest equivalent:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("has no missing required locales", () => {
@@ -53,7 +53,7 @@ Nota: la CLI imprime un informe detallado pero no termina con un código distint
53
53
 
54
54
  Usa la API CLI de Intlayer para asegurar que no falten traducciones en tus locales requeridos.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("traducciones", () => {
74
74
 
75
75
  Equivalente en Jest:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("no tiene locales requeridos faltantes", () => {
@@ -53,7 +53,7 @@ Note : la CLI affiche un rapport détaillé mais ne retourne pas un code d’err
53
53
 
54
54
  Utilisez l’API CLI d’Intlayer pour vérifier qu’il n’y a pas de traductions manquantes pour vos locales requises.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("traductions", () => {
74
74
 
75
75
  Équivalent Jest :
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("n’a pas de locales requises manquantes", () => {
@@ -53,7 +53,7 @@ npx intlayer content test
53
53
 
54
54
  अपने आवश्यक स्थानीय भाषाओं के लिए कोई गायब अनुवाद न होने का सत्यापन करने के लिए Intlayer CLI API का उपयोग करें।
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("अनुवाद", () => {
74
74
 
75
75
  Jest समतुल्य:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("कोई आवश्यक स्थानीय भाषा गायब नहीं है", () => {
@@ -53,7 +53,7 @@ Nota: la CLI stampa un report dettagliato ma non termina con codice diverso da z
53
53
 
54
54
  Usa l'API CLI di Intlayer per verificare che non ci siano traduzioni mancanti per i locali richiesti.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("traduzioni", () => {
74
74
 
75
75
  Equivalente Jest:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("non ha locali richiesti mancanti", () => {
@@ -53,7 +53,7 @@ npx intlayer content test
53
53
 
54
54
  Intlayer CLI APIを使って、必須ロケールの翻訳漏れがないことをアサートします。
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("translations", () => {
74
74
 
75
75
  Jestの同等コード:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("必須のロケールが欠落していないこと", () => {
@@ -53,7 +53,7 @@ npx intlayer content test
53
53
 
54
54
  Intlayer CLI API를 사용하여 필수 로케일에 누락된 번역이 없는지 확인하세요.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("번역", () => {
74
74
 
75
75
  Jest 동등 코드:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("필수 로케일이 누락되지 않음", () => {
@@ -53,7 +53,7 @@ Nota: o CLI imprime um relatório detalhado, mas não retorna código de erro em
53
53
 
54
54
  Use a API do CLI do Intlayer para garantir que não há traduções faltando para os locais obrigatórios.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("traduções", () => {
74
74
 
75
75
  Equivalente em Jest:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("não possui locais obrigatórios faltando", () => {
@@ -53,7 +53,7 @@ npx intlayer content test
53
53
 
54
54
  Используйте API Intlayer CLI, чтобы проверить, что отсутствующих переводов для обязательных локалей нет.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("переводы", () => {
74
74
 
75
75
  Эквивалент для Jest:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("отсутствуют обязательные локали", () => {
@@ -53,7 +53,7 @@ Not: CLI ayrıntılı bir rapor yazdırır ancak başarısızlıklarda sıfır o
53
53
 
54
54
  Gerekli yerel ayarlarınız için eksik çeviri olmadığını doğrulamak için Intlayer CLI API'sini kullanın.
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("çeviriler", () => {
74
74
 
75
75
  Jest eşdeğeri:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("gerekli yerel ayarlarda eksik yok", () => {
@@ -53,7 +53,7 @@ npx intlayer content test
53
53
 
54
54
  使用 Intlayer CLI API 断言您的必需语言环境没有缺失的翻译。
55
55
 
56
- ```ts file=i18n.test.ts
56
+ ```ts fileName=i18n.test.ts
57
57
  /* @vitest-environment node */
58
58
  import { listMissingTranslations } from "intlayer/cli";
59
59
  import { describe, expect, it } from "vitest";
@@ -74,7 +74,7 @@ describe("翻译", () => {
74
74
 
75
75
  Jest 等效代码:
76
76
 
77
- ```ts file=i18n.test.ts
77
+ ```ts fileName=i18n.test.ts
78
78
  import { listMissingTranslations } from "intlayer/cli";
79
79
 
80
80
  test("没有缺失的必需语言环境", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/docs",
3
- "version": "6.0.0-canary.0",
3
+ "version": "6.0.0-canary.1",
4
4
  "private": false,
5
5
  "description": "Intlayer documentation",
6
6
  "keywords": [
@@ -48,8 +48,8 @@
48
48
  "legal"
49
49
  ],
50
50
  "dependencies": {
51
- "@intlayer/config": "6.0.0-canary.0",
52
- "intlayer": "6.0.0-canary.0"
51
+ "intlayer": "6.0.0-canary.1",
52
+ "@intlayer/config": "6.0.0-canary.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.2.1",
@@ -63,16 +63,16 @@
63
63
  "tsx": "^4.19.4",
64
64
  "typescript": "^5.9.2",
65
65
  "vitest": "^3.2.4",
66
- "@intlayer/api": "6.0.0-canary.0",
66
+ "@intlayer/api": "6.0.0-canary.1",
67
+ "@intlayer/cli": "6.0.0-canary.1",
67
68
  "@utils/ts-config": "1.0.4",
68
- "@intlayer/cli": "6.0.0-canary.0",
69
- "@utils/tsup-config": "1.0.4",
70
- "@utils/ts-config-types": "1.0.4"
69
+ "@utils/ts-config-types": "1.0.4",
70
+ "@utils/tsup-config": "1.0.4"
71
71
  },
72
72
  "peerDependencies": {
73
- "@intlayer/api": "6.0.0-canary.0",
74
- "@intlayer/cli": "6.0.0-canary.0",
75
- "@intlayer/config": "6.0.0-canary.0"
73
+ "@intlayer/config": "6.0.0-canary.1",
74
+ "@intlayer/cli": "6.0.0-canary.1",
75
+ "@intlayer/api": "6.0.0-canary.1"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=14.18"