@zohodesk/react-cli 0.0.1-exp.169.2 → 0.0.1-exp.175.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.
Files changed (128) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +180 -179
  3. package/.prettierrc +6 -6
  4. package/{CHANGELOG.md → CHANGELOG-fz.md} +0 -0
  5. package/Changelog.md +1019 -0
  6. package/README.md +27 -951
  7. package/bin/cli.js +483 -483
  8. package/docs/CustomChunks.md +26 -26
  9. package/docs/DevStart.md +18 -18
  10. package/docs/HoverActive.md +12 -12
  11. package/docs/InstallNode.md +28 -28
  12. package/docs/TODOS.md +10 -10
  13. package/docs/ValueReplacer.md +60 -60
  14. package/docs/VariableConversion.md +678 -0
  15. package/docs/warnings_while_install.txt +35 -35
  16. package/files/eslintrc.js +62 -62
  17. package/files/prettierrc.js +3 -3
  18. package/lib/configs/jest.config.js +8 -12
  19. package/lib/configs/libAlias.js +10 -3
  20. package/lib/configs/resolvers.js +38 -0
  21. package/lib/configs/webpack.css.umd.config.js +4 -4
  22. package/lib/configs/webpack.dev.config.js +17 -22
  23. package/lib/configs/webpack.docs.config.js +10 -15
  24. package/lib/configs/webpack.impact.config.js +11 -11
  25. package/lib/configs/webpack.prod.config.js +22 -24
  26. package/lib/constants.js +31 -0
  27. package/lib/jest/preProcessors/cssPreprocessor.js +16 -7
  28. package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
  29. package/lib/loaderUtils/getCSSLoaders.js +42 -22
  30. package/lib/loaders/workerLoader.js +9 -9
  31. package/lib/pluginUtils/configHtmlWebpackPlugins.js +59 -0
  32. package/lib/pluginUtils/getDevPlugins.js +19 -39
  33. package/lib/pluginUtils/getProdPlugins.js +29 -47
  34. package/lib/plugins/EFCPlugin.md +6 -6
  35. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  36. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  37. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  38. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  39. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  40. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  41. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  42. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  43. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +16 -24
  44. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  45. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  46. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  47. package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
  48. package/lib/postcss-plugins/__test__/test1Input.css +38 -38
  49. package/lib/postcss-plugins/__test__/test1Output.css +38 -38
  50. package/lib/postcss-plugins/hoverActivePlugin.js +54 -30
  51. package/lib/postcss-plugins/variableModificationPlugin/ErrorHandler.js +37 -0
  52. package/lib/postcss-plugins/variableModificationPlugin/index.js +248 -0
  53. package/lib/postcss-plugins/variableModifier.js +1 -0
  54. package/lib/schemas/index.js +36 -8
  55. package/lib/servers/docsServerCore.js +13 -12
  56. package/lib/servers/getCliPath.js +1 -1
  57. package/lib/servers/httpsOptions.js +40 -9
  58. package/lib/servers/nowatchserver.js +12 -11
  59. package/lib/servers/server.js +14 -13
  60. package/lib/sh/pre-commit.sh +34 -34
  61. package/lib/sh/reportPublish.sh +45 -45
  62. package/lib/utils/buildstats.html +148 -148
  63. package/lib/utils/getOptions.js +42 -14
  64. package/lib/utils/resultSchema.json +73 -73
  65. package/npm8.md +9 -9
  66. package/package.json +119 -148
  67. package/postpublish.js +8 -6
  68. package/templates/app/.eslintrc.js +140 -140
  69. package/templates/app/README.md +12 -12
  70. package/templates/app/app/index.html +24 -24
  71. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  72. package/templates/app/app/properties/i18nkeys.json +3 -3
  73. package/templates/app/docs/all.html +69 -69
  74. package/templates/app/mockapi/index.js +18 -18
  75. package/templates/app/package.json +37 -37
  76. package/templates/app/src/actions/SampleActions/index.js +37 -37
  77. package/templates/app/src/actions/index.js +65 -65
  78. package/templates/app/src/appUrls.js +19 -19
  79. package/templates/app/src/components/Alert/Alert.js +134 -134
  80. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  81. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  82. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  83. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  84. package/templates/app/src/components/Sample/SampleList.js +61 -61
  85. package/templates/app/src/components/Slider/Slider.css +41 -41
  86. package/templates/app/src/components/Slider/Slider.js +55 -55
  87. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  88. package/templates/app/src/containers/AppContainer/index.js +96 -96
  89. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  90. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  91. package/templates/app/src/containers/DevTools/index.js +10 -10
  92. package/templates/app/src/containers/Header/index.js +67 -67
  93. package/templates/app/src/containers/Header/index.module.css +43 -43
  94. package/templates/app/src/containers/Redirect/index.js +63 -63
  95. package/templates/app/src/containers/Redirector/index.js +47 -47
  96. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  97. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  98. package/templates/app/src/historyChange.js +5 -5
  99. package/templates/app/src/index.html +10 -10
  100. package/templates/app/src/index.js +24 -24
  101. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  102. package/templates/app/src/reducers/alertData.js +11 -11
  103. package/templates/app/src/reducers/index.js +6 -6
  104. package/templates/app/src/reducers/samples.js +19 -19
  105. package/templates/app/src/store/configureStore.dev.js +51 -51
  106. package/templates/app/src/store/configureStore.js +5 -5
  107. package/templates/app/src/store/configureStore.prod.js +26 -26
  108. package/templates/app/src/util/Common.js +5 -5
  109. package/templates/app/src/util/RequestAPI.js +132 -132
  110. package/templates/docs/all.html +249 -249
  111. package/templates/docs/component.html +178 -178
  112. package/templates/docs/components.html +221 -221
  113. package/templates/docs/css/b.min.css +6 -6
  114. package/templates/docs/css/component.css +42 -42
  115. package/templates/docs/css/componentTest.css +6 -6
  116. package/templates/docs/css/hopscotch.css +585 -585
  117. package/templates/docs/css/style.css +1022 -1022
  118. package/templates/docs/impactReportTemplate.html +154 -154
  119. package/templates/docs/index.html +1501 -1493
  120. package/templates/docs/js/active-line.js +72 -72
  121. package/templates/docs/js/b.min.js +7 -7
  122. package/templates/docs/js/codemirror.js +9680 -9680
  123. package/templates/docs/js/designTokens.js +334 -334
  124. package/templates/docs/js/j.min.js +4 -4
  125. package/templates/docs/js/javascript.js +874 -874
  126. package/templates/docs/js/matchbrackets.js +145 -145
  127. package/cert/Tsicsezwild-22-23.crt +0 -37
  128. package/cert/Tsicsezwild-22-23.key +0 -27
package/README.md CHANGED
@@ -1,951 +1,27 @@
1
- # React CLI
2
-
3
- A CLI tool for build modern web application and libraries
4
-
5
- # 0.0.1-exp.169.2
6
-
7
- 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
8
- 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
9
- 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
10
- # 0.0.1-exp.169.1
11
-
12
- File support added for mp4 for docs dev and prod mode
13
-
14
- # 0.0.1-beta.169
15
-
16
- this version has same as `0.0.1-exp.168.1`, `0.0.1-exp.168.2`, `0.0.1-exp.168.3` and below and some minor changes
17
-
18
- 1. `--efc_version=v3` flag added for change efc version via commmand line option
19
- 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
20
- 3. `combinerMq` flag added for combination of the media queries that might be appended or existing media queries that are duplicates to create one media query with all rules put together.
21
-
22
- # 0.0.1-exp.168.3
23
-
24
- Changes :
25
-
26
- 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
27
- 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
28
-
29
- # 0.0.1-exp.168.2
30
-
31
- Changes :
32
-
33
- 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
34
- 2. flag for hoverActive used to add/remove postcss changes
35
-
36
- # 0.0.1-exp.168.1
37
-
38
- Changes:-
39
-
40
- 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
41
- Due to the reason we updated our logic to find package's executable path.
42
- 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
43
- 3. added logic to print error message during command run, Previously when executable not found error messages not printed
44
-
45
- # 0.0.1-beta.168
46
-
47
- Changes:-
48
-
49
- 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
50
- 2. `--enable_efc=true` option added to enable efc by terminal
51
- 3. unwanted pem files removed
52
-
53
- # 0.0.1-beta.167
54
-
55
- SSL certificate update
56
- this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
57
- Features:-
58
-
59
- - `--shallow_clone` option to `react-cli clone` this option will be usefull for shallow cloning repos in build time we don't need commit messages it will be 2x fast this way
60
- - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
61
- - `cliRootPath` option added for npm workspace related path problems
62
- - Usage `package.json` , "react-cli" => "cliRootPath" stright key
63
- - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
64
- - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
65
-
66
- Issue Fix :-
67
-
68
- - In devmode initial html not recived after second rebuild issue fix.
69
- - typo fix `devBulid` to `devBuild`.
70
- - `disableES5Transpile` option missed in docs now added.
71
- - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
72
- But that option not enabled in docs. now it is enabled.
73
- - In `react-cli devbuild` command options not working properly,
74
- when above command run via terminal not via npm run script options not working
75
- So we send that options to webpack then it works as expected.
76
- this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
77
-
78
- # 0.0.1-exp.166.2
79
-
80
- Changes:-
81
-
82
- - `-w` option (watch option) added for `react-cli rtl`
83
- - Example `react-cli rtl ./src ./lib -w`
84
- <!-- need to handle `react-cli rtl` options correctly -->
85
- - disableES5Transpile option libAlias added for docs
86
-
87
- # 0.0.1-exp.166.1
88
-
89
- Changes:-
90
-
91
- - `__testUtils__/globals.js` to jest is not mantatory
92
- - disableES5Transpile option libAlias added
93
-
94
- # 0.0.1-beta.166
95
-
96
- this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
97
-
98
- - google chorme cors preflight issue fix
99
-
100
- # 0.0.1-beta.165
101
-
102
- - `valueReplacer` option added in shemas for font name replace related issue handling, for more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ValueReplacer.md)
103
- - `valuereplacer` option added in react-cli it takes three
104
- 1. sourceDir
105
- 2. distDir
106
- 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
107
-
108
- # 0.0.1-exp.164.1
109
-
110
- - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
111
-
112
- # 0.0.1-exp.164.2
113
-
114
- - `devbuild` option add to react cli
115
-
116
- # 0.0.1-beta.164
117
-
118
- - typo fix
119
-
120
- # 0.0.1-beta.163
121
-
122
- - **Issue Fix:-**
123
-
124
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
125
- - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
126
-
127
- - **Features :-**
128
- - feature added for pre process logic
129
- - tailer made requirement for preprocess, just write node js file
130
- - mention file in `"react-cli" => "preprocess" => "runner"`
131
- - option parse logic added for react-cli (exprimental)
132
- - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
133
-
134
- # 0.0.1-exp.162.2
135
-
136
- - **Optimazation:-**
137
- - double time minimize optimazation
138
-
139
- # 0.0.1-beta.162.1
140
-
141
- - **Issue Fix:-**
142
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
143
-
144
- # 0.0.1-beta.161.1
145
-
146
- - **Features :-**
147
- - feature added for pre process logic
148
- - tailer made requirement for preprocess, just write node js file
149
- - mention file in `"react-cli" => "preprocess" => "runner"`
150
- - option parse logic added for react-cli (exprimental)
151
-
152
- # 0.0.1-beta.162
153
-
154
- - @zohodesk/datetimejs package updated to beta.8
155
-
156
- # 0.0.1-beta.161
157
-
158
- - **Features :-**
159
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
160
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
161
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
162
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
163
- - `assetsType` are `js`, `css`, `i18n`
164
- - `lang` this argument only works when `i18n` is `assetsType`
165
- - feature added for efc `cdnStatement`
166
- - **Issue fixes:-**
167
- - css classname hash change issue fix
168
- - debug package conflit issue fix in nock in (react-cli test)
169
- - manifest.json css file name correction issue for rtl and ltr
170
-
171
- # 0.0.1-exp.161.2
172
-
173
- - Features
174
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
175
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
176
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
177
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
178
- - `assetsType` are `js`, `css`, `i18n`
179
- - `lang` this argument only works when `i18n` is `assetsType`
180
-
181
- # 0.0.1-exp.161.1
182
-
183
- - Features
184
- - feature added for efc `cdnStatement`
185
- - Issue fixes:-
186
- - css classname hash change issue fix
187
- - debug package conflit issue fix in nock in (react-cli test)
188
- - manifest.json css file name correction issue for rtl and ltr
189
-
190
- # 0.0.1-beta.160
191
-
192
- - @zohodesk/normalizer package version updated to 1.0.2
193
-
194
- # 0.0.1-beta.159
195
-
196
- - @zohodesk/datetimejs package updated to beta.7
197
-
198
- # 0.0.1-exp.159
199
-
200
- - issue fix:-
201
- - when rtl ltr css split enable manifest json css filename keys comes with hash .
202
-
203
- # 0.0.1-beta.158
204
-
205
- - Removing source map files from service worker caching.
206
-
207
- # 0.0.1-beta.157
208
-
209
- - Experimental version issue fix(Dummy version removed)
210
-
211
- # 0.0.1-beta.156
212
-
213
- - ReportPublish issue fix
214
-
215
- # 0.0.1-beta.155
216
-
217
- - get impacted library source files option added
218
-
219
- # 0.0.1-beta.154
220
-
221
- - mockPrefix option for mock url prefix change
222
- - Issue fix:-
223
- - un wanted {{--js-smap}} in inital html without enable smap in build
224
-
225
- # 0.0.1-beta.153
226
-
227
- - Vendor include array added
228
- - If you need to include any thrid party js in vendor we can use this array
229
-
230
- # 0.0.1-beta.152
231
-
232
- impact servise related changes:-
233
-
234
- - nowatchstart option added. will be used like `react-cli nowatchstart <...options>` this will be used for src file changes no need to reflect (or no need to rebulid on file changes)
235
- - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
236
- only work in two ways
237
- 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
238
- 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
239
- #### Urls are:-
240
- Below express path are added, For download zip files and
241
- - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
242
- - `/zips/build.zip` build zip file (contains bundled all files)
243
-
244
- # 0.0.1-beta.151
245
-
246
- - issue fix:- Docs config 'html-loader' options updated.
247
- - sslcertUpdate feature added
248
- - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
249
- - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
250
-
251
- # 0.0.1-beta.150
252
-
253
- - issue Fix:- in npm 7 option not working issue fixed
254
- - ssl certificate update
255
-
256
- # 0.0.1-beta.149
257
-
258
- - css, ltr and rtl chunk split based on [dir=ltr]
259
- - to enable ltr and rtl chunk spilt you have to add config in you package.json
260
- <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
261
- - we have added some options in EFCPlugin for rtlsplit related features.
262
- - we have expoed require function for only css impact related changes with flag
263
-
264
- # 0.0.1-beta.148
265
-
266
- - source map enabled in prod mode for debug client
267
- - crossorigin attribute added for scripts
268
-
269
- # 0.0.1-beta.147
270
-
271
- - reportpublish issue fix
272
-
273
- # 0.0.1-beta.146
274
-
275
- - while docs run LibraryImactPlugin not constructor issue fix
276
- - css loader added for css impact related changes
277
-
278
- # 0.0.1 -beta.145
279
-
280
- - LibraryImpactPlugin added
281
- - check impacted source components name if any version update happened with master
282
-
283
- # 0.0.1-beta.144
284
-
285
- - prod build bug fix
286
-
287
- # 0.0.1-beta.143
288
-
289
- - `babel-plugin-transform-remove-console` added for remove console properties except error and log
290
- - `console_exculde` script added if suppose enable same in dev mode
291
- - service worker plugin changes
292
- - library impact changes
293
-
294
- # 0.0.1-beta.142
295
-
296
- - `eslint-plugin-react-hooks` added to eslint support.
297
- - Updated exact versions to eslint plugins installation script.
298
-
299
- # 0.0.1-beta.141
300
-
301
- - report publish sh fixes
302
- - duplicate removal in impacted componentTest
303
-
304
- # 0.0.1-beta.140
305
-
306
- - copy-webpack-plugin bug fix
307
-
308
- # 0.0.1-beta.139
309
-
310
- - copy-webpack-plugin downgrade
311
- - babel runtime plugin issue fix in prod config
312
- - few enhancements
313
-
314
- # 0.0.1-beta.138
315
-
316
- - sstest library version updated
317
- - unitcase calcluation issues fixed
318
-
319
- # 0.0.1-beta.137
320
-
321
- - Third party css files loading issue fix
322
-
323
- # 0.0.1-beta.136
324
-
325
- - eslint support
326
-
327
- # 0.0.1-beta.135
328
-
329
- - windows publish issue
330
-
331
- # 0.0.1-beta.134
332
-
333
- - Build Issue Fix
334
-
335
- # 0.0.1-beta.133
336
-
337
- - CDN Changes in I18nSplitPlugin
338
- - nonce support added for i18n chunks
339
-
340
- # 0.0.1-beta.132
341
-
342
- - CDN Changes in EFC Plugin
343
-
344
- # 0.0.1-beta.131
345
-
346
- - Added Cdn Change Plugin
347
-
348
- # 0.0.1-beta.130
349
-
350
- - Babel 7 migration, ES6 build generation config and polyfill removal
351
- - CopyPlugin issue fix
352
-
353
- #0.0.1-beta.129
354
-
355
- - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
356
-
357
- # 0.0.1-beta.128
358
-
359
- - Added support to generate hash for the third party files(TPHashMappingPlugin)
360
-
361
- # 0.0.1-beta.127
362
-
363
- - service worker plugin - to recursively add multiple directories (recursive=true)
364
-
365
- # 0.0.1-beta.126
366
-
367
- - issue fix in i18n split plugin
368
-
369
- # expremental versions
370
-
371
- - 0.0.1-beta.121
372
- - 0.0.1-beta.122
373
- - 0.0.1-beta.123
374
- - 0.0.1-beta.124
375
- - 0.0.1-beta.125
376
-
377
- # 0.0.1-beta.120
378
-
379
- - issue fix in third party file copying
380
-
381
- # expremental versions
382
-
383
- - 0.0.1-beta.119
384
- - 0.0.1-beta.118
385
-
386
- #0.0.1-beta.117
387
-
388
- - createSDkFile otion added for efc
389
- - small fix in i18n split plugin
390
-
391
- #0.0.1-beta.116
392
-
393
- - thirdparty package move to build (tpFolder in app config)
394
-
395
- #0.0.1-beta.115
396
-
397
- - Added Web worker support
398
-
399
- #0.0.1-beta.114
400
-
401
- - i18n split based on chunk
402
- - to enable i18n chunk spilt you have to add config in you package.json
403
-
404
- #0.0.1-beta.113
405
-
406
- - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
407
-
408
- #0.0.1-beta.112
409
-
410
- - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
411
- - Service worker plugin changes
412
-
413
- #0.0.1-beta.111
414
-
415
- - hasRTL, selectorReplace Condition Separated
416
-
417
- #0.0.1-beta.110
418
-
419
- - SplitChunk Order Issue Fixed
420
- - https url issue Fixed
421
-
422
- #0.0.1-beta.109
423
-
424
- - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
425
-
426
- #0.0.1-beta.108
427
-
428
- - @zohodesk/screenshottest package version update (18)
429
-
430
- #0.0.1-beta.107
431
-
432
- - changed component without docs finder added
433
-
434
- #0.0.1-beta.106
435
-
436
- - custom chunk support changes
437
- - css absolute url fix
438
-
439
- #0.0.1-beta.105
440
-
441
- - @zohodesk/screenshottest package version update (17) with the issue fix
442
-
443
- #0.0.1-beta.104
444
-
445
- - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
446
-
447
- #0.0.1-beta.103
448
-
449
- - @zohodesk/screenshottest package version update (16) with the issue fix
450
-
451
- #0.0.1-beta.102
452
-
453
- - @zohodesk/screenshottest package version update (15) with the issue fix
454
-
455
- #0.0.1-beta.101
456
-
457
- - 100 changes readme missing
458
- - bundle analyser changes
459
-
460
- #0.0.1-beta.100
461
-
462
- - @zohodesk/screenshottest package version update with the issue fix
463
- - font public path replace issue for url fonts - fixed
464
-
465
- #0.0.1-beta.99
466
-
467
- - can't publish already published
468
-
469
- #0.0.1-beta.98
470
-
471
- - defer break public path adding regex - fixed
472
-
473
- #0.0.1-beta.97
474
-
475
- - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
476
-
477
- #0.0.1-beta.96
478
-
479
- - html plugin inject option expose and version udpate 4.2.0
480
- - src html change i18n removal issue fix
481
- - script loading defer added
482
- - added babel plugin to remove proptypes
483
-
484
- #0.0.1-beta.95
485
-
486
- - schemas/index.js - issue fix
487
-
488
- #0.0.1-beta.94
489
-
490
- - screenshot test library version update
491
- - ssserver issue fix
492
-
493
- #0.0.1-beta.93
494
-
495
- - selector replacer for Help Center usecase
496
- - eslint performance plugin
497
- - css classname hash selector support for docs
498
- - service worker plugin
499
-
500
- #0.0.1-beta.92
501
-
502
- - docs ui fixes and edit mode
503
- - @zohodesk/datetimejs version update
504
-
505
- #0.0.1-beta.91
506
-
507
- - repo clone command pull issue fix
508
- - docs css change
509
- - SSTest package version downgrade
510
-
511
- #0.0.1-beta.90
512
-
513
- - added support for copying Timezone data from @zohodesk/datetimejs
514
- - docstool changes
515
-
516
- #0.0.1-beta.89
517
-
518
- - CSP nonce support for initial assets `{{--CSP-nonce}}`
519
- - introduced new mode to disable react warns in dev mode (dev-no-warn)
520
- - docs ui fix
521
-
522
- #0.0.1-beta.88
523
-
524
- - Impact run and Master seperate during SSTEST
525
- - docs changes
526
- - filenames and packages addedd in cssHashSelectors option
527
-
528
- #0.0.1-beta.87
529
-
530
- - run screenshot test for impacted components
531
- - seperate master from the CI flow with the HBase storage
532
- - docs changes
533
- - coverage percentage check disabled
534
-
535
- #0.0.1-beta.86
536
-
537
- - exclude without js changes for unittest
538
- - express server history fallback refactored
539
-
540
- #0.0.1-beta.85
541
-
542
- - i18n placeholder removal issue fixed
543
- - css classname prefix moved to option. default is zd
544
-
545
- #0.0.1-beta.84
546
-
547
- - object spread operator support
548
-
549
- #0.0.1-beta.83
550
-
551
- - eslint report type by flag
552
- - unitcase file exclude array issue fix
553
- - sstesthack issue fix
554
-
555
- #0.0.1-beta.82
556
-
557
- - eslint impact run enable - completed
558
- - devplugin cleanupstats filename import issue fix
559
- - coveragecollector return format change
560
-
561
- #0.0.1-beta.81
562
-
563
- - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
564
-
565
- #0.0.1-beta.80
566
-
567
- - unitcase filecoverage testpath issue fix
568
- - shadowdom support
569
- - postpublish and sstest hack script
570
- - dependencies impact list
571
- - can change runtime chunk's character
572
- - font preload added
573
-
574
- #0.0.1-beta.79
575
-
576
- - unitcase filecoverage added and also codecoverage with dependencies spec added
577
-
578
- #0.0.1-beta.78
579
-
580
- - components and dot library's stats added with module stats
581
- - Mini css extract plugin's unwanted logs removed
582
- - runtime chunk added in dev mode
583
- - nodemon windows issue fix
584
- - testinfo failure missing while can't get coverage
585
- - performance eslint plugin added and normalizer moved under zohodesk
586
-
587
- #0.0.1-beta.77
588
-
589
- - @zohodesk/eslint-plugin-zsecurity version update
590
- - git pull origin with branch name while screenshot test after the branch switch
591
-
592
- #0.0.1-beta.76
593
-
594
- - breaking issue fix from last version ( prod config issue )
595
-
596
- #0.0.1-beta.75
597
-
598
- - sstest - reinstall dependencies after switch branch
599
-
600
- #0.0.1-beta.74
601
-
602
- - docs provider support (Component.\_provider)
603
-
604
- #0.0.1-beta.73
605
-
606
- #0.0.1-beta.72
607
-
608
- - run eslint security rules option enable
609
- - add the reportURL with the result.json file
610
- - mock server post api issue fix
611
-
612
- #0.0.1-beta.71
613
-
614
- - publicpath hard coding while flatten build issue fix
615
-
616
- #0.0.1-beta.70
617
-
618
- - css class compression flag enable
619
- - docs src URL update
620
-
621
- #0.0.1-beta.69
622
-
623
- - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
624
- - babel-lodash plugin fix with getdevplugin
625
- - cursor blink issue fix for sstest
626
- - in result.json unitcase coverage verified boolean added
627
-
628
- #0.0.1-beta.68
629
-
630
- - rtl ignore [dir] changes
631
-
632
- #0.0.1-beta.67
633
-
634
- - babel-plugin-transform-dynamic-import library added with package.json
635
- - schema change with hostname cli option s
636
-
637
- #0.0.1-beta.66
638
-
639
- - mockport hard coded issue fix
640
-
641
- #0.0.1-beta.65
642
-
643
- - window rtl build issue fix
644
- - separate rtl build support added like react-cli rtl ./src ./lib
645
-
646
- #0.0.1-beta.64
647
-
648
- - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
649
-
650
- #0.0.1-beta.63
651
-
652
- - LTR & RTL support added
653
-
654
- #0.0.1-beta.62
655
-
656
- - componentTest.css entry in components.html
657
-
658
- #0.0.1-beta.60
659
-
660
- - SSTMiddleware hook added for ssserver
661
- - remove some unwanted class in components.css
662
- - componentTest.css added with common animation break css rules
663
-
664
- #0.0.1-beta.59
665
-
666
- - vendor files exclude from app
667
- - since the chunk hash issue, moduleIds configured as named
668
-
669
- #0.0.1-beta.58
670
-
671
- - Push result json with the report zip
672
- - screenshot-test library Version update
673
-
674
- #0.0.1-beta.57
675
-
676
- - vendor chunk split issue fix
677
-
678
- #0.0.1-beta.56
679
-
680
- - css ordering issue fix
681
-
682
- #0.0.1-beta.55
683
-
684
- - prod build performance changes
685
- - css duplication issue fix
686
- - root chunk splitting logic change
687
-
688
- #0.0.1-beta.54
689
-
690
- - increased css hash size 5 to 10
691
-
692
- #0.0.1-beta.53
693
-
694
- - generate json file for all the test results during test run
695
- - sstest version update
696
- - some issue fixes
697
-
698
- #0.0.1-beta.52
699
-
700
- - template src folder missed issue fix because of npmignore all src folder
701
-
702
- #0.0.1-beta.51
703
-
704
- - template app updated with redux and router by kumaresan(thala)
705
-
706
- #0.0.1-beta.50
707
-
708
- - window machine css unique issue fix
709
-
710
- #0.0.1-beta.49
711
-
712
- - dev css unique issue fix
713
-
714
- #0.0.1-beta.48
715
-
716
- - telephony support css unique changes
717
-
718
- #0.0.1-beta.47
719
-
720
- - git pull during the branch switch in ssserver
721
- - common util file for pull and switch the branches for both git and hg
722
-
723
- #0.0.1-beta.46
724
-
725
- - ogg file support and tmpl file support
726
-
727
- #0.0.1-beta.45
728
-
729
- - checkout branch with force during sstest
730
-
731
- #0.0.1-beta.44
732
-
733
- - sstest master trigger issue fix
734
-
735
- #0.0.1-beta.43
736
-
737
- - get component object from docs server by http protocol during sstest
738
- - reach docs server by the IP address of the host.
739
- - get the current branch name by args
740
-
741
- #0.0.1-beta.42
742
-
743
- - className ssTest added and screenshot test version update
744
-
745
- #0.0.1-beta.41
746
-
747
- - i18n replace issue fix
748
-
749
- - some css changes related to above
750
- - screenshottest version update
751
-
752
- #0.0.1-beta.40
753
-
754
- - SSTMiddleware added to get hook from webpack build process to start sstest
755
- - run unit test for commited files except the spec file name from name list
756
- - publicpath added for i18n js files
757
-
758
- #0.0.1-beta.39
759
-
760
- - prod build check issue fix
761
-
762
- #0.0.1-beta.38
763
-
764
- - all unitcase runs only with master option removed
765
- - prod mode in dev setup flag issue fix
766
-
767
- #0.0.1-beta.37
768
-
769
- - removed hash for index.html and add publicpath when run prod mode in dev machine
770
- - screenshot version updated
771
- - docs build log issue fix
772
-
773
- #0.0.1-beta.36
774
-
775
- - reportpublish sh file report generation even if any breakages in test scripts
776
-
777
- #0.0.1-beta.35
778
-
779
- - full run of spec fils only for master option added
780
- - reportpublish sh for screenshot test report template issue fix
781
-
782
- #0.0.1-beta.34
783
-
784
- - monitor mockserver changes without affecting static server
785
-
786
- #0.0.1-beta.33
787
-
788
- - mail sent issue - fix
789
-
790
- #0.0.1-beta.32
791
-
792
- - ssl cert update
793
- - webpack-bundle-analyzer version update (because of npm audit fix)
794
-
795
- #0.0.1-beta.31
796
-
797
- - reportpublicpath plugin rename issue fix
798
-
799
- #0.0.1-beta.30
800
-
801
- - report generate plugin rename
802
- - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
803
- - reportpublish sh update
804
-
805
- #0.0.1-beta.29
806
-
807
- - screenshot version updated
808
- - unit test case commit coverage issue fix
809
-
810
- #0.0.1-beta.28
811
-
812
- - Unitcase coverage for changed files issue fix
813
-
814
- #0.0.1-beta.27
815
-
816
- - prod build size and hash tracking report added
817
-
818
- #0.0.1-beta.26
819
-
820
- - inlined assets and css assets publicpath collide issue fix
821
-
822
- #0.0.1-beta.25
823
-
824
- - inline image public path issue fix
825
- - docs css change for sstest
826
-
827
- #0.0.1-beta.24
828
-
829
- - removed source map generation by default
830
-
831
- #0.0.1-beta.23
832
-
833
- - windows path issue in i18I18NInjectIntoIndexPlugin plugin
834
-
835
- #0.0.1-beta.22
836
-
837
- - unusedfilesplugin issue fixed and print valid info
838
-
839
- #0.0.1-beta.21
840
-
841
- - production build hash details exported in index html
842
-
843
- #0.0.1-beta.20
844
-
845
- - list the name of un documented component file name
846
-
847
- #0.0.1-beta.19
848
-
849
- - publicpath callback plugin added
850
-
851
- #0.0.1-beta.18
852
-
853
- - production build issue fix
854
-
855
- #0.0.1-beta.17
856
-
857
- - redux version downgraded
858
-
859
- #0.0.1-beta.16
860
-
861
- - Babel env and react issue fix
862
-
863
- #0.0.1-beta.15
864
-
865
- - Few issue fixes
866
- - Webpack Manifest Plugin revamped
867
- - @zohodesk/screenshot-test package added
868
-
869
- #0.0.1-beta.14
870
-
871
- - Removed minify option in css-loader config
872
- - Removed optimize-css-assets-webpack-plugin
873
- - Added UglifyCSS webpack plugin
874
- - Packages version up to dated expect babel-loader
875
- - Docs umd build issue fixed
876
- - CSS public path in all configs
877
-
878
- #0.0.1-beta.13
879
-
880
- - Breaking issues fix
881
- - Add eslint config file in project root folder
882
- - Removed hot module and SSR concepts
883
- - Public Path change plugin revamp
884
- - Replaced style-loader with MiniCssExtractPlugin for overall
885
-
886
- #0.0.1-beta.12
887
-
888
- - ResourceHints Plugin added
889
- - able to set public paths for various types of assets
890
- - provided few cli options for existing options
891
- - change ext of files while copy
892
- - cache directory issue fix in dev mode
893
- - script instrument loader added
894
- - eslint windows machine issue fix
895
-
896
- #0.0.1-beta.11
897
-
898
- - css module extension changed to .modules.css from .mcss
899
-
900
- #0.0.1-beta.10
901
-
902
- - css module related changes
903
- - unit test case breaking issue fix
904
-
905
- #0.0.1-beta.9
906
-
907
- - dynamic import support
908
- - unit test case issue fix
909
-
910
- #0.0.1-beta.8
911
-
912
- - major issue fixes - previous version issues
913
- - eslint new rules added
914
- - reverted babel exclude option
915
-
916
- #0.0.1-beta.7
917
-
918
- - optionally attributes removal - prod mode
919
- - pre-commit issue fixed
920
- - eslint fix option added
921
- - used exclude instead of include in babel loader
922
- - option lookup issue fixed
923
-
924
- #0.0.1-beta.6
925
-
926
- - complext proptypes support for docs
927
-
928
- #0.0.1-beta.5
929
-
930
- - docs slowness issue fix
931
- - jest update issue fix
932
-
933
- #0.0.1-beta.4
934
-
935
- - css chunk related changes
936
- - manifest json related changes
937
- - css bundle issue fixed
938
-
939
- #0.0.1-beta.3
940
-
941
- - slowness issue fixed
942
- - efc build issue fixed
943
-
944
- 0.0.1-beta.2 changes
945
-
946
- - docs changes
947
- - precommit hook issue fix
948
- - compression support
949
- - prod string error fix
950
- - efc build support
951
- - single style tag support
1
+ # React CLI
2
+
3
+ A CLI tool for build modern web application and libraries
4
+
5
+
6
+ # Installation
7
+ Below Steps:-
8
+
9
+ > `npm i -g @zohodesk/react-cli`
10
+
11
+ add in you project `package.json`
12
+
13
+ ```json
14
+ {
15
+ "scripts": {
16
+ "start": "react-cli start",
17
+ "build": "react-cli build"
18
+ }
19
+ }
20
+ ```
21
+
22
+ and create below files
23
+ - `src/index.js`
24
+ - `src/index.html`
25
+
26
+ now you to run app
27
+ >`npm run start`