diff --git a/package.json b/package.json index 0aebf922..32f0e0a1 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/script.js b/renameProjectLabels.js similarity index 97% rename from script.js rename to renameProjectLabels.js index 8429cbcd..f47890d8 100644 --- a/script.js +++ b/renameProjectLabels.js @@ -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.