arui-scripts 23.6.0 → 23.8.0
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,26 +1,25 @@
|
|
|
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/templates/__tests__/dockerfile-templates.tests.ts (
|
|
4
|
+
PASS src/templates/__tests__/dockerfile-templates.tests.ts (31.994 s)
|
|
5
5
|
PASS src/plugins/postcss-global-variables/utils/__tests__/add-global-variable.tests.ts
|
|
6
6
|
PASS src/bin/__tests__/create-cli.tests.ts
|
|
7
7
|
PASS src/configs/app-configs/__tests__/update-with-presets.tests.ts
|
|
8
8
|
PASS src/configs/util/__tests__/create-watch-ignore-regex.tests.ts
|
|
9
9
|
PASS src/configs/util/__tests__/apply-overrides.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 (37.194 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
16
|
PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
|
|
17
17
|
PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
|
|
18
|
-
PASS src/configs/util/__tests__/find-plugin.tests.ts (
|
|
19
|
-
PASS src/configs/__tests__/webpack-client-modules.tests.ts (
|
|
20
|
-
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
18
|
+
PASS src/configs/util/__tests__/find-plugin.tests.ts (41.163 s)
|
|
19
|
+
PASS src/configs/__tests__/webpack-client-modules.tests.ts (8.433 s)
|
|
21
20
|
|
|
22
21
|
Test Suites: 16 passed, 16 total
|
|
23
|
-
Tests:
|
|
22
|
+
Tests: 52 passed, 52 total
|
|
24
23
|
Snapshots: 0 total
|
|
25
|
-
Time:
|
|
24
|
+
Time: 42.536 s
|
|
26
25
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# arui-scripts
|
|
2
2
|
|
|
3
|
+
## 23.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#585](https://github.com/core-ds/arui-scripts/pull/585) [`f17e49d3`](https://github.com/core-ds/arui-scripts/commit/f17e49d32666cd41a978c40c97bef3d3870dfedc) Thanks [@Burzachil](https://github.com/Burzachil)! - Обновлены `@babel/core` и все `@babel/*` пресеты и плагины до 7.29.7. Закрыты известные уязвимости Babel. Все пакеты `@babel/*` теперь одной версии, из lock-файла ушли дублирующиеся копии `@babel/core`. Папка `node_modules/@babel` уменьшилась примерно с 60 МБ до 12 МБ.
|
|
8
|
+
|
|
9
|
+
## 23.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#581](https://github.com/core-ds/arui-scripts/pull/581) [`1df61ec7`](https://github.com/core-ds/arui-scripts/commit/1df61ec77ff6f75077b1d4fa27a86413cc0c3b48) Thanks [@Burzachil](https://github.com/Burzachil)! - Исправлен порядок инструкций в Dockerfile-шаблоне команды `docker-build`: шаг удаления npm
|
|
14
|
+
(`deleteNpm: true`) выполнялся после переключения на непривилегированного пользователя
|
|
15
|
+
(`runFromNonRootUser: true`) и падал с ошибкой прав доступа. Теперь npm удаляется до инструкции `USER nginx` — так же, как это уже было
|
|
16
|
+
сделано в шаблоне для `docker-build-compiled`
|
|
17
|
+
|
|
3
18
|
## 23.6.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -32,14 +32,15 @@ ADD $START_SH_LOCATION /src/start.sh
|
|
|
32
32
|
ADD $NGINX_CONF_LOCATION ${nginxConfTargetLocation}
|
|
33
33
|
${nginx ? 'ADD $NGINX_BASE_CONF_LOCATION /etc/nginx/nginx.conf' : ''}
|
|
34
34
|
|
|
35
|
+
${app_configs_1.configs.deleteNpm
|
|
36
|
+
? 'RUN rm -rf /usr/local/bin/npm /usr/local/bin/npx /usr/local/lib/node_modules/npm'
|
|
37
|
+
: ''}
|
|
38
|
+
|
|
35
39
|
${nginxNonRootPart}
|
|
36
40
|
|
|
37
41
|
${app_configs_1.configs.runFromNonRootUser
|
|
38
42
|
? `ADD --chown=nginx:nginx ${appPathToAdd} ${appTargetPath}`
|
|
39
43
|
: `ADD ${appPathToAdd} ${appTargetPath}`}
|
|
40
|
-
${app_configs_1.configs.deleteNpm
|
|
41
|
-
? 'RUN rm -rf /usr/local/bin/npm /usr/local/bin/npx /usr/local/lib/node_modules/npm'
|
|
42
|
-
: ''}
|
|
43
44
|
${app_configs_1.configs.clientOnly ? 'COPY env-config.jso[n] /src/' : ''}
|
|
44
45
|
${app_configs_1.configs.clientOnly ? 'CMD ["nginx"]' : ''}
|
|
45
46
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arui-scripts",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.8.0",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"typings": "./build/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
"bin": "./build/bin/index.js",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@alfalab/postcss-custom-properties": "^9.1.2",
|
|
25
|
-
"@babel/core": "7.
|
|
26
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
27
|
-
"@babel/plugin-proposal-export-default-from": "^7.
|
|
25
|
+
"@babel/core": "7.29.7",
|
|
26
|
+
"@babel/plugin-proposal-decorators": "^7.29.7",
|
|
27
|
+
"@babel/plugin-proposal-export-default-from": "^7.29.7",
|
|
28
28
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
29
|
-
"@babel/plugin-transform-class-properties": "^7.
|
|
30
|
-
"@babel/plugin-transform-export-namespace-from": "^7.
|
|
31
|
-
"@babel/plugin-transform-modules-commonjs": "7.
|
|
32
|
-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.
|
|
33
|
-
"@babel/plugin-transform-numeric-separator": "^7.
|
|
34
|
-
"@babel/plugin-transform-object-rest-spread": "^7.
|
|
35
|
-
"@babel/plugin-transform-optional-chaining": "^7.
|
|
36
|
-
"@babel/plugin-transform-private-methods": "^7.
|
|
37
|
-
"@babel/plugin-transform-private-property-in-object": "^7.
|
|
38
|
-
"@babel/plugin-transform-proto-to-assign": "^7.
|
|
39
|
-
"@babel/plugin-transform-react-constant-elements": "^7.
|
|
40
|
-
"@babel/plugin-transform-react-inline-elements": "^7.
|
|
41
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
42
|
-
"@babel/preset-env": "^7.
|
|
43
|
-
"@babel/preset-react": "^7.
|
|
44
|
-
"@babel/preset-typescript": "^7.
|
|
45
|
-
"@babel/runtime": "^7.
|
|
29
|
+
"@babel/plugin-transform-class-properties": "^7.29.7",
|
|
30
|
+
"@babel/plugin-transform-export-namespace-from": "^7.29.7",
|
|
31
|
+
"@babel/plugin-transform-modules-commonjs": "7.29.7",
|
|
32
|
+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.29.7",
|
|
33
|
+
"@babel/plugin-transform-numeric-separator": "^7.29.7",
|
|
34
|
+
"@babel/plugin-transform-object-rest-spread": "^7.29.7",
|
|
35
|
+
"@babel/plugin-transform-optional-chaining": "^7.29.7",
|
|
36
|
+
"@babel/plugin-transform-private-methods": "^7.29.7",
|
|
37
|
+
"@babel/plugin-transform-private-property-in-object": "^7.29.7",
|
|
38
|
+
"@babel/plugin-transform-proto-to-assign": "^7.29.7",
|
|
39
|
+
"@babel/plugin-transform-react-constant-elements": "^7.29.7",
|
|
40
|
+
"@babel/plugin-transform-react-inline-elements": "^7.29.7",
|
|
41
|
+
"@babel/plugin-transform-runtime": "^7.29.7",
|
|
42
|
+
"@babel/preset-env": "^7.29.7",
|
|
43
|
+
"@babel/preset-react": "^7.29.7",
|
|
44
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
45
|
+
"@babel/runtime": "^7.29.7",
|
|
46
46
|
"@module-federation/runtime-tools": "^2.0.0",
|
|
47
47
|
"@pmmmwh/react-refresh-webpack-plugin": "0.6.2",
|
|
48
48
|
"@rsdoctor/rspack-plugin": "1.5.9",
|