@boltic/cli 1.0.18 → 1.0.20
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/package.json +19 -19
- package/templates/component-schemas.js +20 -2
- package/templates/schemas.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boltic/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "A powerful CLI tool for managing Boltic Workflow integrations - create, sync, test, and publish integrations with ease",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -104,30 +104,30 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@inquirer/prompts": "^7.
|
|
108
|
-
"axios": "^1.
|
|
109
|
-
"chalk": "^5.
|
|
107
|
+
"@inquirer/prompts": "^7.8.0",
|
|
108
|
+
"axios": "^1.11.0",
|
|
109
|
+
"chalk": "^5.5.0",
|
|
110
110
|
"keytar": "^7.9.0",
|
|
111
|
-
"open": "^10.1.0",
|
|
112
|
-
"uuid": "^11.1.0",
|
|
113
111
|
"lodash.isempty": "^4.4.0",
|
|
114
|
-
"
|
|
112
|
+
"open": "^10.2.0",
|
|
113
|
+
"uuid": "^11.1.0"
|
|
115
114
|
},
|
|
116
115
|
"devDependencies": {
|
|
117
|
-
"@babel/core": "^7.
|
|
118
|
-
"@babel/preset-env": "^7.
|
|
119
|
-
"@commitlint/cli": "^19.
|
|
120
|
-
"@commitlint/config-conventional": "^19.
|
|
121
|
-
"@jest/globals": "^
|
|
116
|
+
"@babel/core": "^7.28.0",
|
|
117
|
+
"@babel/preset-env": "^7.28.0",
|
|
118
|
+
"@commitlint/cli": "^19.8.1",
|
|
119
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
120
|
+
"@jest/globals": "^30.0.5",
|
|
122
121
|
"axios-mock-adapter": "^2.1.0",
|
|
123
|
-
"babel-jest": "^
|
|
124
|
-
"eslint": "^9.
|
|
125
|
-
"eslint-config-prettier": "^10.
|
|
126
|
-
"eslint-plugin-prettier": "^5.
|
|
122
|
+
"babel-jest": "^30.0.5",
|
|
123
|
+
"eslint": "^9.32.0",
|
|
124
|
+
"eslint-config-prettier": "^10.1.8",
|
|
125
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
127
126
|
"husky": "^9.1.7",
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
127
|
+
"jest": "^30.0.5",
|
|
128
|
+
"lint-staged": "^16.1.4",
|
|
129
|
+
"nodemon": "^3.1.10",
|
|
130
|
+
"prettier": "^3.6.2"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"node": ">=18.0.0"
|
|
@@ -160,6 +160,17 @@ const checkbox = {
|
|
|
160
160
|
value: false,
|
|
161
161
|
readOnly: false,
|
|
162
162
|
isDisabled: false,
|
|
163
|
+
multiple: false,
|
|
164
|
+
options: [
|
|
165
|
+
{
|
|
166
|
+
label: "Option 1",
|
|
167
|
+
value: "option1",
|
|
168
|
+
description: "Description 1",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
htmlProps: {
|
|
172
|
+
allowDynamic: false,
|
|
173
|
+
},
|
|
163
174
|
validation: {
|
|
164
175
|
required: false,
|
|
165
176
|
requiredDetail: {
|
|
@@ -568,7 +579,7 @@ const code = {
|
|
|
568
579
|
showSuggestions: true,
|
|
569
580
|
showCopyToClipboard: true,
|
|
570
581
|
showHtmlPreview: false,
|
|
571
|
-
height: "
|
|
582
|
+
height: "auto",
|
|
572
583
|
},
|
|
573
584
|
validation: {
|
|
574
585
|
required: false,
|
|
@@ -1026,7 +1037,14 @@ const button = {
|
|
|
1026
1037
|
htmlProps: {
|
|
1027
1038
|
variant: "contained",
|
|
1028
1039
|
size: "medium",
|
|
1029
|
-
|
|
1040
|
+
style: {
|
|
1041
|
+
color: "inherit",
|
|
1042
|
+
backgroundColor: "primary",
|
|
1043
|
+
fontSize: "inherit",
|
|
1044
|
+
fontWeight: "normal",
|
|
1045
|
+
height: "auto",
|
|
1046
|
+
padding: "inherit",
|
|
1047
|
+
},
|
|
1030
1048
|
},
|
|
1031
1049
|
dependencies: {
|
|
1032
1050
|
logic: "AND",
|
package/templates/schemas.js
CHANGED
|
@@ -42,6 +42,20 @@ const authentication = {
|
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
],
|
|
45
|
+
validate: {
|
|
46
|
+
url: "https://test_url/events",
|
|
47
|
+
method: "get",
|
|
48
|
+
headers: {
|
|
49
|
+
Authorization: "Bearer {{secrets.api_key}}",
|
|
50
|
+
},
|
|
51
|
+
response: {
|
|
52
|
+
error: {
|
|
53
|
+
code: "{{response.status}}",
|
|
54
|
+
message: "{{response.data.error}}",
|
|
55
|
+
},
|
|
56
|
+
output: "{{response.data}}",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
45
59
|
},
|
|
46
60
|
};
|
|
47
61
|
|