@speedkit/cli 4.38.1 → 4.40.0
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/CHANGELOG.md +21 -0
- package/README.md +10 -1
- package/dist/commands/airports_iata.json +9202 -1
- package/dist/commands/generate-customer-config.d.ts +2 -0
- package/dist/commands/generate-customer-config.js +7 -1
- package/dist/services/customer-config/customer-config-service-build-context.d.ts +8 -0
- package/dist/services/customer-config/customer-config-service-build-context.js +8 -0
- package/dist/services/customer-config/customer-config-service-factory.js +3 -1
- package/dist/services/customer-config/customer-config-service.d.ts +10 -7
- package/dist/services/customer-config/customer-config-service.js +138 -308
- package/dist/services/customer-config/index.d.ts +2 -0
- package/dist/services/customer-config/index.js +2 -0
- package/dist/services/customer-config/spec/wizard-answers.spec.d.ts +1 -0
- package/dist/services/customer-config/spec/wizard-answers.spec.js +207 -0
- package/dist/services/customer-config/wizard-answers.d.ts +48 -0
- package/dist/services/customer-config/wizard-answers.js +67 -0
- package/dist/services/customer-config/wizard-questions.d.ts +86 -0
- package/dist/services/customer-config/wizard-questions.js +400 -0
- package/dist/services/document-handler-runtime/document-handler-abort.d.ts +44 -0
- package/dist/services/document-handler-runtime/document-handler-abort.js +48 -0
- package/dist/services/document-handler-runtime/document-handler-console.d.ts +45 -0
- package/dist/services/document-handler-runtime/document-handler-console.js +81 -0
- package/dist/services/document-handler-runtime/document-handler-server.js +3 -23
- package/dist/services/document-handler-runtime/spec/document-handler-abort.spec.js +57 -1
- package/dist/services/document-handler-runtime/spec/document-handler-console.spec.d.ts +1 -0
- package/dist/services/document-handler-runtime/spec/document-handler-console.spec.js +97 -0
- package/dist/services/onboarding/error/document-handler-transform-error.d.ts +2 -0
- package/dist/services/onboarding/error/document-handler-transform-error.js +3 -0
- package/dist/services/onboarding/virtual-orestes-app/index.d.ts +3 -0
- package/dist/services/onboarding/virtual-orestes-app/index.js +27 -2
- package/dist/templates/speedKit.Revalidated.js +5 -1
- package/oclif.manifest.json +98 -83
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [4.40.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.39.0...v4.40.0) (2026-10-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **generate-customer-config:** answer the wizard from a JSON file ([338fdd9](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/338fdd96880ed7e0b5c432ee1b5c69470453c338))
|
|
7
|
+
* **generate-customer-config:** declare the wizard questions in one table ([dbc20db](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/dbc20dbe4aabc685674783ea6b78ad9a24c94ea7))
|
|
8
|
+
* **generate-customer-config:** drop the wizard record again ([1f3c248](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1f3c248390c8d8d1b43bfa30b0ea119663255fd8))
|
|
9
|
+
* **generate-customer-config:** keep soft navigations soft by default ([22c051c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/22c051c340b45a139ea2526d0dc11e6ed46150f2))
|
|
10
|
+
* **generate-customer-config:** record only what config_customer.json lacks ([10212c1](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/10212c1ab6656db6ce5d991ec65c39d6d03de74f))
|
|
11
|
+
* **generate-customer-config:** record the answers in production._meta.wizard ([8a0e469](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8a0e46932de20c7c55dfb66d847b9543f5be8a8b))
|
|
12
|
+
|
|
13
|
+
# [4.39.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.38.1...v4.39.0) (2026-10-02)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **document-handler:** route the vm console through the CLI ([1cf03b9](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1cf03b98cfb5af2537736882687a31f8000948e3))
|
|
19
|
+
* **onboarding:** hint to start the pre-renderer when SSR cannot reach it ([46cd19e](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/46cd19ef19ff6c53289cccc3002bb519d235d25d))
|
|
20
|
+
* **onboarding:** report a failed pre-render as an error in one line ([e1880b8](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/e1880b8d85227ecfd7d4d9ec1214542c236ddf7d))
|
|
21
|
+
|
|
1
22
|
## [4.38.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.38.0...v4.38.1) (2026-10-02)
|
|
2
23
|
|
|
3
24
|
|
package/README.md
CHANGED
|
@@ -611,16 +611,21 @@ Generates a customer config guided by a wizard 🧙
|
|
|
611
611
|
|
|
612
612
|
```
|
|
613
613
|
USAGE
|
|
614
|
-
$ sk generate-customer-config [-a <value>] [-d <value>] [--templates <value>] [--mode customer-config|pre-poc]
|
|
614
|
+
$ sk generate-customer-config [-a <value>] [-d <value>] [--templates <value>] [--mode customer-config|pre-poc] [--answers
|
|
615
|
+
<value>] [--print-questions]
|
|
615
616
|
|
|
616
617
|
FLAGS
|
|
617
618
|
-a, --app=<value> The SK app name which is also being used the config output directory name
|
|
618
619
|
(kebab-case)
|
|
619
620
|
-d, --customersDirectory=<value> Name of the sk-onboarding directory where all customer configs are being stored
|
|
620
621
|
(default: "customers")
|
|
622
|
+
--answers=<value> JSON file with the wizard answers. The wizard then asks nothing: a missing key takes
|
|
623
|
+
the question's default, and a question without one stops the run
|
|
621
624
|
--mode=<option> [default: customer-config] Which config to scaffold: the full acceleration config,
|
|
622
625
|
or the tracking-only pre-PoC config
|
|
623
626
|
<options: customer-config|pre-poc>
|
|
627
|
+
--print-questions Print every wizard question as JSON — key, type, choices, default, condition — and
|
|
628
|
+
exit. The keys are the keys of --answers
|
|
624
629
|
--templates=<value> Path to the templates/ root (default: the sk-onboarding checkout the CLI runs in, or
|
|
625
630
|
the sk-onboarding repo on GitLab when run standalone)
|
|
626
631
|
|
|
@@ -631,6 +636,10 @@ EXAMPLES
|
|
|
631
636
|
$ sk generate-customer-config -a <app> -d <customersDirectory>
|
|
632
637
|
|
|
633
638
|
$ sk generate-customer-config -a decathlon -d customers
|
|
639
|
+
|
|
640
|
+
$ sk generate-customer-config --print-questions
|
|
641
|
+
|
|
642
|
+
$ sk generate-customer-config -a decathlon --answers answers.json < /dev/null
|
|
634
643
|
```
|
|
635
644
|
|
|
636
645
|
## `sk generate-pop-config APP`
|