@leverege/build-tools 2.21.6 → 2.21.7
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/package.json +1 -1
- package/src/dockreate +5 -5
- package/.swp +0 -0
package/package.json
CHANGED
package/src/dockreate
CHANGED
|
@@ -6,8 +6,8 @@ fi
|
|
|
6
6
|
|
|
7
7
|
# Load common bash functions
|
|
8
8
|
. `build-tools --bashfun`
|
|
9
|
-
|
|
10
|
-
cd $
|
|
9
|
+
PKGTOP="$npm_config_local_prefix"
|
|
10
|
+
cd $PKGTOP/docker
|
|
11
11
|
|
|
12
12
|
if [ ! -x "$(command -v jq)" ];
|
|
13
13
|
then
|
|
@@ -19,7 +19,7 @@ NO_JQ
|
|
|
19
19
|
exit 1
|
|
20
20
|
fi
|
|
21
21
|
|
|
22
|
-
if [ ! -d "$
|
|
22
|
+
if [ ! -d "$PKGTOP/dist" ];
|
|
23
23
|
then
|
|
24
24
|
cat<<NO_DIST
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ NO_DIST
|
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
32
|
function packageJson() {
|
|
33
|
-
result=$(jq -r $1 $
|
|
33
|
+
result=$(jq -r $1 $PKGTOP/package.json)
|
|
34
34
|
if [ "$result" != "null" ]
|
|
35
35
|
then
|
|
36
36
|
echo $result
|
|
@@ -372,7 +372,7 @@ create_Dockerfile "$version" "$nodeimg" "$apkadds"
|
|
|
372
372
|
create_bashrc "$version" "$nodeimg"
|
|
373
373
|
|
|
374
374
|
rm -rf ./workspace && mkdir -p ./workspace
|
|
375
|
-
cp -rfp ${
|
|
375
|
+
cp -rfp ${PKGTOP}/package*json ${PKGTOP}/dist/* ./workspace
|
|
376
376
|
|
|
377
377
|
# grab the read only npmrc token for the image
|
|
378
378
|
cp -f $NPMRC .npmrc
|
package/.swp
DELETED
|
Binary file
|