From a507f97cd398b6980466242938d78f5a8ce026e3 Mon Sep 17 00:00:00 2001 From: "Patryk Rzucidlo (@PTKDev)" Date: Mon, 3 Jun 2024 21:29:35 +0000 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9F=9A=80=20Release=20Nightly]=20v3.0.3?= =?UTF-8?q?-nightly.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe4a0e9..76932f8 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![v3.0.2-nightly.0](https://img.shields.io/badge/version-v3.0.2--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) +[![v3.0.3-nightly.0](https://img.shields.io/badge/version-v3.0.3--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) diff --git a/package.json b/package.json index 2038bb5..74f553f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/node-cli-boilerplate", "displayName": "Node Command Line Interface Boilerplate", "description": "Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project", - "version": "3.0.2-nightly.0", + "version": "3.0.3-nightly.0", "main": "dist/cli/cli.js", "type": "module", "bin": { From ecb10cd35b55b66a3d54334b7335f746cef0aba0 Mon Sep 17 00:00:00 2001 From: "Patryk Rzucidlo (@PTKDev)" Date: Mon, 3 Jun 2024 23:37:12 +0200 Subject: [PATCH 2/2] [Fix] CI/CD --- .github/workflows/main.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c890d2..0b4b27d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,7 @@ jobs: - run: npm ci - run: npm run github-workflow-next-version -- --cmd main - run: npm run release + - run: npm run pre-commit - id: pkgjson run: chmod +x ./scripts/version.sh && ./scripts/version.sh - run: git add . && git commit -m "[🚀 Release] v${{ steps.pkgjson.outputs.pkgversion }}" && git push diff --git a/package.json b/package.json index 74f553f..92b8535 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "pkg-upgrade": "npx --yes npm-check-updates -u && npm run pkg-legacy", "pkg-upgrade-manually": "npx npm-check-updates --interactive && npm run pkg-legacy", "pkg-legacy": "npm install eslint@7 @typescript-eslint/eslint-plugin@5 @typescript-eslint/parser@5 eslint-plugin-jest@27 @types/yargs@16 yargs@16 --legacy-peer-deps && npm install", - "prepare": "ts-patch install -s && husky init" + "prepare": "ts-patch install -s" }, "dependencies": { "@ptkdev/logger": "^1.8.0"