@intlayer/docs 8.6.1 → 8.6.10
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.
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +60 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +60 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +3 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/cli/index.md +54 -42
- package/docs/ar/cli/init.md +32 -20
- package/docs/ar/cli/standalone.md +91 -0
- package/docs/ar/configuration.md +39 -7
- package/docs/ar/custom_domains.md +250 -0
- package/docs/ar/intlayer_with_tanstack+solid.md +14 -33
- package/docs/ar/intlayer_with_tanstack.md +25 -16
- package/docs/ar/intlayer_with_vanilla.md +506 -0
- package/docs/bn/cli/index.md +195 -0
- package/docs/bn/cli/init.md +96 -0
- package/docs/bn/cli/standalone.md +91 -0
- package/docs/bn/configuration.md +46 -14
- package/docs/bn/custom_domains.md +250 -0
- package/docs/bn/intlayer_with_vanilla.md +506 -0
- package/docs/cs/cli/index.md +195 -0
- package/docs/cs/cli/init.md +96 -0
- package/docs/cs/cli/standalone.md +91 -0
- package/docs/cs/configuration.md +46 -7
- package/docs/cs/custom_domains.md +250 -0
- package/docs/cs/intlayer_with_vanilla.md +506 -0
- package/docs/de/cli/index.md +53 -41
- package/docs/de/cli/standalone.md +91 -0
- package/docs/de/configuration.md +46 -7
- package/docs/de/custom_domains.md +250 -0
- package/docs/de/intlayer_with_tanstack+solid.md +14 -33
- package/docs/de/intlayer_with_tanstack.md +25 -16
- package/docs/de/intlayer_with_vanilla.md +506 -0
- package/docs/en/bundle_optimization.md +288 -23
- package/docs/en/cli/index.md +6 -1
- package/docs/en/cli/init.md +13 -1
- package/docs/en/cli/standalone.md +91 -0
- package/docs/en/configuration.md +46 -7
- package/docs/en/custom_domains.md +245 -0
- package/docs/en/intlayer_with_tanstack+solid.md +14 -33
- package/docs/en/intlayer_with_tanstack.md +25 -16
- package/docs/en/intlayer_with_vanilla.md +506 -0
- package/docs/en-GB/cli/index.md +56 -44
- package/docs/en-GB/cli/init.md +28 -21
- package/docs/en-GB/cli/standalone.md +91 -0
- package/docs/en-GB/configuration.md +53 -14
- package/docs/en-GB/custom_domains.md +250 -0
- package/docs/en-GB/intlayer_with_tanstack+solid.md +14 -33
- package/docs/en-GB/intlayer_with_tanstack.md +25 -16
- package/docs/en-GB/intlayer_with_vanilla.md +506 -0
- package/docs/es/cli/index.md +65 -53
- package/docs/es/cli/init.md +33 -21
- package/docs/es/cli/standalone.md +91 -0
- package/docs/es/configuration.md +39 -1
- package/docs/es/custom_domains.md +250 -0
- package/docs/es/intlayer_with_tanstack+solid.md +14 -33
- package/docs/es/intlayer_with_tanstack.md +25 -16
- package/docs/es/intlayer_with_vanilla.md +506 -0
- package/docs/fr/cli/index.md +43 -31
- package/docs/fr/cli/init.md +37 -25
- package/docs/fr/cli/standalone.md +91 -0
- package/docs/fr/configuration.md +46 -7
- package/docs/fr/custom_domains.md +250 -0
- package/docs/fr/intlayer_with_tanstack+solid.md +14 -33
- package/docs/fr/intlayer_with_tanstack.md +25 -16
- package/docs/fr/intlayer_with_vanilla.md +506 -0
- package/docs/hi/cli/index.md +71 -59
- package/docs/hi/cli/init.md +37 -33
- package/docs/hi/cli/standalone.md +91 -0
- package/docs/hi/configuration.md +39 -7
- package/docs/hi/custom_domains.md +250 -0
- package/docs/hi/intlayer_with_tanstack+solid.md +14 -33
- package/docs/hi/intlayer_with_tanstack.md +25 -16
- package/docs/hi/intlayer_with_vanilla.md +506 -0
- package/docs/id/cli/index.md +59 -47
- package/docs/id/cli/init.md +32 -25
- package/docs/id/cli/standalone.md +91 -0
- package/docs/id/configuration.md +46 -7
- package/docs/id/custom_domains.md +250 -0
- package/docs/id/intlayer_with_tanstack+solid.md +14 -33
- package/docs/id/intlayer_with_tanstack.md +25 -16
- package/docs/id/intlayer_with_vanilla.md +506 -0
- package/docs/it/cli/index.md +58 -41
- package/docs/it/cli/init.md +37 -38
- package/docs/it/cli/standalone.md +91 -0
- package/docs/it/configuration.md +46 -7
- package/docs/it/custom_domains.md +250 -0
- package/docs/it/intlayer_with_tanstack+solid.md +14 -33
- package/docs/it/intlayer_with_tanstack.md +25 -16
- package/docs/it/intlayer_with_vanilla.md +506 -0
- package/docs/ja/cli/index.md +59 -47
- package/docs/ja/cli/init.md +36 -24
- package/docs/ja/cli/standalone.md +91 -0
- package/docs/ja/configuration.md +46 -7
- package/docs/ja/custom_domains.md +250 -0
- package/docs/ja/intlayer_with_tanstack+solid.md +14 -33
- package/docs/ja/intlayer_with_tanstack.md +25 -16
- package/docs/ja/intlayer_with_vanilla.md +506 -0
- package/docs/ko/cli/index.md +58 -46
- package/docs/ko/cli/init.md +39 -35
- package/docs/ko/cli/standalone.md +91 -0
- package/docs/ko/configuration.md +47 -8
- package/docs/ko/custom_domains.md +250 -0
- package/docs/ko/intlayer_with_tanstack+solid.md +14 -33
- package/docs/ko/intlayer_with_tanstack.md +25 -16
- package/docs/ko/intlayer_with_vanilla.md +506 -0
- package/docs/nl/cli/index.md +195 -0
- package/docs/nl/cli/init.md +96 -0
- package/docs/nl/cli/standalone.md +91 -0
- package/docs/nl/configuration.md +46 -7
- package/docs/nl/custom_domains.md +250 -0
- package/docs/nl/intlayer_with_vanilla.md +506 -0
- package/docs/pl/cli/index.md +56 -44
- package/docs/pl/cli/init.md +36 -32
- package/docs/pl/cli/standalone.md +91 -0
- package/docs/pl/configuration.md +46 -7
- package/docs/pl/custom_domains.md +250 -0
- package/docs/pl/intlayer_with_tanstack+solid.md +14 -33
- package/docs/pl/intlayer_with_tanstack.md +25 -16
- package/docs/pl/intlayer_with_vanilla.md +506 -0
- package/docs/pt/cli/index.md +64 -52
- package/docs/pt/cli/init.md +35 -31
- package/docs/pt/cli/standalone.md +91 -0
- package/docs/pt/configuration.md +46 -7
- package/docs/pt/custom_domains.md +250 -0
- package/docs/pt/intlayer_with_tanstack+solid.md +14 -33
- package/docs/pt/intlayer_with_tanstack.md +25 -16
- package/docs/pt/intlayer_with_vanilla.md +506 -0
- package/docs/ru/cli/index.md +54 -42
- package/docs/ru/cli/init.md +31 -27
- package/docs/ru/cli/standalone.md +91 -0
- package/docs/ru/configuration.md +46 -7
- package/docs/ru/custom_domains.md +250 -0
- package/docs/ru/intlayer_with_tanstack+solid.md +14 -33
- package/docs/ru/intlayer_with_tanstack.md +25 -16
- package/docs/ru/intlayer_with_vanilla.md +506 -0
- package/docs/tr/cli/index.md +64 -52
- package/docs/tr/cli/init.md +37 -30
- package/docs/tr/cli/standalone.md +91 -0
- package/docs/tr/configuration.md +46 -7
- package/docs/tr/custom_domains.md +250 -0
- package/docs/tr/intlayer_with_tanstack+solid.md +14 -33
- package/docs/tr/intlayer_with_tanstack.md +25 -16
- package/docs/tr/intlayer_with_vanilla.md +506 -0
- package/docs/uk/cli/index.md +60 -55
- package/docs/uk/cli/init.md +32 -20
- package/docs/uk/cli/standalone.md +91 -0
- package/docs/uk/configuration.md +46 -7
- package/docs/uk/custom_domains.md +250 -0
- package/docs/uk/intlayer_with_tanstack+solid.md +14 -33
- package/docs/uk/intlayer_with_tanstack.md +25 -16
- package/docs/uk/intlayer_with_vanilla.md +506 -0
- package/docs/ur/cli/index.md +195 -0
- package/docs/ur/cli/init.md +96 -0
- package/docs/ur/cli/standalone.md +91 -0
- package/docs/ur/configuration.md +46 -7
- package/docs/ur/custom_domains.md +250 -0
- package/docs/ur/intlayer_with_vanilla.md +506 -0
- package/docs/vi/cli/index.md +72 -61
- package/docs/vi/cli/init.md +33 -21
- package/docs/vi/cli/standalone.md +91 -0
- package/docs/vi/configuration.md +46 -7
- package/docs/vi/custom_domains.md +250 -0
- package/docs/vi/intlayer_with_tanstack+solid.md +14 -33
- package/docs/vi/intlayer_with_tanstack.md +25 -16
- package/docs/vi/intlayer_with_vanilla.md +506 -0
- package/docs/zh/cli/index.md +56 -49
- package/docs/zh/cli/init.md +30 -18
- package/docs/zh/cli/standalone.md +91 -0
- package/docs/zh/configuration.md +46 -7
- package/docs/zh/custom_domains.md +250 -0
- package/docs/zh/intlayer_with_tanstack+solid.md +14 -33
- package/docs/zh/intlayer_with_tanstack.md +25 -16
- package/docs/zh/intlayer_with_vanilla.md +506 -0
- package/package.json +8 -8
- package/src/doc.ts +4 -1
- package/src/generated/docs.entry.ts +60 -0
- package/docs/ar/bundle_optimization.md +0 -185
- package/docs/de/bundle_optimization.md +0 -195
- package/docs/en-GB/bundle_optimization.md +0 -184
- package/docs/es/bundle_optimization.md +0 -194
- package/docs/fr/bundle_optimization.md +0 -184
- package/docs/hi/bundle_optimization.md +0 -185
- package/docs/id/bundle_optimization.md +0 -185
- package/docs/it/bundle_optimization.md +0 -185
- package/docs/ja/bundle_optimization.md +0 -185
- package/docs/ko/bundle_optimization.md +0 -185
- package/docs/pl/bundle_optimization.md +0 -185
- package/docs/pt/bundle_optimization.md +0 -184
- package/docs/ru/bundle_optimization.md +0 -185
- package/docs/tr/bundle_optimization.md +0 -184
- package/docs/uk/bundle_optimization.md +0 -186
- package/docs/vi/bundle_optimization.md +0 -185
- package/docs/zh/bundle_optimization.md +0 -185
package/dist/cjs/doc.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc.cjs","names":["getKeys","docsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/doc.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"doc.cjs","names":["getKeys","docsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/doc.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { docsEntry } from './generated/docs.entry';\n\nexport type DocKey = keyof typeof docsEntry;\nexport type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;\nexport type DocMetadata = FileMetadata;\n\nexport const getDocsKeys = (): (keyof typeof docsEntry)[] => getKeys(docsEntry);\n\nexport const getDocs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, string>> => await getFiles(docsEntry, locale);\n\nexport const getDoc = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof docsEntry,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(docsEntry, docName, locale);\n\nexport const getDocMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, FileMetadata>> =>\n await getFileMetadataRecord(docsEntry, locale);\n\nexport const getDocMetadata = async <\n D extends DocKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(docsEntry, docName, locale);\n\nexport const getDocMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(docsEntry, slugs, locale, strict);\n\nexport const getDocBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(docsEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,oBAAgDA,uBAAQC,uCAAU;AAE/E,MAAa,UAAU,OACrB,SAAYC,iCACwB,MAAMC,wBAASF,wCAAW,OAAO;AAEvE,MAAa,SAAS,OACpB,SACA,SAAYC,iCACQ,MAAME,uBAAQH,wCAAW,SAAS,OAAO;AAE/D,MAAa,uBAAuB,OAGlC,SAAYC,iCAEZ,MAAMG,qCAAsBJ,wCAAW,OAAO;AAEhD,MAAa,iBAAiB,OAI5B,SACA,SAAYC,iCACc,MAAMI,+BAAgBL,wCAAW,SAAS,OAAO;AAE7E,MAAa,uBAAuB,OAGlC,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMK,qCAAsBN,wCAAW,OAAO,QAAQ,OAAO;AAE/D,MAAa,eAAe,OAC1B,OACA,SAAYC,8BACZ,SAAS,UACa,MAAMM,6BAAcP,wCAAW,OAAO,QAAQ,OAAO"}
|
|
@@ -466,6 +466,26 @@ const docsEntry = {
|
|
|
466
466
|
vi: readLocale("cli/sdk.md", "vi"),
|
|
467
467
|
uk: readLocale("cli/sdk.md", "uk")
|
|
468
468
|
},
|
|
469
|
+
"./docs/en/cli/standalone.md": {
|
|
470
|
+
en: readLocale("cli/standalone.md", "en"),
|
|
471
|
+
ru: readLocale("cli/standalone.md", "ru"),
|
|
472
|
+
ja: readLocale("cli/standalone.md", "ja"),
|
|
473
|
+
fr: readLocale("cli/standalone.md", "fr"),
|
|
474
|
+
ko: readLocale("cli/standalone.md", "ko"),
|
|
475
|
+
zh: readLocale("cli/standalone.md", "zh"),
|
|
476
|
+
es: readLocale("cli/standalone.md", "es"),
|
|
477
|
+
de: readLocale("cli/standalone.md", "de"),
|
|
478
|
+
ar: readLocale("cli/standalone.md", "ar"),
|
|
479
|
+
it: readLocale("cli/standalone.md", "it"),
|
|
480
|
+
"en-GB": readLocale("cli/standalone.md", "en-GB"),
|
|
481
|
+
pt: readLocale("cli/standalone.md", "pt"),
|
|
482
|
+
hi: readLocale("cli/standalone.md", "hi"),
|
|
483
|
+
tr: readLocale("cli/standalone.md", "tr"),
|
|
484
|
+
pl: readLocale("cli/standalone.md", "pl"),
|
|
485
|
+
id: readLocale("cli/standalone.md", "id"),
|
|
486
|
+
vi: readLocale("cli/standalone.md", "vi"),
|
|
487
|
+
uk: readLocale("cli/standalone.md", "uk")
|
|
488
|
+
},
|
|
469
489
|
"./docs/en/cli/test.md": {
|
|
470
490
|
en: readLocale("cli/test.md", "en"),
|
|
471
491
|
ru: readLocale("cli/test.md", "ru"),
|
|
@@ -586,6 +606,26 @@ const docsEntry = {
|
|
|
586
606
|
vi: readLocale("configuration.md", "vi"),
|
|
587
607
|
uk: readLocale("configuration.md", "uk")
|
|
588
608
|
},
|
|
609
|
+
"./docs/en/custom_domains.md": {
|
|
610
|
+
en: readLocale("custom_domains.md", "en"),
|
|
611
|
+
ru: readLocale("custom_domains.md", "ru"),
|
|
612
|
+
ja: readLocale("custom_domains.md", "ja"),
|
|
613
|
+
fr: readLocale("custom_domains.md", "fr"),
|
|
614
|
+
ko: readLocale("custom_domains.md", "ko"),
|
|
615
|
+
zh: readLocale("custom_domains.md", "zh"),
|
|
616
|
+
es: readLocale("custom_domains.md", "es"),
|
|
617
|
+
de: readLocale("custom_domains.md", "de"),
|
|
618
|
+
ar: readLocale("custom_domains.md", "ar"),
|
|
619
|
+
it: readLocale("custom_domains.md", "it"),
|
|
620
|
+
"en-GB": readLocale("custom_domains.md", "en-GB"),
|
|
621
|
+
pt: readLocale("custom_domains.md", "pt"),
|
|
622
|
+
hi: readLocale("custom_domains.md", "hi"),
|
|
623
|
+
tr: readLocale("custom_domains.md", "tr"),
|
|
624
|
+
pl: readLocale("custom_domains.md", "pl"),
|
|
625
|
+
id: readLocale("custom_domains.md", "id"),
|
|
626
|
+
vi: readLocale("custom_domains.md", "vi"),
|
|
627
|
+
uk: readLocale("custom_domains.md", "uk")
|
|
628
|
+
},
|
|
589
629
|
"./docs/en/custom_url_rewrites.md": {
|
|
590
630
|
en: readLocale("custom_url_rewrites.md", "en"),
|
|
591
631
|
ru: readLocale("custom_url_rewrites.md", "ru"),
|
|
@@ -1466,6 +1506,26 @@ const docsEntry = {
|
|
|
1466
1506
|
vi: readLocale("intlayer_with_tanstack.md", "vi"),
|
|
1467
1507
|
uk: readLocale("intlayer_with_tanstack.md", "uk")
|
|
1468
1508
|
},
|
|
1509
|
+
"./docs/en/intlayer_with_vanilla.md": {
|
|
1510
|
+
en: readLocale("intlayer_with_vanilla.md", "en"),
|
|
1511
|
+
ru: readLocale("intlayer_with_vanilla.md", "ru"),
|
|
1512
|
+
ja: readLocale("intlayer_with_vanilla.md", "ja"),
|
|
1513
|
+
fr: readLocale("intlayer_with_vanilla.md", "fr"),
|
|
1514
|
+
ko: readLocale("intlayer_with_vanilla.md", "ko"),
|
|
1515
|
+
zh: readLocale("intlayer_with_vanilla.md", "zh"),
|
|
1516
|
+
es: readLocale("intlayer_with_vanilla.md", "es"),
|
|
1517
|
+
de: readLocale("intlayer_with_vanilla.md", "de"),
|
|
1518
|
+
ar: readLocale("intlayer_with_vanilla.md", "ar"),
|
|
1519
|
+
it: readLocale("intlayer_with_vanilla.md", "it"),
|
|
1520
|
+
"en-GB": readLocale("intlayer_with_vanilla.md", "en-GB"),
|
|
1521
|
+
pt: readLocale("intlayer_with_vanilla.md", "pt"),
|
|
1522
|
+
hi: readLocale("intlayer_with_vanilla.md", "hi"),
|
|
1523
|
+
tr: readLocale("intlayer_with_vanilla.md", "tr"),
|
|
1524
|
+
pl: readLocale("intlayer_with_vanilla.md", "pl"),
|
|
1525
|
+
id: readLocale("intlayer_with_vanilla.md", "id"),
|
|
1526
|
+
vi: readLocale("intlayer_with_vanilla.md", "vi"),
|
|
1527
|
+
uk: readLocale("intlayer_with_vanilla.md", "uk")
|
|
1528
|
+
},
|
|
1469
1529
|
"./docs/en/intlayer_with_vite+lit.md": {
|
|
1470
1530
|
en: readLocale("intlayer_with_vite+lit.md", "en"),
|
|
1471
1531
|
ru: readLocale("intlayer_with_vite+lit.md", "ru"),
|