-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Code quality, scripts, and interfaces
- Loading branch information
Showing
38 changed files
with
16,388 additions
and
24,124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,8 @@ indent_size = 4 | |
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release Beta | ||
on: | ||
push: | ||
branches: | ||
- beta | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: "!startsWith(github.event.head_commit.message, '[🚀 Release Beta]')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GIT_TOKEN }} | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' | ||
- run: git config --global user.email 'support@ptkdev.io' | ||
- run: npm ci | ||
- run: npm run github-workflow-next-version -- --cmd beta | ||
- 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 Beta] v${{ steps.pkgjson.outputs.pkgversion }}" && git push | ||
- run: npm publish --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: git fetch --all && git checkout nightly | ||
- run: npm run github-workflow-next-version -- --cmd nightly-next | ||
- run: npm run pre-commit | ||
- id: nextnightly | ||
run: chmod +x ./scripts/version.sh && ./scripts/version.sh | ||
- run: git add . && git commit -m "[🚀 Release Nightly] v${{ steps.nextnightly.outputs.pkgversion }}" && git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Release Stable | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GIT_TOKEN }} | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' | ||
- run: git config --global user.email 'support@ptkdev.io' | ||
- 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 | ||
- run: npm publish --tag latest | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Get current date | ||
id: date | ||
run: echo "::set-output name=date::$(date +'%B %d, %Y')" | ||
- 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 | ||
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 }} | ||
draft: false | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release Nightly | ||
on: | ||
schedule: | ||
- cron: "30 23 * * *" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: "!startsWith(github.event.head_commit.message, '[🚀 Release Nightly]')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GIT_TOKEN }} | ||
ref: nightly | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' | ||
- run: git config --global user.email 'support@ptkdev.io' | ||
- run: npm ci | ||
- run: npm run github-workflow-next-version -- --cmd nightly | ||
- 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 Nightly] v${{ steps.pkgjson.outputs.pkgversion }}" && git push | ||
- run: npm publish --tag nightly | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Try Release | ||
on: | ||
push: | ||
branches: | ||
- nightly | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GIT_TOKEN }} | ||
ref: nightly | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' | ||
- run: git config --global user.email 'support@ptkdev.io' | ||
- run: npm ci | ||
- run: npm run release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
**/* | ||
|.github | ||
!/dist/**/* | ||
!/extra/**/* | ||
!*.d.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
# v1.0.20210412 (April 12, 2021) | ||
# v2.0.0 (February 07, 2022) | ||
|
||
- Fix: minor fix | ||
- Fix: readme of issues | ||
- Refactor: code quality, scripts, and interfaces | ||
- Security: updated packages | ||
- Features: CI/CD | ||
|
||
<!-- all-shields/sponsors-badges:START --> | ||
|
||
[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png) | ||
|
||
<!-- all-shields/sponsors-badges:END --> | ||
|
||
# v1.0.20210412 (April 12, 2021) | ||
|
||
- Fix: minor fix | ||
- Fix: readme of issues | ||
|
||
# v1.0.20210402 (April 02, 2021) | ||
|
||
- First release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.