Skip to content

Commit

Permalink
chore: rename script to renameProjectLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Oct 24, 2024
1 parent 3eb957a commit 1b8f0b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"scripts": {
"prepare": "npm run lib-commons:build && npm run lib-api-client:build",
"renameProjectLabels": "node renameProjectLabels.js",
"test": "npm run app-node-express:test && npm run app-vite-react:test && npm run lib-commons:test && npm run lib-api-client:test",
"build": "npm run lib-commons:build && npm run lib-api-client:build && npm run app-node-express:build && npm run app-vite-react:build",
"clean": "rm -rf docs && npm run app-node-express:clean && npm run app-vite-react:clean && npm run lib-commons:clean && npm run lib-api-client:clean",
Expand Down
11 changes: 10 additions & 1 deletion script.js → renameProjectLabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,16 @@ console.log("Custom Configuration for Search and Replace:", customConfig);
const directoryPath = dirname;

// 2. String array specifying which file names and folder names should be excluded from the search
const excludedFiles = ["node_modules", ".git", "dist", "docs", "tools", ".env"];
const excludedFiles = [
"node_modules",
".git",
"dist",
"docs",
"tools",
".env",
"dump",
"pnpm-lock.yaml",
];

/**
* Recursively find all files in a directory, excluding specified files and folders.
Expand Down

0 comments on commit 1b8f0b9

Please sign in to comment.