@vc-shell/create-vc-app 1.0.177 → 1.0.179
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 +13 -0
- package/dist/index.js +2 -2
- package/dist/templates/base/package.json +5 -5
- package/dist/templates/base/src/locales/en.json +0 -304
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [1.0.179](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.178...v1.0.179) (2024-03-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.0.178](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.177...v1.0.178) (2024-03-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* shell locales moved to locales, expose locales ([9d6099e](https://github.com/VirtoCommerce/vc-shell/commit/9d6099ed2d43dba38a71a5e868ed335cf2bd8170))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
## [1.0.177](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.176...v1.0.177) (2024-03-08)
|
|
2
15
|
|
|
3
16
|
|
package/dist/index.js
CHANGED
|
@@ -6,14 +6,14 @@ import s from "node:path";
|
|
|
6
6
|
import i from "node:fs";
|
|
7
7
|
import { fileURLToPath as C } from "node:url";
|
|
8
8
|
import { cwd as N, argv as D, exit as P } from "node:process";
|
|
9
|
-
const F = "@vc-shell/create-vc-app", z = "Application scaffolding", E = "1.0.
|
|
9
|
+
const F = "@vc-shell/create-vc-app", z = "Application scaffolding", E = "1.0.179", M = "module", R = "./dist/index.js", A = [
|
|
10
10
|
"dist"
|
|
11
11
|
], O = {
|
|
12
12
|
build: "vite build && yarn postbuild",
|
|
13
13
|
postbuild: "shx cp -R src/templates dist/"
|
|
14
14
|
}, V = {
|
|
15
15
|
"@types/prompts": "^2.4.4",
|
|
16
|
-
"@vc-shell/ts-config": "^1.0.
|
|
16
|
+
"@vc-shell/ts-config": "^1.0.179",
|
|
17
17
|
copyfiles: "^2.4.1",
|
|
18
18
|
"cross-env": "^7.0.3",
|
|
19
19
|
shx: "^0.3.4",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@types/node": "^20.10.5",
|
|
25
25
|
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
|
26
26
|
"@typescript-eslint/parser": "^6.16.0",
|
|
27
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
28
|
-
"@vc-shell/release-config": "^1.0.
|
|
29
|
-
"@vc-shell/ts-config": "^1.0.
|
|
27
|
+
"@vc-shell/api-client-generator": "^1.0.179",
|
|
28
|
+
"@vc-shell/release-config": "^1.0.179",
|
|
29
|
+
"@vc-shell/ts-config": "^1.0.179",
|
|
30
30
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
31
31
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
32
32
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
60
|
-
"@vc-shell/framework": "^1.0.
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.179",
|
|
60
|
+
"@vc-shell/framework": "^1.0.179",
|
|
61
61
|
"@vueuse/core": "^10.7.1",
|
|
62
62
|
"@vueuse/integrations": "^10.7.1",
|
|
63
63
|
"moment": "^2.30.1",
|
|
@@ -1,315 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"language_name": "English",
|
|
3
3
|
"SHELL": {
|
|
4
|
-
"ACCOUNT": {
|
|
5
|
-
"CHANGE_PASSWORD": "Change password",
|
|
6
|
-
"PROFILE": "Profile",
|
|
7
|
-
"LOGOUT": "Log Out"
|
|
8
|
-
},
|
|
9
|
-
"USER": {
|
|
10
|
-
"ROLE": {
|
|
11
|
-
"ADMINISTRATOR": "Administrator"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
4
|
"MENU": {
|
|
15
5
|
"DASHBOARD": "Home"
|
|
16
6
|
},
|
|
17
|
-
"TOOLBAR": {
|
|
18
|
-
"LOGIN": "Log In",
|
|
19
|
-
"SETTINGS": "Settings",
|
|
20
|
-
"HELP": "Help",
|
|
21
|
-
"NOTIFICATIONS": "Notifications",
|
|
22
|
-
"LANGUAGE": "Language selector"
|
|
23
|
-
},
|
|
24
7
|
"DASHBOARD": {
|
|
25
8
|
"TITLE": "Dashboard"
|
|
26
9
|
}
|
|
27
|
-
},
|
|
28
|
-
"COMPONENTS": {
|
|
29
|
-
"ATOMS": {
|
|
30
|
-
"VC_CONTAINER": {
|
|
31
|
-
"PULL_TO_REFRESH": "Pull to refresh",
|
|
32
|
-
"REFRESHING": "Refreshing..."
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"MOLECULES": {
|
|
36
|
-
"VC_SELECT": {
|
|
37
|
-
"CLICK_TO_SELECT": "Click to select..."
|
|
38
|
-
},
|
|
39
|
-
"VC_FILE_UPLOAD": {
|
|
40
|
-
"DRAG_HERE": "Drag and drop file here or",
|
|
41
|
-
"BROWSE": "browse your files"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"ORGANISMS": {
|
|
45
|
-
"VC_GALLERY": {
|
|
46
|
-
"INTERNAL": {
|
|
47
|
-
"VC_GALLERY_ITEM": {
|
|
48
|
-
"FULLSCREEN": "Fullscreen",
|
|
49
|
-
"EDIT": "Edit",
|
|
50
|
-
"DELETE": "Delete"
|
|
51
|
-
},
|
|
52
|
-
"VC_GALLERY_PREVIEW": {
|
|
53
|
-
"COPY_IMAGE_LINK": "copy image link"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"GALLERY_IS_EMPTY": "Gallery is empty"
|
|
57
|
-
},
|
|
58
|
-
"VC_APP": {
|
|
59
|
-
"INTERNAL": {
|
|
60
|
-
"VC_APP_BAR": {
|
|
61
|
-
"BACK": "Back"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"VC_BLADE": {
|
|
66
|
-
"SEE_DETAILS": "See details",
|
|
67
|
-
"ERROR_POPUP": {
|
|
68
|
-
"TITLE": "Error details"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"VC_TABLE": {
|
|
72
|
-
"CURRENT_PAGE_SELECTED": "All items in this page are selected.",
|
|
73
|
-
"SELECT_ALL": "Select all items",
|
|
74
|
-
"ALL_SELECTED": "All items are selected.",
|
|
75
|
-
"CANCEL": "Cancel selection",
|
|
76
|
-
"ALL_ACTIONS": "All actions",
|
|
77
|
-
"ALL_FILTERS": "Filters",
|
|
78
|
-
"SEARCH": "Search...",
|
|
79
|
-
"EMPTY": "List is empty.",
|
|
80
|
-
"NOT_FOUND": "Nothing found.",
|
|
81
|
-
"TOTALS": "Totals:",
|
|
82
|
-
"MORE": "More"
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
"VC_POPUP": {
|
|
86
|
-
"OK": "OK",
|
|
87
|
-
"CONFIRM": "Confirm",
|
|
88
|
-
"CANCEL": "Cancel",
|
|
89
|
-
"CLOSE": "Close",
|
|
90
|
-
"TITLE": {
|
|
91
|
-
"CONFIRMATION": "Confirmation",
|
|
92
|
-
"ERROR": "Error"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"CHANGE_PASSWORD": {
|
|
97
|
-
"TITLE": "Change password",
|
|
98
|
-
"CURRENT_PASSWORD": {
|
|
99
|
-
"LABEL": "Current password",
|
|
100
|
-
"PLACEHOLDER": "Enter password"
|
|
101
|
-
},
|
|
102
|
-
"NEW_PASSWORD": {
|
|
103
|
-
"LABEL": "New password",
|
|
104
|
-
"PLACEHOLDER": "Enter password"
|
|
105
|
-
},
|
|
106
|
-
"CONFIRM_PASSWORD": {
|
|
107
|
-
"LABEL": "Confirm password",
|
|
108
|
-
"PLACEHOLDER": "Confirm password"
|
|
109
|
-
},
|
|
110
|
-
"CANCEL": "Cancel",
|
|
111
|
-
"SAVE": "Update",
|
|
112
|
-
"ERRORS": {
|
|
113
|
-
"Repeat-password": "Passwords are not same",
|
|
114
|
-
"Equal-passwords": "The new password must not match the old one",
|
|
115
|
-
"Invalid-token": "Token is invalid or expired",
|
|
116
|
-
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
117
|
-
"PasswordTooShort": "Passwords too short",
|
|
118
|
-
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
119
|
-
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
120
|
-
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
121
|
-
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
122
|
-
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
123
|
-
"Incorrect password.": "You entered an incorrect password",
|
|
124
|
-
"You have used this password in the past. Choose another one.": "You have used this password in the past. Choose another one."
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"NOTIFICATION_DROPDOWN": {
|
|
128
|
-
"TITLE": "Notifications",
|
|
129
|
-
"EMPTY": "No notifications yet"
|
|
130
|
-
},
|
|
131
|
-
"LANGUAGE_SELECTOR": {
|
|
132
|
-
"TITLE": "Language selector"
|
|
133
|
-
},
|
|
134
|
-
"FILTERS": {
|
|
135
|
-
"APPLY": "Apply filters",
|
|
136
|
-
"RESET": "Reset"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"INVITATION": {
|
|
140
|
-
"TITLE": "New user activation",
|
|
141
|
-
"FIELDS": {
|
|
142
|
-
"EMAIL": {
|
|
143
|
-
"LABEL": "Email"
|
|
144
|
-
},
|
|
145
|
-
"PASSWORD": {
|
|
146
|
-
"LABEL": "New password",
|
|
147
|
-
"PLACEHOLDER": "Enter password"
|
|
148
|
-
},
|
|
149
|
-
"CONFIRM_PASSWORD": {
|
|
150
|
-
"LABEL": "Confirm password",
|
|
151
|
-
"PLACEHOLDER": "Confirm password"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"ACCEPT_INVITATION": "Activate",
|
|
155
|
-
"ERRORS": {
|
|
156
|
-
"Repeat-password": "Passwords are not same",
|
|
157
|
-
"Invalid-token": "Token is invalid or expired",
|
|
158
|
-
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
159
|
-
"PasswordTooShort": "Passwords too short",
|
|
160
|
-
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
161
|
-
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
162
|
-
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
163
|
-
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
164
|
-
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
165
|
-
"recentPasswordUsed": "You have used this password in the past. Choose another one."
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"LOGIN": {
|
|
169
|
-
"FIELDS": {
|
|
170
|
-
"LOGIN": {
|
|
171
|
-
"LABEL": "Username",
|
|
172
|
-
"PLACEHOLDER": "Enter your username"
|
|
173
|
-
},
|
|
174
|
-
"PASSWORD": {
|
|
175
|
-
"LABEL": "Password",
|
|
176
|
-
"PLACEHOLDER": "Enter your password"
|
|
177
|
-
},
|
|
178
|
-
"FORGOT_PASSWORD": {
|
|
179
|
-
"TITLE": "Forgot password",
|
|
180
|
-
"LABEL": "Email",
|
|
181
|
-
"PLACEHOLDER": "Please enter your email"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"FORGOT_PASSWORD_BUTTON": "Forgot your password?",
|
|
185
|
-
"BUTTON": "Log in",
|
|
186
|
-
"FORGOT_BUTTON": "Submit",
|
|
187
|
-
"BACK_BUTTON": "Back",
|
|
188
|
-
"BUTTON_OK": "Ok",
|
|
189
|
-
"RESET_EMAIL_TEXT": "We will send you an email with instructions on how to reset your password.",
|
|
190
|
-
"RESET_EMAIL_SENT": "Email with instructions has been sent to you."
|
|
191
|
-
},
|
|
192
|
-
"PASSWORDRESET": {
|
|
193
|
-
"TITLE": "Password reset",
|
|
194
|
-
"FIELDS": {
|
|
195
|
-
"PASSWORD": {
|
|
196
|
-
"LABEL": "New password",
|
|
197
|
-
"PLACEHOLDER": "Enter password"
|
|
198
|
-
},
|
|
199
|
-
"CONFIRM_PASSWORD": {
|
|
200
|
-
"LABEL": "Confirm password",
|
|
201
|
-
"PLACEHOLDER": "Confirm password"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"SAVE_PASSWORD": "Save",
|
|
205
|
-
"ERRORS": {
|
|
206
|
-
"Repeat-password": "Passwords are not same",
|
|
207
|
-
"Invalid-token": "Token is invalid or expired",
|
|
208
|
-
"Password-too-weak": "New password does not comply one or more password security policies:",
|
|
209
|
-
"PasswordTooShort": "Passwords too short",
|
|
210
|
-
"PasswordRequiresUniqueChars": "Passwords must use different characters",
|
|
211
|
-
"PasswordRequiresLower": "Passwords must have at least one lowercase ('a'-'z')",
|
|
212
|
-
"PasswordRequiresUpper": "Passwords must have at least one uppercase ('A'-'Z')",
|
|
213
|
-
"PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9')",
|
|
214
|
-
"PasswordRequiresNonAlphanumeric": "Passwords must have at least one non alphanumeric character",
|
|
215
|
-
"recentPasswordUsed": "You have used this password in the past. Choose another one."
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"ASSETS_MANAGER": {
|
|
219
|
-
"TITLE": "Assets",
|
|
220
|
-
"TOOLBAR": {
|
|
221
|
-
"SAVE":"Save",
|
|
222
|
-
"REFRESH":"Refresh",
|
|
223
|
-
"ADD": "Add",
|
|
224
|
-
"DELETE": "Delete selected"
|
|
225
|
-
},
|
|
226
|
-
"EMPTY": {
|
|
227
|
-
"NO_ASSETS": "No assets",
|
|
228
|
-
"UPLOAD_ASSETS": "Drag & drop assets here or click 'Upload' button",
|
|
229
|
-
"UPLOAD": "Upload"
|
|
230
|
-
},
|
|
231
|
-
"TABLE":{
|
|
232
|
-
"HEADER":{
|
|
233
|
-
"IMAGE": "Img",
|
|
234
|
-
"NAME":"Name",
|
|
235
|
-
"SIZE":"Size",
|
|
236
|
-
"SORT_ORDER":"Sort order",
|
|
237
|
-
"CREATED_DATE":"Created date"
|
|
238
|
-
},
|
|
239
|
-
"ACTIONS":{
|
|
240
|
-
"DELETE":"Delete",
|
|
241
|
-
"EDIT": "Edit"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"ASSETS": {
|
|
246
|
-
"PAGES": {
|
|
247
|
-
"DETAILS": {
|
|
248
|
-
"SUBTITLE": "Asset edit",
|
|
249
|
-
"TOOLBAR": {
|
|
250
|
-
"SAVE": "Save",
|
|
251
|
-
"DELETE": "Delete"
|
|
252
|
-
},
|
|
253
|
-
"FIELDS": {
|
|
254
|
-
"SIZE": "Size",
|
|
255
|
-
"CREATED_DATE": "Created date",
|
|
256
|
-
"URL": "Url",
|
|
257
|
-
"COPY":"Copy link",
|
|
258
|
-
"NAME": {
|
|
259
|
-
"TITLE": "Asset name",
|
|
260
|
-
"PLACEHOLDER": "Enter asset name"
|
|
261
|
-
},
|
|
262
|
-
"ALT": {
|
|
263
|
-
"TITLE": "Image alternative text",
|
|
264
|
-
"PLACEHOLDER": "Enter image alt text",
|
|
265
|
-
"TOOLTIP": "This text will be displayed in case of disabled/unloaded image on the page"
|
|
266
|
-
},
|
|
267
|
-
"DESCRIPTION": {
|
|
268
|
-
"TITLE": "Meta description",
|
|
269
|
-
"PLACEHOLDER": "Enter meta description"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"messages": {
|
|
276
|
-
"_default": "The {field} is not valid",
|
|
277
|
-
"alpha": "The {field} field may only contain alphabetic characters",
|
|
278
|
-
"alpha_num": "The {field} field may only contain alpha-numeric characters",
|
|
279
|
-
"alpha_dash": "The {field} field may contain alpha-numeric characters as well as dashes and underscores",
|
|
280
|
-
"alpha_spaces": "The {field} field may only contain alphabetic characters as well as spaces",
|
|
281
|
-
"between": "The {field} field must be between 0:{min} and 1:{max}",
|
|
282
|
-
"confirmed": "The {field} field confirmation does not match",
|
|
283
|
-
"digits": "The {field} field must be numeric and exactly contain 0:{length} digits",
|
|
284
|
-
"dimensions": "The {field} field must be 0:{width} pixels by 1:{height} pixels",
|
|
285
|
-
"email": "The {field} field must be a valid email",
|
|
286
|
-
"not_one_of": "The {field} field is not a valid value",
|
|
287
|
-
"ext": "The {field} field is not a valid file",
|
|
288
|
-
"image": "The {field} field must be an image",
|
|
289
|
-
"integer": "The {field} field must be an integer",
|
|
290
|
-
"length": "The {field} field must be 0:{length} long",
|
|
291
|
-
"max_value": "The {field} field must be 0:{max} or less",
|
|
292
|
-
"max": "The {field} field may not be greater than 0:{length} characters",
|
|
293
|
-
"mimes": "The {field} field must have a valid file type",
|
|
294
|
-
"min_value": "The {field} field must be 0:{min} or more",
|
|
295
|
-
"min": "The {field} field must be at least 0:{length} characters",
|
|
296
|
-
"numeric": "The {field} field may only contain numeric characters",
|
|
297
|
-
"one_of": "The {field} field is not a valid value",
|
|
298
|
-
"regex": "The {field} field format is invalid",
|
|
299
|
-
"required_if": "The {field} field is required",
|
|
300
|
-
"required": "The {field} field is required",
|
|
301
|
-
"size": "The {field} field size must be less than 0:{size}KB",
|
|
302
|
-
"url": "The {field} field is not a valid URL",
|
|
303
|
-
"min_dimensions": {
|
|
304
|
-
"error": "Image dimensions must be greater than {height}*{width}",
|
|
305
|
-
"not_image_error": "Not image file"
|
|
306
|
-
},
|
|
307
|
-
"file_weight": "File size must be maximum {size} kb",
|
|
308
|
-
"before": "End date must be earlier than start date",
|
|
309
|
-
"after": "End date must be later than start date",
|
|
310
|
-
"bigint": "Unsupported number"
|
|
311
|
-
},
|
|
312
|
-
"PERMISSION_MESSAGES": {
|
|
313
|
-
"ACCESS_RESTRICTED": "Access restricted"
|
|
314
10
|
}
|
|
315
11
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/create-vc-app",
|
|
3
3
|
"description": "Application scaffolding",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.179",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/prompts": "^2.4.4",
|
|
16
|
-
"@vc-shell/ts-config": "^1.0.
|
|
16
|
+
"@vc-shell/ts-config": "^1.0.179",
|
|
17
17
|
"copyfiles": "^2.4.1",
|
|
18
18
|
"cross-env": "^7.0.3",
|
|
19
19
|
"shx": "^0.3.4",
|