@leverege/build-tools 2.5.19 → 2.5.21
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/lib/server/overwhelm.js +1 -1
- package/lib/server/repo-init/config.tgz +0 -0
- package/lib/web/overwhelm.js +1 -1
- package/package.json +6 -6
- package/src/dockreate +3 -3
- package/src/overwhelm.js +1 -1
package/lib/server/overwhelm.js
CHANGED
|
@@ -88,7 +88,7 @@ if (context === 'master') {
|
|
|
88
88
|
//
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
const yaml = YAML.
|
|
91
|
+
const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
|
|
92
92
|
const over = yaml.default;
|
|
93
93
|
let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
|
|
94
94
|
|
|
Binary file
|
package/lib/web/overwhelm.js
CHANGED
|
@@ -88,7 +88,7 @@ if (context === 'master') {
|
|
|
88
88
|
//
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
const yaml = YAML.
|
|
91
|
+
const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
|
|
92
92
|
const over = yaml.default;
|
|
93
93
|
let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
|
|
94
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.21",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"git-branch": "^2.0.1",
|
|
62
62
|
"glob": "^7.1.6",
|
|
63
63
|
"inquirer": "^7.3.3",
|
|
64
|
-
"js-yaml": "^
|
|
64
|
+
"js-yaml": "^4.0.0",
|
|
65
65
|
"ncp": "^2.0.0",
|
|
66
|
-
"npm-check-updates": "^
|
|
66
|
+
"npm-check-updates": "^11.1.1",
|
|
67
67
|
"npm-registry-fetch": "^9.0.0",
|
|
68
|
-
"open": "^7.3.
|
|
69
|
-
"ora": "^5.
|
|
68
|
+
"open": "^7.3.1",
|
|
69
|
+
"ora": "^5.3.0",
|
|
70
70
|
"parse-gitignore": "^1.0.1",
|
|
71
71
|
"readline-sync": "^1.4.10",
|
|
72
72
|
"semver": "^7.3.4",
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
"@babel/node": "^7.12.10",
|
|
79
79
|
"@leverege/babel-preset-leverege-node": "^1.1.1",
|
|
80
80
|
"@leverege/eslint-config-leverege": "^2.2.0",
|
|
81
|
-
"npm": "^6.14.
|
|
81
|
+
"npm": "^6.14.11"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/src/dockreate
CHANGED
|
@@ -51,7 +51,7 @@ strip_undefined() {
|
|
|
51
51
|
create_Dockerfile() {
|
|
52
52
|
local regvers="${1}"
|
|
53
53
|
local nodeimg="${2:-fermium-alpine}"
|
|
54
|
-
local apkadds="${3
|
|
54
|
+
local apkadds="${3}"
|
|
55
55
|
echo "Creating the Dockerfile for node ${nodeimg}"
|
|
56
56
|
cat<<DOCKERBLD > Dockerfile
|
|
57
57
|
# Version ${regvers} @ `date`
|
|
@@ -74,7 +74,7 @@ ENV GRPC_VERBOSITY ERROR
|
|
|
74
74
|
COPY ./.npmrc /usr/src/app/.npmrc
|
|
75
75
|
RUN apk --no-cache add curl git openssh-client && \
|
|
76
76
|
apk --update add --no-cache --virtual build-dep g++ gcc libgcc \\
|
|
77
|
-
libstdc++ linux-headers make ${apkadds} && \
|
|
77
|
+
libstdc++ linux-headers make python ${apkadds} && \
|
|
78
78
|
npm install --production --silent && \
|
|
79
79
|
rm -f /usr/src/app/.npmrc /root/.ssh/*
|
|
80
80
|
|
|
@@ -262,7 +262,7 @@ DIRTAG
|
|
|
262
262
|
|
|
263
263
|
# since we're tagging, the current branch must have an upstream
|
|
264
264
|
branch=`git rev-parse --abbrev-ref HEAD`
|
|
265
|
-
git rev-parse --
|
|
265
|
+
git rev-parse --abbrev-ref ${branch}@{u} &> /dev/null
|
|
266
266
|
|
|
267
267
|
if [ $? -ne 0 ];
|
|
268
268
|
then
|
package/src/overwhelm.js
CHANGED
|
@@ -49,7 +49,7 @@ if ( context === 'master' ) {
|
|
|
49
49
|
// approach in order to keep us cognizant of exactly where a cluster is
|
|
50
50
|
// being formed.
|
|
51
51
|
//
|
|
52
|
-
const yaml = YAML.
|
|
52
|
+
const yaml = YAML.load( fs.readFileSync( 'overwhelm.yaml', 'utf-8' ) )
|
|
53
53
|
const over = yaml.default
|
|
54
54
|
let cfgs = yaml[context]
|
|
55
55
|
|