arui-scripts 12.4.0 → 12.5.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [12.4.1](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v12.4.0...v12.4.1) (2022-06-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ts-config:** ignore local tsconfigs for ts-node ([0235ade](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/0235ade62cbf9d14ac55f7c518ca170fdc7d364e))
|
|
7
|
+
* **ts-configs:** disable processing of js files with ts-node ([edbb9d2](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/edbb9d2d23ba1c0f7950fedf5fff394b695c6cd5))
|
|
8
|
+
|
|
1
9
|
# [12.4.0](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v12.3.0...v12.4.0) (2022-05-25)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -18,8 +18,12 @@ cat ./nginx.conf \\
|
|
|
18
18
|
| sed 's/~~\\([a-zA-Z0-9_-]\\{1,\\}\\)~~/$\\1/g' \\
|
|
19
19
|
> /etc/nginx/conf.d/default.conf
|
|
20
20
|
|
|
21
|
-
# Достаем лимит памяти из cgroup, это то, как его докер задает.
|
|
22
|
-
|
|
21
|
+
# Достаем лимит памяти из cgroup, это то, как его докер задает.
|
|
22
|
+
if [[ -f /sys/fs/cgroup/cgroup.controllers ]]; then
|
|
23
|
+
max_total_memory=$(cat /sys/fs/cgroup/memory.max)
|
|
24
|
+
else
|
|
25
|
+
max_total_memory=$(cat /sys/fs/cgroup/memory/memory.limit_in_bytes)
|
|
26
|
+
fi
|
|
23
27
|
# Самой nodejs мы не можем отдать совсем всю память, операционная система+nginx все же требуют какого то количества.
|
|
24
28
|
# Поэтому мы вычитаем 100мб на нужды ос
|
|
25
29
|
node_memory_limit="$(($max_total_memory / 1024 / 1024 - 100))"
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
"affectsGlobalScope": false
|
|
598
598
|
},
|
|
599
599
|
"../src/configs/util/register-ts-node.ts": {
|
|
600
|
-
"version": "
|
|
600
|
+
"version": "a806ff42cf28f9ceb3b5e73b8683bf3f820946226669351f626c900d780f6436",
|
|
601
601
|
"signature": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
602
602
|
"affectsGlobalScope": true
|
|
603
603
|
},
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
"affectsGlobalScope": false
|
|
793
793
|
},
|
|
794
794
|
"../src/templates/start.template.ts": {
|
|
795
|
-
"version": "
|
|
795
|
+
"version": "880f33b82d22e208683f9096f25507b29f038c0ac42858f4bae39edb1dd988c6",
|
|
796
796
|
"signature": "0fffbf1a5f54522ff7b89592bab1cf72966d7bdc613d52b0087717fcfec14b29",
|
|
797
797
|
"affectsGlobalScope": false
|
|
798
798
|
},
|