We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5efa2af commit ceccaf3Copy full SHA for ceccaf3
scripts/compile.sh
@@ -11,7 +11,7 @@ for dir in */; do
11
subdir="${dir%/}"
12
13
# Check if a package.json file exists in the current subdirectory
14
- if [ -f "$subdir/package.json" ]; then
+ if [[ -f "$subdir/package.json" && "$subdir" != "scripts" ]]; then
15
echo "--> Found package.json in '$subdir'. Running 'npm run compile'..."
16
17
# Use a subshell (parentheses) for the 'cd' command.
scripts/package.json
@@ -3,7 +3,6 @@
3
"version": "1.0.0",
4
"description": "Internal repo scripts",
5
"scripts": {
6
- "compile": "cp ../tsconfig.json.template ./tsconfig.json && tsc"
7
},
8
"author": "samstern@google.com",
9
"license": "Apache-2.0"
0 commit comments