@zohodesk/react-cli 0.0.1-exp.167.2 → 0.0.1-exp.167.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/README.md +28 -15
 - package/lib/common/splitChunks.js +7 -7
 - package/package.json +1 -1
 
    
        package/README.md
    CHANGED
    
    | 
         @@ -2,47 +2,58 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            A CLI tool for build modern web application and libraries
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
      
 5 
     | 
    
         
            +
            # 0.0.1-exp.167.3
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            Splitchunks config test
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
       5 
9 
     | 
    
         
             
            # 0.0.1-beta.174
         
     | 
| 
       6 
10 
     | 
    
         | 
| 
       7 
11 
     | 
    
         
             
            cli has been updated to fix compose issue faced when classname:hover exists and classname does not before compose
         
     | 
| 
       8 
12 
     | 
    
         | 
| 
       9 
13 
     | 
    
         
             
            **Issue Fix:-**
         
     | 
| 
       10 
     | 
    
         
            -
             * In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
         
     | 
| 
       11 
     | 
    
         
            -
             * while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
         
     | 
| 
       12 
14 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
      
 15 
     | 
    
         
            +
            - In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
         
     | 
| 
      
 16 
     | 
    
         
            +
            - while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            **Feature:-**
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            - `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.  
         
     | 
| 
      
 21 
     | 
    
         
            +
               `classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
         
     | 
| 
       16 
22 
     | 
    
         | 
| 
       17 
23 
     | 
    
         
             
            **Changes:-**
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            - `jsonFile_test_*.json` files deleted after they used.
         
     | 
| 
       19 
26 
     | 
    
         | 
| 
       20 
27 
     | 
    
         
             
            # 0.0.1-beta.173
         
     | 
| 
       21 
28 
     | 
    
         | 
| 
       22 
29 
     | 
    
         
             
            Conversion for Variables from Variables to px in Supportapp completed (`variableIgnore.js` && `pxParserPostcss.js` to be referred to), and px to custom variables through the new `variableModificationPlugin`. Error Log generation can also be converted on enabling
         
     | 
| 
       23 
30 
     | 
    
         | 
| 
       24 
     | 
    
         
            -
            **Features:** 
     | 
| 
      
 31 
     | 
    
         
            +
            **Features:**
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
       25 
33 
     | 
    
         
             
            1. variables are converted from px to custom variables ( options are consumed from `cssVariableReplacementOptions.json` present in source folder )
         
     | 
| 
       26 
34 
     | 
    
         
             
            2. To enable the error log generation `errorLog` is to be made `true` in `cssVariableReplacementOptions.json` ( it will take a little longer than usual build time )
         
     | 
| 
       27 
35 
     | 
    
         
             
            3. To enable the console display of errors that are generated, `errorInConsole` is to be made `true` in `cssVariableReplacementOptions.json`
         
     | 
| 
       28 
36 
     | 
    
         
             
            4. To enable specific errors in the error log generation / error display on console, `DECLARATION_IGNORED`(for ignoring that particular line / declaration),`UNIT_ERROR` (when the Unit doesnt match the available units for the property),`RANGE_ERROR` (when the value does not fall within the range that is given for the property), `VARIABLE_PRESENT`(whether the value supposed to be in px for conversion sake is not converted from var() to px or if it's properly converted to px for conversion from px to var through our plugin) are to be individually made `true` in `cssVariableReplacementOptions.json`
         
     | 
| 
       29 
37 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
            For an more information and reference, refer to : 
     | 
| 
      
 38 
     | 
    
         
            +
            For an more information and reference, refer to : `docs/VariableConversion.md `
         
     | 
| 
       31 
39 
     | 
    
         | 
| 
       32 
40 
     | 
    
         
             
            # 0.0.1-beta.172
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
       33 
42 
     | 
    
         
             
            We have renamed some options, For Our future features convenience.  
         
     | 
| 
       34 
43 
     | 
    
         
             
            We have given fallback support.
         
     | 
| 
       35 
     | 
    
         
            -
            Deprecation Warnings:- 
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
            Deprecation Warnings:-
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            - `react-cli.app.hasRTL` ==> `react-cli.app.plugins.hasRTL`
         
     | 
| 
      
 47 
     | 
    
         
            +
            - `react-cli.app.rtlExclude` ==> `react-cli.app.exclude.rtl`
         
     | 
| 
       38 
48 
     | 
    
         | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
            these options have fallback support.
         
     | 
| 
      
 49 
     | 
    
         
            +
            - `react-cli.docs.hasRTL` ==> `react-cli.docs.plugins.hasRTL`
         
     | 
| 
      
 50 
     | 
    
         
            +
            - `react-cli.docs.rtlExclude` ==> `react-cli.docs.exclude.rtl`
         
     | 
| 
      
 51 
     | 
    
         
            +
              these options have fallback support.
         
     | 
| 
       42 
52 
     | 
    
         | 
| 
       43 
53 
     | 
    
         
             
            # 0.0.1-beta.171
         
     | 
| 
       44 
54 
     | 
    
         | 
| 
       45 
55 
     | 
    
         
             
            Features added :
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
       46 
57 
     | 
    
         
             
            1. `react-cli.app.mediaQueryHoverActiveString` and `react-cli.docs.mediaQueryHoverActiveString` templates support added for @media(hover: hover) and @media(hover: none) queries. We can modify these to modify respective queries.
         
     | 
| 
       47 
58 
     | 
    
         | 
| 
       48 
59 
     | 
    
         
             
            # 0.0.1-beta.170
         
     | 
| 
         @@ -97,10 +108,12 @@ Changes:- 
     | 
|
| 
       97 
108 
     | 
    
         
             
            1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
         
     | 
| 
       98 
109 
     | 
    
         
             
            2. `--enable_efc=true` option added to enable efc by terminal
         
     | 
| 
       99 
110 
     | 
    
         
             
            3. unwanted pem files removed
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
       100 
112 
     | 
    
         
             
            # 0.0.1-exp.167.1
         
     | 
| 
      
 113 
     | 
    
         
            +
             
     | 
| 
       101 
114 
     | 
    
         
             
            Features:-
         
     | 
| 
       102 
     | 
    
         
            -
             * In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
         
     | 
| 
       103 
115 
     | 
    
         | 
| 
      
 116 
     | 
    
         
            +
            - In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
         
     | 
| 
       104 
117 
     | 
    
         | 
| 
       105 
118 
     | 
    
         
             
            # 0.0.1-beta.167
         
     | 
| 
       106 
119 
     | 
    
         | 
| 
         @@ -221,12 +221,12 @@ var _default = { 
     | 
|
| 
       221 
221 
     | 
    
         
             
                  test: /[\\/]node_modules[\\/]((?!react|@zohodesk|@zohocharts).*)[\\/]/,
         
     | 
| 
       222 
222 
     | 
    
         
             
                  priority: -10
         
     | 
| 
       223 
223 
     | 
    
         
             
                },
         
     | 
| 
       224 
     | 
    
         
            -
                zdvendors: {
         
     | 
| 
       225 
     | 
    
         
            -
             
     | 
| 
       226 
     | 
    
         
            -
             
     | 
| 
       227 
     | 
    
         
            -
             
     | 
| 
       228 
     | 
    
         
            -
             
     | 
| 
       229 
     | 
    
         
            -
                },
         
     | 
| 
      
 224 
     | 
    
         
            +
                // zdvendors: {
         
     | 
| 
      
 225 
     | 
    
         
            +
                //   chunks: 'initial',
         
     | 
| 
      
 226 
     | 
    
         
            +
                //   automaticNamePrefix: 'zdvendors',
         
     | 
| 
      
 227 
     | 
    
         
            +
                //   test: /[\\/]node_modules[\\/]((@zohodesk).*)[\\/]/,
         
     | 
| 
      
 228 
     | 
    
         
            +
                //   priority: -100000
         
     | 
| 
      
 229 
     | 
    
         
            +
                // },
         
     | 
| 
       230 
230 
     | 
    
         
             
                zdvendorsAsync: {
         
     | 
| 
       231 
231 
     | 
    
         
             
                  chunks: 'async',
         
     | 
| 
       232 
232 
     | 
    
         
             
                  minChunks: 2,
         
     | 
| 
         @@ -234,7 +234,7 @@ var _default = { 
     | 
|
| 
       234 
234 
     | 
    
         
             
                  test: /[\\/]node_modules[\\/]((@zohodesk).*)[\\/]/,
         
     | 
| 
       235 
235 
     | 
    
         
             
                  priority: -10
         
     | 
| 
       236 
236 
     | 
    
         
             
                },
         
     | 
| 
       237 
     | 
    
         
            -
                 
     | 
| 
      
 237 
     | 
    
         
            +
                commons: {
         
     | 
| 
       238 
238 
     | 
    
         
             
                  chunks: 'all',
         
     | 
| 
       239 
239 
     | 
    
         
             
                  minChunks: 2,
         
     | 
| 
       240 
240 
     | 
    
         
             
                  priority: -20,
         
     |