@zohodesk/client_build_tool 0.0.11-exp.16 → 0.0.11-exp.17

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 CHANGED
@@ -113,210 +113,6 @@ fixes :-
113
113
 
114
114
 
115
115
 
116
- # v0.0.11
117
-
118
- # v0.0.10 (12-05-2025)
119
- **Feature:-**
120
- - `alias` support for `build:es` and `build:lib`
121
- - Add babel-plugin-module-resolver dependencies
122
- - Modify getBabelPlugin to include module resolver with aliases
123
-
124
- **Bug Fix:-**
125
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
126
- - Update mockApiHandler to ensure mock function is called correctly
127
-
128
- **Change:-**
129
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
130
-
131
- ## v0.0.9
132
-
133
- **Feature:-**
134
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
135
- - to use externals, we use the following pattern in `app > externals` :
136
-
137
- For example
138
- ```
139
- externals: {
140
- <key> : <value>
141
- }
142
- ```
143
-
144
- ## v0.0.6 (4-09-2023)
145
-
146
- **Feature:-**
147
- - Generating bundle integrity report 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`.
148
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
149
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
150
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
151
- - added support for glob pattern for custom chunks split logic.
152
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
153
-
154
- **Change:-**
155
- - i18n name not generated issue fix.
156
- - public path not correctly set issue fix.
157
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
158
- ## v0.0.5 (6-08-2023)
159
-
160
- **Changes:--**
161
- - Typo fix in i18nRuntimeDealerPlugin.js
162
- - fixing some bugs in resolvers.js file
163
-
164
- ## v0.0.3 (1-08-2023)
165
-
166
- **Changes:--**
167
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
168
- - unwanted files deleted from build
169
-
170
- **Issue Fix:--**
171
- - The issue with the source map not being created in the build has been fixed."
172
-
173
-
174
- ## v0.0.2 (28-04-2023)
175
-
176
- **Features:-**
177
-
178
- - `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)
179
- - `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)
180
- - `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.
181
- - `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.
182
- - `enableChunkHash` renamed as `enableFileNameHashing`
183
-
184
- - `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`)
185
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
186
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
187
- - `removePropTypes` support for remove the prop types package in the output build.
188
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
189
- - `manifestJson` default value set as false.
190
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
191
-
192
-
193
- ## v0.0.1 (18-04-2023)
194
-
195
- First Release
196
- **Features:-**
197
-
198
- - 'start' command to run react app
199
- - 'build' command to create build for react app
200
- - 'build:lib' command to create lib for react library
201
- - 'build:es' command to create es for react library
202
- - 'templates' command to create es for react library
203
- # Changelog and Release Notes
204
-
205
- - remove babel-plugin-module-resolver dependencies
206
-
207
- **Adjustments:-**
208
- - Public Folder configuration is separated for development and production
209
-
210
- **Bug Fix:-**
211
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
212
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
213
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
214
- - Fixed the URL path generation issue that occurred while using context in the development setup.
215
-
216
-
217
-
218
- # v0.0.11
219
-
220
- # v0.0.10 (12-05-2025)
221
- **Feature:-**
222
- - `alias` support for `build:es` and `build:lib`
223
- - Add babel-plugin-module-resolver dependencies
224
- - Modify getBabelPlugin to include module resolver with aliases
225
-
226
- **Bug Fix:-**
227
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
228
- - Update mockApiHandler to ensure mock function is called correctly
229
-
230
- **Change:-**
231
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
232
-
233
- ## v0.0.9
234
-
235
- **Feature:-**
236
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
237
- - to use externals, we use the following pattern in `app > externals` :
238
-
239
- For example
240
- ```
241
- externals: {
242
- <key> : <value>
243
- }
244
- ```
245
-
246
- ## v0.0.6 (4-09-2023)
247
-
248
- **Feature:-**
249
- - Generating bundle integrity report 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`.
250
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
251
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
252
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
253
- - added support for glob pattern for custom chunks split logic.
254
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
255
-
256
- **Change:-**
257
- - i18n name not generated issue fix.
258
- - public path not correctly set issue fix.
259
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
260
- ## v0.0.5 (6-08-2023)
261
-
262
- **Changes:--**
263
- - Typo fix in i18nRuntimeDealerPlugin.js
264
- - fixing some bugs in resolvers.js file
265
-
266
- ## v0.0.3 (1-08-2023)
267
-
268
- **Changes:--**
269
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
270
- - unwanted files deleted from build
271
-
272
- **Issue Fix:--**
273
- - The issue with the source map not being created in the build has been fixed."
274
-
275
-
276
- ## v0.0.2 (28-04-2023)
277
-
278
- **Features:-**
279
-
280
- - `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)
281
- - `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)
282
- - `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.
283
- - `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.
284
- - `enableChunkHash` renamed as `enableFileNameHashing`
285
-
286
- - `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`)
287
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
288
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
289
- - `removePropTypes` support for remove the prop types package in the output build.
290
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
291
- - `manifestJson` default value set as false.
292
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
293
-
294
-
295
- ## v0.0.1 (18-04-2023)
296
-
297
- First Release
298
- **Features:-**
299
-
300
- - 'start' command to run react app
301
- - 'build' command to create build for react app
302
- - 'build:lib' command to create lib for react library
303
- - 'build:es' command to create es for react library
304
- - 'templates' command to create es for react library
305
- # Changelog and Release Notes
306
-
307
- - remove babel-plugin-module-resolver dependencies
308
-
309
- **Adjustments:-**
310
- - Public Folder configuration is separated for development and production
311
-
312
- **Bug Fix:-**
313
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
314
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
315
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
316
- - Fixed the URL path generation issue that occurred while using context in the development setup.
317
-
318
-
319
-
320
116
  # v0.0.11
321
117
 
322
118
  # v0.0.10 (12-05-2025)
package/README_backup.md CHANGED
@@ -98,207 +98,3 @@ fixes :-
98
98
 
99
99
  - preload plc undefined url fixed
100
100
 
101
- # Changelog and Release Notes
102
-
103
- - remove babel-plugin-module-resolver dependencies
104
-
105
- **Adjustments:-**
106
- - Public Folder configuration is separated for development and production
107
-
108
- **Bug Fix:-**
109
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
110
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
111
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
112
- - Fixed the URL path generation issue that occurred while using context in the development setup.
113
-
114
-
115
-
116
- # v0.0.11
117
-
118
- # v0.0.10 (12-05-2025)
119
- **Feature:-**
120
- - `alias` support for `build:es` and `build:lib`
121
- - Add babel-plugin-module-resolver dependencies
122
- - Modify getBabelPlugin to include module resolver with aliases
123
-
124
- **Bug Fix:-**
125
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
126
- - Update mockApiHandler to ensure mock function is called correctly
127
-
128
- **Change:-**
129
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
130
-
131
- ## v0.0.9
132
-
133
- **Feature:-**
134
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
135
- - to use externals, we use the following pattern in `app > externals` :
136
-
137
- For example
138
- ```
139
- externals: {
140
- <key> : <value>
141
- }
142
- ```
143
-
144
- ## v0.0.6 (4-09-2023)
145
-
146
- **Feature:-**
147
- - Generating bundle integrity report 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`.
148
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
149
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
150
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
151
- - added support for glob pattern for custom chunks split logic.
152
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
153
-
154
- **Change:-**
155
- - i18n name not generated issue fix.
156
- - public path not correctly set issue fix.
157
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
158
- ## v0.0.5 (6-08-2023)
159
-
160
- **Changes:--**
161
- - Typo fix in i18nRuntimeDealerPlugin.js
162
- - fixing some bugs in resolvers.js file
163
-
164
- ## v0.0.3 (1-08-2023)
165
-
166
- **Changes:--**
167
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
168
- - unwanted files deleted from build
169
-
170
- **Issue Fix:--**
171
- - The issue with the source map not being created in the build has been fixed."
172
-
173
-
174
- ## v0.0.2 (28-04-2023)
175
-
176
- **Features:-**
177
-
178
- - `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)
179
- - `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)
180
- - `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.
181
- - `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.
182
- - `enableChunkHash` renamed as `enableFileNameHashing`
183
-
184
- - `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`)
185
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
186
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
187
- - `removePropTypes` support for remove the prop types package in the output build.
188
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
189
- - `manifestJson` default value set as false.
190
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
191
-
192
-
193
- ## v0.0.1 (18-04-2023)
194
-
195
- First Release
196
- **Features:-**
197
-
198
- - 'start' command to run react app
199
- - 'build' command to create build for react app
200
- - 'build:lib' command to create lib for react library
201
- - 'build:es' command to create es for react library
202
- - 'templates' command to create es for react library
203
- # Changelog and Release Notes
204
-
205
- - remove babel-plugin-module-resolver dependencies
206
-
207
- **Adjustments:-**
208
- - Public Folder configuration is separated for development and production
209
-
210
- **Bug Fix:-**
211
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
212
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
213
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
214
- - Fixed the URL path generation issue that occurred while using context in the development setup.
215
-
216
-
217
-
218
- # v0.0.11
219
-
220
- # v0.0.10 (12-05-2025)
221
- **Feature:-**
222
- - `alias` support for `build:es` and `build:lib`
223
- - Add babel-plugin-module-resolver dependencies
224
- - Modify getBabelPlugin to include module resolver with aliases
225
-
226
- **Bug Fix:-**
227
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
228
- - Update mockApiHandler to ensure mock function is called correctly
229
-
230
- **Change:-**
231
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
232
-
233
- ## v0.0.9
234
-
235
- **Feature:-**
236
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
237
- - to use externals, we use the following pattern in `app > externals` :
238
-
239
- For example
240
- ```
241
- externals: {
242
- <key> : <value>
243
- }
244
- ```
245
-
246
- ## v0.0.6 (4-09-2023)
247
-
248
- **Feature:-**
249
- - Generating bundle integrity report 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`.
250
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
251
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
252
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
253
- - added support for glob pattern for custom chunks split logic.
254
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
255
-
256
- **Change:-**
257
- - i18n name not generated issue fix.
258
- - public path not correctly set issue fix.
259
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
260
- ## v0.0.5 (6-08-2023)
261
-
262
- **Changes:--**
263
- - Typo fix in i18nRuntimeDealerPlugin.js
264
- - fixing some bugs in resolvers.js file
265
-
266
- ## v0.0.3 (1-08-2023)
267
-
268
- **Changes:--**
269
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
270
- - unwanted files deleted from build
271
-
272
- **Issue Fix:--**
273
- - The issue with the source map not being created in the build has been fixed."
274
-
275
-
276
- ## v0.0.2 (28-04-2023)
277
-
278
- **Features:-**
279
-
280
- - `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)
281
- - `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)
282
- - `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.
283
- - `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.
284
- - `enableChunkHash` renamed as `enableFileNameHashing`
285
-
286
- - `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`)
287
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
288
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
289
- - `removePropTypes` support for remove the prop types package in the output build.
290
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
291
- - `manifestJson` default value set as false.
292
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
293
-
294
-
295
- ## v0.0.1 (18-04-2023)
296
-
297
- First Release
298
- **Features:-**
299
-
300
- - 'start' command to run react app
301
- - 'build' command to create build for react app
302
- - 'build:lib' command to create lib for react library
303
- - 'build:es' command to create es for react library
304
- - 'templates' command to create es for react library
@@ -176,10 +176,7 @@ var _default = {
176
176
  jsResource: null,
177
177
  propertiesFolder: null
178
178
  },
179
- publicFolders: {
180
- dev: ['...'],
181
- prod: ['...']
182
- },
179
+ publicFolders: ['...'],
183
180
  app: {
184
181
  entryFile: {
185
182
  value: 'src/index.js',
@@ -43,10 +43,9 @@ function folderPatterns(publicFolders) {
43
43
 
44
44
  function configCopyPublicFolders(options) {
45
45
  let {
46
- publicFolders,
47
- mode = 'dev'
46
+ publicFolders
48
47
  } = options;
49
- publicFolders = (0, _updateArrayWithDefault.updateArrayWithDefault)(publicFolders[mode], defaultPublicFolders);
48
+ publicFolders = (0, _updateArrayWithDefault.updateArrayWithDefault)(publicFolders, defaultPublicFolders);
50
49
 
51
50
  if (publicFolders.length === 0) {
52
51
  return null;
@@ -259,7 +259,7 @@ var _default = ({
259
259
  if (range) {
260
260
  // console.log('multiple :', decl.value)
261
261
  let newVal = '';
262
- decl.value.split(' ').forEach(singleVal => {
262
+ decl.value.split(' ').filter(Boolean).forEach(singleVal => {
263
263
  newVal += `${singleConvertor(singleVal, settings.replacements.px, {
264
264
  decl,
265
265
  filename,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.11-exp.1",
3
+ "version": "0.0.10-exp.10",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@zohodesk/client_build_tool",
9
- "version": "0.0.11-exp.1",
9
+ "version": "0.0.10-exp.10",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@babel/cli": "7.17.10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.11-exp.16",
3
+ "version": "0.0.11-exp.17",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {