arui-scripts 25.0.0 → 25.0.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.
@@ -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
- 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
- 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/__tests__/attribute-module-css.tests.ts (34.601 s)
5
- PASS src/commands/util/__tests__/build-size-budgets.tests.ts (36.218 s)
2
+ PASS src/commands/util/__tests__/build-size-budgets.tests.ts (26.229 s)
3
+ PASS src/configs/util/__tests__/register-ts-node.tests.ts (5.46 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,18 @@ 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/util/__tests__/find-plugin.tests.ts (39.598 s)
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
19
  PASS src/plugins/postcss-global-variables/utils/__tests__/parse-variables.tests.ts
20
20
  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
21
  PASS src/configs/app-configs/__tests__/validate-build-size-budgets.tests.ts
22
+ PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
24
23
  PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
25
24
 
26
- Test Suites: 21 passed, 21 total
27
- Tests: 97 passed, 97 total
25
+ Test Suites: 22 passed, 22 total
26
+ Tests: 103 passed, 103 total
28
27
  Snapshots: 0 total
29
- Time: 41.859 s
28
+ Time: 36.454 s
30
29
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # arui-scripts
2
2
 
3
+ ## 25.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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)! - **Что изменилось**
8
+ Исправлена загрузка локальных TypeScript-модулей через относительные импорты без расширения в конфигах, overrides и presets CommonJS-проектов. Такие импорты больше не вызывают `ERR_MODULE_NOT_FOUND`.
9
+
10
+ **Что делать потребителю**
11
+ Обновите `arui-scripts`. Если для обхода ошибки использовалась JS-обёртка, можно вернуться к исходному TS-конфигу и удалить обёртку. Менять `tsconfig.json` приложения не требуется. Если импортируемая зависимость предоставляет разные `exports.import` и `exports.require`, проверьте её поведение: статические импорты в TS-конфигах CommonJS-проектов теперь используют `exports.require`.
12
+
3
13
  ## 25.0.0
4
14
 
5
15
  ### Major Changes
@@ -7,11 +7,12 @@ require('ts-node').register({
7
7
  ignore: [],
8
8
  compilerOptions: {
9
9
  target: 'esnext',
10
- module: 'esnext',
10
+ // Конфиги и overrides загружаются через require(), включая их локальные импорты.
11
+ module: 'Node16',
11
12
  skipLibCheck: true,
12
13
  allowJs: false,
13
14
  allowSyntheticDefaultImports: true,
14
- moduleResolution: 'bundler',
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.0",
3
+ "version": "25.0.1",
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"