@react-ui-org/react-ui 0.64.0 → 0.64.1
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
CHANGED
|
@@ -11,5 +11,11 @@ SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
|
11
11
|
# Change to the parent directory of the script
|
|
12
12
|
cd "$SCRIPT_DIR/.."
|
|
13
13
|
|
|
14
|
+
# Skip when running as an installed dependency,
|
|
15
|
+
# the published package contains no package-lock.json.
|
|
16
|
+
if [ ! -f package-lock.json ]; then
|
|
17
|
+
exit 0
|
|
18
|
+
fi
|
|
19
|
+
|
|
14
20
|
# Record the hash of the lockfile we just installed against
|
|
15
21
|
sha256sum package-lock.json | awk '{print $1}' > "$LOCK_HASH_FILE"
|