@intlayer/docs 7.5.9 → 7.5.11

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.
Files changed (196) hide show
  1. package/README.md +9 -2
  2. package/dist/cjs/generated/docs.entry.cjs +57 -0
  3. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  4. package/dist/esm/generated/docs.entry.mjs +57 -0
  5. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  6. package/dist/types/generated/docs.entry.d.ts +3 -0
  7. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  8. package/docs/ar/cli/ci.md +137 -0
  9. package/docs/ar/cli/index.md +7 -1
  10. package/docs/ar/cli/list.md +39 -2
  11. package/docs/ar/cli/list_projects.md +131 -0
  12. package/docs/ar/cli/push.md +1 -1
  13. package/docs/ar/configuration.md +3 -3
  14. package/docs/ar/interest_of_intlayer.md +1 -1
  15. package/docs/ar/intlayer_CMS.md +25 -5
  16. package/docs/ar/intlayer_with_express.md +1 -0
  17. package/docs/ar/intlayer_with_fastify.md +516 -0
  18. package/docs/ar/readme.md +1 -1
  19. package/docs/de/cli/ci.md +137 -0
  20. package/docs/de/cli/index.md +7 -1
  21. package/docs/de/cli/list.md +39 -2
  22. package/docs/de/cli/list_projects.md +130 -0
  23. package/docs/de/cli/push.md +1 -1
  24. package/docs/de/configuration.md +3 -3
  25. package/docs/de/interest_of_intlayer.md +1 -1
  26. package/docs/de/intlayer_CMS.md +25 -5
  27. package/docs/de/intlayer_with_express.md +1 -0
  28. package/docs/de/intlayer_with_fastify.md +449 -0
  29. package/docs/de/readme.md +1 -1
  30. package/docs/en/cli/ci.md +137 -0
  31. package/docs/en/cli/index.md +14 -1
  32. package/docs/en/cli/list.md +39 -2
  33. package/docs/en/cli/list_projects.md +128 -0
  34. package/docs/en/cli/push.md +1 -1
  35. package/docs/en/configuration.md +3 -3
  36. package/docs/en/interest_of_intlayer.md +2 -2
  37. package/docs/en/intlayer_CMS.md +25 -5
  38. package/docs/en/intlayer_with_express.md +1 -0
  39. package/docs/en/intlayer_with_fastify.md +439 -0
  40. package/docs/en/readme.md +3 -1
  41. package/docs/en-GB/cli/ci.md +137 -0
  42. package/docs/en-GB/cli/index.md +7 -1
  43. package/docs/en-GB/cli/list.md +39 -2
  44. package/docs/en-GB/cli/list_projects.md +130 -0
  45. package/docs/en-GB/cli/push.md +1 -1
  46. package/docs/en-GB/configuration.md +3 -3
  47. package/docs/en-GB/interest_of_intlayer.md +1 -1
  48. package/docs/en-GB/intlayer_CMS.md +25 -5
  49. package/docs/en-GB/intlayer_with_express.md +1 -0
  50. package/docs/en-GB/intlayer_with_fastify.md +445 -0
  51. package/docs/en-GB/readme.md +3 -1
  52. package/docs/es/cli/ci.md +137 -0
  53. package/docs/es/cli/index.md +7 -1
  54. package/docs/es/cli/list.md +39 -2
  55. package/docs/es/cli/list_projects.md +130 -0
  56. package/docs/es/cli/push.md +1 -1
  57. package/docs/es/configuration.md +3 -3
  58. package/docs/es/interest_of_intlayer.md +1 -1
  59. package/docs/es/intlayer_CMS.md +25 -5
  60. package/docs/es/intlayer_with_express.md +1 -0
  61. package/docs/es/intlayer_with_fastify.md +480 -0
  62. package/docs/es/readme.md +1 -1
  63. package/docs/fr/cli/ci.md +137 -0
  64. package/docs/fr/cli/index.md +7 -1
  65. package/docs/fr/cli/list.md +39 -2
  66. package/docs/fr/cli/list_projects.md +131 -0
  67. package/docs/fr/cli/push.md +1 -1
  68. package/docs/fr/configuration.md +3 -3
  69. package/docs/fr/interest_of_intlayer.md +1 -1
  70. package/docs/fr/intlayer_CMS.md +25 -5
  71. package/docs/fr/intlayer_with_express.md +1 -0
  72. package/docs/fr/intlayer_with_fastify.md +439 -0
  73. package/docs/fr/readme.md +1 -1
  74. package/docs/hi/cli/ci.md +137 -0
  75. package/docs/hi/cli/index.md +7 -1
  76. package/docs/hi/cli/list.md +38 -1
  77. package/docs/hi/cli/list_projects.md +130 -0
  78. package/docs/hi/cli/push.md +1 -1
  79. package/docs/hi/configuration.md +3 -3
  80. package/docs/hi/interest_of_intlayer.md +1 -1
  81. package/docs/hi/intlayer_CMS.md +25 -5
  82. package/docs/hi/intlayer_with_express.md +1 -0
  83. package/docs/hi/intlayer_with_fastify.md +540 -0
  84. package/docs/hi/readme.md +1 -1
  85. package/docs/id/cli/ci.md +137 -0
  86. package/docs/id/cli/index.md +7 -1
  87. package/docs/id/cli/list.md +38 -1
  88. package/docs/id/cli/list_projects.md +128 -0
  89. package/docs/id/cli/push.md +1 -1
  90. package/docs/id/configuration.md +3 -3
  91. package/docs/id/interest_of_intlayer.md +1 -1
  92. package/docs/id/intlayer_CMS.md +25 -5
  93. package/docs/id/intlayer_with_express.md +1 -0
  94. package/docs/id/intlayer_with_fastify.md +470 -0
  95. package/docs/id/readme.md +1 -1
  96. package/docs/it/cli/ci.md +137 -0
  97. package/docs/it/cli/index.md +7 -1
  98. package/docs/it/cli/list.md +39 -2
  99. package/docs/it/cli/list_projects.md +130 -0
  100. package/docs/it/cli/push.md +1 -1
  101. package/docs/it/configuration.md +3 -3
  102. package/docs/it/interest_of_intlayer.md +1 -1
  103. package/docs/it/intlayer_CMS.md +25 -5
  104. package/docs/it/intlayer_with_express.md +1 -0
  105. package/docs/it/intlayer_with_fastify.md +445 -0
  106. package/docs/it/readme.md +1 -1
  107. package/docs/ja/cli/ci.md +137 -0
  108. package/docs/ja/cli/index.md +7 -1
  109. package/docs/ja/cli/list.md +38 -1
  110. package/docs/ja/cli/list_projects.md +136 -0
  111. package/docs/ja/cli/push.md +1 -1
  112. package/docs/ja/configuration.md +3 -3
  113. package/docs/ja/interest_of_intlayer.md +1 -1
  114. package/docs/ja/intlayer_CMS.md +25 -5
  115. package/docs/ja/intlayer_with_express.md +1 -0
  116. package/docs/ja/intlayer_with_fastify.md +516 -0
  117. package/docs/ja/readme.md +1 -1
  118. package/docs/ko/cli/ci.md +137 -0
  119. package/docs/ko/cli/index.md +7 -1
  120. package/docs/ko/cli/list.md +38 -1
  121. package/docs/ko/cli/list_projects.md +128 -0
  122. package/docs/ko/cli/push.md +1 -1
  123. package/docs/ko/configuration.md +3 -3
  124. package/docs/ko/interest_of_intlayer.md +1 -1
  125. package/docs/ko/intlayer_CMS.md +25 -5
  126. package/docs/ko/intlayer_with_express.md +1 -0
  127. package/docs/ko/intlayer_with_fastify.md +463 -0
  128. package/docs/ko/readme.md +1 -1
  129. package/docs/pl/cli/ci.md +137 -0
  130. package/docs/pl/cli/index.md +7 -1
  131. package/docs/pl/cli/list.md +39 -2
  132. package/docs/pl/cli/list_projects.md +130 -0
  133. package/docs/pl/cli/push.md +1 -1
  134. package/docs/pl/configuration.md +3 -3
  135. package/docs/pl/interest_of_intlayer.md +1 -1
  136. package/docs/pl/intlayer_CMS.md +25 -5
  137. package/docs/pl/intlayer_with_express.md +1 -0
  138. package/docs/pl/intlayer_with_fastify.md +457 -0
  139. package/docs/pl/readme.md +1 -1
  140. package/docs/pt/cli/ci.md +137 -0
  141. package/docs/pt/cli/index.md +7 -1
  142. package/docs/pt/cli/list.md +39 -2
  143. package/docs/pt/cli/list_projects.md +134 -0
  144. package/docs/pt/cli/push.md +1 -1
  145. package/docs/pt/configuration.md +3 -3
  146. package/docs/pt/interest_of_intlayer.md +1 -1
  147. package/docs/pt/intlayer_CMS.md +25 -5
  148. package/docs/pt/intlayer_with_express.md +1 -0
  149. package/docs/pt/intlayer_with_fastify.md +502 -0
  150. package/docs/pt/readme.md +1 -1
  151. package/docs/ru/cli/ci.md +137 -0
  152. package/docs/ru/cli/index.md +7 -1
  153. package/docs/ru/cli/list.md +39 -2
  154. package/docs/ru/cli/list_projects.md +130 -0
  155. package/docs/ru/cli/push.md +1 -1
  156. package/docs/ru/configuration.md +3 -3
  157. package/docs/ru/interest_of_intlayer.md +1 -1
  158. package/docs/ru/intlayer_CMS.md +25 -5
  159. package/docs/ru/intlayer_with_express.md +1 -0
  160. package/docs/ru/intlayer_with_fastify.md +468 -0
  161. package/docs/ru/readme.md +1 -1
  162. package/docs/tr/cli/ci.md +137 -0
  163. package/docs/tr/cli/index.md +7 -1
  164. package/docs/tr/cli/list.md +39 -2
  165. package/docs/tr/cli/list_projects.md +134 -0
  166. package/docs/tr/cli/push.md +1 -1
  167. package/docs/tr/configuration.md +3 -3
  168. package/docs/tr/interest_of_intlayer.md +1 -1
  169. package/docs/tr/intlayer_CMS.md +25 -5
  170. package/docs/tr/intlayer_with_express.md +1 -0
  171. package/docs/tr/intlayer_with_fastify.md +471 -0
  172. package/docs/tr/readme.md +1 -1
  173. package/docs/vi/cli/ci.md +137 -0
  174. package/docs/vi/cli/index.md +7 -1
  175. package/docs/vi/cli/list.md +38 -1
  176. package/docs/vi/cli/list_projects.md +130 -0
  177. package/docs/vi/cli/push.md +1 -1
  178. package/docs/vi/configuration.md +3 -3
  179. package/docs/vi/interest_of_intlayer.md +1 -1
  180. package/docs/vi/intlayer_CMS.md +25 -5
  181. package/docs/vi/intlayer_with_express.md +1 -0
  182. package/docs/vi/intlayer_with_fastify.md +490 -0
  183. package/docs/vi/readme.md +1 -1
  184. package/docs/zh/cli/ci.md +137 -0
  185. package/docs/zh/cli/index.md +7 -1
  186. package/docs/zh/cli/list.md +38 -1
  187. package/docs/zh/cli/list_projects.md +130 -0
  188. package/docs/zh/cli/push.md +1 -1
  189. package/docs/zh/configuration.md +3 -3
  190. package/docs/zh/interest_of_intlayer.md +1 -1
  191. package/docs/zh/intlayer_CMS.md +25 -5
  192. package/docs/zh/intlayer_with_express.md +1 -0
  193. package/docs/zh/intlayer_with_fastify.md +451 -0
  194. package/docs/zh/readme.md +1 -1
  195. package/package.json +6 -6
  196. package/src/generated/docs.entry.ts +57 -0
@@ -0,0 +1,137 @@
1
+ ---
2
+ createdAt: 2026-01-06
3
+ updatedAt: 2026-01-06
4
+ title: Perintah CI
5
+ description: Pelajari cara menggunakan perintah Intlayer CI untuk menjalankan perintah Intlayer dengan kredensial yang disuntikkan otomatis di pipeline CI/CD dan monorepo.
6
+ keywords:
7
+ - CI
8
+ - CI/CD
9
+ - Otomasi
10
+ - Monorepo
11
+ - Kredensial
12
+ - CLI
13
+ - Intlayer
14
+ slugs:
15
+ - doc
16
+ - concept
17
+ - cli
18
+ - ci
19
+ history:
20
+ - version: 7.5.11
21
+ date: 2026-01-06
22
+ changes: Tambahkan perintah CI
23
+ ---
24
+
25
+ # Perintah CI
26
+
27
+ ```bash
28
+ npx intlayer ci <command...>
29
+ ```
30
+
31
+ Perintah CI dirancang untuk otomasi dan pipeline CI/CD. Perintah ini secara otomatis menyuntikkan kredensial dari variabel lingkungan `INTLAYER_PROJECT_CREDENTIALS` dan dapat menjalankan perintah Intlayer di beberapa proyek dalam monorepo.
32
+
33
+ ## Cara kerja
34
+
35
+ Perintah CI beroperasi dalam dua mode:
36
+
37
+ 1. **Mode Proyek Tunggal**: Jika direktori kerja saat ini cocok dengan salah satu jalur proyek di `INTLAYER_PROJECT_CREDENTIALS`, perintah akan dijalankan hanya untuk proyek spesifik tersebut.
38
+
39
+ 2. **Mode Iterasi**: Jika tidak ada konteks proyek spesifik yang terdeteksi, perintah akan mengiterasi semua proyek yang dikonfigurasi dan menjalankan perintah untuk masing-masing.
40
+
41
+ ## Variabel Lingkungan
42
+
43
+ Perintah memerlukan variabel lingkungan `INTLAYER_PROJECT_CREDENTIALS` untuk disetel. Variabel ini harus berisi objek JSON yang memetakan jalur proyek ke kredensialnya:
44
+
45
+ ```json
46
+ {
47
+ "packages/app": {
48
+ "clientId": "your-client-id-1",
49
+ "clientSecret": "your-client-secret-1"
50
+ },
51
+ "packages/admin": {
52
+ "clientId": "your-client-id-2",
53
+ "clientSecret": "your-client-secret-2"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ## Deteksi Package Manager
59
+
60
+ Perintah CI secara otomatis mendeteksi package manager yang digunakan (npm, yarn, pnpm, atau bun) berdasarkan variabel lingkungan `npm_config_user_agent` dan menggunakan perintah yang sesuai untuk mengeksekusi Intlayer.
61
+
62
+ ## Argumen
63
+
64
+ - **`<command...>`**: Perintah Intlayer yang akan dieksekusi (misalnya, `fill`, `push`, `build`). Anda dapat meneruskan perintah Intlayer apa pun dan argumennya.
65
+
66
+ > Contoh: `npx intlayer ci fill --verbose`
67
+ >
68
+ > Contoh: `npx intlayer ci push`
69
+ >
70
+ > Contoh: `npx intlayer ci build --watch`
71
+
72
+ ## Contoh
73
+
74
+ ### Menjalankan perintah dalam mode proyek tunggal
75
+
76
+ Jika Anda berada di direktori proyek yang cocok dengan salah satu jalur di `INTLAYER_PROJECT_CREDENTIALS`:
77
+
78
+ ```bash
79
+ cd packages/app
80
+ npx intlayer ci fill
81
+ ```
82
+
83
+ Ini akan menjalankan perintah `fill` dengan kredensial yang secara otomatis disuntikkan untuk proyek `packages/app`.
84
+
85
+ ### Menjalankan perintah di semua proyek
86
+
87
+ Jika Anda berada di direktori yang tidak cocok dengan jalur proyek mana pun, perintah akan mengiterasi semua proyek yang dikonfigurasi:
88
+
89
+ ```bash
90
+ cd /path/to/monorepo
91
+ npx intlayer ci push
92
+ ```
93
+
94
+ Ini akan menjalankan perintah `push` untuk setiap proyek yang dikonfigurasi di `INTLAYER_PROJECT_CREDENTIALS`.
95
+
96
+ ### Meneruskan flag tambahan
97
+
98
+ Anda dapat meneruskan flag apa pun ke perintah Intlayer yang mendasarinya:
99
+
100
+ ```bash
101
+ npx intlayer ci fill --verbose --mode complete
102
+ ```
103
+
104
+ ### Menggunakan di pipeline CI/CD
105
+
106
+ Dalam konfigurasi CI/CD Anda (misalnya, GitHub Actions, GitLab CI), setel `INTLAYER_PROJECT_CREDENTIALS` sebagai rahasia:
107
+
108
+ ```yaml
109
+ # Contoh GitHub Actions
110
+ env:
111
+ INTLAYER_PROJECT_CREDENTIALS: ${{ secrets.INTLAYER_PROJECT_CREDENTIALS }}
112
+
113
+ steps:
114
+ - name: Isi kamus
115
+ run: npx intlayer ci fill
116
+ ```
117
+
118
+ ## Penanganan Kesalahan
119
+
120
+ - Jika `INTLAYER_PROJECT_CREDENTIALS` tidak disetel, perintah akan keluar dengan kesalahan.
121
+ - Jika `INTLAYER_PROJECT_CREDENTIALS` bukan JSON yang valid, perintah akan keluar dengan kesalahan.
122
+ - Jika jalur proyek tidak ada, akan dilewati dengan peringatan.
123
+ - Jika proyek mana pun gagal, perintah akan keluar dengan kode status bukan nol.
124
+
125
+ ## Kasus Penggunaan
126
+
127
+ - **Otomasi monorepo**: Menjalankan perintah Intlayer di beberapa proyek dalam monorepo
128
+ - **Pipeline CI/CD**: Mengotomatisasi manajemen kamus dalam alur kerja integrasi berkelanjutan
129
+ - **Operasi massal**: Melakukan operasi yang sama pada beberapa proyek Intlayer sekaligus
130
+ - **Manajemen rahasia**: Mengelola kredensial dengan aman untuk beberapa proyek menggunakan variabel lingkungan
131
+
132
+ ## Praktik Keamanan Terbaik
133
+
134
+ - Simpan `INTLAYER_PROJECT_CREDENTIALS` sebagai rahasia terenkripsi di platform CI/CD Anda
135
+ - Jangan pernah melakukan commit kredensial ke kontrol versi
136
+ - Gunakan kredensial khusus lingkungan untuk berbagai lingkungan deployment
137
+ - Putar kredensial secara teratur
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2024-08-11
3
- updatedAt: 2025-12-30
3
+ updatedAt: 2026-01-06
4
4
  title: CLI
5
5
  description: Temukan cara menggunakan Intlayer CLI untuk mengelola situs web multibahasa Anda. Ikuti langkah-langkah dalam dokumentasi daring ini untuk mengatur proyek Anda dalam beberapa menit.
6
6
  keywords:
@@ -17,6 +17,9 @@ slugs:
17
17
  - concept
18
18
  - cli
19
19
  history:
20
+ - version: 7.5.11
21
+ date: 2026-01-06
22
+ changes: Menambahkan perintah projects list
20
23
  - version: 7.5.9
21
24
  date: 2025-12-30
22
25
  changes: Menambahkan perintah init
@@ -119,6 +122,7 @@ Untuk melihat cara mengonfigurasi locale yang tersedia, atau parameter lainnya,
119
122
  - **[Bangun Kamus](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/cli/build.md)** - Bangun kamus Anda dari file deklarasi konten
120
123
  - **[Pantau Kamus](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/cli/watch.md)** - Pantau perubahan dan bangun kamus secara otomatis
121
124
  - **[Periksa Versi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/cli/version.md)** - Periksa versi Intlayer CLI yang terpasang
125
+ - **[Daftar Proyek](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/cli/list_projects.md)** - Daftar semua proyek Intlayer dalam direktori atau repositori git
122
126
 
123
127
  ### Manajemen Kamus
124
128
 
@@ -166,6 +170,7 @@ Untuk melihat cara mengonfigurasi locale yang tersedia, atau parameter lainnya,
166
170
  "intlayer:list": "npx intlayer content list",
167
171
  "intlayer:test": "npx intlayer content test",
168
172
  "intlayer:transform": "npx intlayer transform",
173
+ "intlayer:projects": "npx intlayer projects list",
169
174
  "intlayer:doc:translate": "npx intlayer doc translate",
170
175
  "intlayer:doc:review": "npx intlayer doc review"
171
176
  }
@@ -175,3 +180,4 @@ Untuk melihat cara mengonfigurasi locale yang tersedia, atau parameter lainnya,
175
180
  >
176
181
  > - `npx intlayer list` sebagai pengganti `npx intlayer content list`
177
182
  > - `npx intlayer test` sebagai pengganti `npx intlayer content test`
183
+ > - `npx intlayer projects-list` atau `npx intlayer pl` sebagai pengganti `npx intlayer projects list`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2024-08-11
3
- updatedAt: 2025-11-22
3
+ updatedAt: 2026-01-06
4
4
  title: Daftar File Deklarasi Konten
5
5
  description: Pelajari cara mendaftar semua file deklarasi konten dalam proyek Anda.
6
6
  keywords:
@@ -13,6 +13,13 @@ slugs:
13
13
  - concept
14
14
  - cli
15
15
  - list
16
+ history:
17
+ - version: 7.5.12
18
+ date: 2026-01-06
19
+ changes: Menambahkan opsi output absolut ke perintah list
20
+ - version: 7.5.11
21
+ date: 2026-01-06
22
+ changes: Menambahkan opsi output JSON ke perintah list
16
23
  ---
17
24
 
18
25
  # Daftar file deklarasi konten
@@ -27,14 +34,36 @@ npx intlayer content list
27
34
 
28
35
  Perintah ini menampilkan semua file deklarasi konten dalam proyek Anda, menunjukkan kunci kamus dan jalur file mereka. Ini berguna untuk mendapatkan gambaran semua file konten Anda dan memverifikasi bahwa mereka ditemukan dengan benar oleh Intlayer.
29
36
 
37
+ ## Argumen:
38
+
39
+ - **`--json`**: Menampilkan hasil sebagai JSON alih-alih teks yang diformat. Berguna untuk scripting dan akses programatik.
40
+
41
+ > Contoh: `npx intlayer content list --json`
42
+
30
43
  ## Contoh:
31
44
 
45
+ ### Daftar file deklarasi konten:
46
+
32
47
  ```bash
33
48
  npx intlayer content list
34
49
  ```
35
50
 
51
+ ### Output sebagai JSON:
52
+
53
+ ```bash
54
+ npx intlayer content list --json
55
+ ```
56
+
57
+ ### Output sebagai jalur absolut:
58
+
59
+ ```bash
60
+ npx intlayer content list --absolute
61
+ ```
62
+
36
63
  ## Contoh output:
37
64
 
65
+ ### Output yang diformat:
66
+
38
67
  ```bash
39
68
  npx intlayer content list
40
69
  Content declaration files:
@@ -45,6 +74,14 @@ Content declaration files:
45
74
  Total file deklarasi konten: 3
46
75
  ```
47
76
 
77
+ ### Output JSON:
78
+
79
+ ```bash
80
+ $ npx intlayer content list --json
81
+
82
+ [{"key":"home-page","path":"src/components/HomePage/homePage.content.ts"},{"key":"server-component","path":"src/components/ServerComponent/serverComponent.content.ts"},{"key":"client-component","path":"src/components/ClientComponent/clientComponent.content.ts"}]
83
+ ```
84
+
48
85
  Perintah ini akan menampilkan:
49
86
 
50
87
  - Daftar terformat dari semua file deklarasi konten dengan kunci dan jalur file relatifnya
@@ -0,0 +1,128 @@
1
+ ---
2
+ createdAt: 2025-12-30
3
+ updatedAt: 2026-01-06
4
+ title: Daftar Proyek Intlayer
5
+ description: Pelajari cara mendaftarkan semua proyek Intlayer di sebuah direktori atau repositori git.
6
+ keywords:
7
+ - Daftar
8
+ - Proyek
9
+ - CLI
10
+ - Intlayer
11
+ - Git
12
+ slugs:
13
+ - doc
14
+ - concept
15
+ - cli
16
+ - list-projects
17
+ history:
18
+ - version: 7.5.12
19
+ date: 2026-01-06
20
+ changes: Tambahkan opsi output absolut ke perintah list projects
21
+ ---
22
+
23
+ # Daftar Proyek Intlayer
24
+
25
+ ```bash
26
+ npx intlayer projects list
27
+ ```
28
+
29
+ Perintah ini mencari dan menampilkan semua proyek Intlayer dengan menemukan direktori yang berisi berkas konfigurasi Intlayer. Ini berguna untuk menemukan semua proyek Intlayer dalam monorepo, workspace, atau repositori git.
30
+
31
+ ## Alias:
32
+
33
+ - `npx intlayer projects-list`
34
+ - `npx intlayer pl`
35
+
36
+ ## Argumen:
37
+
38
+ - **`--base-dir [path]`**: Tentukan direktori dasar untuk memulai pencarian. Secara default adalah direktori kerja saat ini.
39
+
40
+ > Contoh: `npx intlayer projects list --base-dir /path/to/workspace`
41
+
42
+ - **`--git-root`**: Cari dari direktori root git alih-alih direktori dasar. Ini berguna untuk menemukan semua proyek Intlayer dalam monorepo atau repositori git.
43
+
44
+ > Contoh: `npx intlayer projects list --git-root`
45
+
46
+ - **`--json`**: Menampilkan hasil sebagai JSON alih-alih teks yang diformat. Berguna untuk scripting dan akses programatik.
47
+
48
+ > Contoh: `npx intlayer projects list --json`
49
+
50
+ - **`--absolute`**: Menampilkan hasil sebagai jalur absolut alih-alih jalur relatif.
51
+
52
+ > Contoh: `npx intlayer projects list --absolute`
53
+
54
+ ## Cara kerjanya:
55
+
56
+ Perintah ini mencari berkas konfigurasi Intlayer di direktori yang ditentukan (atau root git jika `--git-root` digunakan). Ia mencari pola berkas konfigurasi berikut:
57
+
58
+ - `intlayer.config.ts`
59
+ - `intlayer.config.js`
60
+ - `intlayer.config.json`
61
+ - `intlayer.config.cjs`
62
+ - `intlayer.config.mjs`
63
+ - `.intlayerrc`
64
+
65
+ Setiap direktori yang berisi salah satu berkas ini dianggap sebagai proyek Intlayer dan akan ditampilkan dalam output.
66
+
67
+ ## Contoh:
68
+
69
+ ### Daftar proyek di direktori saat ini:
70
+
71
+ ```bash
72
+ npx intlayer projects list
73
+ ```
74
+
75
+ ### Daftar proyek di direktori tertentu:
76
+
77
+ ```bash
78
+ npx intlayer projects list --base-dir ./packages
79
+ ```
80
+
81
+ ### Daftar semua proyek di repositori git:
82
+
83
+ ```bash
84
+ npx intlayer projects list --git-root
85
+ ```
86
+
87
+ ### Menggunakan alias pintas:
88
+
89
+ ```bash
90
+ npx intlayer pl --git-root
91
+ ```
92
+
93
+ ### Output sebagai JSON:
94
+
95
+ ```bash
96
+ npx intlayer projects list --json
97
+ ```
98
+
99
+ ## Contoh output:
100
+
101
+ ### Output yang diformat:
102
+
103
+ ```bash
104
+ $ npx intlayer projects list --git-root
105
+
106
+ Found 3 Intlayer project(s):
107
+
108
+ - /Users/user/workspace/packages/app
109
+ - /Users/user/workspace/packages/admin
110
+ - /Users/user/workspace/packages/shared
111
+ ```
112
+
113
+ ### Output JSON:
114
+
115
+ ```bash
116
+ $ npx intlayer projects list --json
117
+
118
+ ["/Users/user/workspace/packages/app","/Users/user/workspace/packages/admin","/Users/user/workspace/packages/shared"]
119
+ ```
120
+
121
+ ## Kasus penggunaan:
122
+
123
+ - **Manajemen monorepo**: Temukan semua proyek Intlayer dalam struktur monorepo
124
+ - **Penemuan proyek**: Temukan semua proyek yang mendukung Intlayer di sebuah workspace
125
+ - **CI/CD**: Verifikasi proyek Intlayer dalam alur kerja otomatis
126
+ - **Dokumentasi**: Hasilkan dokumentasi yang mencantumkan semua proyek yang menggunakan Intlayer
127
+
128
+ Keluaran menyediakan jalur absolut ke setiap direktori proyek, sehingga mudah untuk menavigasi atau membuat skrip operasi pada beberapa proyek Intlayer.
@@ -23,7 +23,7 @@ slugs:
23
23
  npx intlayer dictionary push
24
24
  ```
25
25
 
26
- Jika [editor intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/intlayer_visual_editor.md) sudah terpasang, Anda juga dapat mendorong kamus ke editor. Perintah ini akan memungkinkan kamus tersedia di [editor](https://intlayer.org/dashboard). Dengan cara ini, Anda dapat membagikan kamus Anda dengan tim dan mengedit konten tanpa harus mengubah kode aplikasi Anda.
26
+ Jika [editor intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/intlayer_visual_editor.md) sudah terpasang, Anda juga dapat mendorong kamus ke editor. Perintah ini akan memungkinkan kamus tersedia di [editor](https://app.intlayer.org/). Dengan cara ini, Anda dapat membagikan kamus Anda dengan tim dan mengedit konten tanpa harus mengubah kode aplikasi Anda.
27
27
 
28
28
  ## Alias:
29
29
 
@@ -268,14 +268,14 @@ Mendefinisikan pengaturan terkait editor terintegrasi, termasuk port server dan
268
268
  - **clientId**:
269
269
  - _Tipe_: `string` | `undefined`
270
270
  - _Default_: `undefined`
271
- - _Deskripsi_: clientId dan clientSecret memungkinkan paket intlayer untuk melakukan autentikasi dengan backend menggunakan autentikasi oAuth2. Token akses digunakan untuk mengautentikasi pengguna yang terkait dengan proyek. Untuk mendapatkan token akses, kunjungi https://intlayer.org/dashboard/project dan buat akun.
271
+ - _Deskripsi_: clientId dan clientSecret memungkinkan paket intlayer untuk melakukan autentikasi dengan backend menggunakan autentikasi oAuth2. Token akses digunakan untuk mengautentikasi pengguna yang terkait dengan proyek. Untuk mendapatkan token akses, kunjungi https://app.intlayer.org/project dan buat akun.
272
272
  - _Contoh_: `true`
273
273
  - _Catatan_: Penting: clientId dan clientSecret harus dijaga kerahasiaannya dan tidak dibagikan secara publik. Pastikan untuk menyimpannya di lokasi yang aman, seperti variabel lingkungan.
274
274
 
275
275
  - **clientSecret**:
276
276
  - _Tipe_: `string` | `undefined`
277
277
  - _Default_: `undefined`
278
- - _Deskripsi_: clientId dan clientSecret memungkinkan paket intlayer untuk melakukan autentikasi dengan backend menggunakan autentikasi oAuth2. Token akses digunakan untuk mengautentikasi pengguna yang terkait dengan proyek. Untuk mendapatkan token akses, kunjungi https://intlayer.org/dashboard/project dan buat akun.
278
+ - _Deskripsi_: clientId dan clientSecret memungkinkan paket intlayer untuk melakukan autentikasi dengan backend menggunakan autentikasi oAuth2. Token akses digunakan untuk mengautentikasi pengguna yang terkait dengan proyek. Untuk mendapatkan token akses, kunjungi https://app.intlayer.org/project dan buat akun.
279
279
  - _Contoh_: `true`
280
280
  - _Catatan_: Penting: clientId dan clientSecret harus dijaga kerahasiaannya dan tidak dibagikan secara publik. Pastikan untuk menyimpannya di lokasi yang aman, seperti variabel lingkungan.
281
281
 
@@ -607,7 +607,7 @@ Pengaturan yang mengontrol logger, termasuk prefix yang digunakan.
607
607
 
608
608
  Pengaturan yang mengontrol fitur AI dari Intlayer, termasuk provider, model, dan API key.
609
609
 
610
- Konfigurasi ini bersifat opsional jika Anda terdaftar di [Intlayer Dashboard](https://intlayer.org/dashboard/project) menggunakan access key. Intlayer akan secara otomatis mengelola solusi AI yang paling efisien dan hemat biaya untuk kebutuhan Anda. Menggunakan opsi default memastikan pemeliharaan jangka panjang yang lebih baik karena Intlayer terus diperbarui untuk menggunakan model yang paling relevan.
610
+ Konfigurasi ini bersifat opsional jika Anda terdaftar di [Intlayer Dashboard](https://app.intlayer.org/project) menggunakan access key. Intlayer akan secara otomatis mengelola solusi AI yang paling efisien dan hemat biaya untuk kebutuhan Anda. Menggunakan opsi default memastikan pemeliharaan jangka panjang yang lebih baik karena Intlayer terus diperbarui untuk menggunakan model yang paling relevan.
611
611
 
612
612
  Jika Anda lebih memilih menggunakan API key sendiri atau model tertentu, Anda dapat mendefinisikan konfigurasi AI kustom Anda.
613
613
  Konfigurasi AI ini akan digunakan secara global di seluruh lingkungan Intlayer Anda. Perintah CLI akan menggunakan pengaturan ini sebagai default untuk perintah (misalnya `fill`), serta SDK, Visual Editor, dan CMS. Anda dapat menimpa nilai default ini untuk kasus penggunaan tertentu dengan menggunakan parameter perintah.
@@ -228,7 +228,7 @@ Pendekatan ini memungkinkan Anda untuk:
228
228
  | Fitur | Deskripsi |
229
229
  | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
230
230
  | ![Fitur](https://github.com/aymericzip/intlayer/blob/main/docs/assets/frameworks.png?raw=true) | **Dukungan Lintas Framework**<br><br>Intlayer kompatibel dengan semua framework dan pustaka utama, termasuk Next.js, React, Vite, Vue.js, Nuxt, Preact, Express, dan lainnya. |
231
- | ![Feature](https://github.com/aymericzip/intlayer/blob/main/docs/assets/javascript_content_management.png?raw=true) | **Manajemen Konten Berbasis JavaScript**<br><br>Manfaatkan fleksibilitas JavaScript untuk mendefinisikan dan mengelola konten Anda secara efisien. <br><br> - [Deklarasi Konten](https://intlayer.org/doc/concept/content) |
231
+ | ![Feature](https://github.com/aymericzip/intlayer/blob/main/docs/assets/javascript_content_management.jpg?raw=true) | **Manajemen Konten Berbasis JavaScript**<br><br>Manfaatkan fleksibilitas JavaScript untuk mendefinisikan dan mengelola konten Anda secara efisien. <br><br> - [Deklarasi Konten](https://intlayer.org/doc/concept/content) |
232
232
  | ![Fitur](https://github.com/aymericzip/intlayer/blob/main/docs/assets/per_locale_content_declaration_file.png?raw=true) | **File Deklarasi Konten Per-Locale**<br><br>Percepat pengembangan Anda dengan mendeklarasikan konten Anda sekali saja, sebelum auto generation.<br><br> - [File Deklarasi Konten Per-Locale](https://intlayer.org/doc/concept/per-locale-file) |
233
233
  | ![Fitur](https://github.com/aymericzip/intlayer/blob/main/docs/assets/autocompletion.png?raw=true) | **Lingkungan Aman-Tipe**<br><br>Manfaatkan TypeScript untuk memastikan definisi konten dan kode Anda bebas dari kesalahan, sekaligus mendapatkan keuntungan dari autocompletion di IDE.<br><br> - [Konfigurasi TypeScript](https://intlayer.org/doc/environment/vite-and-react#configure-typescript) |
234
234
  | ![Fitur](https://github.com/aymericzip/intlayer/blob/main/docs/assets/config_file.png?raw=true) | **Pengaturan yang Disederhanakan**<br><br>Mulai dengan cepat menggunakan konfigurasi minimal. Sesuaikan pengaturan untuk internasionalisasi, routing, AI, build, dan penanganan konten dengan mudah. <br><br> - [Jelajahi integrasi Next.js](https://intlayer.org/doc/environment/nextjs) |
@@ -77,6 +77,26 @@ Untuk integrasi dengan Vite + React, lihat [panduan pengaturan](https://github.c
77
77
 
78
78
  ## Konfigurasi
79
79
 
80
+ Jalankan perintah berikut untuk masuk ke Intlayer CMS:
81
+
82
+ ```bash packageManager="npm"
83
+ npx intlayer login
84
+ ```
85
+
86
+ ```bash packageManager="yarn"
87
+ yarn intlayer login
88
+ ```
89
+
90
+ ```bash packageManager="pnpm"
91
+ pnpm intlayer login
92
+ ```
93
+
94
+ ```bash packageManager="bun"
95
+ bunx intlayer login
96
+ ```
97
+
98
+ Ini akan membuka browser default Anda untuk menyelesaikan proses autentikasi dan menerima kredensial yang diperlukan (Client ID dan Client Secret) untuk menggunakan layanan Intlayer.
99
+
80
100
  Dalam file konfigurasi Intlayer Anda, Anda dapat menyesuaikan pengaturan CMS:
81
101
 
82
102
  ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
@@ -98,7 +118,7 @@ const config: IntlayerConfig = {
98
118
  *
99
119
  * Client ID dan client secret diperlukan untuk mengaktifkan editor.
100
120
  * Mereka memungkinkan identifikasi pengguna yang sedang mengedit konten.
101
- * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://intlayer.org/dashboard/projects).
121
+ * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://app.intlayer.org/projects).
102
122
  * clientId: process.env.INTLAYER_CLIENT_ID,
103
123
  * clientSecret: process.env.INTLAYER_CLIENT_SECRET,
104
124
  */
@@ -148,7 +168,7 @@ const config = {
148
168
  *
149
169
  * Client ID dan client secret diperlukan untuk mengaktifkan editor.
150
170
  * Mereka memungkinkan identifikasi pengguna yang sedang mengedit konten.
151
- * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://intlayer.org/dashboard/projects).
171
+ * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://app.intlayer.org/projects).
152
172
  * clientId: process.env.INTLAYER_CLIENT_ID,
153
173
  * clientSecret: process.env.INTLAYER_CLIENT_SECRET,
154
174
  */
@@ -198,7 +218,7 @@ const config = {
198
218
  *
199
219
  * Client ID dan client secret diperlukan untuk mengaktifkan editor.
200
220
  * Mereka memungkinkan identifikasi pengguna yang sedang mengedit konten.
201
- * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://intlayer.org/dashboard/projects).
221
+ * Mereka dapat diperoleh dengan membuat client baru di Intlayer Dashboard - Projects (https://app.intlayer.org/projects).
202
222
  * clientId: process.env.INTLAYER_CLIENT_ID,
203
223
  * clientSecret: process.env.INTLAYER_CLIENT_SECRET,
204
224
  */
@@ -230,7 +250,7 @@ const config = {
230
250
  module.exports = config;
231
251
  ```
232
252
 
233
- > Jika Anda belum memiliki client ID dan client secret, Anda dapat memperolehnya dengan membuat client baru di [Intlayer Dashboard - Projects](https://intlayer.org/dashboard/projects).
253
+ > Jika Anda belum memiliki client ID dan client secret, Anda dapat memperolehnya dengan membuat client baru di [Intlayer Dashboard - Projects](https://app.intlayer.org/projects).
234
254
 
235
255
  > Untuk melihat semua parameter yang tersedia, lihat [dokumentasi konfigurasi](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/configuration.md).
236
256
 
@@ -270,7 +290,7 @@ Perintah ini mengunggah kamus konten awal Anda, sehingga tersedia untuk pengambi
270
290
 
271
291
  ### Edit kamus
272
292
 
273
- Kemudian Anda akan dapat melihat dan mengelola kamus Anda di [Intlayer CMS](https://intlayer.org/dashboard/content).
293
+ Kemudian Anda akan dapat melihat dan mengelola kamus Anda di [Intlayer CMS](https://app.intlayer.org/content).
274
294
 
275
295
  ## Sinkronisasi langsung
276
296
 
@@ -14,6 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - express
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-express-template
17
18
  history:
18
19
  - version: 7.5.9
19
20
  date: 2025-12-30