@reactunity/scripts 0.12.0 → 0.14.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.
@@ -187,14 +187,16 @@ const baseConfigFactory = function (webpackEnv) {
187
187
  };
188
188
 
189
189
  return {
190
- mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
190
+ // Webpack noise constrained to errors and warnings
191
+ stats: 'errors-warnings',
192
+ mode: isEnvProduction ? 'production' : 'development',
191
193
  // Stop compilation early in production
192
194
  bail: isEnvProduction,
193
195
  devtool: isEnvProduction
194
196
  ? (shouldUseSourceMap
195
197
  ? (sourceMapType || 'source-map')
196
198
  : false)
197
- : isEnvDevelopment && (sourceMapType || 'eval-source-map'),
199
+ : isEnvDevelopment && (sourceMapType || 'cheap-module-source-map'),
198
200
  // These are the "entry points" to our application.
199
201
  // This means they will be the "root" imports that are included in JS bundle.
200
202
  entry: {
@@ -103,7 +103,6 @@ module.exports = function (proxy, allowedHost) {
103
103
  // Serve the fallback of web previewer as the index page
104
104
  { directory: path.join(__dirname, 'public'), },
105
105
  ],
106
-
107
106
  client: {
108
107
  webSocketURL: {
109
108
  // Enable custom sockjs pathname for websocket connection to hot reloading server.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactunity/scripts",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Configuration and scripts for React Unity.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,72 +44,72 @@
44
44
  }
45
45
  },
46
46
  "dependencies": {
47
- "@babel/core": "^7.18.5",
48
- "@babel/eslint-parser": "^7.18.2",
49
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
50
- "@svgr/webpack": "^6.2.1",
51
- "@types/react": "^18.0.12",
52
- "@types/webpack-env": "^1.17.0",
53
- "@typescript-eslint/eslint-plugin": "^5.28.0",
54
- "@typescript-eslint/parser": "^5.28.0",
55
- "babel-jest": "^28.1.1",
56
- "babel-loader": "^8.2.5",
47
+ "@babel/core": "^7.20.12",
48
+ "@babel/eslint-parser": "^7.19.1",
49
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
50
+ "@svgr/webpack": "^6.5.1",
51
+ "@types/react": "^18.0.26",
52
+ "@types/webpack-env": "^1.18.0",
53
+ "@typescript-eslint/eslint-plugin": "^5.48.1",
54
+ "@typescript-eslint/parser": "^5.48.1",
55
+ "babel-jest": "^29.3.1",
56
+ "babel-loader": "^9.1.2",
57
57
  "babel-plugin-named-asset-import": "^0.3.8",
58
58
  "babel-preset-react-app": "^10.0.1",
59
59
  "bfj": "^7.0.2",
60
- "camelcase": "^7.0.0",
60
+ "camelcase": "^7.0.1",
61
61
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
62
62
  "confusing-browser-globals": "^1.0.11",
63
- "css-loader": "^6.7.1",
64
- "dotenv": "^16.0.1",
65
- "dotenv-expand": "^8.0.3",
66
- "eslint": "^8.17.0",
67
- "eslint-plugin-import": "^2.26.0",
68
- "eslint-plugin-jest": "^26.5.3",
69
- "eslint-plugin-react": "^7.30.0",
63
+ "css-loader": "^6.7.3",
64
+ "dotenv": "^16.0.3",
65
+ "dotenv-expand": "^10.0.0",
66
+ "eslint": "^8.32.0",
67
+ "eslint-plugin-import": "^2.27.4",
68
+ "eslint-plugin-jest": "^27.2.1",
69
+ "eslint-plugin-react": "^7.32.0",
70
70
  "eslint-plugin-react-hooks": "^4.6.0",
71
- "eslint-plugin-testing-library": "^5.5.1",
72
- "eslint-webpack-plugin": "^3.1.1",
71
+ "eslint-plugin-testing-library": "^5.9.1",
72
+ "eslint-webpack-plugin": "^3.2.0",
73
73
  "file-loader": "^6.2.0",
74
- "fs-extra": "^10.1.0",
74
+ "fs-extra": "^11.1.0",
75
75
  "identity-obj-proxy": "^3.0.0",
76
- "jest": "^28.1.1",
77
- "jest-resolve": "^28.1.1",
78
- "jest-watch-typeahead": "^1.1.0",
79
- "mini-css-extract-plugin": "^2.6.0",
76
+ "jest": "^29.3.1",
77
+ "jest-resolve": "^29.3.1",
78
+ "jest-watch-typeahead": "^2.2.1",
79
+ "mini-css-extract-plugin": "^2.7.2",
80
80
  "null-loader": "^4.0.1",
81
- "postcss": "^8.4.14",
82
- "postcss-loader": "^7.0.0",
81
+ "postcss": "^8.4.21",
82
+ "postcss-loader": "^7.0.2",
83
83
  "prompts": "^2.4.2",
84
84
  "raw-loader": "^4.0.2",
85
85
  "react-app-polyfill": "^3.0.0",
86
86
  "react-dev-utils": "^12.0.1",
87
87
  "react-refresh": "^0.14.0",
88
- "resolve": "^1.22.0",
88
+ "resolve": "^1.22.1",
89
89
  "resolve-url-loader": "^5.0.0",
90
- "sass": "^1.52.3",
91
- "sass-loader": "^13.0.0",
92
- "semver": "^7.3.7",
93
- "source-map-loader": "^4.0.0",
90
+ "sass": "^1.57.1",
91
+ "sass-loader": "^13.2.0",
92
+ "semver": "^7.3.8",
93
+ "source-map-loader": "^4.0.1",
94
94
  "style-loader": "^3.3.1",
95
- "tailwindcss": "^3.1.3",
96
- "terser-webpack-plugin": "^5.3.3",
95
+ "tailwindcss": "^3.2.4",
96
+ "terser-webpack-plugin": "^5.3.6",
97
97
  "url-loader": "^4.1.1",
98
- "webpack": "^5.73.0",
99
- "webpack-dev-server": "^4.9.2",
98
+ "webpack": "^5.75.0",
99
+ "webpack-dev-server": "^4.11.1",
100
100
  "webpack-manifest-plugin": "^5.0.0"
101
101
  },
102
102
  "devDependencies": {
103
- "typescript": "^4.7.3"
103
+ "typescript": "^4.9.4"
104
104
  },
105
105
  "optionalDependencies": {
106
106
  "fsevents": "^2.3.2"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@reactunity/previewer": "*",
110
- "@reactunity/renderer": "^0.12.0",
110
+ "@reactunity/renderer": "^0.14.0",
111
111
  "react": "^18.0.0",
112
- "typescript": "^4.7.3"
112
+ "typescript": "^4.9.4"
113
113
  },
114
114
  "peerDependenciesMeta": {
115
115
  "@reactunity/previewer": {