From bedf62b9df424070c5043ea835db9dda3f719a2d Mon Sep 17 00:00:00 2001 From: shaikatzz <139782053+shaikatzz@users.noreply.github.com> Date: Mon, 6 May 2024 11:23:19 +0300 Subject: [PATCH] Ignore mvnw file (#92) --- package.json | 2 +- src/services/files-service.ts | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 19f6fa6..1d67155 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "2.4.0", + "version": "2.5.0", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/services/files-service.ts b/src/services/files-service.ts index c019520..0ac65cb 100644 --- a/src/services/files-service.ts +++ b/src/services/files-service.ts @@ -72,7 +72,14 @@ export const createTarGzArchive = async (directoryPath: string, fileName = 'code const fullFileName = `**/${fileName}.tar.gz`; // a special list of files to ignore that are not in .gitignore that is may or may not be in the project - const additionalFilesToIgnore = ['.git/**', '.env', 'local-secure-storage.db.json', '.mappsrc', 'node_modules/**']; + const additionalFilesToIgnore = [ + '.git/**', + '.env', + 'local-secure-storage.db.json', + '.mappsrc', + 'node_modules/**', + 'mvnw', + ]; const pathsToIgnoreFromGitIgnore = getFilesToExcludeForArchive(directoryPath); const pathsToIgnore = [...pathsToIgnoreFromGitIgnore, archivePath, fullFileName, ...additionalFilesToIgnore];