Skip to content

Commit

Permalink
Merge pull request #564 from sebbo2002/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 authored Mar 17, 2024
2 parents 1d96fc1 + eaf3ddb commit 95c0989
Show file tree
Hide file tree
Showing 18 changed files with 1,786 additions and 1,907 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ fi;
mkdir -p ./docs/
rm -rf ./docs/coverage/ ./docs/reference/ ./docs/tests/

# Remove Dark Mode Logo
git checkout -- ./README.md
awk 'NR < 8 || NR > 10' ./README.md > temp && mv -f temp ./README.md

# TypeDoc in ./docs/referece
npx typedoc
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Dependabot auto-merge
on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: ℹ️ Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: 🔃 Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"instrument": true,
"branches": 95,
"lines": 95,
"functions": 92,
"statements": 95,
"functions": 100,
"statements": 98,
"per-file": true
}
28 changes: 11 additions & 17 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
<br />

<p align="center">
<img src="https://d.sebbo.net/ical-generator-logo-w-dark-2IyGhq7rHoLzQwaNbK7MvxoNpe0bivGDzbjrai56R5YTfQuvfI8DtDfbfnNeRborwoj2y0gS5urh7OKdd4wik9F5PT4LxRnReyXA.svg" alt="ical-generator" />
<a href="https://github.com/sebbo2002/ical-generator#gh-light-mode-only">
<img src="https://static.sebbo.net/ical-generator/logo-light.svg" width="318px" alt="ical-generator logo" />
</a>
<a href="https://github.com/sebbo2002/ical-generator#gh-dark-mode-only">
<img src="https://static.sebbo.net/ical-generator/logo-dark.svg" width="318px" alt="ical-generator logo" />
</a>
</p>
<p align="center">
<a href="https://github.com/sebbo2002/ical-generator/blob/develop/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="MIT License" />
</a>
<a href="https://bundlephobia.com/package/ical-generator">
<img src="https://img.shields.io/bundlephobia/min/ical-generator?style=flat-square" alt="Module Size" />
</a>
<a href="https://github.com/sebbo2002/ical-generator/actions">
<img src="https://img.shields.io/github/actions/workflow/status/sebbo2002/ical-generator/test-release.yml?style=flat-square" alt="CI Status" />
</a>
<a href="https://github.com/sebbo2002/ical-generator/blob/develop/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="MIT License" /></a>
<a href="https://bundlephobia.com/package/ical-generator"><img src="https://img.shields.io/bundlephobia/min/ical-generator?style=flat-square" alt="Module Size" /></a>
<img src="https://img.shields.io/depfu/dependencies/github/sebbo2002%2Fical-generator?style=flat-square" alt="Dependency Status" />
<a href="https://github.com/sebbo2002/ical-generator/actions/workflows/test-release.yml?query=branch%3Adevelop"><img src="https://img.shields.io/github/actions/workflow/status/sebbo2002/ical-generator/test-release.yml?style=flat-square" alt="CI Status" /></a>
<a href="https://sebbo2002.github.io/ical-generator/develop/coverage/"><img alt="Code Coverage Badge" src="https://img.shields.io/nycrc/sebbo2002/ical-generator?style=flat-square"></a>
</p>

<br />
Expand All @@ -22,13 +23,7 @@
`ical-generator` is a small but fine library with which you can very easily create a valid iCal calendars, for example
to generate subscriptionable calendar feeds.

<br />
<br />

## ⚠️ Migration to v6
In version 6 some breaking changes were made to make `ical-generator` even better. A short list of
these breaking changes and how you can adapt your code can be found in our
[Migration Guide](https://github.com/sebbo2002/ical-generator/wiki/Migration-Guide:-v5-%E2%86%92-v6).

## 📦 Installation

Expand Down Expand Up @@ -119,7 +114,6 @@ in the calendar/event.
```
npm test
npm run coverage
npm run browser-test
```


Expand Down
Loading

0 comments on commit 95c0989

Please sign in to comment.