@xh/hoist-dev-utils 11.0.1 → 11.2.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.
package/README.md CHANGED
@@ -146,4 +146,4 @@ that uses Hoist-React, like [Toolbox](https://github.com/xh/toolbox). Then follo
146
146
 
147
147
  ☎️ info@xh.io | <https://xh.io>
148
148
 
149
- Copyright © 2025 Extremely Heavy Industries Inc.
149
+ Copyright © 2026 Extremely Heavy Industries Inc.
@@ -2,7 +2,7 @@
2
2
  * This file belongs to Hoist, an application development toolkit
3
3
  * developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
4
4
  *
5
- * Copyright © 2024 Extremely Heavy Industries Inc.
5
+ * Copyright © 2026 Extremely Heavy Industries Inc.
6
6
  */
7
7
  'use strict';
8
8
 
@@ -18,7 +18,6 @@ const _ = require('lodash'),
18
18
  HtmlWebpackTagsPlugin = require('html-webpack-tags-plugin'),
19
19
  TerserPlugin = require('terser-webpack-plugin'),
20
20
  WebpackBar = require('webpackbar'),
21
- DuplicatePackageCheckerPlugin = require('@cerner/duplicate-package-checker-webpack-plugin'),
22
21
  parseChangelogMarkdown = require('changelog-parser'),
23
22
  babelCorePkg = require('@babel/core/package'),
24
23
  devUtilsPkg = require('./package'),
@@ -61,10 +60,6 @@ try {
61
60
  * when running the dev server.
62
61
  * @param {Object} [env.resolveAliases] - object mapping for custom webpack module resolution.
63
62
  * When inlineHoist=true, a mapping between @xh/hoist and the local path will be added.
64
- * @param {boolean} [env.checkForDupePackages=true] - true to run build throughDuplicatePackageCheckerPlugin and output
65
- * a build-time warning if duplicate packages have been resolved due to non-overlapping dependencies.
66
- * @param {string[]} [env.dupePackageCheckExcludes] - optional list of string package names to exclude from dupe package
67
- * checking. Defaults to ['tslib'].
68
63
  * @param {string} [env.baseUrl] - root path prepended to all relative URLs called via FetchService. Defaults to
69
64
  * `/api/` in production mode to work with proxy-based deployments and to `$devHost:$devGrailsPort` in dev mode.
70
65
  * @param {string[]} [env.babelIncludePaths] - additional paths to pass Babel for transpiling via settings shared with
@@ -122,8 +117,6 @@ async function configureWebpack(env) {
122
117
  reactProdMode = prodBuild || env.reactProdMode === true,
123
118
  resolveAliases = Object.assign({}, env.resolveAliases),
124
119
  analyzeBundles = env.analyzeBundles === true,
125
- checkForDupePackages = env.checkForDupePackages !== false,
126
- dupePackageCheckExcludes = env.dupePackageCheckExcludes || ['tslib'],
127
120
  devClientOverlay = env.devClientOverlay ?? {
128
121
  errors: true,
129
122
  warnings: false,
@@ -706,16 +699,6 @@ async function configureWebpack(env) {
706
699
  })
707
700
  : undefined,
708
701
 
709
- // Warn on dupe package included in bundle due to multiple, conflicting versions.
710
- checkForDupePackages
711
- ? new DuplicatePackageCheckerPlugin({
712
- verbose: true,
713
- showHelp: false,
714
- strict: false,
715
- exclude: instance => dupePackageCheckExcludes.includes(instance.name)
716
- })
717
- : undefined,
718
-
719
702
  // Display build progress - enable profile for per-loader/file type stats.
720
703
  new WebpackBar({
721
704
  color: '#ec7316',
package/package.json CHANGED
@@ -1,60 +1,59 @@
1
1
  {
2
- "name": "@xh/hoist-dev-utils",
3
- "version": "11.0.1",
4
- "description": "Utilities for configuring builds of Hoist-React client applications.",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/xh/hoist-dev-utils.git"
8
- },
9
- "homepage": "https://github.com/xh/hoist-dev-utils",
10
- "bugs": "https://github.com/xh/hoist-dev-utils/issues",
11
- "author": "Extremely Heavy Industries, Inc.",
12
- "license": "Apache-2.0",
13
- "files": [
14
- "configureWebpack.js",
15
- "static/**/*"
16
- ],
17
- "dependencies": {
18
- "@babel/core": "^7.27.1",
19
- "@babel/plugin-proposal-decorators": "^7.27.1",
20
- "@babel/preset-env": "^7.27.1",
21
- "@babel/preset-react": "^7.27.1",
22
- "@babel/preset-typescript": "^7.27.1",
23
- "@cerner/duplicate-package-checker-webpack-plugin": "2.3.0",
24
- "@types/lodash": "4.x",
25
- "@types/react": "18.x",
26
- "@types/react-dom": "18.x",
27
- "@xh/eslint-config": "^7.0",
28
- "autoprefixer": "~10.4.18",
29
- "babel-loader": "~10.0.0",
30
- "babel-plugin-transform-imports": "~2.0.0",
31
- "case-sensitive-paths-webpack-plugin": "~2.4.0",
32
- "changelog-parser": "~3.0.1",
33
- "copy-webpack-plugin": "~13.0.0",
34
- "css-loader": "~7.1.2",
35
- "file-loader": "~6.2.0",
36
- "html-webpack-plugin": "~5.6.0",
37
- "html-webpack-tags-plugin": "~3.0.2",
38
- "lodash": "~4.17.21",
39
- "mini-css-extract-plugin": "~2.9.0",
40
- "postcss": "~8.5.3",
41
- "postcss-flexbugs-fixes": "~5.0.2",
42
- "postcss-loader": "~8.1.1",
43
- "rimraf": "~6.0.1",
44
- "sass-embedded": "~1.87.0",
45
- "sass-loader": "~16.0.4",
46
- "sass-material-colors": "~0.0.5",
47
- "style-loader": "~4.0.0",
48
- "terser-webpack-plugin": "~5.3.7",
49
- "type-fest": "4.x",
50
- "url-loader": "~4.1.1",
51
- "webpack": "~5.99.7",
52
- "webpack-bundle-analyzer": "~4.10.1",
53
- "webpack-cli": "~6.0.1",
54
- "webpack-dev-server": "~5.2.0",
55
- "webpackbar": "~7.0.0"
56
- },
57
- "devDependencies": {
58
- "prettier": "3.x"
59
- }
2
+ "name": "@xh/hoist-dev-utils",
3
+ "version": "11.2.0",
4
+ "description": "Utilities for configuring builds of Hoist-React client applications.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/xh/hoist-dev-utils.git"
8
+ },
9
+ "homepage": "https://github.com/xh/hoist-dev-utils",
10
+ "bugs": "https://github.com/xh/hoist-dev-utils/issues",
11
+ "author": "Extremely Heavy Industries, Inc.",
12
+ "license": "Apache-2.0",
13
+ "files": [
14
+ "configureWebpack.js",
15
+ "static/**/*"
16
+ ],
17
+ "dependencies": {
18
+ "@babel/core": "^7.28.5",
19
+ "@babel/plugin-proposal-decorators": "^7.28.0",
20
+ "@babel/preset-env": "^7.28.5",
21
+ "@babel/preset-react": "^7.28.5",
22
+ "@babel/preset-typescript": "^7.28.5",
23
+ "@types/lodash": "4.x",
24
+ "@types/react": "18.x",
25
+ "@types/react-dom": "18.x",
26
+ "@xh/eslint-config": "^7.0",
27
+ "autoprefixer": "~10.4.18",
28
+ "babel-loader": "~10.1.1",
29
+ "babel-plugin-transform-imports": "~2.0.0",
30
+ "case-sensitive-paths-webpack-plugin": "~2.4.0",
31
+ "changelog-parser": "~3.0.1",
32
+ "copy-webpack-plugin": "~14.0.0",
33
+ "css-loader": "~7.1.2",
34
+ "file-loader": "~6.2.0",
35
+ "html-webpack-plugin": "~5.6.0",
36
+ "html-webpack-tags-plugin": "~3.0.2",
37
+ "lodash": "~4.17.21",
38
+ "mini-css-extract-plugin": "~2.10.1",
39
+ "postcss": "~8.5.3",
40
+ "postcss-flexbugs-fixes": "~5.0.2",
41
+ "postcss-loader": "~8.2.0",
42
+ "rimraf": "~6.1.2",
43
+ "sass-embedded": "~1.98.0",
44
+ "sass-loader": "~16.0.4",
45
+ "sass-material-colors": "~0.0.5",
46
+ "style-loader": "~4.0.0",
47
+ "terser-webpack-plugin": "~5.4.0",
48
+ "type-fest": "5.x",
49
+ "url-loader": "~4.1.1",
50
+ "webpack": "~5.105.4",
51
+ "webpack-bundle-analyzer": "~5.2.0",
52
+ "webpack-cli": "~7.0.0",
53
+ "webpack-dev-server": "~5.2.0",
54
+ "webpackbar": "~7.0.0"
55
+ },
56
+ "devDependencies": {
57
+ "prettier": "3.x"
58
+ }
60
59
  }