arui-scripts 23.9.0 → 23.9.1
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/.turbo/turbo-test.log
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
ts-jest[versions] (WARN) Version 6.0.2 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
|
|
2
2
|
ts-jest[versions] (WARN) Version 6.0.2 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
|
|
3
3
|
ts-jest[versions] (WARN) Version 6.0.2 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
|
|
4
|
-
PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts (
|
|
4
|
+
PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts (14.607 s)
|
|
5
5
|
PASS src/bin/__tests__/create-cli.tests.ts
|
|
6
6
|
PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts
|
|
7
7
|
PASS src/configs/util/__tests__/create-watch-ignore-regex.tests.ts
|
|
8
8
|
PASS src/configs/util/__tests__/apply-overrides.tests.ts
|
|
9
9
|
PASS src/commands/util/__tests__/artifacts-deprecations.tests.ts
|
|
10
10
|
PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
11
|
-
PASS src/plugins/__tests__/attribute-module-css.tests.ts (
|
|
11
|
+
PASS src/plugins/__tests__/attribute-module-css.tests.ts (26.948 s)
|
|
12
12
|
PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
|
|
13
13
|
PASS src/configs/util/__tests__/compress-with-dcb.test.ts
|
|
14
14
|
PASS src/configs/util/__tests__/get-polyfills.tests.ts
|
|
15
15
|
PASS src/plugins/postcss-global-variables/utils/__tests__/parse-variables.tests.ts
|
|
16
|
+
PASS src/commands/util/__tests__/client-assets-sizes.tests.ts
|
|
16
17
|
PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
|
|
17
18
|
PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
18
|
-
PASS src/configs/__tests__/
|
|
19
|
-
PASS src/configs/
|
|
19
|
+
PASS src/configs/util/__tests__/find-plugin.tests.ts (30.649 s)
|
|
20
|
+
PASS src/configs/__tests__/webpack-client-modules.tests.ts (15.5 s)
|
|
20
21
|
|
|
21
|
-
Test Suites:
|
|
22
|
-
Tests:
|
|
22
|
+
Test Suites: 17 passed, 17 total
|
|
23
|
+
Tests: 47 passed, 47 total
|
|
23
24
|
Snapshots: 0 total
|
|
24
|
-
Time:
|
|
25
|
+
Time: 33.027 s
|
|
25
26
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# arui-scripts
|
|
2
2
|
|
|
3
|
+
## 23.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#600](https://github.com/core-ds/arui-scripts/pull/600) [`c42d4163`](https://github.com/core-ds/arui-scripts/commit/c42d4163b69b4da28a2e4def467082b6ee59e663) Thanks [@dmitrbrvsk](https://github.com/dmitrbrvsk)! - В выводе размеров ассетов после сборки gzip размер брался из brotli файла, теперь показывается настоящий gzip-размер
|
|
8
|
+
|
|
9
|
+
- [#600](https://github.com/core-ds/arui-scripts/pull/600) [`12c1b1d3`](https://github.com/core-ds/arui-scripts/commit/12c1b1d3855539287a6ba560aa54a6d2d435eab1) Thanks [@dmitrbrvsk](https://github.com/dmitrbrvsk)! - dev server слушает свободный порт, который нашел `get-port`, а не всегда порт из конфига и адрес печатается только после успешного старта
|
|
10
|
+
|
|
3
11
|
## 23.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -54,7 +54,7 @@ function printAssetsSizes(webpackStats) {
|
|
|
54
54
|
Object.keys(assetsMap).forEach((assetName) => {
|
|
55
55
|
const asset = assetsMap[assetName];
|
|
56
56
|
const size = asset.size || 0;
|
|
57
|
-
const gzipSize = asset.
|
|
57
|
+
const gzipSize = asset.gzipSize || size;
|
|
58
58
|
const brSize = asset.brSize || gzipSize;
|
|
59
59
|
const dcbSize = asset.dcbSize || brSize;
|
|
60
60
|
totalSizes.size += size;
|
|
@@ -18,7 +18,6 @@ const print_compiler_output_1 = require("../start/print-compiler-output");
|
|
|
18
18
|
function runClientDevServer(configuration) {
|
|
19
19
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20
20
|
const clientCompiler = (0, core_1.rspack)(configuration);
|
|
21
|
-
const clientDevServer = new dev_server_1.RspackDevServer(dev_server_2.devServerConfig, clientCompiler);
|
|
22
21
|
clientCompiler.hooks.invalid.tap('client', () => console.log('Compiling client...'));
|
|
23
22
|
clientCompiler.hooks.done.tap('client', (stats) => (0, print_compiler_output_1.printCompilerOutput)('Client', stats));
|
|
24
23
|
const DEFAULT_PORT = dev_server_2.devServerConfig.port;
|
|
@@ -33,9 +32,10 @@ function runClientDevServer(configuration) {
|
|
|
33
32
|
// We have not found a port.
|
|
34
33
|
return;
|
|
35
34
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
// dev-server слушает порт из конфига как есть, поэтому подменяем его найденным свободным
|
|
36
|
+
const clientDevServer = new dev_server_1.RspackDevServer(Object.assign(Object.assign({}, dev_server_2.devServerConfig), { port }), clientCompiler);
|
|
37
|
+
yield clientDevServer.start();
|
|
38
|
+
console.log(`Client dev server running at http://${HOST}:${port}...`);
|
|
39
39
|
}
|
|
40
40
|
catch (err) {
|
|
41
41
|
if (util_1.types.isNativeError(err)) {
|