arui-scripts 23.6.0 → 23.7.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.
@@ -1,26 +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/templates/__tests__/dockerfile-templates.tests.ts (34.516 s)
4
+ PASS src/templates/__tests__/dockerfile-templates.tests.ts (25.402 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 (42.07 s)
11
+ PASS src/plugins/__tests__/attribute-module-css.tests.ts (32.196 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 (46.322 s)
19
- PASS src/configs/__tests__/webpack-client-modules.tests.ts (11.433 s)
18
+ PASS src/configs/__tests__/webpack-client-modules.tests.ts (9.337 s)
19
+ PASS src/configs/util/__tests__/find-plugin.tests.ts (36.276 s)
20
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.
21
21
 
22
22
  Test Suites: 16 passed, 16 total
23
- Tests: 51 passed, 51 total
23
+ Tests: 52 passed, 52 total
24
24
  Snapshots: 0 total
25
- Time: 49.282 s
25
+ Time: 37.985 s
26
26
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # arui-scripts
2
2
 
3
+ ## 23.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+ (`deleteNpm: true`) выполнялся после переключения на непривилегированного пользователя
9
+ (`runFromNonRootUser: true`) и падал с ошибкой прав доступа. Теперь npm удаляется до инструкции `USER nginx` — так же, как это уже было
10
+ сделано в шаблоне для `docker-build-compiled`
11
+
3
12
  ## 23.6.0
4
13
 
5
14
  ### 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.6.0",
3
+ "version": "23.7.0",
4
4
  "main": "./build/index.js",
5
5
  "typings": "./build/index.d.ts",
6
6
  "exports": {