@tantawowa/hosanna-tools 1.1.0 → 1.3.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/README.md +11 -0
- package/dist/build-info.json +2 -2
- package/dist/cli.js +290 -266
- package/dist/cli.js.map +1 -1
- package/dist/generation/command-handler-generator.js +3 -2
- package/dist/generation/command-handler-generator.js.map +1 -1
- package/dist/generation/emitters/RuntimeEmitter.js +7 -5
- package/dist/generation/emitters/RuntimeEmitter.js.map +1 -1
- package/dist/generation/emitters/TypesEmitter.js +1 -1
- package/dist/generation/emitters/TypesEmitter.js.map +1 -1
- package/dist/generation/generation-utils.d.ts +1 -1
- package/dist/generation/generation-utils.js +41 -17
- package/dist/generation/generation-utils.js.map +1 -1
- package/dist/generation/struct-generator.js +13 -5
- package/dist/generation/struct-generator.js.map +1 -1
- package/dist/lib/cli.configure-hosanna-url.d.ts +1 -0
- package/dist/lib/cli.configure-hosanna-url.js +45 -0
- package/dist/lib/cli.configure-hosanna-url.js.map +1 -0
- package/dist/lib/env-info.d.ts +22 -0
- package/dist/lib/env-info.js +379 -19
- package/dist/lib/env-info.js.map +1 -1
- package/dist/lib/hosanna-tools-utils.js +3 -4
- package/dist/lib/hosanna-tools-utils.js.map +1 -1
- package/dist/test-clean-generated.d.ts +0 -0
- package/dist/test-clean-generated.js +2 -0
- package/dist/test-clean-generated.js.map +1 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -70,6 +70,17 @@ Before checking in your changes, ensure the following steps are completed:
|
|
|
70
70
|
|
|
71
71
|
Following these steps helps maintain code quality and stability across the project.
|
|
72
72
|
|
|
73
|
+
## CLI: configure-hosanna-url
|
|
74
|
+
|
|
75
|
+
- **purpose**: Updates `hosanna.json` with a new Hosanna UI Git URL under the `git-url` key.
|
|
76
|
+
- **usage**:
|
|
77
|
+
- `hst configure-hosanna-url https://github.com/YourOrg/hosanna-ui.git`
|
|
78
|
+
- `HOSANNA_UI_GIT_URL=https://github.com/YourOrg/hosanna-ui.git hst configure-hosanna-url`
|
|
79
|
+
- **behavior**:
|
|
80
|
+
- If no positional `gitUrl` is provided, the command falls back to the `HOSANNA_UI_GIT_URL` environment variable.
|
|
81
|
+
- If neither is provided, it prints a message and leaves `hosanna.json` unchanged.
|
|
82
|
+
- On success, it prints a sanitized URL (protocol + host + path) for logs.
|
|
83
|
+
|
|
73
84
|
# hosanna tools
|
|
74
85
|
|
|
75
86
|
This directory contains various tools for working with hosanna.
|
package/dist/build-info.json
CHANGED