@vc-shell/create-vc-app 1.0.118 → 1.0.120
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 +8 -415
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/dist/templates/base/_github/COMMIT_CONVENTION.md +91 -0
- package/dist/templates/base/_github/PULL_REQUEST_TEMPLATE.md +8 -0
- package/dist/templates/base/_gitignore +71 -0
- package/dist/templates/base/_yarnrc.yml +9 -0
- package/dist/templates/base/package.json +4 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -4
- /package/dist/templates/base/{.browserslistrc → _browserslistrc} +0 -0
- /package/dist/templates/base/{.commitlintrc.json → _commitlintrc.json} +0 -0
- /package/dist/templates/base/{.editorconfig → _editorconfig} +0 -0
- /package/dist/templates/base/{.env → _env} +0 -0
- /package/dist/templates/base/{.eslintignore → _eslintignore} +0 -0
- /package/dist/templates/base/{.eslintrc.js → _eslintrc.js} +0 -0
- /package/dist/templates/base/{.husky → _husky}/commit-msg +0 -0
- /package/dist/templates/base/{.husky → _husky}/pre-commit +0 -0
- /package/dist/templates/base/{.prettierignore → _prettierignore} +0 -0
- /package/dist/templates/base/{.prettierrc → _prettierrc} +0 -0
- /package/dist/templates/base/{.vscode → _vscode}/extensions.json +0 -0
- /package/dist/templates/base/{.vscode → _vscode}/settings.json +0 -0
- /package/dist/templates/base/{.yarn → _yarn}/plugins/@yarnpkg/plugin-version.cjs +0 -0
- /package/dist/templates/base/{.yarn → _yarn}/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -0
- /package/dist/templates/base/{.yarn → _yarn}/releases/yarn-3.6.4.cjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,236 +1,34 @@
|
|
|
1
|
-
## [1.0.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## [1.0.117](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.116...v1.0.117) (2023-11-06)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## 1.0.116 (2023-11-02)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### Features
|
|
13
|
-
|
|
14
|
-
* updated release in boilerplate and sample ([382265b](https://github.com/VirtoCommerce/vc-shell/commit/382265b1a740504b5a4de89cbb7cba38b3d74539))
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## 1.0.115 (2023-11-02)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
* **@vc-shell/create-vc-app:** changed boilerplate ([740915b](https://github.com/VirtoCommerce/vc-shell/commit/740915baea40f4ac25375679dac9e9a209ae1937))
|
|
24
|
-
* **@vc-shell/framework:** updated tsconfigs ([921d000](https://github.com/VirtoCommerce/vc-shell/commit/921d000de8a0ca1b3eed4712eb5cc87e6d6a6616))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## 1.0.114 (2023-10-25)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## 1.0.113 (2023-10-25)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Features
|
|
36
|
-
|
|
37
|
-
* **@vc-shell/api-client:** Replace .env variables to command line args ([4bcfade](https://github.com/VirtoCommerce/vc-shell/commit/4bcfade6f0eee7f6e2b74ed898d5b90da1198da8))
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### BREAKING CHANGES
|
|
41
|
-
|
|
42
|
-
* **@vc-shell/api-client:** api client generator now uses
|
|
43
|
-
command line arguments instead of environment variables
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## 1.0.111 (2023-10-17)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Features
|
|
51
|
-
|
|
52
|
-
* dynamic modules ([ed4af3a](https://github.com/VirtoCommerce/vc-shell/commit/ed4af3ad65e47b0d633d6e2eb23e9c90d73ff50d))
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## 1.0.110 (2023-10-16)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
## 1.0.109 (2023-10-13)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## 1.0.108 (2023-10-13)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## 1.0.107 (2023-10-12)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
## 1.0.106 (2023-10-12)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
## 1.0.105 (2023-10-02)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
## 1.0.104 (2023-10-02)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## 1.0.103 (2023-09-29)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
## 1.0.102 (2023-09-29)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
## 1.0.101 (2023-09-28)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
## 1.0.100 (2023-09-22)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
## 1.0.99 (2023-09-22)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
## 1.0.98 (2023-09-21)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
## 1.0.97 (2023-09-12)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## 1.0.96 (2023-08-28)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
## 1.0.95 (2023-08-28)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
## 1.0.94 (2023-08-04)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
## 1.0.92 (2023-07-12)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## 1.0.91 (2023-07-12)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## 1.0.90 (2023-07-12)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## 1.0.89 (2023-07-07)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
## 1.0.88 (2023-06-27)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
## 1.0.87 (2023-06-26)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
## 1.0.86 (2023-06-23)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
## 1.0.85 (2023-06-23)
|
|
1
|
+
## [1.0.120](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.119...v1.0.120) (2023-11-09)
|
|
153
2
|
|
|
154
3
|
|
|
155
4
|
### Bug Fixes
|
|
156
5
|
|
|
157
|
-
*
|
|
158
|
-
|
|
159
|
-
|
|
6
|
+
* **create-vc-app:** fix copy dot named files ([d05ca55](https://github.com/VirtoCommerce/vc-shell/commit/d05ca5560e1a405c4250265875a9c2cf3302955f))
|
|
160
7
|
|
|
161
|
-
## 1.0.84 (2023-06-23)
|
|
162
8
|
|
|
163
9
|
|
|
10
|
+
## [1.0.119](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.118...v1.0.119) (2023-11-07)
|
|
164
11
|
|
|
165
|
-
## 1.0.83 (2023-06-23)
|
|
166
12
|
|
|
167
13
|
|
|
168
|
-
|
|
169
|
-
## 1.0.82 (2023-06-23)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
## 1.0.81 (2023-06-23)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
## 1.0.80 (2023-06-22)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
## 1.0.79 (2023-06-22)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
## 1.0.78 (2023-06-22)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
## 1.0.77 (2023-06-22)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
## 1.0.76 (2023-06-22)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
## 1.0.75 (2023-06-21)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## 1.0.74 (2023-06-21)
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Bug Fixes
|
|
205
|
-
|
|
206
|
-
* pass platformUrl to shell ([6265790](https://github.com/VirtoCommerce/vc-shell/commit/62657901ae6738883ed785e4f54507db85ba7d66))
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
## 1.0.73 (2023-06-08)
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
## 1.0.72 (2023-06-07)
|
|
14
|
+
## [1.0.118](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.117...v1.0.118) (2023-11-06)
|
|
215
15
|
|
|
216
16
|
|
|
217
17
|
|
|
218
|
-
## 1.0.
|
|
18
|
+
## [1.0.117](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.116...v1.0.117) (2023-11-06)
|
|
219
19
|
|
|
220
20
|
|
|
221
|
-
### Bug Fixes
|
|
222
21
|
|
|
223
|
-
|
|
22
|
+
## [1.0.116](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.115...v1.0.116) (2023-11-02)
|
|
224
23
|
|
|
225
24
|
|
|
226
25
|
### Features
|
|
227
26
|
|
|
228
|
-
*
|
|
229
|
-
* azure active directory signin ([46cee05](https://github.com/VirtoCommerce/vc-shell/commit/46cee052064434bdd143d744ca7557f5c0fd7e84))
|
|
27
|
+
* updated release in boilerplate and sample ([382265b](https://github.com/VirtoCommerce/vc-shell/commit/382265b1a740504b5a4de89cbb7cba38b3d74539))
|
|
230
28
|
|
|
231
29
|
|
|
232
30
|
|
|
233
|
-
## 1.0.115 (2023-11-02)
|
|
31
|
+
## [1.0.115](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.114...v1.0.115) (2023-11-02)
|
|
234
32
|
|
|
235
33
|
|
|
236
34
|
### Features
|
|
@@ -240,211 +38,6 @@ command line arguments instead of environment variables
|
|
|
240
38
|
|
|
241
39
|
|
|
242
40
|
|
|
243
|
-
## 1.0.114 (2023-10-25)
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
## 1.0.113 (2023-10-25)
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
### Features
|
|
251
|
-
|
|
252
|
-
* **@vc-shell/api-client:** Replace .env variables to command line args ([4bcfade](https://github.com/VirtoCommerce/vc-shell/commit/4bcfade6f0eee7f6e2b74ed898d5b90da1198da8))
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
### BREAKING CHANGES
|
|
256
|
-
|
|
257
|
-
* **@vc-shell/api-client:** api client generator now uses
|
|
258
|
-
command line arguments instead of environment variables
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
## 1.0.111 (2023-10-17)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
### Features
|
|
266
|
-
|
|
267
|
-
* dynamic modules ([ed4af3a](https://github.com/VirtoCommerce/vc-shell/commit/ed4af3ad65e47b0d633d6e2eb23e9c90d73ff50d))
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
## 1.0.110 (2023-10-16)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
## 1.0.109 (2023-10-13)
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
## 1.0.108 (2023-10-13)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
## 1.0.107 (2023-10-12)
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
## 1.0.106 (2023-10-12)
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
## 1.0.105 (2023-10-02)
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
## 1.0.104 (2023-10-02)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
## 1.0.103 (2023-09-29)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
## 1.0.102 (2023-09-29)
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
## 1.0.101 (2023-09-28)
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
## 1.0.100 (2023-09-22)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
## 1.0.99 (2023-09-22)
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
## 1.0.98 (2023-09-21)
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
## 1.0.97 (2023-09-12)
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
## 1.0.96 (2023-08-28)
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
## 1.0.95 (2023-08-28)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
## 1.0.94 (2023-08-04)
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
## 1.0.92 (2023-07-12)
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
## 1.0.91 (2023-07-12)
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
## 1.0.90 (2023-07-12)
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
## 1.0.89 (2023-07-07)
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
## 1.0.88 (2023-06-27)
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
## 1.0.87 (2023-06-26)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
## 1.0.86 (2023-06-23)
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
## 1.0.85 (2023-06-23)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
### Bug Fixes
|
|
371
|
-
|
|
372
|
-
* check permissions plugin ([cc65272](https://github.com/VirtoCommerce/vc-shell/commit/cc65272d933e29f427b1403df2bdd627b15dd1e6))
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
## 1.0.84 (2023-06-23)
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
## 1.0.83 (2023-06-23)
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
## 1.0.82 (2023-06-23)
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
## 1.0.81 (2023-06-23)
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
## 1.0.80 (2023-06-22)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
## 1.0.79 (2023-06-22)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
## 1.0.78 (2023-06-22)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
## 1.0.77 (2023-06-22)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
## 1.0.76 (2023-06-22)
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
## 1.0.75 (2023-06-21)
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
## 1.0.74 (2023-06-21)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
### Bug Fixes
|
|
420
|
-
|
|
421
|
-
* pass platformUrl to shell ([6265790](https://github.com/VirtoCommerce/vc-shell/commit/62657901ae6738883ed785e4f54507db85ba7d66))
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
## 1.0.73 (2023-06-08)
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
## 1.0.72 (2023-06-07)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
## 1.0.71 (2023-06-02)
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
### Bug Fixes
|
|
437
|
-
|
|
438
|
-
* fixed create-vc-app template ([f433fea](https://github.com/VirtoCommerce/vc-shell/commit/f433feaf4b75badeea427b61061a08b9a6056c8a))
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
### Features
|
|
442
|
-
|
|
443
|
-
* **cli** create-vc-app scaffolding tool ([e6428ae](https://github.com/VirtoCommerce/vc-shell/commit/e6428ae654ba180971c6ab58f9abfa2452ca0e9b))
|
|
444
|
-
* azure active directory signin ([46cee05](https://github.com/VirtoCommerce/vc-shell/commit/46cee052064434bdd143d744ca7557f5c0fd7e84))
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
41
|
## [1.0.114](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.113...v1.0.114) (2023-10-25)
|
|
449
42
|
|
|
450
43
|
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,22 @@ import { default as chalk } from "chalk";
|
|
|
5
5
|
import path from "path";
|
|
6
6
|
import fs from "fs";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
|
+
const renameFiles = {
|
|
9
|
+
_gitignore: ".gitignore",
|
|
10
|
+
"_yarnrc.yml": ".yarnrc.yml",
|
|
11
|
+
_browserslistrc: ".browserslistrc",
|
|
12
|
+
"_commitlintrc.json": ".commitlintrc.json",
|
|
13
|
+
_editorconfig: ".editorconfig",
|
|
14
|
+
_env: ".env",
|
|
15
|
+
_eslintignore: ".eslintignore",
|
|
16
|
+
_prettierignore: ".prettierignore",
|
|
17
|
+
_prettierrc: ".prettierrc",
|
|
18
|
+
"_eslintrc.js": ".eslintrc.js",
|
|
19
|
+
_github: "github",
|
|
20
|
+
_husky: ".husky",
|
|
21
|
+
_vscode: ".vscode",
|
|
22
|
+
_yarn: ".yarn",
|
|
23
|
+
};
|
|
8
24
|
function isValidName(appName) {
|
|
9
25
|
return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(appName);
|
|
10
26
|
}
|
|
@@ -130,24 +146,28 @@ async function create() {
|
|
|
130
146
|
fs.mkdirSync(root);
|
|
131
147
|
}
|
|
132
148
|
console.log(`\nScaffolding app in ${root}...`);
|
|
133
|
-
const templateRoot = path.resolve(fileURLToPath(import.meta.url), "
|
|
134
|
-
const write = (file, content) => {
|
|
149
|
+
const templateRoot = path.resolve(fileURLToPath(import.meta.url), "..", "templates");
|
|
150
|
+
const write = (file, templateName, content) => {
|
|
151
|
+
const targetPath = path.join(root, renameFiles[file] ?? file);
|
|
135
152
|
if (content) {
|
|
136
|
-
fs.writeFileSync(
|
|
153
|
+
fs.writeFileSync(targetPath, content);
|
|
137
154
|
}
|
|
138
155
|
else {
|
|
139
|
-
copy(file,
|
|
156
|
+
copy(path.join(templateRoot, templateName, file), targetPath);
|
|
140
157
|
}
|
|
141
158
|
};
|
|
142
159
|
const render = (templateName) => {
|
|
143
160
|
const templateDir = path.resolve(templateRoot, templateName);
|
|
144
|
-
|
|
161
|
+
const files = fs.readdirSync(templateDir);
|
|
162
|
+
for (const file of files.filter((f) => f !== "package.json")) {
|
|
163
|
+
write(file, templateName);
|
|
164
|
+
}
|
|
145
165
|
};
|
|
146
166
|
render("base");
|
|
147
167
|
render(variantMap[variant]);
|
|
148
168
|
const pkg = JSON.parse(fs.readFileSync(path.join(templateRoot, `./base/package.json`), "utf-8"));
|
|
149
169
|
pkg.name = packageName || getProjectName();
|
|
150
|
-
write("package.json", JSON.stringify(pkg, null, 2) + "\n");
|
|
170
|
+
write("package.json", "", JSON.stringify(pkg, null, 2) + "\n");
|
|
151
171
|
console.log(`\nDone. You can now run application:\n`);
|
|
152
172
|
if (root !== cwd) {
|
|
153
173
|
const cdProjectName = path.relative(cwd, root);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAIzC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,4DAA4D,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACpF,CAAC;AAED,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,OAAO;SACX,IAAI,EAAE;SACN,WAAW,EAAE;SACb,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;SACpB,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;SACpB,OAAO,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,QAAQ,CAAC,GAAG;IACnB,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;QACvB,OAAO;KACR;AACH,CAAC;AAED,SAAS,OAAO,CAAC,IAAY;IAC3B,MAAM,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACnC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;AAC3E,CAAC;AAED,SAAS,IAAI,CAAC,GAAW,EAAE,IAAY;IACrC,MAAM,IAAI,GAAG,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,IAAI,CAAC,WA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AG,EAAE,IAAI,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CACT,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,aAAa,GAAG,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,CAC3G,CAAC;KACH;IACD,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;IACpD,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Git Commit Message Convention
|
|
2
|
+
|
|
3
|
+
## TL;DR
|
|
4
|
+
|
|
5
|
+
Messages must be matched by the following regex:
|
|
6
|
+
|
|
7
|
+
``` js
|
|
8
|
+
/^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50}/
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
Appears under "Features" header, `ui-kit` subheader:
|
|
14
|
+
|
|
15
|
+
``` text
|
|
16
|
+
feat(ui-kit): add 'comments' option
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Appears under "Bug Fixes" header, `shell` subheader, with a link to issue #28:
|
|
20
|
+
|
|
21
|
+
``` text
|
|
22
|
+
fix(shell): handle events on blur
|
|
23
|
+
|
|
24
|
+
close #28
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation:
|
|
28
|
+
|
|
29
|
+
``` text
|
|
30
|
+
perf(api-client): improve vdom diffing by removing 'foo' option
|
|
31
|
+
|
|
32
|
+
BREAKING CHANGE: The 'foo' option has been removed.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header.
|
|
36
|
+
|
|
37
|
+
``` text
|
|
38
|
+
revert: feat(ui-kit): add 'comments' option
|
|
39
|
+
|
|
40
|
+
This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Full Message Format
|
|
44
|
+
|
|
45
|
+
A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**:
|
|
46
|
+
|
|
47
|
+
``` text
|
|
48
|
+
<type>(<scope>): <subject>
|
|
49
|
+
<BLANK LINE>
|
|
50
|
+
<body>
|
|
51
|
+
<BLANK LINE>
|
|
52
|
+
<footer>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The **header** is mandatory and the **scope** of the header is optional.
|
|
56
|
+
|
|
57
|
+
A `!` MAY be appended prior to the `:` in the type/scope prefix, to further draw attention to breaking changes. `BREAKING CHANGE:` description MUST also be included in the body or footer, along with the `!` in the prefix.
|
|
58
|
+
|
|
59
|
+
### Revert
|
|
60
|
+
|
|
61
|
+
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
|
|
62
|
+
|
|
63
|
+
### Type
|
|
64
|
+
|
|
65
|
+
If the prefix is `feat`, `fix` or `perf`, it will appear in the changelog. However if there is any [BREAKING CHANGE](#footer), the commit will always appear in the changelog.
|
|
66
|
+
|
|
67
|
+
Other prefixes are up to your discretion. Suggested prefixes are `docs`, `chore`, `style`, `refactor`, and `test` for non-changelog related tasks.
|
|
68
|
+
|
|
69
|
+
### Scope
|
|
70
|
+
|
|
71
|
+
The scope could be any valid lerna package name (located inside `packages` folder). For example `shell`, `ui-kit`, `api-client`, etc...
|
|
72
|
+
|
|
73
|
+
### Subject
|
|
74
|
+
|
|
75
|
+
The subject contains succinct description of the change:
|
|
76
|
+
|
|
77
|
+
* use the imperative, present tense: "change" not "changed" nor "changes"
|
|
78
|
+
* don't capitalize first letter
|
|
79
|
+
* no dot (.) at the end
|
|
80
|
+
|
|
81
|
+
### Body
|
|
82
|
+
|
|
83
|
+
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
|
|
84
|
+
The body should include the motivation for the change and contrast this with previous behavior.
|
|
85
|
+
|
|
86
|
+
### Footer
|
|
87
|
+
|
|
88
|
+
The footer should contain any information about **Breaking Changes** and is also the place to
|
|
89
|
+
reference GitHub issues that this commit **Closes**.
|
|
90
|
+
|
|
91
|
+
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# OS Specific
|
|
2
|
+
.DS_Store
|
|
3
|
+
.DS_Store?
|
|
4
|
+
._*
|
|
5
|
+
.Spotlight-V100
|
|
6
|
+
.Trashes
|
|
7
|
+
ehthumbs.db
|
|
8
|
+
Thumbs.db
|
|
9
|
+
|
|
10
|
+
# IDE Specific
|
|
11
|
+
nbproject
|
|
12
|
+
.~lock.*
|
|
13
|
+
.buildpath
|
|
14
|
+
.idea
|
|
15
|
+
.project
|
|
16
|
+
.settings
|
|
17
|
+
composer.lock
|
|
18
|
+
*.sublime-workspace
|
|
19
|
+
*.suo
|
|
20
|
+
*.ntvs*
|
|
21
|
+
*.njsproj
|
|
22
|
+
*.sln
|
|
23
|
+
*.sw?
|
|
24
|
+
|
|
25
|
+
# Project Specific
|
|
26
|
+
node_modules
|
|
27
|
+
*.log
|
|
28
|
+
/lib
|
|
29
|
+
tmp
|
|
30
|
+
.changelog
|
|
31
|
+
coverage/
|
|
32
|
+
.nyc_output/
|
|
33
|
+
.eslintcache
|
|
34
|
+
|
|
35
|
+
# local env files
|
|
36
|
+
.env.local
|
|
37
|
+
.env.*.local
|
|
38
|
+
|
|
39
|
+
# compiled output
|
|
40
|
+
dist/
|
|
41
|
+
storybook-static
|
|
42
|
+
*.tsbuildinfo
|
|
43
|
+
|
|
44
|
+
# IDEs and editors
|
|
45
|
+
/.idea
|
|
46
|
+
.project
|
|
47
|
+
.classpath
|
|
48
|
+
.c9/
|
|
49
|
+
*.launch
|
|
50
|
+
|
|
51
|
+
# IDE - VSCode
|
|
52
|
+
.vscode/*
|
|
53
|
+
!.vscode/settings.json
|
|
54
|
+
!.vscode/tasks.json
|
|
55
|
+
!.vscode/launch.json
|
|
56
|
+
!.vscode/extensions.json
|
|
57
|
+
.history/*
|
|
58
|
+
|
|
59
|
+
# Visual Studio 2015/2017 cache/options directory
|
|
60
|
+
.vs/*
|
|
61
|
+
|
|
62
|
+
# Temporary
|
|
63
|
+
package-lock.json
|
|
64
|
+
|
|
65
|
+
.pnp.*
|
|
66
|
+
.yarn/*
|
|
67
|
+
!.yarn/patches
|
|
68
|
+
!.yarn/plugins
|
|
69
|
+
!.yarn/releases
|
|
70
|
+
!.yarn/sdks
|
|
71
|
+
!.yarn/versions
|