File tree 4 files changed +4
-7
lines changed
4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -148,11 +148,6 @@ indent_size = 2
148
148
indent_style = space
149
149
indent_size = 2
150
150
151
- # Set properties for `tslint.json` files:
152
- [tslint.json ]
153
- indent_style = space
154
- indent_size = 2
155
-
156
151
# Set properties for `tsconfig.json` files:
157
152
[tsconfig.json ]
158
153
indent_style = space
Original file line number Diff line number Diff line change
1
+ 2023-12-01T05:39:08.499Z
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119
119
# For all dependencies, check in all *.js files if they are still used; if not, remove them:
120
120
jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
121
121
dep=$(echo "$dep" | xargs)
122
- if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
122
+ if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
123
123
jq --indent 2 "del(.dependencies[\"$dep\"])" ./package.json > ./package.json.tmp
124
124
mv ./package.json.tmp ./package.json
125
125
fi
@@ -129,7 +129,7 @@ jobs:
129
129
continue
130
130
fi
131
131
dep=$(echo "$dep" | xargs)
132
- if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
132
+ if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
133
133
jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
134
134
mv ./package.json.tmp ./package.json
135
135
fi
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Brendan Graetz <bguiz@users.noreply.github.com>
9
9
Bruno Fenzl <brunofenzl@gmail.com>
10
10
Christopher Dambamuromo <chridam@gmail.com>
11
11
Dan Rose <danoftheroses@gmail.com>
12
+ Daniel Killenberger <daniel.killenberger@gmail.com>
12
13
Dominik Moritz <domoritz@gmail.com>
13
14
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
14
15
Frank Kovacs <fran70kk@gmail.com>
You can’t perform that action at this time.
0 commit comments