@zohodesk/react-cli 1.1.1 → 1.1.2-9.exp.3
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/.vscode/settings.json +25 -0
- package/README.md +446 -35
- package/bin/cli.js +17 -52
- package/docs/CustomChunks.md +12 -9
- package/docs/MarkdownParser.md +18 -0
- package/docs/ReactLive.md +8 -0
- package/docs/ValueReplacer.md +27 -0
- package/lib/babel/babel-option-utils/babel-preset-react-option.js +22 -0
- package/lib/babel/cmjs-plugins-presets.js +36 -7
- package/lib/babel/es-plugins-presets.js +45 -16
- package/lib/common/runPreProcess.js +71 -0
- package/lib/common/splitChunks.js +65 -45
- package/lib/common/testPattern.js +9 -9
- package/lib/configs/jest.config.js +4 -4
- package/lib/configs/libAlias.js +36 -2
- package/lib/configs/resolvers.js +7 -4
- package/lib/configs/webpack.css.umd.config.js +3 -2
- package/lib/configs/webpack.dev.config.js +28 -8
- package/lib/configs/webpack.docs.config.js +10 -5
- package/lib/configs/webpack.impact.config.js +9 -4
- package/lib/configs/webpack.prod.config.js +32 -10
- package/lib/constants.js +3 -3
- package/lib/deprecationLogger.js +40 -0
- package/lib/jest/preProcessors/jsPreprocessor.js +27 -2
- package/lib/loaderUtils/configsAssetsLoaders.js +1 -1
- package/lib/loaderUtils/getCSSLoaders.js +32 -8
- package/lib/loaderUtils/getDevJsLoaders.js +8 -2
- package/lib/loaders/__test__/markdownLoader.spec.js +145 -0
- package/lib/loaders/composeLoader.js +140 -14
- package/lib/loaders/docsLoader.js +5 -2
- package/lib/loaders/enhancedReactLiveConverter.js +151 -0
- package/lib/loaders/markdownLoader.js +71 -0
- package/lib/loaders/workerLoader.js +37 -22
- package/lib/logger.js +7 -0
- package/lib/pluginUtils/configHtmlWebpackPlugins.js +62 -2
- package/lib/pluginUtils/getDevPlugins.js +24 -8
- package/lib/pluginUtils/getProdPlugins.js +34 -6
- package/lib/plugins/CssOrderControlPlugin.js +36 -0
- package/lib/plugins/CustomScriptLoadingStrategyPlugin.js +109 -0
- package/lib/plugins/EfcResourceCleanupPlugin.js +43 -0
- package/lib/plugins/EventsHandlingPlugin.js +34 -0
- package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +5 -1
- package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +4 -1
- package/lib/plugins/I18nSplitPlugin/utils/unicodeConversion.js +14 -0
- package/lib/plugins/ReportGeneratePlugin.js +8 -6
- package/lib/plugins/ResourceHintsPlugin.js +13 -3
- package/lib/plugins/StatsPlugin.js +82 -0
- package/lib/plugins/UnusedFilesFindPlugin.js +7 -5
- package/lib/plugins/utils/fileHandling.js +36 -51
- package/lib/plugins/variableConvertorUtils.js +4 -2
- package/lib/postcss-plugins/ValueReplacer.js +7 -17
- package/lib/postcss-plugins/__test__/valueReplacer.spec.js +43 -0
- package/lib/postcss-plugins/variableModificationPlugin/index.js +70 -18
- package/lib/schemas/index.js +67 -39
- package/lib/servers/getCliPath.js +3 -5
- package/lib/servers/requireLocalOrGlobal.js +1 -1
- package/lib/utils/cssClassNameGenerate.js +43 -5
- package/lib/utils/deprecationSupport.js +134 -0
- package/lib/utils/getFileType.js +1 -1
- package/lib/utils/getOptions.js +31 -69
- package/lib/utils/getServerURL.js +7 -2
- package/lib/utils/index.js +27 -11
- package/lib/utils/initPreCommitHook.js +5 -5
- package/lib/utils/log.js +11 -0
- package/lib/utils/object-manipulation.js +88 -0
- package/lib/utils/pullOrigin.js +3 -3
- package/lib/utils/reinstallDependencies.js +3 -3
- package/lib/utils/switchBranch.js +4 -2
- package/lib/utils/typeCheck.js +10 -0
- package/lib/utils/variableConverter.js +26 -11
- package/npm-shrinkwrap.json +929 -39
- package/package.json +12 -4
- package/templates/docs/all.html +1 -0
- package/templates/docs/component.html +1 -0
- package/templates/docs/components.html +1 -0
- package/templates/docs/css/markdown.css +202 -0
- package/templates/docs/css/style.css +136 -169
- package/templates/docs/index.html +796 -632
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"cSpell.words": [
|
3
|
+
"classname",
|
4
|
+
"cmjs",
|
5
|
+
"devbuild",
|
6
|
+
"escodegen",
|
7
|
+
"expublish",
|
8
|
+
"gitclone",
|
9
|
+
"hgclone",
|
10
|
+
"mockapi",
|
11
|
+
"mockserver",
|
12
|
+
"nowatchserver",
|
13
|
+
"nowatchstart",
|
14
|
+
"postpublish",
|
15
|
+
"propertytojson",
|
16
|
+
"sslcert",
|
17
|
+
"sslcertupdate",
|
18
|
+
"sstest",
|
19
|
+
"uglifycss",
|
20
|
+
"valuereplacer",
|
21
|
+
"xmlhttprequest",
|
22
|
+
"zohodesk",
|
23
|
+
"zsecurity"
|
24
|
+
]
|
25
|
+
}
|
package/README.md
CHANGED
@@ -44,70 +44,475 @@ Now to run app
|
|
44
44
|
|
45
45
|
# Change Logs
|
46
46
|
|
47
|
+
# 1.1.28 (29-01-2025)
|
48
|
+
|
49
|
+
**Fixes**
|
50
|
+
|
51
|
+
- We've changed the i18n Unicode conversion process. Instead of converting the Unicode at runtime, we now convert it to the corresponding language during the build process and emit the final build
|
52
|
+
- Added @zohodesk-private in transformIgnorePatterns in jest.config.js file , fix in jest
|
53
|
+
|
54
|
+
**changes**
|
55
|
+
|
56
|
+
- separate the disableES5Transpile flag as two flags disableES5Transpile and disableES5Import
|
57
|
+
- disableES5Import flag handles the alias part
|
58
|
+
- disableES5Transpile flag handles the esmodules or common modules conversion part
|
59
|
+
|
60
|
+
|
61
|
+
# 1.1.27 (16-12-2024)
|
62
|
+
|
63
|
+
- While rendering i18n keys at runtime, we convert any keys containing Unicode to their corresponding language characters before rendering. This enhances performance and reduces file size.
|
64
|
+
|
65
|
+
# 1.1.26 (06-09-2024)
|
66
|
+
|
67
|
+
**Features**
|
68
|
+
|
69
|
+
- Add a new className format that mirrors the class names used in the source code.
|
70
|
+
```
|
71
|
+
app: {
|
72
|
+
displayClassName: true
|
73
|
+
}
|
74
|
+
```
|
75
|
+
|
76
|
+
- option given to disable the HtmlWebpackPlugin.
|
77
|
+
```
|
78
|
+
app: {
|
79
|
+
generateHtml: true
|
80
|
+
}
|
81
|
+
```
|
82
|
+
- Control the rendering order of async CSS chunks.
|
83
|
+
```
|
84
|
+
css: {
|
85
|
+
enable: true,
|
86
|
+
className: <ID of the tag before which all async CSS chunks should be rendered.>
|
87
|
+
}
|
88
|
+
```
|
89
|
+
|
90
|
+
|
91
|
+
# 1.1.25 (12-08-2024)
|
92
|
+
|
93
|
+
- mp3 files support added
|
94
|
+
|
95
|
+
# 1.1.24 (29-06-2024)
|
96
|
+
|
97
|
+
- Worker loading logic fixes.
|
98
|
+
|
99
|
+
# 1.1.23 (28-06-2024)
|
100
|
+
|
101
|
+
**Features**
|
102
|
+
|
103
|
+
- alias feature added for library, application and jest. To enable it , configure your `react-cli.config.js` as below
|
104
|
+
|
105
|
+
```
|
106
|
+
{
|
107
|
+
alias: {
|
108
|
+
"@components": './src/components,
|
109
|
+
}
|
110
|
+
}
|
111
|
+
```
|
112
|
+
|
113
|
+
- For devmapping config jsConfig.json ad below
|
114
|
+
|
115
|
+
```
|
116
|
+
{
|
117
|
+
"compilerOptions": {
|
118
|
+
"baseUrl": ".",
|
119
|
+
"paths": {
|
120
|
+
"@components/*": [ "./src/components/*"],
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
```
|
125
|
+
|
126
|
+
- Customized Script loading strategy added. To enabled it, configure your `react-cli.config.js` as below
|
127
|
+
|
128
|
+
```
|
129
|
+
{
|
130
|
+
app: {
|
131
|
+
htmlTemplate: {
|
132
|
+
customScriptLoadingStrategey: {
|
133
|
+
enable: true,
|
134
|
+
options: {
|
135
|
+
async: [/.*js$/],
|
136
|
+
defer: [/^main.*\.js$/]
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
```
|
143
|
+
|
144
|
+
**Changes**
|
145
|
+
|
146
|
+
- Worker loading logic
|
147
|
+
|
148
|
+
# 1.1.22 (6-6-2024)
|
149
|
+
|
150
|
+
**Changes**
|
151
|
+
|
152
|
+
- Bug fix in Typescript
|
153
|
+
|
154
|
+
# 1.1.21 (4-6-2024)
|
155
|
+
|
156
|
+
- TypeScript support has been added for the application, library, and Jest.
|
157
|
+
|
158
|
+
- The `enable_typescript` option has been added in the react-cli.config.js. Set it to true to enable TypeScript
|
159
|
+
|
160
|
+
- Support for adding plugins is now available. To use this, configure your react-cli.config.js file as follows:
|
161
|
+
|
162
|
+
```
|
163
|
+
babelCustomizationForLibrary: {
|
164
|
+
babelPlugins: [<`your plugins`>]
|
165
|
+
},
|
166
|
+
```
|
167
|
+
- The Memory leak issue while downloading i18n and CSS files has been fixed
|
168
|
+
|
169
|
+
|
170
|
+
# 1.1.20-exp.1
|
171
|
+
|
172
|
+
**Changes**
|
173
|
+
|
174
|
+
- Added memory leak fixes for script, links tags
|
175
|
+
|
176
|
+
**Feature**
|
177
|
+
- Custom Script loading strategy support for initial html script tags.
|
178
|
+
|
179
|
+
# 1.1.19-exp.18
|
180
|
+
|
181
|
+
**Changes**
|
182
|
+
|
183
|
+
- To do further build size optimization by utilizing webpack provided config.
|
184
|
+
|
185
|
+
```
|
186
|
+
innerGraph: true,
|
187
|
+
usedExports: true,
|
188
|
+
sideEffects: true
|
189
|
+
```
|
190
|
+
|
191
|
+
# 1.1.20 (27-5-2024)
|
192
|
+
|
193
|
+
**Feature**
|
194
|
+
|
195
|
+
- enhancedReactLiveConverter.js added and imported in docLoader file
|
196
|
+
|
197
|
+
- stats.json file creation deleted, if `enable_stats` option is false.
|
198
|
+
|
199
|
+
# 1.1.19 (5-2-2024)
|
200
|
+
|
201
|
+
**Feature:-**
|
202
|
+
|
203
|
+
- Added config to remove additon of `babel/react` extend code for 'spread' operator usage on JSX.
|
204
|
+
|
205
|
+
# 1.1.18 (30-01-2024)
|
206
|
+
|
207
|
+
**Feature:-**
|
208
|
+
|
209
|
+
- MJS loader support added.
|
210
|
+
- We can enable/disable this feature by `npm run start --enableMjsLoader=true/false` default value will be `false`.
|
211
|
+
|
212
|
+
```
|
213
|
+
app: {
|
214
|
+
enableMjsLoader : true/false
|
215
|
+
}
|
216
|
+
```
|
217
|
+
|
218
|
+
# 1.1.17 (24.1.2024)
|
219
|
+
|
220
|
+
**Feature:-**
|
221
|
+
|
222
|
+
- Updated browser data used for querying target browsers, which lead to reduced polyfills in our bundle.
|
223
|
+
|
224
|
+
```
|
225
|
+
npm run updateTargetBrowserVersions // to update browser targets
|
226
|
+
```
|
227
|
+
|
228
|
+
**Fixes**
|
229
|
+
|
230
|
+
- added prop types removal for es6 bundling, which is missed.
|
231
|
+
|
232
|
+
# 1.1.16 (25-10-2023)
|
233
|
+
|
234
|
+
**Feature:-**
|
235
|
+
|
236
|
+
- Support for running devURL in a Kubernetes (k8s) environment has been added.
|
237
|
+
|
238
|
+
In order to support k8's, we need to the change the server url:-
|
239
|
+
|
240
|
+
Follow the below steps to enable support for k8's in your app:-
|
241
|
+
|
242
|
+
1.Add the following config in your react-cli.config.js file:-
|
243
|
+
|
244
|
+
```
|
245
|
+
app: {
|
246
|
+
server: {
|
247
|
+
domain : 'kubernetes'
|
248
|
+
}
|
249
|
+
}
|
250
|
+
```
|
251
|
+
|
252
|
+
# 1.1.15 (11-10-2023)
|
253
|
+
|
254
|
+
**Feature:-**
|
255
|
+
|
256
|
+
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
257
|
+
- to use externals, we use the following pattern in `app > externals` :
|
258
|
+
|
259
|
+
For example
|
260
|
+
```
|
261
|
+
externals: {
|
262
|
+
<key> : <value>
|
263
|
+
}
|
264
|
+
```
|
265
|
+
# 1.1.14 (11-9-2023)
|
266
|
+
|
267
|
+
**Feature:-**
|
268
|
+
|
269
|
+
- Value Replacer supports `^` before and `$` after the word to consider the whole word for replacement. Only if the exact word comes as value, there will be a replacement made.
|
270
|
+
|
271
|
+
**Issue Fix**
|
272
|
+
|
273
|
+
- 'space' character on variable conversion changes to undefined fixed.
|
274
|
+
- calc(100%) variable conversion to undefined fixed.
|
275
|
+
- height value if text converts to undefined, issue fixed.
|
276
|
+
|
277
|
+
# 1.1.13 (4-9-2023)
|
278
|
+
|
279
|
+
**Changes**
|
280
|
+
|
281
|
+
- Fixed the issue related to the resource cleanup plugin. (EfcResouceCleanupPlugin)
|
282
|
+
|
283
|
+
|
284
|
+
# 1.1.12 (1-9-2023)
|
285
|
+
|
286
|
+
**Features**
|
287
|
+
|
288
|
+
- Generating stats.json file for the build assets only in production mode. To use this feature we need to add `stats > enable` or cli flags `enable_stats`.
|
289
|
+
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by custom attributes enable flag.
|
290
|
+
|
291
|
+
**Changes**
|
292
|
+
|
293
|
+
- Added a new config `stats` to control stats file generation.
|
294
|
+
- Using Existing custom attributes flag, we can control resource cleanup plugin.
|
295
|
+
|
296
|
+
# 1.1.11 (4-8-2023)
|
297
|
+
|
298
|
+
**Changes**
|
299
|
+
|
300
|
+
- we have renamed our default config file as `react-cli.config.js` instead of `build.config.js`. But we still support `build.config.js` we will remove it in later major version.
|
301
|
+
|
302
|
+
- Prop-type, Prop description, Default Props support for docs given.
|
303
|
+
- Docs and Docs_Code UI updated.
|
304
|
+
|
305
|
+
**Features:-**
|
306
|
+
|
307
|
+
- custom classname prefix for separate packages now supported.
|
308
|
+
- to use custom classnames for specific patterns, we use the following pattern in `app > customClassNamePrefix` or `docs > customClassNamePrefix` :
|
309
|
+
|
310
|
+
```
|
311
|
+
"customClassNamePrefix" : [
|
312
|
+
{
|
313
|
+
"enable": true,
|
314
|
+
"prefix": "[required-prefix]",
|
315
|
+
"patterns":[
|
316
|
+
"**/[path-name]/**/*.css"
|
317
|
+
]
|
318
|
+
}
|
319
|
+
]
|
320
|
+
```
|
321
|
+
|
322
|
+
For example,
|
323
|
+
|
324
|
+
```
|
325
|
+
"customClassNamePrefix": [
|
326
|
+
{
|
327
|
+
"enable": true,
|
328
|
+
"prefix": "zdSvg",
|
329
|
+
"patterns": [
|
330
|
+
"**/@zohodesk/svg/**/*.css"
|
331
|
+
]
|
332
|
+
},
|
333
|
+
],
|
334
|
+
```
|
335
|
+
|
336
|
+
**Issue Fix:**
|
337
|
+
|
338
|
+
- typo fix, (../src/common/runPreProcess.js) to (../lib/common/runPreProcess.js) in cli.js our code.
|
339
|
+
|
340
|
+
# 1.1.10 (2-8-2023)
|
341
|
+
|
342
|
+
**Issue Fix:**
|
343
|
+
|
344
|
+
- undefined plugin postcss issue fixed for docs.
|
345
|
+
- unnecessary deprecation warning stopped. (for exclude config)
|
346
|
+
|
347
|
+
# 1.1.9 (25-7-2023)
|
348
|
+
|
349
|
+
**Features:-**
|
350
|
+
|
351
|
+
- we have added config file support for react-cli schema. the default config file name `build.config.js` support added. In `build.config.js` you must export configuration object under `config` key. And Note: `build.config.js` is high priority then `package.json` `react-cli` config.
|
352
|
+
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
353
|
+
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
354
|
+
- added support for pattern as function for custom chunks split logic.
|
355
|
+
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
356
|
+
- added `postCssPluginOrder` feature :
|
357
|
+
|
358
|
+
- If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "false", default plugin order will be followed.
|
359
|
+
- If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "true", order preserved in `plugins` Object will be considered.
|
360
|
+
- If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to an array with plugins in a custom order, the custom order will be considered.
|
361
|
+
|
362
|
+
- We use the same plugin names as in `patterns` for the plugins to execute successfully.
|
363
|
+
|
364
|
+
**Issue Fix**
|
365
|
+
|
366
|
+
- fixed file path separator issue with split chunks config for vendor exclude list for windows (that was work well for mac and ubuntu only issue in windows).
|
367
|
+
- fixed cssUniqueness pattern not working in docs.
|
368
|
+
|
369
|
+
**Changes**
|
370
|
+
|
371
|
+
- previously all custom chunks are enforce true, no we have given support for enforce false for chunks on splitChunks config.
|
372
|
+
|
373
|
+
# 1.1.8
|
374
|
+
|
375
|
+
**Issue Fix**
|
376
|
+
|
377
|
+
- Docs fix for Selector Replace 'always require argument' issue.
|
378
|
+
|
379
|
+
# 1.1.7
|
380
|
+
|
381
|
+
**Feature**
|
382
|
+
|
383
|
+
- Markdown parser feature added in docs
|
384
|
+
For more info please refer to :
|
385
|
+
[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/MarkdownParser.md)
|
386
|
+
|
387
|
+
# 1.1.6-exp.2
|
388
|
+
|
389
|
+
- fixed file path separator issue with split chunks config for vendor exclude list.
|
390
|
+
- added support for not doing enforce true for chunks on splitChunks config.
|
391
|
+
|
392
|
+
# 1.1.5-exp.5
|
393
|
+
|
394
|
+
- fixed the issues regarding custom chunks base config schema.
|
395
|
+
|
396
|
+
# 1.1.5-exp.4
|
397
|
+
|
398
|
+
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
399
|
+
|
400
|
+
# 1.1.5-exp.3
|
401
|
+
|
402
|
+
- added options to split chunks base config
|
403
|
+
- added support for passing custom chunks split logic as function.
|
404
|
+
|
405
|
+
# 1.1.6
|
406
|
+
|
407
|
+
**Issue Fix**
|
408
|
+
|
409
|
+
- local install react-cli spawnSync Error fix in npm 8
|
410
|
+
- babel version update issue fix (Cannot read properties of undefined (reading 'file')) and (BABEL_TRANSFORM_ERROR)
|
411
|
+
|
412
|
+
# 1.1.5-exp.2
|
413
|
+
|
414
|
+
**Issue Fix**
|
415
|
+
|
416
|
+
- local install react-cli spawnSync Error fix in npm 8
|
417
|
+
|
418
|
+
# 1.1.5
|
419
|
+
|
420
|
+
**Issue Fix**
|
421
|
+
|
422
|
+
- include pattern fix for variable converter plugin fixed
|
423
|
+
|
424
|
+
# 1.1.4
|
425
|
+
|
426
|
+
**Issue Fix**
|
427
|
+
|
428
|
+
- global install react-cli spawnSync Error fix
|
429
|
+
- `0px` variable value conversion issue fixed
|
430
|
+
- pattern exclude for postcss plugins case fixed
|
431
|
+
|
432
|
+
# 1.1.3
|
433
|
+
|
434
|
+
**Issue Fix**
|
435
|
+
|
436
|
+
- local install react-cli spawnSync Error fix
|
437
|
+
|
438
|
+
# 1.1.2
|
439
|
+
|
440
|
+
**Issue Fix**
|
441
|
+
|
442
|
+
- ReactLiveConverter filepath changed to 'reactLiveConverter.js' in docLoader file
|
443
|
+
|
47
444
|
# 1.1.1
|
48
445
|
|
49
446
|
**Issue Fix**
|
447
|
+
|
50
448
|
- docs component name incorrect in windows, when using --enableReactLive issue fixed.
|
51
449
|
|
52
|
-
**Feature Update**
|
450
|
+
**Feature Update**
|
451
|
+
|
53
452
|
- Support for desk-library to use Selector Replace plugin using individual script. To use `react-cli selectorReplacer [source] [target]`
|
54
453
|
|
55
454
|
# 1.1.0
|
56
455
|
|
57
456
|
**Feature Update**
|
58
|
-
|
457
|
+
|
458
|
+
- Support for desk-library to use variable conversion plugin using individual script. To use `react-cli variableConverter [source] [target]`
|
59
459
|
- pattern filter changes, new filter system instead of exclude to include or exclude files for plugins.
|
60
|
-
For more info please refer to :
|
61
|
-
[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/patternFiltering.md)
|
460
|
+
For more info please refer to :
|
461
|
+
[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/patternFiltering.md)
|
62
462
|
- React Live feature implemented for Docs.
|
63
|
-
[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ReactLive.md)
|
463
|
+
[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ReactLive.md)
|
64
464
|
|
65
465
|
# 1.0.3-beta.1
|
66
466
|
|
67
467
|
**Issue Fix**
|
68
|
-
- nock api not working issue fixed. This error throwing in @zohodesk/react-cli@1.0.2 version. but working in older versions ( 0.0.1-beta.178 )
|
69
468
|
|
469
|
+
- nock api not working issue fixed. This error throwing in @zohodesk/react-cli@1.0.2 version. but working in older versions ( 0.0.1-beta.178 )
|
70
470
|
|
71
471
|
# 1.0.3
|
72
472
|
|
73
473
|
**Feature Update**
|
474
|
+
|
74
475
|
- Support for global httpsCerts usage
|
75
476
|
- Support for global client_packages_group usage
|
76
|
-
- custom attribute for dynamically loading chunks, In this version we merged changes from [0.0.1-beta.167.1](#0.0.1-beta.167.1).
|
77
|
-
**Package Update**
|
78
|
-
- @zohodesk/client_packages_group@**1.0.1** ==>
|
79
|
-
|
80
|
-
|
477
|
+
- custom attribute for dynamically loading chunks, In this version we merged changes from [0.0.1-beta.167.1](#0.0.1-beta.167.1).
|
478
|
+
**Package Update**
|
479
|
+
- @zohodesk/client_packages_group@**1.0.1** ==> @zohodesk/client_packages_group@**1.0.2**
|
81
480
|
|
82
481
|
# 1.0.2
|
83
482
|
|
84
483
|
**Feature Update**
|
484
|
+
|
85
485
|
- Selector replace plugin made as a custom postcss-plugin with update to code that was unpublished in package.
|
86
486
|
|
87
487
|
# 1.0.1
|
88
488
|
|
89
489
|
**Issue Fix**
|
490
|
+
|
90
491
|
- variable conversion for px and var(--) values in same declaration was not supported, now it is supported.
|
91
492
|
- package-lock.json removed from `.npmignore`
|
92
493
|
|
93
494
|
**Feature Update**
|
495
|
+
|
94
496
|
- exclude added to Selector Plugin
|
497
|
+
|
95
498
|
# 1.0.0
|
499
|
+
|
96
500
|
## Major Release
|
501
|
+
|
97
502
|
**Changes:**
|
503
|
+
|
98
504
|
- File support added for `.webp` for `docs`, `dev` and `prod` mode
|
99
505
|
- File support added for `.webm` for `docs`, `dev` and `prod` mode
|
100
506
|
|
101
507
|
**Breaking Changes:**
|
102
508
|
|
103
|
-
- We have remove ssl certificate for security reasons.
|
104
|
-
So default https server won't run.
|
105
|
-
In order to make it work as before you
|
509
|
+
- We have remove ssl certificate for security reasons.
|
510
|
+
So default https server won't run.
|
511
|
+
In order to make it work as before you need to specify two things
|
106
512
|
1. install `@zohodesk-private/client_dev_cert`
|
107
|
-
2.
|
108
|
-
|
109
|
-
|
110
|
-
|
513
|
+
2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
|
514
|
+
unless configaration are proper this may break `start` , `docs` , `nowatchstart`. and mock wms `/wmsmockapi` won't work.
|
515
|
+
So Please be carefull when you update this version or above without proper configaration.
|
111
516
|
|
112
517
|
# 0.0.1-beta.178
|
113
518
|
|
@@ -118,13 +523,13 @@ For more info please refer to :
|
|
118
523
|
|
119
524
|
**Breaking Changes:**
|
120
525
|
|
121
|
-
- We have remove ssl certificate for security reasons.
|
122
|
-
So default https server won't run.
|
123
|
-
In order to make it work as before you
|
526
|
+
- We have remove ssl certificate for security reasons.
|
527
|
+
So default https server won't run.
|
528
|
+
In order to make it work as before you need to specify two things
|
124
529
|
1. install `@zohodesk-private/client_dev_cert`
|
125
|
-
2.
|
126
|
-
|
127
|
-
|
530
|
+
2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
|
531
|
+
unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
|
532
|
+
So Please be carefull when you update this version or above without proper configaration.
|
128
533
|
|
129
534
|
# 0.0.1-exp.178.2
|
130
535
|
|
@@ -136,13 +541,13 @@ For more info please refer to :
|
|
136
541
|
|
137
542
|
**Breaking Changes:**
|
138
543
|
|
139
|
-
- We have remove ssl certificate for security reasons.
|
140
|
-
So default https server won't run.
|
141
|
-
In order to make it work as before you
|
544
|
+
- We have remove ssl certificate for security reasons.
|
545
|
+
So default https server won't run.
|
546
|
+
In order to make it work as before you need to specify two things
|
142
547
|
1. install `@zohodesk-private/client_dev_cert`
|
143
|
-
2.
|
144
|
-
|
145
|
-
|
548
|
+
2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
|
549
|
+
unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
|
550
|
+
So Please be carefull when you update this version or above without proper configaration.
|
146
551
|
|
147
552
|
# 0.0.1-beta.177
|
148
553
|
|
@@ -203,8 +608,8 @@ cli has been updated to fix compose issue faced when classname:hover exists and
|
|
203
608
|
|
204
609
|
**Feature:-**
|
205
610
|
|
206
|
-
- `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
|
207
|
-
|
611
|
+
- `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
|
612
|
+
`classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
|
208
613
|
|
209
614
|
**Changes:-**
|
210
615
|
|
@@ -223,7 +628,7 @@ For an more information and reference, refer to `[details](https://zgit.csez.zoh
|
|
223
628
|
|
224
629
|
# 0.0.1-beta.172
|
225
630
|
|
226
|
-
We have renamed some options, For Our future features convenience.
|
631
|
+
We have renamed some options, For Our future features convenience.
|
227
632
|
We have given fallback support.
|
228
633
|
Deprecation Warnings:-
|
229
634
|
|
@@ -300,8 +705,9 @@ Features:-
|
|
300
705
|
- In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
|
301
706
|
|
302
707
|
# 0.0.1-beta.167.1
|
303
|
-
|
304
|
-
|
708
|
+
|
709
|
+
In this version we merged changes from [0.0.1-betaa.138.1](#0.0.1-betaa.138.1).
|
710
|
+
and with [0.0.1-beta.167](#0.0.1-beta.167) version changes.
|
305
711
|
|
306
712
|
# 0.0.1-beta.167
|
307
713
|
|
@@ -565,6 +971,7 @@ impact servise related changes:-
|
|
565
971
|
- few enhancements
|
566
972
|
|
567
973
|
# 0.0.1-betaa.138.1
|
974
|
+
|
568
975
|
- new feature added for custom extra attribute for dynamically added tags by webpack.
|
569
976
|
- To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
|
570
977
|
- For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
|
@@ -1207,3 +1614,7 @@ impact servise related changes:-
|
|
1207
1614
|
- prod string error fix
|
1208
1615
|
- efc build support
|
1209
1616
|
- single style tag support
|
1617
|
+
|
1618
|
+
```
|
1619
|
+
|
1620
|
+
```
|