-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4204708
Showing
27 changed files
with
21,518 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.github | ||
.nyc_output | ||
dist | ||
docs | ||
node_modules | ||
test |
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,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_size = 2 |
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,3 @@ | ||
node_modules/** | ||
dist/** | ||
docs/** |
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,44 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"es6": true, | ||
"mocha": true | ||
}, | ||
"extends": [ | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"rules": { | ||
"semi": "error", | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"indent": [ | ||
"error", | ||
4 | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"test/**/*.ts" | ||
], | ||
"rules": { | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/ban-ts-comment": "off" | ||
} | ||
} | ||
] | ||
} |
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,23 @@ | ||
### About this Pull Request | ||
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...) | ||
- … | ||
- **What is the current behavior?** (You can also link to an open issue here) | ||
- … | ||
- **What is the new behavior (if this is a feature change)?** | ||
- … | ||
- **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?) | ||
- … | ||
- **Other information**: | ||
- … | ||
|
||
|
||
### Pull Request Checklist | ||
|
||
- [ ] My code follows the code style of this project | ||
- Run `npm run lint` to double check | ||
- [ ] My change requires a change to the documentation | ||
- [ ] I have updated the documentation accordingly | ||
- [ ] I have added tests to cover my changes | ||
- Run `npm run test` to run the unit tests and `npm run coverage` to generate a coverage report | ||
- [ ] All new and existing tests passed | ||
- [ ] My commit messages follow the [commit guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit) |
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 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
assignees: | ||
- sebbo2002 | ||
commit-message: | ||
prefix: "ci(deps): Update Actions: " | ||
include: scope | ||
schedule: | ||
interval: weekly | ||
- package-ecosystem: npm | ||
directory: / | ||
assignees: | ||
- sebbo2002 | ||
commit-message: | ||
prefix: "build(deps): " | ||
prefix-development: "chore(deps): " | ||
include: scope | ||
schedule: | ||
interval: daily | ||
- package-ecosystem: docker | ||
directory: / | ||
assignees: | ||
- sebbo2002 | ||
commit-message: | ||
prefix: "build(deps): Update docker base image" | ||
schedule: | ||
interval: weekly |
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,32 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
echo "########################" | ||
echo "# build.sh" | ||
echo "# Branch = ${BRANCH}" | ||
echo "# npm version = $(npm -v)" | ||
echo "########################" | ||
|
||
# Typescript Build in ./dist | ||
npm run build | ||
|
||
if [ "$BRANCH" != "develop" ] && [ "$BRANCH" != "main" ] && [ "$BRANCH" != "" ]; then | ||
echo "Skip documentation as branch is not develop and not main (is: ${BRANCH})."; | ||
exit 0; | ||
fi; | ||
|
||
|
||
mkdir -p ./docs/ | ||
rm -rf ./docs/coverage/ ./docs/reference/ ./docs/tests/ | ||
|
||
|
||
# TypeDoc in ./docs/referece | ||
npx typedoc | ||
|
||
# Test Report in ./docs/tests | ||
npx mocha --reporter mochawesome | ||
mv -f ./mochawesome-report/mochawesome.html ./mochawesome-report/index.html | ||
mv -f ./mochawesome-report ./docs/tests | ||
|
||
# Coverage Report in ./doc/coverage | ||
npm run coverage |
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,33 @@ | ||
name: ReleaseBot | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['develop'] | ||
schedule: | ||
- cron: '30 8 * * 3' | ||
|
||
jobs: | ||
release-bot: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ☁️ Checkout Project | ||
uses: actions/checkout@v2 | ||
- name: ☁️ Checkout ReleaseBot | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: sebbo2002/release-bot | ||
path: ./.actions/release-bot | ||
- name: 🔧 Setup npm cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-releasebot-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-releasebot- | ||
- name: 📦 Install Dependencies | ||
run: npm ci | ||
working-directory: ./.actions/release-bot | ||
- name: 🤖 Run ReleaseBot | ||
uses: ./.actions/release-bot | ||
with: | ||
token: ${{ secrets.GITHUB_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,25 @@ | ||
name: Cleanup issues and PRs | ||
on: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🧹 Cleanup issues & pull requests | ||
uses: actions/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: | | ||
This issue has been automatically marked as stale because it has not had recent activity :sleeping: | ||
It will be closed in 14 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation. | ||
Thank you for your contributions :heart: | ||
stale-pr-message: | | ||
This pull request has been automatically marked as stale because it has not had recent activity :sleeping: | ||
It will be closed in 14 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation. | ||
Thank you for your contributions :heart: | ||
days-before-stale: 60 | ||
days-before-close: 14 | ||
stale-issue-label: stale | ||
stale-pr-label: stale |
Oops, something went wrong.