arui-scripts 12.0.0 → 12.0.3

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,43 +1,6 @@
1
- # [12.0.0](https://github.com/alfa-laboratory/arui-scripts/compare/v11.7.1...v12.0.0) (2021-11-16)
1
+ ## [12.0.3](https://github.com/alfa-laboratory/arui-scripts/compare/v12.0.2...v12.0.3) (2021-11-29)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * changes after code review ([439fbda](https://github.com/alfa-laboratory/arui-scripts/commit/439fbda458fa369f20d41d6e77d8b3b3906af4bf))
7
- * **build:** in webpack5 maybe undefined message ([d942899](https://github.com/alfa-laboratory/arui-scripts/commit/d94289960a761d8543949f3596c6d689fe8a9fc4))
8
- * **configs:** node_env ([18eabca](https://github.com/alfa-laboratory/arui-scripts/commit/18eabca69563a1038ac62725f4366f0350b09b3a))
9
- * **configs/dev-server:** added liveReload: false ([b8a62c0](https://github.com/alfa-laboratory/arui-scripts/commit/b8a62c04cef6178ece302636fcc12cf6c0256c49))
10
- * **configs/webpack.client.dev:** changed sockIntegration for ReactRefreshWebpackPlugin ([dffc5db](https://github.com/alfa-laboratory/arui-scripts/commit/dffc5dbd258e1572f54d82049996673b7d32fb25))
11
- * **dev-server:** set endline ([1dc6476](https://github.com/alfa-laboratory/arui-scripts/commit/1dc64766ed2b9b63921209e18994b1f980fd444f))
12
- * **hmr:** use run-script-webpack-plugin ([ef1c3bc](https://github.com/alfa-laboratory/arui-scripts/commit/ef1c3bc6f62b260af5582a20a70169355069d3a3))
13
- * **package.json:** add terser-webpack-plugin ([520c3f3](https://github.com/alfa-laboratory/arui-scripts/commit/520c3f3637d43a887878472815cb31d7a5df56d9))
14
- * **start/client:** added \n ([8ba993e](https://github.com/alfa-laboratory/arui-scripts/commit/8ba993e2523b230fa7c411fa2351884afe189d98))
15
- * **start/client:** remove \n ([216e619](https://github.com/alfa-laboratory/arui-scripts/commit/216e61998d507498a1976c50d1ece2d9f840fbb3))
16
- * **test:** added new line ([117aa8d](https://github.com/alfa-laboratory/arui-scripts/commit/117aa8d33e28f08b2e720b258be52efd66020d21))
17
- * **webpack.client.dev:** undefined process ([176e180](https://github.com/alfa-laboratory/arui-scripts/commit/176e180d1ac26db678c98c250bc5e648d22abb86))
18
- * **yarn.lock:** retry ([8e91803](https://github.com/alfa-laboratory/arui-scripts/commit/8e91803f315996eb6e0b5c534747ce24770aca5c))
19
- * **yarn.lock:** udpate checksum fsevents ([3a47287](https://github.com/alfa-laboratory/arui-scripts/commit/3a4728780f3c872bc4835800662d2f10272e5ae2))
20
- * **yarn.lock:** update ([50659c6](https://github.com/alfa-laboratory/arui-scripts/commit/50659c65ee84997cefa0168ef6912ace826252c6))
21
-
22
-
23
- ### Features
24
-
25
- * add pnp plugin and remove hmr ([40ec248](https://github.com/alfa-laboratory/arui-scripts/commit/40ec248acfdafce63b16093d7af0c1ef63897370))
26
- * clean code & add pnp-plugin ([899d4b7](https://github.com/alfa-laboratory/arui-scripts/commit/899d4b714c06fbbc0faab86579080cfde2e1726c))
27
- * client webpack plugins ([5f3d5fe](https://github.com/alfa-laboratory/arui-scripts/commit/5f3d5fe077f797f7826e233d16c3b368080854f2))
28
- * webpack updated to 5 version ([d1b361b](https://github.com/alfa-laboratory/arui-scripts/commit/d1b361b2d29c0a4841b04f3bfaf27fed3d6b67d2))
29
- * **commands/start:** added spawn ([289fdd5](https://github.com/alfa-laboratory/arui-scripts/commit/289fdd5d804d68ec8bb9d77ef5f384705590bbec))
30
- * **css-minimizer-plugin:** add ([204c743](https://github.com/alfa-laboratory/arui-scripts/commit/204c743b6910d8ca75e60d3163f45f98fe615905))
31
- * **package.json:** update libs ([e7df2e7](https://github.com/alfa-laboratory/arui-scripts/commit/e7df2e77bef2b833e0fc0c6a9eac1edf64f92cdb))
32
- * **react-refresh-webpack-plugin:** use for hot reload ([6c36686](https://github.com/alfa-laboratory/arui-scripts/commit/6c36686a00666939d32d0ef8c0be25982fe38953))
33
- * **webpack:** update ([d3d7a22](https://github.com/alfa-laboratory/arui-scripts/commit/d3d7a2274d2d2c8985d3f3548a913f1fc0f84c48))
34
- * **webpack-dev-server:** update ([33fa3fc](https://github.com/alfa-laboratory/arui-scripts/commit/33fa3fc881951836ee636b9efb91b2ba465bbce2))
35
- * **webpack-dev-server:** update ([3e1590b](https://github.com/alfa-laboratory/arui-scripts/commit/3e1590babea2ad2f4f5a0ecc8370648309daefaf))
36
- * **webpack.client.dev:** add webpack-dev-server to entry ([b3a8bf4](https://github.com/alfa-laboratory/arui-scripts/commit/b3a8bf48d2d234e369756b2476decf3629bafe2c))
37
- * **webpack.client.dev:** update plugins ([77c14d8](https://github.com/alfa-laboratory/arui-scripts/commit/77c14d8b5a99cf8e8d4d43e2d9d0b8534194d87c))
38
- * **yarn:** install packages from sources ([0fe186b](https://github.com/alfa-laboratory/arui-scripts/commit/0fe186b31109c9df53b5586c920efab2fefe0d80))
39
-
40
-
41
- ### BREAKING CHANGES
42
-
43
- * overrides will probably be broken
6
+ * **webpack-dev:** disable default override of NODE_ENV ([49b1464](https://github.com/alfa-laboratory/arui-scripts/commit/49b1464d2574514374aec223c5fde3fed025c93a))
package/README.md CHANGED
@@ -13,7 +13,7 @@ ARUI-scripts
13
13
 
14
14
  Зависимость | Версия
15
15
  -- | --
16
- `nodejs` | `10+`
16
+ `nodejs` | `12.13.0+`
17
17
  `react` | `16.13.0+`
18
18
  `react-dom` | `16.13.0+`
19
19
 
@@ -275,6 +275,8 @@ const webpackClientDev = apply_overrides_1.default(['webpack', 'webpackClient',
275
275
  hints: false,
276
276
  },
277
277
  optimization: {
278
+ minimize: true,
279
+ nodeEnv: false,
278
280
  minimizer: [
279
281
  new CssMinimizerPlugin({
280
282
  minimizerOptions: {
@@ -181,6 +181,9 @@ const config = {
181
181
  },
182
182
  ],
183
183
  },
184
+ optimization: {
185
+ nodeEnv: false,
186
+ },
184
187
  plugins: ([
185
188
  app_configs_1.default.useServerHMR
186
189
  ? new run_script_webpack_plugin_1.RunScriptWebpackPlugin({
@@ -1302,7 +1302,7 @@
1302
1302
  "affectsGlobalScope": false
1303
1303
  },
1304
1304
  "../src/configs/webpack.client.dev.ts": {
1305
- "version": "bd5764d5c7a53fec76766dc08f1085734a0d863c044f5a343dcafdcbb0482cab",
1305
+ "version": "3b4875f71a0fda5ed2250d769eff98beccedb4ce13b1993aa852413a72037bdd",
1306
1306
  "signature": "bf4cb593d7c7ac6097823d647f70fdf078e1b8175693cf9e24537625e3e69fa0",
1307
1307
  "affectsGlobalScope": false
1308
1308
  },
@@ -1327,7 +1327,7 @@
1327
1327
  "affectsGlobalScope": false
1328
1328
  },
1329
1329
  "../src/configs/webpack.server.dev.ts": {
1330
- "version": "5614f84276cf6508352d878aa5870f76ce4cb926a19c1cbd97b7d8bed708ea03",
1330
+ "version": "0597234884dd74415bee23d36364cc4151225e8d0dae8bfd7de6f026733e1aec",
1331
1331
  "signature": "4289eb8081c31f5b009209c36c04417fd4a0f39c5740422650d076d059d0a5d3",
1332
1332
  "affectsGlobalScope": false
1333
1333
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arui-scripts",
3
- "version": "12.0.0",
3
+ "version": "12.0.3",
4
4
  "main": "index.js",
5
5
  "license": "MPL-2.0",
6
6
  "repository": {
@@ -132,15 +132,15 @@
132
132
  "brotli-size": "^4.0.0"
133
133
  },
134
134
  "engines": {
135
- "node": ">=12.0.0"
135
+ "node": ">=12.13.0"
136
136
  },
137
137
  "scripts": {
138
138
  "build": "tsc --project tsconfig-local.json",
139
139
  "test": "jest"
140
140
  },
141
141
  "peerDependencies": {
142
- "react": "^16.0.0",
143
- "react-dom": "^16.0.0",
142
+ "react": ">=16.3.0",
143
+ "react-dom": ">=16.3.0",
144
144
  "typescript": ">=3.7.3"
145
145
  },
146
146
  "jest": {