File tree 5 files changed +9
-10
lines changed 5 files changed +9
-10
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-01T01:16:57.051Z
Original file line number Diff line number Diff line change @@ -767,14 +767,16 @@ jobs:
767
767
git checkout production
768
768
git checkout -b cli
769
769
770
- # Copy files to cli directory:
771
- - name : ' Copy files to cli directory'
770
+ # Copy files to ` cli` directory:
771
+ - name : ' Copy files to ` cli` directory'
772
772
run : |
773
773
mkdir -p cli
774
774
mkdir -p cli/docs cli/test
775
775
cp README.md LICENSE CONTRIBUTORS NOTICE ./cli
776
776
cp -r bin etc ./cli
777
- cp test/test.cli.js ./cli/test
777
+ if [ -e "test/test.cli.js" ]; then
778
+ cp test/test.cli.js ./cli/test
779
+ fi
778
780
if [ -d "test/fixtures" ]; then
779
781
cp -r test/fixtures ./cli/test
780
782
fi
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