Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 51adb90

Browse files
authored
Merge pull request #3 from E-NetSupport/feature/rewirte-and-ploshing
Feature/rewirte and ploshing
2 parents 43efb75 + 96f1c10 commit 51adb90

Some content is hidden

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

48 files changed

+24933
-10611
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'Found a Bug: '
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Your environment/setup**
14+
In what tool is your pipeline running?
15+
16+
- Jenkins Pipeline
17+
- GitHub Actions
18+
- GitLab CI
19+
20+
How is this tool installed
21+
22+
- Container
23+
- Bare Metal
24+
- Virtual machine
25+
26+
Are alle environment variables set? See README.md
27+
28+
- yes
29+
- no
30+
31+
**To Reproduce**
32+
Paste your executed command here:
33+
34+
Paste your Pipeline log (this is optional, make shure no secrets are visable):
35+
36+
```shell
37+
# pipeline log
38+
```
39+
40+
**Expected behavior**
41+
A clear and concise description of what you expected to happen.
42+
43+
**Screenshots**
44+
If applicable, add screenshots to help explain your problem.
45+
46+
**Additional context**
47+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Custom issue template
3+
about: Describe this issue template's purpose here.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'Feature: '
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Additions
2+
3+
-
4+
5+
## Removals
6+
7+
-
8+
9+
## Changes
10+
11+
-
12+
13+
## Notes
14+
15+
-
16+
17+
## Todos
18+
19+
-
20+
21+
## Checklist
22+
23+
- [ ] PR has an informative and human-readable title
24+
- [ ] Changes are limited to a single goal (no scope creep)
25+
- [ ] Code can be automatically merged (no conflicts)
26+
- [ ] Passes all existing automated tests
27+
- [ ] Any _change_ in functionality is tested
28+
- [ ] New functions are documented (with a description, list of inputs, and expected output)
29+
- [ ] Placeholder code is flagged / future todos are captured in comments
30+
- [ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
31+
- [ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
32+
- [ ] Reviewers requested with the [Reviewers tool](https://help.github.com/articles/requesting-a-pull-request-review/) :arrow_right:
33+
34+
### Accessibility
35+
36+
- [ ] Keyboard friendly
37+
- [ ] Screen reader friendly
38+
39+
### Other
40+
41+
- [ ] No linting errors or warnings

.github/workflows/Release.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Publish Release
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
paths-ignore:
8+
- "README.md"
9+
- 'docs/**'
10+
- '.github/ISSUE_TEMPLATE/**'
11+
- '.github/PULL_REQUEST_TEMPLATE.md'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
- name: Setup node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: '14.x'
23+
- name: Setup awesome-ci
24+
run: |
25+
wget https://github.com/eksrvb/awesome-ci/releases/latest/download/awesome-ci
26+
chmod +x awesome-ci
27+
- name: install npm packages
28+
run: |
29+
# Retry 3 times before the steps actually fails
30+
(echo "===== NPM Install Attempt: 1 ====" && npm ci) || \
31+
(echo "===== NPM Install Attempt: 2 ====" && npm ci) || \
32+
(echo "===== NPM Install Attempt: 3 ====" && npm ci) || \
33+
(echo "==== NPM Install Step Failed ====" && exit 1)
34+
- name: package Applikation
35+
run: npm run build
36+
- name: set publish config
37+
shell: bash
38+
run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
39+
env:
40+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
- name: Create Release and Publish
42+
run: ./awesome-ci createRelease -publishNpm dist/material-calendar/
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/branchPR.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build PR
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "main"
7+
- 'docs/**'
8+
paths-ignore:
9+
- "README.md"
10+
- 'docs/**'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE.md'
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
- name: Setup node
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: '14.x'
24+
- name: Setup awesome-ci
25+
run: |
26+
wget https://github.com/eksrvb/awesome-ci/releases/latest/download/awesome-ci
27+
chmod +x awesome-ci
28+
- name: install npm packages
29+
run: |
30+
# Retry 3 times before the steps actually fails
31+
(echo "===== NPM Install Attempt: 1 ====" && npm ci) || \
32+
(echo "===== NPM Install Attempt: 2 ====" && npm ci) || \
33+
(echo "===== NPM Install Attempt: 3 ====" && npm ci) || \
34+
(echo "==== NPM Install Step Failed ====" && exit 1)
35+
- name: package Applikation
36+
run: npm run build
37+
- name: Dry-Run release
38+
run: ./awesome-ci createRelease -patchLevel bugfix -dry-run
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitlab-ci.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Please read this **before** usage!
33
This material calendar is just beginning. As in the angular material components, a beautiful calendar is to be generated by simple integration. Cooperation is welcome.
44

5+
> Note: tthe following changes from version 3.0.0 onwards will no longer be compatible with this api. All necessary changes are documented. Version 3.0.0 is coming soon ;)
6+
57
### Live demo
68
[Open demo on Stackblitz](https://stackblitz.com/github/e-netsupport/material-calendar-demo)
79

0 commit comments

Comments
 (0)