@zohodesk/client_build_tool 0.0.2 → 0.0.5-exp.1

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+ ## v0.0.5 (6-08-2023)
4
+
5
+ **Changes:--**
6
+ - Typo fix in i18nRuntimeDealerPlugin.js
7
+ - fixing some bugs in resolvers.js file
8
+
9
+ ## v0.0.3 (1-08-2023)
10
+
11
+ **Changes:--**
12
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
13
+ - unwanted files deleted from build
14
+
15
+ **Issue Fix:--**
16
+ - The issue with the source map not being created in the build has been fixed."
17
+
18
+
3
19
  ## v0.0.2 (28-04-2023)
4
20
 
5
21
  **Features:-**
@@ -18,6 +34,7 @@
18
34
  - `manifestJson` default value set as false.
19
35
  - `customAttributes` support for add attributes to html, link , script tag in the output build.
20
36
 
37
+
21
38
  ## v0.0.1 (18-04-2023)
22
39
 
23
40
  First Release
package/README.md CHANGED
@@ -84,6 +84,69 @@ These commands provide flexibility and control over your client-side build proce
84
84
  For more [Details](ConfigurationDocumentation.md)
85
85
  # Changelog and Release Notes
86
86
 
87
+ ## v0.0.5 (6-08-2023)
88
+
89
+ **Changes:--**
90
+ - Typo fix in i18nRuntimeDealerPlugin.js
91
+ - fixing some bugs in resolvers.js file
92
+
93
+ ## v0.0.3 (1-08-2023)
94
+
95
+ **Changes:--**
96
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
97
+ - unwanted files deleted from build
98
+
99
+ **Issue Fix:--**
100
+ - The issue with the source map not being created in the build has been fixed."
101
+
102
+
103
+ ## v0.0.2 (28-04-2023)
104
+
105
+ **Features:-**
106
+
107
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
108
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
109
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
110
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
111
+ - `enableChunkHash` renamed as `enableFileNameHashing`
112
+
113
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
114
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
115
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
116
+ - `removePropTypes` support for remove the prop types package in the output build.
117
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
118
+ - `manifestJson` default value set as false.
119
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
120
+
121
+
122
+ ## v0.0.1 (18-04-2023)
123
+
124
+ First Release
125
+ **Features:-**
126
+
127
+ - 'start' command to run react app
128
+ - 'build' command to create build for react app
129
+ - 'build:lib' command to create lib for react library
130
+ - 'build:es' command to create es for react library
131
+ - 'templates' command to create es for react library
132
+ # Changelog and Release Notes
133
+
134
+ ## v0.0.5 (6-08-2023)
135
+
136
+ **Changes:--**
137
+ - Typo fix in i18nRuntimeDealerPlugin.js
138
+ - fixing some bugs in resolvers.js file
139
+
140
+ ## v0.0.3 (1-08-2023)
141
+
142
+ **Changes:--**
143
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
144
+ - unwanted files deleted from build
145
+
146
+ **Issue Fix:--**
147
+ - The issue with the source map not being created in the build has been fixed."
148
+
149
+
87
150
  ## v0.0.2 (28-04-2023)
88
151
 
89
152
  **Features:-**
@@ -102,6 +165,148 @@ For more [Details](ConfigurationDocumentation.md)
102
165
  - `manifestJson` default value set as false.
103
166
  - `customAttributes` support for add attributes to html, link , script tag in the output build.
104
167
 
168
+
169
+ ## v0.0.1 (18-04-2023)
170
+
171
+ First Release
172
+ **Features:-**
173
+
174
+ - 'start' command to run react app
175
+ - 'build' command to create build for react app
176
+ - 'build:lib' command to create lib for react library
177
+ - 'build:es' command to create es for react library
178
+ - 'templates' command to create es for react library
179
+ # Changelog and Release Notes
180
+
181
+ ## v0.0.5 (6-08-2023)
182
+
183
+ **Changes:--**
184
+ - Typo fix in i18nRuntimeDealerPlugin.js
185
+ - fixing some bugs in resolvers.js file
186
+
187
+ ## v0.0.3 (1-08-2023)
188
+
189
+ **Changes:--**
190
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
191
+ - unwanted files deleted from build
192
+
193
+ **Issue Fix:--**
194
+ - The issue with the source map not being created in the build has been fixed."
195
+
196
+
197
+ ## v0.0.2 (28-04-2023)
198
+
199
+ **Features:-**
200
+
201
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
202
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
203
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
204
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
205
+ - `enableChunkHash` renamed as `enableFileNameHashing`
206
+
207
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
208
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
209
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
210
+ - `removePropTypes` support for remove the prop types package in the output build.
211
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
212
+ - `manifestJson` default value set as false.
213
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
214
+
215
+
216
+ ## v0.0.1 (18-04-2023)
217
+
218
+ First Release
219
+ **Features:-**
220
+
221
+ - 'start' command to run react app
222
+ - 'build' command to create build for react app
223
+ - 'build:lib' command to create lib for react library
224
+ - 'build:es' command to create es for react library
225
+ - 'templates' command to create es for react library
226
+ # Changelog and Release Notes
227
+
228
+ ## v0.0.5 (6-08-2023)
229
+
230
+ **Changes:--**
231
+ - Typo fix in i18nRuntimeDealerPlugin.js
232
+ - fixing some bugs in resolvers.js file
233
+
234
+ ## v0.0.3 (1-08-2023)
235
+
236
+ **Changes:--**
237
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
238
+ - unwanted files deleted from build
239
+
240
+ **Issue Fix:--**
241
+ - The issue with the source map not being created in the build has been fixed."
242
+
243
+
244
+ ## v0.0.2 (28-04-2023)
245
+
246
+ **Features:-**
247
+
248
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
249
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
250
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
251
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
252
+ - `enableChunkHash` renamed as `enableFileNameHashing`
253
+
254
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
255
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
256
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
257
+ - `removePropTypes` support for remove the prop types package in the output build.
258
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
259
+ - `manifestJson` default value set as false.
260
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
261
+
262
+
263
+ ## v0.0.1 (18-04-2023)
264
+
265
+ First Release
266
+ **Features:-**
267
+
268
+ - 'start' command to run react app
269
+ - 'build' command to create build for react app
270
+ - 'build:lib' command to create lib for react library
271
+ - 'build:es' command to create es for react library
272
+ - 'templates' command to create es for react library
273
+ # Changelog and Release Notes
274
+
275
+ ## v0.0.5 (6-08-2023)
276
+
277
+ **Changes:--**
278
+ - Typo fix in i18nRuntimeDealerPlugin.js
279
+ - fixing some bugs in resolvers.js file
280
+
281
+ ## v0.0.3 (1-08-2023)
282
+
283
+ **Changes:--**
284
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
285
+ - unwanted files deleted from build
286
+
287
+ **Issue Fix:--**
288
+ - The issue with the source map not being created in the build has been fixed."
289
+
290
+
291
+ ## v0.0.2 (28-04-2023)
292
+
293
+ **Features:-**
294
+
295
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
296
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
297
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
298
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
299
+ - `enableChunkHash` renamed as `enableFileNameHashing`
300
+
301
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
302
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
303
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
304
+ - `removePropTypes` support for remove the prop types package in the output build.
305
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
306
+ - `manifestJson` default value set as false.
307
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
308
+
309
+
105
310
  ## v0.0.1 (18-04-2023)
106
311
 
107
312
  First Release
package/README_backup.md CHANGED
@@ -82,3 +82,191 @@ The following commands are available options for the `cbt` (Client Build Tool) C
82
82
  These commands provide flexibility and control over your client-side build process, allowing you to start the development server, build your application, transpile libraries, create templates, run a mock API server, and more.
83
83
 
84
84
  For more [Details](ConfigurationDocumentation.md)
85
+ # Changelog and Release Notes
86
+
87
+ ## v0.0.5 (6-08-2023)
88
+
89
+ **Changes:--**
90
+ - Typo fix in i18nRuntimeDealerPlugin.js
91
+ - fixing some bugs in resolvers.js file
92
+
93
+ ## v0.0.3 (1-08-2023)
94
+
95
+ **Changes:--**
96
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
97
+ - unwanted files deleted from build
98
+
99
+ **Issue Fix:--**
100
+ - The issue with the source map not being created in the build has been fixed."
101
+
102
+
103
+ ## v0.0.2 (28-04-2023)
104
+
105
+ **Features:-**
106
+
107
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
108
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
109
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
110
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
111
+ - `enableChunkHash` renamed as `enableFileNameHashing`
112
+
113
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
114
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
115
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
116
+ - `removePropTypes` support for remove the prop types package in the output build.
117
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
118
+ - `manifestJson` default value set as false.
119
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
120
+
121
+
122
+ ## v0.0.1 (18-04-2023)
123
+
124
+ First Release
125
+ **Features:-**
126
+
127
+ - 'start' command to run react app
128
+ - 'build' command to create build for react app
129
+ - 'build:lib' command to create lib for react library
130
+ - 'build:es' command to create es for react library
131
+ - 'templates' command to create es for react library
132
+ # Changelog and Release Notes
133
+
134
+ ## v0.0.5 (6-08-2023)
135
+
136
+ **Changes:--**
137
+ - Typo fix in i18nRuntimeDealerPlugin.js
138
+ - fixing some bugs in resolvers.js file
139
+
140
+ ## v0.0.3 (1-08-2023)
141
+
142
+ **Changes:--**
143
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
144
+ - unwanted files deleted from build
145
+
146
+ **Issue Fix:--**
147
+ - The issue with the source map not being created in the build has been fixed."
148
+
149
+
150
+ ## v0.0.2 (28-04-2023)
151
+
152
+ **Features:-**
153
+
154
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
155
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
156
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
157
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
158
+ - `enableChunkHash` renamed as `enableFileNameHashing`
159
+
160
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
161
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
162
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
163
+ - `removePropTypes` support for remove the prop types package in the output build.
164
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
165
+ - `manifestJson` default value set as false.
166
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
167
+
168
+
169
+ ## v0.0.1 (18-04-2023)
170
+
171
+ First Release
172
+ **Features:-**
173
+
174
+ - 'start' command to run react app
175
+ - 'build' command to create build for react app
176
+ - 'build:lib' command to create lib for react library
177
+ - 'build:es' command to create es for react library
178
+ - 'templates' command to create es for react library
179
+ # Changelog and Release Notes
180
+
181
+ ## v0.0.5 (6-08-2023)
182
+
183
+ **Changes:--**
184
+ - Typo fix in i18nRuntimeDealerPlugin.js
185
+ - fixing some bugs in resolvers.js file
186
+
187
+ ## v0.0.3 (1-08-2023)
188
+
189
+ **Changes:--**
190
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
191
+ - unwanted files deleted from build
192
+
193
+ **Issue Fix:--**
194
+ - The issue with the source map not being created in the build has been fixed."
195
+
196
+
197
+ ## v0.0.2 (28-04-2023)
198
+
199
+ **Features:-**
200
+
201
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
202
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
203
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
204
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
205
+ - `enableChunkHash` renamed as `enableFileNameHashing`
206
+
207
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
208
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
209
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
210
+ - `removePropTypes` support for remove the prop types package in the output build.
211
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
212
+ - `manifestJson` default value set as false.
213
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
214
+
215
+
216
+ ## v0.0.1 (18-04-2023)
217
+
218
+ First Release
219
+ **Features:-**
220
+
221
+ - 'start' command to run react app
222
+ - 'build' command to create build for react app
223
+ - 'build:lib' command to create lib for react library
224
+ - 'build:es' command to create es for react library
225
+ - 'templates' command to create es for react library
226
+ # Changelog and Release Notes
227
+
228
+ ## v0.0.5 (6-08-2023)
229
+
230
+ **Changes:--**
231
+ - Typo fix in i18nRuntimeDealerPlugin.js
232
+ - fixing some bugs in resolvers.js file
233
+
234
+ ## v0.0.3 (1-08-2023)
235
+
236
+ **Changes:--**
237
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
238
+ - unwanted files deleted from build
239
+
240
+ **Issue Fix:--**
241
+ - The issue with the source map not being created in the build has been fixed."
242
+
243
+
244
+ ## v0.0.2 (28-04-2023)
245
+
246
+ **Features:-**
247
+
248
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
249
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
250
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
251
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
252
+ - `enableChunkHash` renamed as `enableFileNameHashing`
253
+
254
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
255
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
256
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
257
+ - `removePropTypes` support for remove the prop types package in the output build.
258
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
259
+ - `manifestJson` default value set as false.
260
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
261
+
262
+
263
+ ## v0.0.1 (18-04-2023)
264
+
265
+ First Release
266
+ **Features:-**
267
+
268
+ - 'start' command to run react app
269
+ - 'build' command to create build for react app
270
+ - 'build:lib' command to create lib for react library
271
+ - 'build:es' command to create es for react library
272
+ - 'templates' command to create es for react library
@@ -13,7 +13,7 @@ var _default = {
13
13
  value: 'app',
14
14
  cli: 'context'
15
15
  },
16
- devtool: 'hidden-cheap-source-map',
16
+ devtool: 'source-map',
17
17
  statsLogConfig: null,
18
18
  enableFileNameHashing: {
19
19
  value: false,
@@ -23,6 +23,8 @@ var _I18nFilesEmitPlugin = require("./I18nFilesEmitPlugin");
23
23
 
24
24
  var _LocaleChunkAssetsStore = require("./LocaleChunkAssetsStore");
25
25
 
26
+ var _logger = require("../../../../../logger");
27
+
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
29
 
28
30
  const {
@@ -63,7 +65,7 @@ class I18nRuntimeDealerPlugin {
63
65
  mainChunkName
64
66
  } = this.options; // const dummyContent = '// dummy comment';
65
67
 
66
- const dummyContentHash = 'qwertyuiopasdfghjkl';
68
+ const dummyContentHash = 'dummy0content0hashes';
67
69
  const entryPoint = compilation.entrypoints.get(mainChunkName);
68
70
  const initialChunks = Array.from(entryPoint.chunks).filter(c => c.canBeInitial() && c.id !== c.runtime);
69
71
  const initialI18nAssets = initialChunks.filter(c => i18nStore.isChunkHasI18n(c)).map(c => {
@@ -172,10 +174,32 @@ class I18nRuntimeDealerPlugin {
172
174
  runtimeFileName,
173
175
  runtimeFileSourceStr,
174
176
  i18nChunks
175
- })); // NOTE: we don't delete, Because of HTML plugin needs to add runtime file in html
177
+ })); // NOTE: we don't delete, Because of HTML plugin needs to add runtime file in html and efc
176
178
  // compilation.deleteAsset(runtimeFileName);
177
179
  }
178
180
  });
181
+ compilation.hooks.processAssets.tap({
182
+ name: pluginName,
183
+ stage: _webpack.Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE // additionalAssets: true
184
+
185
+ }, () => {
186
+ console.log('delete starts ==== '); // eslint-disable-next-line no-underscore-dangle
187
+
188
+ const entries = compilation._getChunkGraphEntries(); // eslint-disable-next-line no-restricted-syntax
189
+
190
+
191
+ for (const entryChunk of entries) {
192
+ const runtimeFileName = [...entryChunk.files][0] || '';
193
+ console.log(runtimeFileName, 'runtimeFile==');
194
+
195
+ if (runtimeFileName.includes('runtime') && runtimeFileName.includes('[locale]')) {
196
+ (0, _logger.verboseLogger)('deleteAsset', runtimeFileName);
197
+ console.log('deleted successuly====');
198
+ compilation.deleteAsset(runtimeFileName);
199
+ }
200
+ }
201
+ });
202
+ console.log('completed ====');
179
203
  }
180
204
  }
181
205
 
@@ -9,6 +9,8 @@ var _htmlWebpackPlugin = _interopRequireDefault(require("html-webpack-plugin"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
+ const pluginName = 'InitialHtmlPlugin';
13
+
12
14
  class InitialHtmlPlugin {
13
15
  constructor(options) {
14
16
  this.options = options;
@@ -30,8 +32,8 @@ class InitialHtmlPlugin {
30
32
  inject,
31
33
  scriptLoading: 'defer'
32
34
  }).apply(compiler);
33
- compiler.hooks.thisCompilation.tap('InitialHtmlPlugin', compilation => {
34
- _htmlWebpackPlugin.default.getHooks(compilation).alterAssetTagGroups.tapAsync('MyPlugin', (data, cb) => {
35
+ compiler.hooks.thisCompilation.tap(pluginName, compilation => {
36
+ _htmlWebpackPlugin.default.getHooks(compilation).alterAssetTagGroups.tapAsync(pluginName, (data, cb) => {
35
37
  const headTags = [];
36
38
  const bodyTags = [];
37
39
  data.headTags.forEach(tag => {
@@ -9,6 +9,8 @@ var _webpack = require("webpack");
9
9
 
10
10
  var _createManifestJson = require("./createManifestJson");
11
11
 
12
+ const pluginName = 'AddFileToManifestJson';
13
+
12
14
  class AddFileToManifestJson {
13
15
  constructor(options) {
14
16
  this.options = options;
@@ -18,9 +20,9 @@ class AddFileToManifestJson {
18
20
  const {
19
21
  RawSource
20
22
  } = compiler.webpack.sources;
21
- compiler.hooks.thisCompilation.tap('MyWebpackPlugin', compilation => {
23
+ compiler.hooks.thisCompilation.tap(pluginName, compilation => {
22
24
  compilation.hooks.processAssets.tap({
23
- name: 'MyPlugin',
25
+ name: pluginName,
24
26
  stage: _webpack.Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
25
27
  }, assets => {
26
28
  const {
@@ -8,14 +8,16 @@ exports.SourceMapPlugin = void 0;
8
8
  var _webpack = require("webpack");
9
9
 
10
10
  /* eslint-disable class-methods-use-this */
11
+ const pluginName = 'SplitSourceMapPlugin';
12
+
11
13
  class SourceMapPlugin {
12
14
  apply(compiler) {
13
15
  const {
14
16
  RawSource
15
17
  } = compiler.webpack.sources;
16
- compiler.hooks.thisCompilation.tap('splitSourceMap', compilation => {
18
+ compiler.hooks.thisCompilation.tap(pluginName, compilation => {
17
19
  compilation.hooks.processAssets.tap({
18
- name: 'splitSourceMap',
20
+ name: pluginName,
19
21
  stage: _webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL
20
22
  }, assets => {
21
23
  Object.keys(assets).forEach(assetName => {
@@ -17,11 +17,13 @@ function outputConfig(options) {
17
17
  const {
18
18
  output,
19
19
  publicPath,
20
- htmlTemplate
20
+ htmlTemplate,
21
+ context
21
22
  } = options;
22
23
  const outputO = {
23
24
  filename: (0, _nameTemplates.nameTemplates)('js', options),
24
25
  chunkFilename: (0, _nameTemplates.nameTemplates)('chunkjs', options),
26
+ chunkLoadingGlobal: `${context}Jsonp`,
25
27
  publicPath,
26
28
  // clean: true,
27
29
  path: _path.default.resolve(_constants.appPath, output)
@@ -77,5 +77,5 @@ function loaderResolver(options) {
77
77
 
78
78
  function useAppNodeModulesAsPreferred(preferLocalFirst = false, paths = []) {
79
79
  const filteredPaths = paths.filter(Boolean);
80
- return preferLocalFirst ? ['node_modules', ...filteredPaths] : [...filteredPaths, 'node_modules'];
80
+ return preferLocalFirst ? ['node_modules', ...filteredPaths, _constants.appNodeModules] : [...filteredPaths, 'node_modules', _constants.appNodeModules];
81
81
  }
@@ -27,7 +27,7 @@ var _configWebWorkerLoader = require("./loaderConfigs/configWebWorkerLoader");
27
27
 
28
28
  var _statsConfig = require("./statsConfig");
29
29
 
30
- var _getSourceMapType = require("./getSourceMapType");
30
+ var _devtoolConfig = require("./devtoolConfig");
31
31
 
32
32
  var _modeUtils = require("./common/modeUtils");
33
33
 
@@ -40,7 +40,7 @@ function webpackConfigCreator(options) {
40
40
  entry: (0, _entryConfig.entryConfig)(options),
41
41
  mode: (0, _modeUtils.getWebpackMode)(options),
42
42
  output: (0, _outputConfig.outputConfig)(options),
43
- devtool: (0, _getSourceMapType.devtoolConfig)(options),
43
+ devtool: (0, _devtoolConfig.devtoolConfig)(options),
44
44
  stats: (0, _statsConfig.statsConfig)(options),
45
45
  optimization: (0, _optimizationConfig.optimizationConfig)(options),
46
46
  module: {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.cliRootPath = exports.cliNodeModulesPath = exports.babelrcPath = exports.appPath = exports.CONFIG_ROOT = exports.BASE_CONFIG_KEY = void 0;
6
+ exports.cliRootPath = exports.cliNodeModulesPath = exports.babelrcPath = exports.appPath = exports.appNodeModules = exports.CONFIG_ROOT = exports.BASE_CONFIG_KEY = void 0;
7
7
  exports.getTemplatePath = getTemplatePath;
8
8
  exports.joinWithAppPath = joinWithAppPath;
9
9
  exports.templatesPath = void 0;
@@ -36,6 +36,9 @@ function joinWithAppPath(filePath) {
36
36
  return (0, _path.join)(appPath, filePath);
37
37
  }
38
38
 
39
+ ;
40
+ const appNodeModules = joinWithAppPath('node_modules');
41
+ exports.appNodeModules = appNodeModules;
39
42
  const templatesPath = (0, _path.join)(__dirname, '..', '..', 'templates');
40
43
  exports.templatesPath = templatesPath;
41
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.2",
3
+ "version": "0.0.5-exp.1",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.errorHander = errorHander;
7
-
8
- function errorHander(e) {
9
- console.error(e);
10
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.deprecationHandler = deprecationHandler;
7
-
8
- function deprecationHandler(options) {// options.app.deprecated &&
9
- // console.log('options.app.deprecated this option was deprecated since V1.3.1' );
10
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.errorHander = errorHander;
7
-
8
- function errorHander(e) {
9
- console.error(e);
10
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.postProcessor = postProcessor;
7
-
8
- function postProcessor(options) {
9
- console.log('postProcessor');
10
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.errorHander = errorHander;
7
-
8
- function errorHander(e) {
9
- console.error(e);
10
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.dummy = dummy;
7
-
8
- class Demo {
9
- // eslint-disable-next-line class-methods-use-this
10
- apply(compiler) {
11
- compiler.hooks.done.tap('vbxhb', stats => {
12
- const statsJson = stats.toJson({
13
- all: true
14
- });
15
- console.log(statsJson);
16
- });
17
- }
18
-
19
- }
20
-
21
- function dummy() {
22
- return new Demo();
23
- }