Skip to content

Commit

Permalink
feat: update for v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Oct 9, 2024
1 parent c28221b commit 0f9989d
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Build and Deploy Docs
env:
DOCS_DEST_DIR: /icalendar/v4/
DOCS_DEST_DIR: /icalendar/
on:
push:
branches:
- v4
- v5
paths:
- 'docs/**'
pull_request:
branches:
- v4
- v5
paths:
- 'docs/**'
workflow_dispatch:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request: null
push:
branches:
- develop-v4
- develop-v5
workflow_dispatch:
permissions:
contents: read
Expand All @@ -14,11 +14,9 @@ jobs:
fail-fast: false
matrix:
actions:
-
name: 'PHPStan'
- name: 'PHPStan'
run: composer phpstan
-
name: 'Coding Standards'
- name: 'Coding Standards'
run: composer fix-cs
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
Expand Down
22 changes: 2 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
# iCalendar Changelog

## 4.0.2 - UNRELEASED
## 5.0.0 - UNRELEASED
### Added
* Add `phpstan` and `ecs` code linting
* Add `code-analysis.yaml` GitHub action

## 4.0.1 - 2022.09.15
### Changed
* Fixed an issue with multi-byte encoded content that would cause PHP to run out of memory ([#34](https://github.com/nystudio107/craft-icalendar/issues/34))

## 4.0.0 - 2022.06.29
### Added
* Initial Craft CMS 4 release

### Changed
* Bump `johngrogg/ics-parser` to `^3.0.0` ([#32](https://github.com/nystudio107/craft-icalendar/issues/32))

## 4.0.0-beta.1 - 2022.03.27

### Added

* Initial Craft CMS 4 compatibility
* Initial Craft CMS 5 release
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAJOR_VERSION?=4
MAJOR_VERSION?=5
PLUGINDEV_PROJECT_DIR?=/Users/andrew/webdev/sites/plugindev/cms_v${MAJOR_VERSION}/
VENDOR?=nystudio107
PROJECT_PATH?=${VENDOR}/$(shell basename $(CURDIR))
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/quality-score.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v4) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/coverage.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v4) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/build.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/build-status/v4) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/code-intelligence.svg?b=v4)](https://scrutinizer-ci.com/code-intelligence)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/quality-score.png?b=V5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=V5) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/coverage.png?b=V5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=V5) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/build.png?b=V5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/build-status/V5) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/code-intelligence.svg?b=V5)](https://scrutinizer-ci.com/code-intelligence)

# iCalendar plugin for Craft CMS 4.x
# iCalendar plugin for Craft CMS 5.x

Tools for parsing & formatting the RFC 2445 iCalendar (.ics) specification

![Screenshot](./docs/docs/resources/img/plugin-logo.png)

## Requirements

This plugin requires Craft CMS 4.0.0 or later.
This plugin requires Craft CMS 5.0.0 or later.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-icalendar",
"description": "Tools for parsing & formatting the RFC 2445 iCalendar (.ics) specification",
"type": "craft-plugin",
"version": "4.0.2",
"version": "5.0.0",
"keywords": [
"craft",
"cms",
Expand All @@ -23,7 +23,7 @@
}
],
"require": {
"craftcms/cms": "^4.0.0",
"craftcms/cms": "^5.0.0",
"johngrogg/ics-parser": "^3.0.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `vite` docs
# `icalendar` docs

This buildchain is a self-contained build system for the `vite` documentation.
This buildchain is a self-contained build system for the `icalendar` documentation.

## Overview

Expand Down
12 changes: 6 additions & 6 deletions docs/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {defineConfig} from 'vitepress'
export default defineConfig({
title: 'iCalendar Plugin',
description: 'Documentation for the iCalendar plugin',
base: '/docs/icalendar/v4/',
base: '/docs/icalendar/',
lang: 'en-US',
head: [
['meta', {content: 'https://github.com/nystudio107', property: 'og:see_also',}],
Expand All @@ -18,15 +18,15 @@ export default defineConfig({
],
logo: '/img/plugin-logo.svg',
editLink: {
pattern: 'https://github.com/nystudio107/craft-icalendar/edit/develop-v4/docs/docs/:path',
pattern: 'https://github.com/nystudio107/craft-icalendar/edit/develop-v5/docs/docs/:path',
text: 'Edit this page on GitHub'
},
algolia: {
appId: 'AE3HRUJFEW',
apiKey: '7a365dc6dfe977be2c9588eb3ed5da26',
indexName: 'icalendar',
searchParameters: {
facetFilters: ["version:v4"],
facetFilters: ["version:v5"],
},
},
lastUpdatedText: 'Last Updated',
Expand All @@ -37,9 +37,9 @@ export default defineConfig({
{text: 'Changelog', link: 'https://nystudio107.com/plugins/icalendar/changelog'},
{text: 'Issues', link: 'https://github.com/nystudio107/craft-icalendar/issues'},
{
text: 'v4', items: [
{text: 'v5', link: 'https://nystudio107.com/docs/icalendar/'},
{text: 'v4', link: '/'},
text: 'v5', items: [
{text: 'v5', link: '/'},
{text: 'v4', link: 'https://nystudio107.com/docs/icalendar/v4/'},
{text: 'v1', link: 'https://nystudio107.com/docs/icalendar/v1/'},
],
},
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
title: iCalendar plugin for Craft CMS
description: Documentation for the iCalendar plugin. iCalendar provides tools for parsing & formatting the RFC 2445 iCalendar (.ics) specification
---
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/quality-score.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v4) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/coverage.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v4) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/build.png?b=v4)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/build-status/v4) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/code-intelligence.svg?b=v4)](https://scrutinizer-ci.com/code-intelligence)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/quality-score.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v5) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/coverage.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/?branch=v5) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/build.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/build-status/v5) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-icalendar/badges/code-intelligence.svg?b=v5)](https://scrutinizer-ci.com/code-intelligence)

# iCalendar plugin for Craft CMS
# iCalendar plugin for Craft CMS 5.x

Provides tools for parsing & formatting the RFC 2445 iCalendar (.ics) specification

![Screenshot](./resources/img/plugin-logo.png)

## Requirements

This plugin requires Craft CMS 4.0.0 or later
This plugin requires Craft CMS 5.0.0 or later

## Installation

Expand Down

0 comments on commit 0f9989d

Please sign in to comment.