-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(no-ref): remove husky and version in build
* fix(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * feat(ref: no-ref): remove husky * fix(ref: no-ref): remove husky * fix(ref: no-ref): remove husky * fix(ref: no-ref): remove husky * fix(ref: no-ref): remove husky * fix(no-ref): remove husky and right pre-commit * fix(no-ref): remove husky and right pre-commit v1 * fix(no-ref): add version for build * fix(no-ref): add version for build v1 --------- Co-authored-by: Igor Nepipenko <[email protected]>
- Loading branch information
1 parent
b5d8925
commit 854f97a
Showing
12 changed files
with
779 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin | ||
|
||
set -e | ||
|
||
npm run lint | ||
|
||
output=$(npm run type-coverage) | ||
if echo "$output" | grep -q "lower than "; then | ||
echo "$output" | ||
exit 1 # Terminate the hook script with a non-zero exit code | ||
else | ||
echo "Type coverage is good! 🎉" | ||
fi | ||
|
||
npm run test | ||
|
||
npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Check if the correct number of arguments are provided | ||
if [ $# -ne 1 ]; then | ||
echo "Usage: $0 <version>" | ||
exit 1 | ||
fi | ||
|
||
# Assign arguments to variables | ||
custom_string="$1" | ||
|
||
# Perform the replacement and save to output file | ||
sed -i "" "s/<%version%>/$custom_string/g" "angular.json" | ||
echo "Template string replaced successfully. 🎉" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin | ||
|
||
set -e | ||
|
||
npm run lint | ||
npm run cypress:bash | ||
npm test | ||
npm run build | ||
npm run build:lib |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.