Skip to content

Commit 7ef52f2

Browse files
authored
Merge pull request #97 from lineupjs/release/v4.6.0
Release v4.6.0
2 parents e3da4a4 + 62d7c05 commit 7ef52f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+14681
-16351
lines changed

.circleci/config.yml

-66
This file was deleted.

.eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* eslint-env node */
2+
3+
module.exports = {
4+
plugins: ['@typescript-eslint', 'prettier'],
5+
extends: ['react-app', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'],
6+
settings: {
7+
react: {
8+
version: '99.99.99',
9+
},
10+
},
11+
rules: {
12+
'@typescript-eslint/explicit-module-boundary-types': 'off',
13+
'@typescript-eslint/no-explicit-any': 'off',
14+
'@typescript-eslint/no-non-null-assertion': 'off',
15+
'import/no-webpack-loader-syntax': 'off',
16+
},
17+
};

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Handle line endings automatically for files detected as text
44
# and leave all files detected as binary untouched.
5-
* text=auto
5+
* text=auto eol=lf
66

77
#
88
# The above will handle all files NOT found below

.github/ISSUE_TEMPLATE.md

-16
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: 🐛 Bug report
3+
about: If something isn't working as expected 🤔.
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
<!--A clear and concise description of what the bug is.-->
10+
11+
When I...
12+
13+
**To Reproduce**
14+
15+
<!--Steps to reproduce the behavior:
16+
-->
17+
18+
1.
19+
20+
**Expected behavior**
21+
22+
<!--A clear and concise description of what you expected to happen.-->
23+
24+
**Screenshots**
25+
26+
<!--If applicable, add screenshots to help explain your problem.-->
27+
28+
**Context**
29+
30+
- Version:
31+
- Browser:
32+
33+
**Additional context**
34+
35+
<!--Add any other context about the problem here.-->

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 🤗 Question, Discussions
4+
url: https://github.com/lineupjs/lineupjs/discussions
5+
about: Ask question about the library (usage, features,...)
6+
# - name: Samuel Gratzl
7+
# url: https://www.sgratzl.com
8+
# about: Please ask and answer questions here.
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: 🚀 Feature Request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
<!--A clear and concise description of what feature you are missing.-->
10+
11+
It would be great if ...
12+
13+
**User story**
14+
15+
<!--Describe your problem, feature you are missing, and how you image to look like.-->
16+
17+
**Additional context**
18+
19+
<!--Add any other context or screenshots about the feature request here.-->

.github/PULL_REQUEST_TEMPLATE.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
closes <list issues here>
1+
closes <!--list issues here-->
22

3-
**prerequisites**:
4-
* [ ] branch is up-to-date with the branch to be merged with, i.e. develop
5-
* [ ] build is successful
6-
* [ ] code is cleaned up and formatted
3+
**prerequisites**:
74

5+
- [ ] branch is up-to-date with the branch to be merged with, i.e. develop
6+
- [ ] build is successful
7+
- [ ] code is cleaned up and formatted
88

9-
### Summary
10-
9+
## Summary

.github/dependabot.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
# Maintain dependencies for GitHub Actions
4+
- package-ecosystem: 'github-actions'
5+
directory: '/'
6+
target-branch: develop
7+
schedule:
8+
interval: 'weekly'
9+
# Maintain dependencies for npm
10+
# - package-ecosystem: 'npm'
11+
# directory: '/'
12+
# target-branch: develop
13+
# schedule:
14+
# interval: 'weekly'

.github/release-drafter.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'enhancement'
7+
- 'feature'
8+
- 'style'
9+
- title: '🐛 Bugs Fixes'
10+
labels:
11+
- 'bug'
12+
- title: 'Documentation'
13+
labels:
14+
- 'documentation'
15+
- title: '🧰 Development'
16+
labels:
17+
- 'chore'
18+
change-template: '- #$NUMBER $TITLE'
19+
change-title-escapes: '\<*_&`#@'
20+
template: |
21+
$CHANGES
22+
23+
Thanks to $CONTRIBUTORS

.github/workflows/ci.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3.4.1
11+
with:
12+
node-version: 16
13+
- run: npm i -g yarn
14+
- run: yarn config set checksumBehavior ignore
15+
- name: Cache Node.js modules
16+
uses: actions/cache@v3
17+
with:
18+
path: |
19+
./.yarn/cache
20+
./.yarn/unplugged
21+
~/.cache/Cypress
22+
key: ${{ runner.os }}-yarn2-v4-${{ hashFiles('**/yarn.lock') }}
23+
restore-keys: |
24+
${{ runner.os }}-yarn2-v4
25+
- run: yarn install
26+
- run: yarn clean
27+
- run: yarn compile
28+
- run: yarn build
29+
- run: yarn lint
30+
- run: |
31+
mkdir -p public/app
32+
cp -rt public/app/ build/*
33+
34+
mkdir -p public_dev/app_develop
35+
cp -rt public_dev/app_develop/ build/*
36+
37+
- name: Deploy Main
38+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
39+
uses: upsetjs/actions-gh-pages@sgratzl
40+
env:
41+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
42+
with:
43+
personal_token: ${{ secrets.PRIVATE_GITHUB_TOKEN }}
44+
external_repository: lineupjs/lineup.js.org
45+
publish_branch: main
46+
publish_dir: ./public
47+
enable_jekyll: true
48+
remove_path_spec: 'app'
49+
50+
- name: Deploy Develop
51+
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
52+
uses: upsetjs/actions-gh-pages@sgratzl
53+
env:
54+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
55+
with:
56+
personal_token: ${{ secrets.PRIVATE_GITHUB_TOKEN }}
57+
external_repository: lineupjs/lineup.js.org
58+
publish_branch: main
59+
publish_dir: ./public_dev
60+
enable_jekyll: true
61+
remove_path_spec: 'app_develop'

.github/workflows/create_release.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Create Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
versionName:
7+
description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)'
8+
required: true
9+
default: patch
10+
preid:
11+
description: 'Pre Release Identifier (i.e., alpha, beta)'
12+
required: true
13+
default: alpha
14+
15+
jobs:
16+
create_release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check out code
20+
uses: actions/checkout@v3
21+
with:
22+
ref: main
23+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
24+
- name: Reset main branch
25+
run: |
26+
git fetch origin develop:develop
27+
git reset --hard develop
28+
- name: Change version number
29+
id: version
30+
run: |
31+
echo -n "::set-output name=next_tag::"
32+
npm version --no-git-tag-version ${{ github.event.inputs.versionName }} --preid ${{ github.event.inputs.preid }}
33+
- name: Create pull request into main
34+
uses: peter-evans/create-pull-request@v4
35+
with:
36+
branch: release/${{ steps.version.outputs.next_tag }}
37+
commit-message: 'chore: release ${{ steps.version.outputs.next_tag }}'
38+
base: main
39+
title: Release ${{ steps.version.outputs.next_tag }}
40+
labels: chore
41+
reviewers: sgratzl
42+
assignees: sgratzl
43+
body: |
44+
Releasing ${{ steps.version.outputs.next_tag }}.

0 commit comments

Comments
 (0)