Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkdev committed Jan 16, 2022
2 parents 6cf8538 + 52883ef commit 71c2de4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

<!-- all-shields/sponsors-badges:START -->

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

<!-- all-shields/header-badges:START -->

[![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)

<!-- all-shields/header-badges:END -->

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.

Expand Down
2 changes: 1 addition & 1 deletion app/types/module.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] <support@ptkdev.io> (https://ptk.dev)
*
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -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] <support@ptkdev.io> (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",
Expand Down

0 comments on commit 71c2de4

Please sign in to comment.