-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from lineupjs/release/v4.6.0
Release v4.6.0
- Loading branch information
Showing
66 changed files
with
14,681 additions
and
16,351 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
/* eslint-env node */ | ||
|
||
module.exports = { | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
extends: ['react-app', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'], | ||
settings: { | ||
react: { | ||
version: '99.99.99', | ||
}, | ||
}, | ||
rules: { | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'import/no-webpack-loader-syntax': '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
This file was deleted.
Oops, something went wrong.
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: 🐛 Bug report | ||
about: If something isn't working as expected 🤔. | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
--- | ||
|
||
<!--A clear and concise description of what the bug is.--> | ||
|
||
When I... | ||
|
||
**To Reproduce** | ||
|
||
<!--Steps to reproduce the behavior: | ||
--> | ||
|
||
1. | ||
|
||
**Expected behavior** | ||
|
||
<!--A clear and concise description of what you expected to happen.--> | ||
|
||
**Screenshots** | ||
|
||
<!--If applicable, add screenshots to help explain your problem.--> | ||
|
||
**Context** | ||
|
||
- Version: | ||
- Browser: | ||
|
||
**Additional context** | ||
|
||
<!--Add any other context about the problem here.--> |
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,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 🤗 Question, Discussions | ||
url: https://github.com/lineupjs/lineupjs/discussions | ||
about: Ask question about the library (usage, features,...) | ||
# - name: Samuel Gratzl | ||
# url: https://www.sgratzl.com | ||
# about: Please ask and answer questions here. |
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,19 @@ | ||
--- | ||
name: 🚀 Feature Request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
--- | ||
|
||
<!--A clear and concise description of what feature you are missing.--> | ||
|
||
It would be great if ... | ||
|
||
**User story** | ||
|
||
<!--Describe your problem, feature you are missing, and how you image to look like.--> | ||
|
||
**Additional context** | ||
|
||
<!--Add any other context or screenshots about the feature request here.--> |
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,10 +1,9 @@ | ||
closes <list issues here> | ||
closes <!--list issues here--> | ||
|
||
**prerequisites**: | ||
* [ ] branch is up-to-date with the branch to be merged with, i.e. develop | ||
* [ ] build is successful | ||
* [ ] code is cleaned up and formatted | ||
**prerequisites**: | ||
|
||
- [ ] branch is up-to-date with the branch to be merged with, i.e. develop | ||
- [ ] build is successful | ||
- [ ] code is cleaned up and formatted | ||
|
||
### Summary | ||
|
||
## Summary |
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,14 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
target-branch: develop | ||
schedule: | ||
interval: 'weekly' | ||
# Maintain dependencies for npm | ||
# - package-ecosystem: 'npm' | ||
# directory: '/' | ||
# target-branch: develop | ||
# 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,23 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'enhancement' | ||
- 'feature' | ||
- 'style' | ||
- title: '🐛 Bugs Fixes' | ||
labels: | ||
- 'bug' | ||
- title: 'Documentation' | ||
labels: | ||
- 'documentation' | ||
- title: '🧰 Development' | ||
labels: | ||
- 'chore' | ||
change-template: '- #$NUMBER $TITLE' | ||
change-title-escapes: '\<*_&`#@' | ||
template: | | ||
$CHANGES | ||
Thanks to $CONTRIBUTORS |
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,61 @@ | ||
name: ci | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 16 | ||
- run: npm i -g yarn | ||
- run: yarn config set checksumBehavior ignore | ||
- name: Cache Node.js modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
./.yarn/cache | ||
./.yarn/unplugged | ||
~/.cache/Cypress | ||
key: ${{ runner.os }}-yarn2-v4-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn2-v4 | ||
- run: yarn install | ||
- run: yarn clean | ||
- run: yarn compile | ||
- run: yarn build | ||
- run: yarn lint | ||
- run: | | ||
mkdir -p public/app | ||
cp -rt public/app/ build/* | ||
mkdir -p public_dev/app_develop | ||
cp -rt public_dev/app_develop/ build/* | ||
- name: Deploy Main | ||
if: github.ref == 'refs/heads/main' && github.event_name == 'push' | ||
uses: upsetjs/actions-gh-pages@sgratzl | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
with: | ||
personal_token: ${{ secrets.PRIVATE_GITHUB_TOKEN }} | ||
external_repository: lineupjs/lineup.js.org | ||
publish_branch: main | ||
publish_dir: ./public | ||
enable_jekyll: true | ||
remove_path_spec: 'app' | ||
|
||
- name: Deploy Develop | ||
if: github.ref == 'refs/heads/develop' && github.event_name == 'push' | ||
uses: upsetjs/actions-gh-pages@sgratzl | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
with: | ||
personal_token: ${{ secrets.PRIVATE_GITHUB_TOKEN }} | ||
external_repository: lineupjs/lineup.js.org | ||
publish_branch: main | ||
publish_dir: ./public_dev | ||
enable_jekyll: true | ||
remove_path_spec: 'app_develop' |
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 @@ | ||
name: Create Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionName: | ||
description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)' | ||
required: true | ||
default: patch | ||
preid: | ||
description: 'Pre Release Identifier (i.e., alpha, beta)' | ||
required: true | ||
default: alpha | ||
|
||
jobs: | ||
create_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Reset main branch | ||
run: | | ||
git fetch origin develop:develop | ||
git reset --hard develop | ||
- name: Change version number | ||
id: version | ||
run: | | ||
echo -n "::set-output name=next_tag::" | ||
npm version --no-git-tag-version ${{ github.event.inputs.versionName }} --preid ${{ github.event.inputs.preid }} | ||
- name: Create pull request into main | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
branch: release/${{ steps.version.outputs.next_tag }} | ||
commit-message: 'chore: release ${{ steps.version.outputs.next_tag }}' | ||
base: main | ||
title: Release ${{ steps.version.outputs.next_tag }} | ||
labels: chore | ||
reviewers: sgratzl | ||
assignees: sgratzl | ||
body: | | ||
Releasing ${{ steps.version.outputs.next_tag }}. |
Oops, something went wrong.