mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 00:37:10 +02:00
remove tokens files from replace script
This commit is contained in:
parent
5616857d16
commit
2559465ea4
|
|
@ -8,7 +8,7 @@ FRONTEND_DIR="./packages/frontend"
|
|||
|
||||
# Find all files in frontend folder except _tokens.scss (which is already updated)
|
||||
echo "Finding files to process..."
|
||||
files=$(find "$FRONTEND_DIR" -type f \( -name "*.css" -o -name "*.scss" -o -name "*.vue" -o -name "*.ts" -o -name "*.snap" -o -name "*.test.ts" -o -name "*.js" -o -name "*.md" \) ! -path "*/node_modules/*" ! -path "*/dist/*" ! -path "*/.vite/*" ! -path "*/_tokens.deprecated.scss" ! -path "*/_tokens.dark.deprecated.scss")
|
||||
files=$(find "$FRONTEND_DIR" -type f \( -name "*.css" -o -name "*.scss" -o -name "*.vue" -o -name "*.ts" -o -name "*.snap" -o -name "*.test.ts" -o -name "*.js" -o -name "*.md" \) ! -path "*/node_modules/*" ! -path "*/dist/*" ! -path "*/.vite/*" ! -path "*/_tokens.scss" ! -path "*/_tokens.dark.scss" ! -path "*/_tokens.deprecated.scss" ! -path "*/_tokens.dark.deprecated.scss")
|
||||
|
||||
file_count=$(echo "$files" | wc -l | xargs)
|
||||
echo "Found $file_count files to process"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user