arui-scripts 25.0.0 → 25.0.2
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,8 +1,9 @@
|
|
|
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
|
-
|
|
3
|
-
ts-
|
|
4
|
-
PASS src/plugins/__tests__/attribute-module-css.tests.ts
|
|
5
|
-
PASS src/
|
|
2
|
+
PASS src/commands/util/__tests__/build-size-budgets.tests.ts (31.021 s)
|
|
3
|
+
PASS src/configs/util/__tests__/register-ts-node.tests.ts (6.028 s)
|
|
4
|
+
PASS src/plugins/__tests__/attribute-module-css.tests.ts
|
|
5
|
+
PASS src/configs/util/__tests__/find-plugin.tests.ts
|
|
6
|
+
PASS src/configs/__tests__/rspack-client-assets.tests.ts
|
|
6
7
|
PASS src/commands/util/__tests__/run-compilers.tests.ts
|
|
7
8
|
PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts
|
|
8
9
|
PASS src/bin/__tests__/create-cli.tests.ts
|
|
@@ -11,20 +12,19 @@ PASS src/configs/util/__tests__/create-watch-ignore-regex.tests.ts
|
|
|
11
12
|
PASS src/configs/util/__tests__/apply-overrides.tests.ts
|
|
12
13
|
PASS src/commands/util/__tests__/artifacts-deprecations.tests.ts
|
|
13
14
|
PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
|
|
14
|
-
PASS src/configs/
|
|
15
|
+
PASS src/configs/__tests__/rspack-client-modules.tests.ts
|
|
15
16
|
PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
|
|
16
|
-
PASS src/configs/__tests__/rspack-client-assets.tests.ts (5.388 s)
|
|
17
17
|
PASS src/configs/util/__tests__/compress-with-dcb.test.ts
|
|
18
18
|
PASS src/configs/util/__tests__/get-polyfills.tests.ts
|
|
19
|
+
PASS src/configs/__tests__/mq-custom-media.tests.ts
|
|
19
20
|
PASS src/plugins/postcss-global-variables/utils/__tests__/parse-variables.tests.ts
|
|
20
21
|
PASS src/commands/util/__tests__/client-assets-sizes.tests.ts
|
|
21
|
-
PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
|
|
22
|
-
PASS src/configs/__tests__/rspack-client-modules.tests.ts
|
|
23
22
|
PASS src/configs/app-configs/__tests__/validate-build-size-budgets.tests.ts
|
|
23
|
+
PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
|
|
24
24
|
PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
25
25
|
|
|
26
|
-
Test Suites:
|
|
27
|
-
Tests:
|
|
26
|
+
Test Suites: 23 passed, 23 total
|
|
27
|
+
Tests: 108 passed, 108 total
|
|
28
28
|
Snapshots: 0 total
|
|
29
|
-
Time:
|
|
29
|
+
Time: 42.147 s
|
|
30
30
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# arui-scripts
|
|
2
2
|
|
|
3
|
+
## 25.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#628](https://github.com/core-ds/arui-scripts/pull/628) [`f8b1235b`](https://github.com/core-ds/arui-scripts/commit/f8b1235ba28e31fe6cdd87fbe078d3479d7024f4) Thanks [@HappyManWorld](https://github.com/HappyManWorld)! - **Что изменилось**
|
|
8
|
+
Исправлены потерянные двоеточия в переменных `@custom-media` `--large`, `--xlarge` и `--xxlarge` в `configs/mq.css`. Раньше в собранный CSS попадал невалидный media query вида `@media screen and (min-width 64em)`, который не матчится ни в одном браузере, поэтому правила внутри `@media (--large)`, `@media (--xlarge)` и `@media (--xxlarge)` не применялись.
|
|
9
|
+
|
|
10
|
+
**Что делать потребителю**
|
|
11
|
+
Обновите `arui-scripts`. Если для обхода проблемы подменялись значения брейкпоинтов (например, через оверрайд `postcss` с собственным файлом custom media), после обновления подмену можно убрать.
|
|
12
|
+
|
|
13
|
+
**Контекст:** регрессия появилась в 7e6f548 при переносе `configs/mq.ts` в `configs/mq.css`: в `mq.ts` значения были записаны корректно (`screen and (min-width: 64em)`). Ошибка «тихая»: `postcss-custom-media` не валидирует подставляемое значение, поэтому предупреждений при сборке нет. Воспроизводится в 25.0.0 и 25.0.1.
|
|
14
|
+
|
|
15
|
+
## 25.0.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#625](https://github.com/core-ds/arui-scripts/pull/625) [`feb40c0a`](https://github.com/core-ds/arui-scripts/commit/feb40c0acc85e8569318086744c5d89ad31d3cc8) Thanks [@heymdall-legal](https://github.com/heymdall-legal)! - **Что изменилось**
|
|
20
|
+
Исправлена загрузка локальных TypeScript-модулей через относительные импорты без расширения в конфигах, overrides и presets CommonJS-проектов. Такие импорты больше не вызывают `ERR_MODULE_NOT_FOUND`.
|
|
21
|
+
|
|
22
|
+
**Что делать потребителю**
|
|
23
|
+
Обновите `arui-scripts`. Если для обхода ошибки использовалась JS-обёртка, можно вернуться к исходному TS-конфигу и удалить обёртку. Менять `tsconfig.json` приложения не требуется. Если импортируемая зависимость предоставляет разные `exports.import` и `exports.require`, проверьте её поведение: статические импорты в TS-конфигах CommonJS-проектов теперь используют `exports.require`.
|
|
24
|
+
|
|
3
25
|
## 25.0.0
|
|
4
26
|
|
|
5
27
|
### Major Changes
|
package/build/configs/mq.css
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
@custom-media --small-only screen and (max-width: 47.9375em);
|
|
3
3
|
@custom-media --medium screen and (min-width: 48em);
|
|
4
4
|
@custom-media --medium-only screen and (min-width: 48em) and (max-width: 63.9375em);
|
|
5
|
-
@custom-media --large screen and (min-width 64em);
|
|
5
|
+
@custom-media --large screen and (min-width: 64em);
|
|
6
6
|
@custom-media --large-only screen and (min-width: 64em) and (max-width: 89.9375em);
|
|
7
|
-
@custom-media --xlarge screen and (min-width 90em);
|
|
7
|
+
@custom-media --xlarge screen and (min-width: 90em);
|
|
8
8
|
@custom-media --xlarge-only screen and (min-width: 90em) and (max-width: 119.9375em);
|
|
9
|
-
@custom-media --xxlarge screen and (min-width 120em);
|
|
9
|
+
@custom-media --xxlarge screen and (min-width: 120em);
|
|
10
10
|
@custom-media --xxlarge-only screen and (min-width: 120em) and (max-width: 99999999em);
|
|
11
11
|
@custom-media --mobile-s (min-width: 320px);
|
|
12
12
|
@custom-media --mobile-m (min-width: 375px);
|
|
@@ -7,11 +7,12 @@ require('ts-node').register({
|
|
|
7
7
|
ignore: [],
|
|
8
8
|
compilerOptions: {
|
|
9
9
|
target: 'esnext',
|
|
10
|
-
|
|
10
|
+
// Конфиги и overrides загружаются через require(), включая их локальные импорты.
|
|
11
|
+
module: 'Node16',
|
|
11
12
|
skipLibCheck: true,
|
|
12
13
|
allowJs: false,
|
|
13
14
|
allowSyntheticDefaultImports: true,
|
|
14
|
-
moduleResolution: '
|
|
15
|
+
moduleResolution: 'node16',
|
|
15
16
|
esModuleInterop: true,
|
|
16
17
|
},
|
|
17
18
|
skipProject: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arui-scripts",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.2",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"typings": "./build/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -175,6 +175,7 @@
|
|
|
175
175
|
},
|
|
176
176
|
"jest": {
|
|
177
177
|
"testRegex": "src/.*/__tests__/.*\\.ts$",
|
|
178
|
+
"maxWorkers": "25%",
|
|
178
179
|
"moduleFileExtensions": [
|
|
179
180
|
"ts",
|
|
180
181
|
"js"
|