diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 2141a2c..c157a45 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -6,7 +6,7 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" + if: "!startsWith(github.event.head_commit.message, '[🚀 Release Beta]')" steps: - uses: actions/checkout@v2 with: @@ -23,7 +23,7 @@ jobs: - 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 + - run: git add . && git commit -m "[🚀 Release Beta] v${{ steps.pkgjson.outputs.pkgversion }}" && git push - run: npm publish --tag beta env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -32,4 +32,4 @@ jobs: - run: npm run pre-commit - id: nextnightly run: chmod +x ./scripts/version.sh && ./scripts/version.sh - - run: git add . && git commit -m "[🚀 Release] v${{ steps.nextnightly.outputs.pkgversion }}" && git push + - run: git add . && git commit -m "[🚀 Release Nightly] v${{ steps.nextnightly.outputs.pkgversion }}" && git push diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d0481fc..4233c53 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -5,7 +5,7 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]') || startsWith(github.event.head_commit.message, '[🚀 Release] Nightly')" + if: "!startsWith(github.event.head_commit.message, '[🚀 Release Nightly]')" steps: - uses: actions/checkout@v2 with: @@ -23,7 +23,7 @@ jobs: - 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 + - run: git add . && git commit -m "[🚀 Release Nightly] v${{ steps.pkgjson.outputs.pkgversion }}" && git push - run: npm publish --tag nightly env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5adef33..4ad2f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]') || startsWith(github.event.head_commit.message, '[🚀 Release] Nightly')" steps: - uses: actions/checkout@v2 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index ddf5cd1..0d2af95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ -# v2.0.5 (January 15, 2022) +# v2.0.6 (January 16, 2022) -- Fix: remove tests from build -- Fix: translate() +- Fix: CI/CD diff --git a/README.md b/README.md index 49cfd31..5c1d602 100755 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ -[![v2.0.5](https://img.shields.io/badge/version-v2.0.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-module-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-module-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-module-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-module-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) +[![v2.0.6-beta.1](https://img.shields.io/badge/version-v2.0.6--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-module-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-module-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-module-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-module-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) -Create your npm library with this friendly boilerplate. Use this respository as template for your new node library/module +Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library/module This is a [github template](https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/), you can fork it or [use as template](https://github.com/ptkdev-boilerplate/node-module-boilerplate/generate) for start new project with this repository as hello-world. I hate start new project with empty template, often i missing correct configuration, readme instruction or i need of samples of code. Use this repository as template solve this problem. diff --git a/app/types/module.interfaces.ts b/app/types/module.interfaces.ts index 0ab8073..55efa2c 100644 --- a/app/types/module.interfaces.ts +++ b/app/types/module.interfaces.ts @@ -2,7 +2,7 @@ * Node Module (Library) Boilerplate * ===================== * - * Create your node module (library) with this friendly boilerplate. Use this respository as template for your new node library/module + * Create your node module (library) with this user friendly boilerplate. Use this respository as template for your new node library/module * * @contributors: Patryk Rzucidło [@ptkdev] (https://ptk.dev) * diff --git a/package.json b/package.json index 2467874..db402ee 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@ptkdev/node-module-boilerplate", "displayName": "Node NPM Library Boilerplate", - "description": "Create your npm library with this friendly boilerplate. Use this respository as template for your new node library/module", - "version": "2.0.5", + "description": "Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library/module", + "version": "2.0.6-beta.1", "main": "dist/functions/module.js", "publishConfig": { "access": "public" diff --git a/scripts/setup.ts b/scripts/setup.ts index f059ba9..50e0a50 100644 --- a/scripts/setup.ts +++ b/scripts/setup.ts @@ -111,7 +111,7 @@ const logger = new Logger(); await replace({ files: ["**/*", ".*", "**/.*"], ignore: ["node_modules/**/*", "setup.json", "package-lock.json", "scripts/setup.ts", ".all-contributorsrc"], - from: /Create your npm library with this friendly boilerplate. Use this respository as template for your new node library\/module/g, + from: /Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library\/module/g, to: setup.description, }); } catch (error) { diff --git a/setup.json b/setup.json index d7eec9c..0ddd60a 100644 --- a/setup.json +++ b/setup.json @@ -2,7 +2,7 @@ "package_name": "node-module-boilerplate", "package_org": "@ptkdev", "display_name": "Node NPM Library Boilerplate", - "description": "Create your npm library with this friendly boilerplate. Use this respository as template for your new node library/module", + "description": "Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library/module", "author": "Patryk Rzucidło [@ptkdev] (https://ptk.dev)", "author_markdown": "[Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>", "author_url": "https://ptk.dev",