Updates for tsconfig generation (#12420)
* improve makefile to not remove tsconfigs already in git * update tsconfig generation script to include packages in eslint and codemods folders * use git clean
This commit is contained in:
7
Makefile
7
Makefile
@@ -140,9 +140,10 @@ clean: test-clean
|
||||
|
||||
clean-tsconfig:
|
||||
rm -f tsconfig.json
|
||||
rm -f packages/*/tsconfig.{tsbuildinfo,json}
|
||||
rm -f codemods/*/tsconfig.{tsbuildinfo,json}
|
||||
rm -f eslint/*/tsconfig.{tsbuildinfo,json}
|
||||
git clean packages/*/tsconfig.json -xfq
|
||||
git clean codemods/*/tsconfig.json -xfq
|
||||
git clean eslint/*/tsconfig.json -xfq
|
||||
rm -f */*/tsconfig.tsbuildinfo
|
||||
|
||||
test-clean:
|
||||
$(foreach source, $(SOURCES), \
|
||||
|
||||
Reference in New Issue
Block a user