@pega/custom-dx-components 24.1.10 → 24.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "24.1.10",
3
+ "version": "24.1.11",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "devDependencies": {
71
71
  "@pega/configs": "^0.6.0",
72
- "@pega/custom-dx-components": "24.1.10",
72
+ "@pega/custom-dx-components": "24.1.11",
73
73
  "@pega/pcore-pconnect-typedefs": "~3.0.0",
74
74
  "@storybook/addon-actions": "^7.6.7",
75
75
  "@storybook/addon-essentials": "^7.6.7",
@@ -345,6 +345,7 @@ module.exports = (
345
345
  resourceRegExp: /^\.\/locale$/,
346
346
  contextRegExp: /moment$/
347
347
  }),
348
+ /* cosmos 4.x and below */
348
349
  /* Ignore cosmos icons */
349
350
  new webpack.IgnorePlugin({
350
351
  resourceRegExp: /^\.\/icons$/,
@@ -357,6 +358,31 @@ module.exports = (
357
358
  contextRegExp: /@pega\\cosmos-react-core\\lib\\components\\Icon$/
358
359
  }),
359
360
 
361
+ /* Ignore cosmos streamline-icons */
362
+ new webpack.IgnorePlugin({
363
+ resourceRegExp: /^\.\/streamline-icons$/,
364
+ contextRegExp: /@pega\/cosmos-react-core\/lib\/components\/Icon$/
365
+ }),
366
+
367
+ /* Ignore cosmos streamline-icons - windows */
368
+ new webpack.IgnorePlugin({
369
+ resourceRegExp: /^\.\/streamline-icons$/,
370
+ contextRegExp: /@pega\\cosmos-react-core\\lib\\components\\Icon$/
371
+ }),
372
+
373
+ /* cosmos 6.x and above */
374
+ /* Ignore cosmos icons */
375
+ new webpack.IgnorePlugin({
376
+ resourceRegExp: /^\.\/.*\/.*\.icon$/,
377
+ contextRegExp: /@pega\/cosmos-react-core\/lib\/components\/Icon$/
378
+ }),
379
+
380
+ /* Ignore cosmos icons - windows */
381
+ new webpack.IgnorePlugin({
382
+ resourceRegExp: /^\.\/.*\/.*\.icon$/,
383
+ contextRegExp: /@pega\\cosmos-react-core\\lib\\components\\Icon$/
384
+ }),
385
+
360
386
  new webpack.optimize.LimitChunkCountPlugin({
361
387
  maxChunks: 1
362
388
  }),
@@ -1,19 +1,15 @@
1
1
 
2
2
  import fs from 'fs';
3
3
  import path, { join } from 'path';
4
- import { URL, fileURLToPath } from 'url';
5
4
 
6
5
  import chalk from 'chalk';
7
- import { up } from 'inquirer/lib/utils/readline.js';
8
6
 
9
7
  import {
10
- convertIntoPascalCase,
11
8
  showVersion,
12
9
  updateUseWebPackPromotion
13
10
  } from '../../util.js';
14
11
  import {
15
- WEBPACK_CONFIG_JS_FILENAME,
16
- BUILDER_INDEX_FILE_PATH
12
+ WEBPACK_CONFIG_JS_FILENAME
17
13
  } from '../../constants.js';
18
14
 
19
15