indraq_cli 2.7.0 → 2.7.3

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 (84) hide show
  1. package/cloud-api/cloud-ts-errors.txt +454 -0
  2. package/cloud-api/dist/index.js +69 -0
  3. package/cloud-api/package.json +1 -1
  4. package/cloud-api/src/index.ts +42 -0
  5. package/dist/cli/help-content.d.ts.map +1 -1
  6. package/dist/cli/help-content.js +9 -6
  7. package/dist/cli/help-content.js.map +1 -1
  8. package/dist/modules/cloud/commands/cloud.command.d.ts.map +1 -1
  9. package/dist/modules/cloud/commands/cloud.command.js +12 -2
  10. package/dist/modules/cloud/commands/cloud.command.js.map +1 -1
  11. package/dist/modules/mobile/commands/build-mobile.command.d.ts +1 -0
  12. package/dist/modules/mobile/commands/build-mobile.command.d.ts.map +1 -1
  13. package/dist/modules/mobile/commands/build-mobile.command.js +39 -21
  14. package/dist/modules/mobile/commands/build-mobile.command.js.map +1 -1
  15. package/dist/modules/mobile/commands/combined-mobile-setup.command.d.ts +5 -0
  16. package/dist/modules/mobile/commands/combined-mobile-setup.command.d.ts.map +1 -0
  17. package/dist/modules/mobile/commands/combined-mobile-setup.command.js +34 -0
  18. package/dist/modules/mobile/commands/combined-mobile-setup.command.js.map +1 -0
  19. package/dist/modules/mobile/commands/configure-mobile.command.d.ts.map +1 -1
  20. package/dist/modules/mobile/commands/configure-mobile.command.js +2 -1
  21. package/dist/modules/mobile/commands/configure-mobile.command.js.map +1 -1
  22. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts +15 -0
  23. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts.map +1 -0
  24. package/dist/modules/mobile/commands/mobile-build-wizard.command.js +134 -0
  25. package/dist/modules/mobile/commands/mobile-build-wizard.command.js.map +1 -0
  26. package/dist/modules/mobile/commands/mobile-environment.command.d.ts.map +1 -1
  27. package/dist/modules/mobile/commands/mobile-environment.command.js +4 -6
  28. package/dist/modules/mobile/commands/mobile-environment.command.js.map +1 -1
  29. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts +2 -0
  30. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts.map +1 -1
  31. package/dist/modules/mobile/commands/mobile-prebuild.command.js +8 -5
  32. package/dist/modules/mobile/commands/mobile-prebuild.command.js.map +1 -1
  33. package/dist/modules/mobile/commands/ota.command.d.ts +1 -0
  34. package/dist/modules/mobile/commands/ota.command.d.ts.map +1 -1
  35. package/dist/modules/mobile/commands/ota.command.js +37 -1
  36. package/dist/modules/mobile/commands/ota.command.js.map +1 -1
  37. package/dist/modules/mobile/config/mobile-config.d.ts +1 -0
  38. package/dist/modules/mobile/config/mobile-config.d.ts.map +1 -1
  39. package/dist/modules/mobile/config/mobile-config.js +6 -1
  40. package/dist/modules/mobile/config/mobile-config.js.map +1 -1
  41. package/dist/modules/mobile/index.d.ts.map +1 -1
  42. package/dist/modules/mobile/index.js +18 -1
  43. package/dist/modules/mobile/index.js.map +1 -1
  44. package/dist/modules/mobile/services/expo-app-json.service.d.ts +10 -0
  45. package/dist/modules/mobile/services/expo-app-json.service.d.ts.map +1 -0
  46. package/dist/modules/mobile/services/expo-app-json.service.js +154 -0
  47. package/dist/modules/mobile/services/expo-app-json.service.js.map +1 -0
  48. package/dist/modules/mobile/services/ota-setup.service.d.ts.map +1 -1
  49. package/dist/modules/mobile/services/ota-setup.service.js +4 -3
  50. package/dist/modules/mobile/services/ota-setup.service.js.map +1 -1
  51. package/dist/modules/mobile/services/version-sync.service.d.ts.map +1 -1
  52. package/dist/modules/mobile/services/version-sync.service.js +3 -2
  53. package/dist/modules/mobile/services/version-sync.service.js.map +1 -1
  54. package/dist/modules/scopes/commands/scope.command.d.ts +2 -0
  55. package/dist/modules/scopes/commands/scope.command.d.ts.map +1 -1
  56. package/dist/modules/scopes/commands/scope.command.js +125 -3
  57. package/dist/modules/scopes/commands/scope.command.js.map +1 -1
  58. package/dist/modules/scopes/index.d.ts.map +1 -1
  59. package/dist/modules/scopes/index.js +1 -0
  60. package/dist/modules/scopes/index.js.map +1 -1
  61. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts +10 -0
  62. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts.map +1 -0
  63. package/dist/modules/scopes/services/native-scope-inspection.service.js +75 -0
  64. package/dist/modules/scopes/services/native-scope-inspection.service.js.map +1 -0
  65. package/dist/modules/scopes/services/scope-native.service.d.ts +2 -0
  66. package/dist/modules/scopes/services/scope-native.service.d.ts.map +1 -1
  67. package/dist/modules/scopes/services/scope-native.service.js +43 -5
  68. package/dist/modules/scopes/services/scope-native.service.js.map +1 -1
  69. package/dist/modules/users/providers/npm-user.provider.d.ts +11 -0
  70. package/dist/modules/users/providers/npm-user.provider.d.ts.map +1 -1
  71. package/dist/modules/users/providers/npm-user.provider.js +16 -1
  72. package/dist/modules/users/providers/npm-user.provider.js.map +1 -1
  73. package/docs/assets/architecture.png +0 -0
  74. package/docs/assets/architecture.svg +123 -0
  75. package/docs/assets/backend-mobile.png +0 -0
  76. package/docs/assets/backend-mobile.svg +97 -0
  77. package/docs/assets/cleanup.png +0 -0
  78. package/docs/assets/cleanup.svg +104 -0
  79. package/docs/assets/setup-flow.png +0 -0
  80. package/docs/assets/setup-flow.svg +95 -0
  81. package/docs/assets/web-deployment.png +0 -0
  82. package/docs/assets/web-deployment.svg +72 -0
  83. package/package.json +12 -6
  84. package/README.md +0 -758
package/README.md DELETED
@@ -1,758 +0,0 @@
1
- # IndraQ CLI v2.7.0
2
-
3
- IndraQ CLI helps our team set up, build and deploy web and mobile apps.
4
-
5
- This guide uses simple steps. Start with the **Developer quick start**.
6
-
7
- ---
8
-
9
- ## New in v2.7.0 (quick guide)
10
-
11
- ### Backend + Mobile App
12
-
13
- `indraq init` and `indraq project create` both offer **Backend + Mobile App**.
14
- The generated project contains `backend/` and `mobile/` folders.
15
-
16
- Run the same command from different folders:
17
-
18
- ```powershell
19
- cd C:\Projects\my-app\backend
20
- indraq prebuild # Docker/GitHub Packages/Jenkins/Route53/NPM
21
-
22
- cd ..\mobile
23
- indraq prebuild # Mobile Jenkins + OTA only
24
- indraq build mobile:dev # Development build
25
- ```
26
-
27
- From the project root, `indraq setup` walks through backend setup first, then mobile setup.
28
- `indraq mobile prebuild --env immortility` always explicitly selects mobile setup.
29
- Mobile build environments are separate from web deployment environments;
30
- a Development mobile environment cannot run a Production build.
31
-
32
- ### Reuse an existing provider resource
33
-
34
- When setting up a component, choose **Link existing** instead of **Create/reconcile**.
35
- You can link existing GitHub container packages, Jenkins deployment jobs, Route53 A records, and NPM proxy hosts.
36
- The CLI confirms the resource exists in the selected scope and saves the association.
37
- A linked resource is not silently overwritten; retain its existing configuration.
38
- Route53 record discovery needs manager/admin access; this is intentional.
39
-
40
- ### Safe permanent deletion
41
-
42
- ```powershell
43
- indraq project delete
44
- ```
45
-
46
- Select only the external resources you want removed; all default to **KEEP**.
47
- The command now offers the exact provider scope when older projects have no scope link,
48
- with MANAGE access required to delete external resources. For old GitHub Packages
49
- scopes missing owner type, the CLI verifies the GitHub owner via GitHub's API
50
- instead of guessing. Deleting a container package removes **all tags**.
51
- Shared Jenkins mobile jobs, certificates, containers, and non-selected resources are not deleted.
52
- If a deletion fails, the Cloud project is kept for retry.
53
-
54
- **Upgrade:** Deploy Cloud API `1.3.0` before using CLI `2.7.0` deletion.
55
- Use `npm install`, `npm run build`, `npm test`, and `npm publish --dry-run`
56
- before publishing. Run the Cloud API build separately inside `cloud-api/`.
57
-
58
- ---
59
-
60
-
61
- # Developer quick start — Web
62
-
63
- ## 1. Login once
64
-
65
- ```powershell
66
- indraq login
67
- ```
68
-
69
- Check your login:
70
-
71
- ```powershell
72
- indraq whoami
73
- ```
74
-
75
- Your login stays saved. You do not need to login before every build or deploy.
76
-
77
- Revoke the persistent Cloud session when you want to sign out.
78
-
79
- To logout and revoke the persistent Cloud session:
80
-
81
- ```powershell
82
- indraq logout
83
- ```
84
-
85
- ---
86
-
87
- ## 2. Open your project folder
88
-
89
- ```powershell
90
- cd C:\Projects\my-app
91
- ```
92
-
93
- If the project is not in IndraQ yet:
94
-
95
- ```powershell
96
- indraq project create
97
- ```
98
-
99
- Choose your project type:
100
-
101
- ```text
102
- Frontend
103
- Backend
104
- Frontend + Backend
105
- User Frontend + Admin Frontend + Backend
106
- Mobile App
107
- ```
108
-
109
- For web projects, choose the server/environment where the app will run.
110
-
111
- Then IndraQ shows **one setup list**:
112
-
113
- ```text
114
- What do you want to configure for this project now?
115
-
116
- [x] Dockerfile(s)
117
- [x] GitHub Packages
118
- [x] Jenkins
119
- [ ] AWS Route53
120
- [ ] Nginx Proxy Manager
121
- ```
122
-
123
- Select what you want. IndraQ only starts the items you selected.
124
-
125
- It does not keep asking:
126
-
127
- ```text
128
- Would you like to configure it now?
129
- ```
130
-
131
- for every item.
132
-
133
- ### What the setup items mean
134
-
135
- | Option | What it does |
136
- |---|---|
137
- | Dockerfile(s) | Creates missing Docker files |
138
- | GitHub Packages | Stores your Docker image at `ghcr.io` |
139
- | Jenkins | Creates/repairs the Jenkins deploy pipeline |
140
- | AWS Route53 | Creates/repairs DNS records |
141
- | Nginx Proxy Manager | Creates/repairs the reverse proxy and SSL |
142
-
143
- For a new Jenkins deployment, select **GitHub Packages + Jenkins** together.
144
-
145
- Route53 and Nginx Proxy Manager run only when you select them.
146
-
147
- ---
148
-
149
- ## 3. Deploy
150
-
151
- ```powershell
152
- indraq deploy
153
- ```
154
-
155
- For a project with more than one part, choose what you want to deploy:
156
-
157
- ```text
158
- All components
159
- Frontend
160
- Backend
161
- Admin frontend
162
- ```
163
-
164
- Enter an image tag, for example:
165
-
166
- ```text
167
- latest
168
- ```
169
-
170
- or:
171
-
172
- ```text
173
- 1.3.0
174
- ```
175
-
176
- IndraQ will:
177
-
178
- 1. Check the project setup.
179
- 2. Check Dockerfiles.
180
- 3. Build the Docker image.
181
- 4. Push the image to GitHub Packages.
182
- 5. Start the Jenkins build.
183
- 6. Show the Jenkins logs in the terminal.
184
- 7. Wait for Jenkins to finish.
185
-
186
- ### If Dockerfile is missing
187
-
188
- You do not need to stop and create it manually.
189
-
190
- `indraq deploy` checks all selected components first.
191
-
192
- If a Dockerfile is missing, it asks once:
193
-
194
- ```text
195
- Generate the missing Dockerfile(s) now? Yes
196
- ```
197
-
198
- Then deploy continues.
199
-
200
- ---
201
-
202
- # Easy guided setup
203
-
204
- If you are not sure which command to use, run:
205
-
206
- ```powershell
207
- indraq setup
208
- ```
209
-
210
- IndraQ will guide you through:
211
-
212
- 1. Login.
213
- 2. Project create/link.
214
- 3. Environment selection.
215
- 4. One setup list.
216
- 5. Only the items you select.
217
-
218
- Use this command for first-time setup or repair.
219
-
220
- ---
221
-
222
- # Prebuild
223
-
224
- Use prebuild when you want to add or repair project services:
225
-
226
- ```powershell
227
- indraq prebuild
228
- ```
229
-
230
- You get one list:
231
-
232
- ```text
233
- What should prebuild configure?
234
-
235
- [ ] GitHub Packages
236
- [ ] Jenkins
237
- [ ] AWS Route53
238
- [ ] Nginx Proxy Manager
239
- ```
240
-
241
- Only selected items run.
242
-
243
- For one environment:
244
-
245
- ```powershell
246
- indraq prebuild --env production
247
- ```
248
-
249
- For all project environments:
250
-
251
- ```powershell
252
- indraq prebuild --all-targets
253
- ```
254
-
255
- GitHub Packages + Jenkins only:
256
-
257
- ```powershell
258
- indraq prebuild --required-only
259
- ```
260
-
261
- ---
262
-
263
- # Multiple servers
264
-
265
- A project can run on more than one server.
266
-
267
- Choose the servers:
268
-
269
- ```powershell
270
- indraq project environments
271
- ```
272
-
273
- Example:
274
-
275
- ```text
276
- prod-primary
277
- prod-backup
278
- ```
279
-
280
- Deploy one server:
281
-
282
- ```powershell
283
- indraq deploy --env prod-primary
284
- ```
285
-
286
- Deploy all configured servers:
287
-
288
- ```powershell
289
- indraq deploy --all
290
- ```
291
-
292
- IndraQ builds the image once and sends the **same exact image** to every selected Jenkins server.
293
-
294
- ---
295
-
296
- # Jenkins build reliability
297
-
298
- IndraQ v2.5.0 is safer when Jenkins or the reverse proxy is slow.
299
-
300
- If Jenkins accepts the deploy request but the CLI temporarily gets a timeout or 502, IndraQ does **not** automatically send the same deploy again.
301
-
302
- It tries to find the Jenkins build that was already started and continues following that build.
303
-
304
- If IndraQ cannot safely find the build, it tells you to check Jenkins before retrying. This avoids duplicate deployments.
305
-
306
- ---
307
-
308
- # GitHub Packages
309
-
310
- The CLI now shows the name:
311
-
312
- ```text
313
- GitHub Packages
314
- ```
315
-
316
- Internally the Docker registry is still:
317
-
318
- ```text
319
- ghcr.io
320
- ```
321
-
322
- Developers do not need to remember the name `GHCR`.
323
-
324
- ---
325
-
326
- # Web environment IPs
327
-
328
- Admins create web environments with two IPs:
329
-
330
- ```text
331
- External/Public IPv4
332
- Internal/Private IPv4
333
- ```
334
-
335
- They are used like this:
336
-
337
- ```text
338
- AWS Route53 -> External/Public IPv4
339
- Nginx Proxy Manager -> Internal/Private IPv4
340
- ```
341
-
342
- Developers normally only select the environment name.
343
-
344
- ---
345
-
346
- # Audit reasons
347
-
348
- Normal creation/setup should stay quick.
349
-
350
- IndraQ does **not** ask for an audit reason when creating or setting up new items such as:
351
-
352
- - project creation
353
- - environment creation
354
- - provider scope creation
355
- - mobile environment creation
356
- - automatic setup/prebuild links
357
-
358
- IndraQ writes a safe automatic reason for those actions.
359
-
360
- IndraQ asks for a reason when you change or delete existing data, for example:
361
-
362
- - update/delete an environment
363
- - update/delete a user
364
- - rename/delete a project
365
- - archive/restore a project
366
- - remove access
367
- - rotate credentials
368
-
369
- ---
370
-
371
- # Mobile quick start
372
-
373
- IndraQ supports:
374
-
375
- - Expo
376
- - React Native CLI
377
-
378
- Create a new mobile project:
379
-
380
- ```powershell
381
- indraq init
382
- ```
383
-
384
- Choose:
385
-
386
- ```text
387
- Mobile App
388
- ```
389
-
390
- Then choose:
391
-
392
- ```text
393
- Expo
394
- ```
395
-
396
- or:
397
-
398
- ```text
399
- React Native CLI
400
- ```
401
-
402
- For an existing mobile project:
403
-
404
- ```powershell
405
- indraq project create
406
- ```
407
-
408
- and select **Mobile App**.
409
-
410
- ---
411
-
412
- # Mobile prebuild
413
-
414
- Inside the mobile project:
415
-
416
- ```powershell
417
- indraq prebuild
418
- ```
419
-
420
- or:
421
-
422
- ```powershell
423
- indraq mobile prebuild
424
- ```
425
-
426
- Mobile prebuild configures only:
427
-
428
- - Jenkins
429
- - IndraQ OTA
430
-
431
- It does not configure:
432
-
433
- - Docker
434
- - GitHub Packages
435
- - AWS
436
- - Route53
437
- - Nginx Proxy Manager
438
-
439
- ---
440
-
441
- # Mobile builds
442
-
443
- Development:
444
-
445
- ```powershell
446
- indraq build mobile:dev
447
- ```
448
-
449
- Staging:
450
-
451
- ```powershell
452
- indraq build mobile:staging
453
- ```
454
-
455
- Production:
456
-
457
- ```powershell
458
- indraq build mobile:prod
459
- ```
460
-
461
- A successful native Jenkins build saves the app's native fingerprint in IndraQ Cloud. OTA is allowed only when the current app is compatible with that native build.
462
-
463
- ---
464
-
465
- # OTA updates
466
-
467
- OTA sends JavaScript and asset changes without publishing a new store build when native code did not change.
468
-
469
- Backend:
470
-
471
- ```text
472
- https://cli.indraq.com
473
- ```
474
-
475
- OTA files are stored in MinIO.
476
-
477
- ## Send a test update
478
-
479
- ```powershell
480
- indraq mobile send update --app "My App" --env production
481
- ```
482
-
483
- You can target:
484
-
485
- - installation ID
486
- - user ID
487
- - username
488
- - email
489
- - phone
490
- - percentage of users
491
- - everyone
492
-
493
- The app checks for an OTA update when the app starts. If an update is found, it downloads it and reloads before the user starts normal work.
494
-
495
- ## Release the same tested update to everyone
496
-
497
- ```powershell
498
- indraq mobile release update --app "My App"
499
- ```
500
-
501
- IndraQ does not rebuild the bundle. It releases the same bundle you already tested.
502
-
503
- ## Metrics
504
-
505
- ```powershell
506
- indraq mobile metrics --app "My App"
507
- ```
508
-
509
- ## Pause an update
510
-
511
- ```powershell
512
- indraq mobile pause --app "My App"
513
- ```
514
-
515
- ## Roll back
516
-
517
- ```powershell
518
- indraq mobile rollback --app "My App"
519
- ```
520
-
521
- ---
522
-
523
- # Admin commands
524
-
525
- Developers normally do not need this section.
526
-
527
- ## Web environments
528
-
529
- Create:
530
-
531
- ```powershell
532
- indraq environment create
533
- ```
534
-
535
- List:
536
-
537
- ```powershell
538
- indraq environment list
539
- ```
540
-
541
- Update:
542
-
543
- ```powershell
544
- indraq environment update <name>
545
- ```
546
-
547
- Delete:
548
-
549
- ```powershell
550
- indraq environment delete <name>
551
- ```
552
-
553
- ## Mobile environments
554
-
555
- Create:
556
-
557
- ```powershell
558
- indraq mobile environment create
559
- ```
560
-
561
- List:
562
-
563
- ```powershell
564
- indraq mobile environment list
565
- ```
566
-
567
- ## Provider connections
568
-
569
- Create a provider connection:
570
-
571
- ```powershell
572
- indraq scope create
573
- ```
574
-
575
- Provider names shown in the CLI:
576
-
577
- ```text
578
- AWS
579
- Nginx Proxy Manager
580
- Jenkins Development
581
- Jenkins Production
582
- GitHub Packages
583
- ```
584
-
585
- List them:
586
-
587
- ```powershell
588
- indraq scope list
589
- ```
590
-
591
- ## Users
592
-
593
- Create a user:
594
-
595
- ```powershell
596
- indraq user create
597
- ```
598
-
599
- List users:
600
-
601
- ```powershell
602
- indraq user list
603
- ```
604
-
605
- When IndraQ creates a Nginx Proxy Manager user, it now tests that user's email/password login before reporting success.
606
-
607
- ---
608
-
609
- # Common commands
610
-
611
- | Task | Command |
612
- |---|---|
613
- | Login | `indraq login` |
614
- | Check login | `indraq whoami` |
615
- | Guided setup | `indraq setup` |
616
- | Create project | `indraq project create` |
617
- | Project status | `indraq project status` |
618
- | Choose project servers | `indraq project environments` |
619
- | Configure project services | `indraq prebuild` |
620
- | Deploy web app | `indraq deploy` |
621
- | Create Dockerfile | `indraq dockerfile create` |
622
- | List environments | `indraq environment list` |
623
- | List provider connections | `indraq scope list` |
624
- | Create user | `indraq user create` |
625
- | Run Jenkins pipeline | `indraq jenkins run` |
626
- | Mobile prebuild | `indraq mobile prebuild` |
627
- | Mobile production build | `indraq build mobile:prod` |
628
- | Send OTA | `indraq mobile send update --app "My App"` |
629
- | OTA metrics | `indraq mobile metrics --app "My App"` |
630
- | Main help | `indraq --help` |
631
- | Topic help | `indraq help project` |
632
-
633
- ---
634
-
635
- # Troubleshooting
636
-
637
- ## Dockerfile is missing
638
-
639
- Run:
640
-
641
- ```powershell
642
- indraq deploy
643
- ```
644
-
645
- and choose **Yes** when IndraQ offers to create the missing Dockerfile(s).
646
-
647
- Or run:
648
-
649
- ```powershell
650
- indraq dockerfile create
651
- ```
652
-
653
- ## Jenkins looks stuck
654
-
655
- Do not immediately run deploy again.
656
-
657
- IndraQ v2.5.0 tries to reconnect to the same Jenkins build.
658
-
659
- If IndraQ says the result is uncertain, open Jenkins and check whether the build started before retrying.
660
-
661
- ## Nginx Proxy Manager gives 401 for a user
662
-
663
- New users created with v2.5.0 are tested during creation.
664
-
665
- For an old user, rotate/recreate the NPM user credential. IndraQ uses the user's **email address** as the NPM login identity.
666
-
667
- ## Need Route53 or NPM after project creation
668
-
669
- Run:
670
-
671
- ```powershell
672
- indraq prebuild
673
- ```
674
-
675
- Select only the missing item.
676
-
677
- ## Need a full setup/repair
678
-
679
- Run:
680
-
681
- ```powershell
682
- indraq setup
683
- ```
684
-
685
- ---
686
-
687
- # Cloud API development
688
-
689
- The Cloud API has its own npm dependencies.
690
-
691
- From the repository root:
692
-
693
- ```powershell
694
- cd cloud-api
695
- npm install
696
- npm run build
697
- npm run dev
698
- ```
699
-
700
- Running `npm install` in the root folder does not install `cloud-api` dependencies.
701
-
702
- Cloud API environment settings are in:
703
-
704
- ```text
705
- cloud-api/.env.example
706
- ```
707
-
708
- ---
709
-
710
- # Before publishing the CLI
711
-
712
- From the repository root:
713
-
714
- ```powershell
715
- npm install
716
- npm run build
717
- npm test
718
- npm publish --dry-run
719
- ```
720
-
721
- Then:
722
-
723
- ```powershell
724
- npm publish
725
- ```
726
-
727
- ---
728
-
729
- **IndraQ Innovations — IndraQ CLI v2.7.0**
730
-
731
-
732
- ---
733
-
734
- # What is new in v2.6.0
735
-
736
- ## Backend + Mobile App
737
-
738
- Choose **Backend + Mobile App** under `indraq init` or `indraq project create`.
739
- The backend lives in `backend/` and uses normal Docker, GitHub Packages, Jenkins,
740
- Route53, and NPM provisioning. The mobile app lives in `mobile/` and uses
741
- Jenkins native builds and IndraQ OTA. `indraq setup` configures both once.
742
-
743
- ## Project deletion cleanup
744
-
745
- `indraq project delete` lists the actual resources linked to the project and
746
- asks which to delete: Route53 A records, GitHub Packages container packages,
747
- project-specific Jenkins jobs, and NPM proxy hosts. **Everything starts as KEEP.**
748
- Shared resources and the shared mobile Jenkins pipeline are protected.
749
- An external resource marked as linked requires extra approval to delete.
750
- If any chosen provider deletion fails, the Cloud project stays available for retry.
751
- Deleting GitHub Packages removes all tags and versions of the selected package.
752
- AWS health checks, NPM certificates, running containers, and local source files
753
- are not automatically deleted. `--yes` does not select any resources automatically.
754
-
755
- ## Windows OTA signing fix
756
-
757
- `expo-updates codesigning:generate` now uses a Windows-safe argument-preserving
758
- `npx` launcher. Temporary private key material is cleaned up after errors too.