Skip to content

Commit e1d6a33

Browse files
Merge pull request #2535 from Accenture/develop
v9.0.1
2 parents fe30be0 + 6f4e545 commit e1d6a33

30 files changed

Lines changed: 1635 additions & 216 deletions

.github/workflows/code-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
lintandTesting:
1414
runs-on: ubuntu-latest
1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
node: ["20.19", 21, 22, 23, 24, 25]
1819
name: lint & test w/ node v${{ matrix.node }}

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ INPUT_FILE=$1
22
START_LINE=`head -n1 $INPUT_FILE`
33
PATTERN="^(#[[:digit:]]|Merge|Revert)"
44

5-
if ! [[ "$START_LINE" =~ $PATTERN ]] ; then
5+
if ! echo "$START_LINE" | grep -qE "$PATTERN" ; then
66
echo "Bad commit message, see example: \"#431 commit message\", you provided: \"$START_LINE\""
77
exit 1
88
fi

.husky/post-checkout

100644100755
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
# ### git commit message template ###
23
git config commit.template .git/templatemessage
34
TICKETID=`git rev-parse --abbrev-ref HEAD | LC_ALL=en_US.utf8 grep -oP '^((feature|bug|bugfix|fix|hotfix|task|chore)\/)?\K\d{1,7}' || true`
@@ -11,24 +12,21 @@ echo "[POST-CHECKOUT] Setting template commit to '$TEMPLATE'"
1112
echo "$TEMPLATE" > ".git/templatemessage"
1213

1314

14-
if [[ $SKIP_HOOKS>0 ]]; then
15+
if [ "${SKIP_HOOKS:-0}" -gt 0 ] 2>/dev/null; then
1516
echo "[POST-CHECKOUT] skipping hooks ($SKIP_HOOKS)"
1617
exit 0
1718
fi
1819

1920
# ### run npm install ###
2021
echo "[POST-CHECKOUT] 📦 Checking for changes to dependencies"
21-
# define how to split strings into array elements
22-
IFS=$'\n'
2322
# $1 is the new HEAD pointer
2423
NEWHEAD=$1
2524
# $2 is the previous HEAD pointer
2625
OLDHEAD=$2
2726
# extract all paths to package-lock.json files
28-
PACKAGE_LOCK_REGEX="(^package-lock\.json)"
29-
PACKAGES=$(git diff --name-only $OLDHEAD $NEWHEAD | grep -E $PACKAGE_LOCK_REGEX || true)
27+
PACKAGES=$(git diff --name-only "$OLDHEAD" "$NEWHEAD" | grep -E "^package-lock\.json" || true)
3028

31-
if [[ ${PACKAGES[@]} ]]; then
29+
if [ -n "$PACKAGES" ]; then
3230
for package in $PACKAGES; do
3331
echo "📦 $package was changed."
3432
done

@types/lib/Deployer.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@types/lib/metadataTypes/Asset.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@types/lib/metadataTypes/Folder.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@types/lib/util/util.d.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)