Skip to content

Commit

Permalink
Merge branch 'nightly' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkdev committed Jun 3, 2024
2 parents ec380d6 + 3ba5ceb commit 88a88cd
Show file tree
Hide file tree
Showing 47 changed files with 11,822 additions and 21,305 deletions.
11 changes: 2 additions & 9 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"projectOwner": "ptkdev",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"commit": true,
"contributors": [
Expand All @@ -14,12 +12,7 @@
"name": "Patryk Rzucidło",
"avatar_url": "https://avatars1.githubusercontent.com/u/442844?v=4",
"profile": "https://ptk.dev",
"contributions": [
"code",
"translation",
"doc",
"bug"
]
"contributions": ["code", "translation", "doc", "bug"]
}
],
"contributorsPerLine": 6,
Expand Down
5 changes: 1 addition & 4 deletions .all-shieldsrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"files": [
"README.md",
"CHANGELOG.md"
],
"files": ["README.md", "CHANGELOG.md"],
"shields": [
{
"id": "header-badges",
Expand Down
15 changes: 15 additions & 0 deletions .env.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See: /app/configs/config.ts
LANGUAGE=en

# See: https://github.com/ptkdev/ptkdev-logger
LOGGER_DEBUGLOG_PATH=./logs/debug.log
LOGGER_ERRORLOG_PATH=./logs/errors.log
LOGGER_LANGUAGE=en
LOGGER_COLORS=enabled
LOGGER_DEBUG=enabled
LOGGER_INFO=enabled
LOGGER_WARNING=enabled
LOGGER_ERROR=enabled
LOGGER_SPONSOR=enabled
LOGGER_WRITE=disabled
LOGGER_TYPE=log
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
],
parserOptions: {
sourceType: "module",
ecmaVersion: 2019,
ecmaVersion: 2022,
},
plugins: ["jsdoc", "jest", "@typescript-eslint"],
globals: {
Expand Down Expand Up @@ -103,6 +103,6 @@ module.exports = {
"jsdoc/require-returns-description": 1,
"jsdoc/require-returns-type": 1,
"jsdoc/require-returns-check": 1,
"jsdoc/require-hyphen-before-param-description": 1,
"jsdoc/require-hyphen-before-param-description": 1
},
};
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
github: [ptkdev]
patreon: ptkdev
ko_fi: ptkdev
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ much detail as possible. -->
PAID SUPPORT :
If you need paid support with hight priority donate correct tier on:
- https://github.com/sponsors/ptkdev
- https://www.patreon.com/join/ptkdev
Please send me an email ([email protected]) before donation, i try provide correct price quotation for your bug or new feature.
-->
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ about: Suggest an idea or new feature for this project (low priority)
PAID SUPPORT :
If you need paid support with hight priority donate correct tier on:
- https://github.com/sponsors/ptkdev
- https://www.patreon.com/join/ptkdev
Please send me an email ([email protected]) before donation, i try provide correct price quotation for your bug or new feature.
-->
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/paid_support.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
name: 🎖 Paid support
about: If you need paid support with hight priority donate correct tier on github.com/sponsors/ptkdev or patreon.com/join/ptkdev and send email to [email protected]
about: If you need paid support with hight priority donate correct tier on github.com/sponsors/ptkdev and send email to [email protected]
---

## PAID SUPPORT

If you need paid support with hight priority donate correct tier on:

- https://github.com/sponsors/ptkdev
- https://www.patreon.com/join/ptkdev

Please send me an email ([email protected]) before donation, i try provide correct price quotation for your bug or new feature.
Binary file removed .github/assets/social_discord.png
Binary file not shown.
Binary file removed .github/assets/social_telegram.png
Binary file not shown.
Binary file removed .github/assets/social_twitter.png
Binary file not shown.
6 changes: 3 additions & 3 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, '[🚀 Release Beta]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
token: ${{ secrets.GIT_TOKEN }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@main
with:
node-version: "16.x"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
- run: git config --global user.email '[email protected]'
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
token: ${{ secrets.GIT_TOKEN }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@main
with:
node-version: "16.x"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
- run: git config --global user.email '[email protected]'
Expand All @@ -29,19 +29,17 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%B %d, %Y')"
run: echo "date=$(date +'%B %d, %Y')" >> $GITHUB_OUTPUT
- run: echo "### CHANGELOG:" "v${{ steps.pkgjson.outputs.pkgversion }} (${{ steps.date.outputs.date }})" >> CHANGELOG_RELEASE.md
- run: npm run github-workflow-changelog
- id: changelog
run: chmod +x ./scripts/changelog_release.sh && ./scripts/changelog_release.sh
- name: Release snapshot
id: release-snapshot
uses: actions/create-release@latest
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.pkgjson.outputs.pkgversion }}
release_name: v${{ steps.pkgjson.outputs.pkgversion }}
body: |
### CHANGELOG: v${{ steps.pkgjson.outputs.pkgversion }} (${{ steps.date.outputs.date }})${{ steps.changelog.outputs.changelog }}
tag: ${{ steps.pkgjson.outputs.pkgversion }}
name: v${{ steps.pkgjson.outputs.pkgversion }}
bodyFile: CHANGELOG_RELEASE.md
draft: false
prerelease: false
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, '[🚀 Release Nightly]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
token: ${{ secrets.GIT_TOKEN }}
ref: nightly
- uses: actions/setup-node@v2
- uses: actions/setup-node@main
with:
node-version: "16.x"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
- run: git config --global user.email '[email protected]'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
token: ${{ secrets.GIT_TOKEN }}
ref: nightly
- uses: actions/setup-node@v2
- uses: actions/setup-node@main
with:
node-version: "16.x"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)'
- run: git config --global user.email '[email protected]'
Expand Down
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
npm run pre-commit
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
8 changes: 7 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": true
"useTabs": true,
"overrides": [
{
"files": [".all-shieldsrc", ".all-contributorsrc"],
"options": { "parser": "json" }
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 30000,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "always"
},
"eslint.format.enable": true,
"[javascript]": {
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# v2.0.3 (April 06, 2022)
# v3.0.0 (June 03, 2024)

- New: porting to esm (type=module)
- Security: updated dependencies
- Fix: readme, build and scripts

Expand All @@ -9,6 +10,11 @@

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

# v2.0.3 (April 06, 2022)

- Security: updated dependencies
- Fix: readme, build and scripts

# v2.0.2 (February 21, 2022)

- Refactor: CI/CD now update the version of the package to the latest (nightly)
Expand Down
6 changes: 3 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Code and Contributions
Copyright (c) 2021 Patryk Rzucidło (PTKDev)
Copyright (c) 2024 Patryk Rzucidło (PTKDev)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -28,7 +28,7 @@ SOFTWARE.

> Images, assets and logos
Copyleft (c) 2022 Patryk Rzucidło (PTKDev)
Copyleft (c) 2024 Patryk Rzucidło (PTKDev)

#### You are free to:

Expand All @@ -50,7 +50,7 @@ No additional restrictions — You may not apply legal terms or technological me

> Documentation and Translations
Copyleft (c) 2022 Patryk Rzucidło (PTKDev)
Copyleft (c) 2024 Patryk Rzucidło (PTKDev)

#### You are free to:

Expand Down
Loading

0 comments on commit 88a88cd

Please sign in to comment.