From ed105f7c193c15e7b3c118367b6ac4998a9e4a7b Mon Sep 17 00:00:00 2001 From: choewy Date: Mon, 18 Mar 2024 21:34:02 +0900 Subject: [PATCH] feature/vesrion change scripts --- package.json | 5 ++++- scripts/major.sh | 8 -------- scripts/minor.sh | 8 -------- scripts/patch.sh | 8 -------- 4 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 scripts/major.sh delete mode 100644 scripts/minor.sh delete mode 100644 scripts/patch.sh diff --git a/package.json b/package.json index af68e62..ed76432 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,12 @@ "scripts": { "prepare": "husky", "lint": "eslint \"{libs,test}/**/*.ts\" --fix", + "docker": "docker-compose up --build -d", "start": "nodemon -w libs -e ts --exec ts-node libs/main.ts", "build": "rm -rf dist && tsc", - "docker": "docker-compose up --build -d" + "vesrion:patch": "npm version patch && git push origin master", + "vesrion:minor": "npm version minor && git push origin master", + "vesrion:major": "npm version major && git push origin master" }, "dependencies": { "@nestjs/common": "^10.3.3", diff --git a/scripts/major.sh b/scripts/major.sh deleted file mode 100644 index 01a6d9f..0000000 --- a/scripts/major.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version major -npm publish -git push - -exit 0 \ No newline at end of file diff --git a/scripts/minor.sh b/scripts/minor.sh deleted file mode 100644 index a680dd3..0000000 --- a/scripts/minor.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version minor -npm publish -git push - -exit 0 \ No newline at end of file diff --git a/scripts/patch.sh b/scripts/patch.sh deleted file mode 100644 index 1affdbb..0000000 --- a/scripts/patch.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version patch -npm publish -git push - -exit 0 \ No newline at end of file