Skip to content

Commit

Permalink
Merge pull request #556 from sebbo2002/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 authored Jan 7, 2024
2 parents b8acdb8 + 4d7ad8c commit 0a56bd1
Show file tree
Hide file tree
Showing 13 changed files with 1,099 additions and 694 deletions.
20 changes: 20 additions & 0 deletions .depfu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
update_strategy: "individual"

dev_update_strategy: "grouped"
grouped_dev_update_schedule: "weekly"
grouped_dev_update_start_date: "2023-11-21"
grouped_dev_update_time: "08:00"

reasonably_up_to_date: true
update_out_of_spec: true

automerge_strategy: "minor"
automerge_dev_strategy: "major"
automerge_method: "rebase"

engine_update_strategy: "major"

commit_message: "chore(deps): update {{dependency}} to version {{version}}"
commit_message_grouped: "chore(deps): Update {{update_type}} {{project_type}} dependencies ({{date}})"
labels: "dependencies"
auto_assign: "sebbo2002"
2 changes: 1 addition & 1 deletion .github/workflows/release-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
repository: sebbo2002/release-bot
path: ./.actions/release-bot
- name: 🔧 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pull-requests: write
steps:
- name: 🧹 Cleanup issues & pull requests
uses: actions/stale@v8
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
if: github.repository != 'sebbo2002/js-template' && (contains(toJson(github.event.commits.*.message), '[skip ci]') == false || github.ref == 'refs/heads/main')
strategy:
matrix:
node: [16.x, 18.x, 20.x]
node: [18.x, 20.x, current]
steps:
- name: ☁️ Checkout Project
uses: actions/checkout@v4
- name: 🔧 Setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -37,7 +37,7 @@ jobs:
- name: ☁️ Checkout Project
uses: actions/checkout@v4
- name: 🔧 Setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: 'npm'
- name: 📦 Install dependencies
Expand All @@ -55,7 +55,7 @@ jobs:
- name: ☁️ Checkout Project
uses: actions/checkout@v4
- name: 🔧 Setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: 'npm'
- name: 📦 Install dependencies
Expand All @@ -81,7 +81,7 @@ jobs:
- name: ☁️ Checkout Project
uses: actions/checkout@v4
- name: 🔧 Setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Sebastian Pekarek
Copyright (c) 2024 Sebastian Pekarek

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ these breaking changes and how you can adapt your code can be found in our
## ⚡️ Quick Start

```javascript
import ical from 'ical-generator';
import ical, {ICalCalendarMethod} from 'ical-generator';
import http from 'node:http';

const calendar = ical({name: 'my first iCal'});

// A method is required for outlook to display event as an invitation
calendar.method(ICalCalendarMethod.REQUEST);

const startTime = new Date();
const endTime = new Date();
endTime.setHours(startTime.getHours()+1);
Expand Down Expand Up @@ -90,7 +94,7 @@ to use a VTimezone generator. Such a function generates a VTimezone entry and re
be used for this:

```typescript
import ical from 'ical-generator';
import {ICalCalendar} from 'ical-generator';
import {getVtimezoneComponent} from '@touch4it/ical-timezones';

const cal = new ICalCalendar();
Expand Down
Loading

0 comments on commit 0a56bd1

Please sign in to comment.