arui-scripts 19.0.6 → 19.0.8

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.
@@ -5,19 +5,19 @@ ts-jest[versions] (WARN) Version 29.7.0 of jest installed has not been tested wi
5
5
  ts-jest[versions] (WARN) Version 5.6.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <5.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
6
6
  ts-jest[versions] (WARN) Version 5.6.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <5.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
7
7
  ts-jest[versions] (WARN) Version 5.6.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <5.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
8
- PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts (26.568 s)
8
+ PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts (26.822 s)
9
9
  PASS src/configs/util/__tests__/get-polyfills.tests.ts
10
+ PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts (27.105 s)
10
11
  PASS src/configs/util/__tests__/apply-overrides.tests.ts
11
- PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
12
12
  PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
13
- PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts (27.274 s)
13
+ PASS src/configs/app-configs/__tests__/update-with-env.tests.ts
14
14
  PASS src/plugins/postcss-global-variables/utils/__tests__/parse-variables.tests.ts
15
15
  PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
16
16
  PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
17
- PASS src/configs/util/__tests__/find-plugin.tests.ts (29.283 s)
17
+ PASS src/configs/util/__tests__/find-plugin.tests.ts (28.885 s)
18
18
 
19
19
  Test Suites: 10 passed, 10 total
20
20
  Tests: 26 passed, 26 total
21
21
  Snapshots: 0 total
22
- Time: 30.358 s
22
+ Time: 30.041 s
23
23
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # [15.3.0](https://github.com/core-ds/arui-scripts/compare/v15.2.0...v15.3.0) (2023-06-30)
2
2
 
3
+ ## 19.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#340](https://github.com/core-ds/arui-scripts/pull/340) [`216c658`](https://github.com/core-ds/arui-scripts/commit/216c658d24b3e1591319309985cd1e24af123a57) Thanks [@jorjif](https://github.com/jorjif)! - Изменен приоритет прокси в config - теперь прокси в конфиге имеют больший приоритет
8
+
9
+ ## 19.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [#330](https://github.com/core-ds/arui-scripts/pull/330) [`e3c998d`](https://github.com/core-ds/arui-scripts/commit/e3c998d4cd5cdae9b9565f7599847e0d547194aa) Thanks [@jorjif](https://github.com/jorjif)! - Добавлена поддержка свойства shareScope для использования в модулях
14
+
3
15
  ## 19.0.6
4
16
 
5
17
  ### Patch Changes
@@ -78,6 +78,7 @@ export type AppConfigs = {
78
78
  shared: any;
79
79
  exposes?: Record<string, string>;
80
80
  options?: ModuleConfigBase;
81
+ shareScope?: string;
81
82
  } | null;
82
83
  };
83
84
  export type ModuleConfigBase = {
@@ -66,7 +66,7 @@ function getProxyConfig() {
66
66
  proxyConfig.push(serverProxyConfig);
67
67
  }
68
68
  if (Array.isArray(userProxyConfig)) {
69
- proxyConfig.push(...userProxyConfig);
69
+ proxyConfig.unshift(...userProxyConfig);
70
70
  }
71
71
  return proxyConfig;
72
72
  }
@@ -71,6 +71,7 @@ function patchMainWebpackConfigForModules(webpackConf) {
71
71
  filename: app_configs_1.configs.modules.exposes ? exports.MODULES_ENTRY_NAME : undefined,
72
72
  shared: app_configs_1.configs.modules.shared,
73
73
  exposes: app_configs_1.configs.modules.exposes,
74
+ shareScope: app_configs_1.configs.modules.shareScope
74
75
  }), new turn_off_split_remote_entry_1.TurnOffSplitRemoteEntry(app_configs_1.configs.modules.name || app_configs_1.configs.normalizedName));
75
76
  return webpackConf;
76
77
  }