Skip to content

Commit

Permalink
chore(tsoa): update .d.ts files (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Sep 9, 2024
1 parent 5e3e482 commit 0330544
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 154 deletions.
43 changes: 29 additions & 14 deletions test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,34 @@ set -euo pipefail

WING=${WING:-wing}

for i in $(ls -F); do
if [ -f "$i/package.json" ]; then
echo "-----------------------------------------------------------------------------"
echo $i
echo "-----------------------------------------------------------------------------"
(
cd $i
npm i
if [ -x test.sh ]; then
./test.sh
else
$WING test
fi
)
# Read the skipped packages from the JSON file
skipped_packages=$(jq -r '.["skipped-packages"][].name' SKIPPED_LIBRARIES.json)

for package_file in */package.json; do
# Check if the package.json file exists
if [[ ! -f "$package_file" ]]; then
continue
fi

package_name="${package_file%/package.json}"

echo "-----------------------------------------------------------------------------"
echo $package_name
echo "-----------------------------------------------------------------------------"

# Check if the package should be skipped
if echo "$skipped_packages" | grep -q "^$package_name$"; then
echo "Skipping $package_name"
continue
fi

(
cd $package_name
npm i
if [ -x test.sh ]; then
./test.sh
else
$WING test
fi
)
done
137 changes: 0 additions & 137 deletions tsoa/lib.extern.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tsoa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tsoa/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@winglibs/tsoa",
"description": "TSOA library for Wing",
"version": "0.1.15",
"version": "0.1.16",
"author": {
"email": "[email protected]",
"name": "Eyal Keren"
Expand Down

0 comments on commit 0330544

Please sign in to comment.