Skip to content

Commit 0330544

Browse files
authored
chore(tsoa): update .d.ts files (#318)
1 parent 5e3e482 commit 0330544

File tree

4 files changed

+32
-154
lines changed

4 files changed

+32
-154
lines changed

test-all.sh

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,34 @@ set -euo pipefail
33

44
WING=${WING:-wing}
55

6-
for i in $(ls -F); do
7-
if [ -f "$i/package.json" ]; then
8-
echo "-----------------------------------------------------------------------------"
9-
echo $i
10-
echo "-----------------------------------------------------------------------------"
11-
(
12-
cd $i
13-
npm i
14-
if [ -x test.sh ]; then
15-
./test.sh
16-
else
17-
$WING test
18-
fi
19-
)
6+
# Read the skipped packages from the JSON file
7+
skipped_packages=$(jq -r '.["skipped-packages"][].name' SKIPPED_LIBRARIES.json)
8+
9+
for package_file in */package.json; do
10+
# Check if the package.json file exists
11+
if [[ ! -f "$package_file" ]]; then
12+
continue
13+
fi
14+
15+
package_name="${package_file%/package.json}"
16+
17+
echo "-----------------------------------------------------------------------------"
18+
echo $package_name
19+
echo "-----------------------------------------------------------------------------"
20+
21+
# Check if the package should be skipped
22+
if echo "$skipped_packages" | grep -q "^$package_name$"; then
23+
echo "Skipping $package_name"
24+
continue
2025
fi
26+
27+
(
28+
cd $package_name
29+
npm i
30+
if [ -x test.sh ]; then
31+
./test.sh
32+
else
33+
$WING test
34+
fi
35+
)
2136
done

tsoa/lib.extern.d.ts

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

tsoa/package-lock.json

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

tsoa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@winglibs/tsoa",
33
"description": "TSOA library for Wing",
4-
"version": "0.1.15",
4+
"version": "0.1.16",
55
"author": {
66
"email": "[email protected]",
77
"name": "Eyal Keren"

0 commit comments

Comments
 (0)