-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c00cf7b
Showing
6 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Do not export those files in the Composer archive (lighter dependency) | ||
.gitattributes export-ignore | ||
.github/ export-ignore | ||
.gitignore export-ignore | ||
CHANGELOG.md export-ignore | ||
README.md export-ignore | ||
SECURITY.md export-ignore | ||
composer.lock export-ignore | ||
ecs.php export-ignore | ||
package-lock.json export-ignore | ||
package.json export-ignore | ||
phpstan.neon export-ignore | ||
stubs/ export-ignore | ||
tests/ export-ignore | ||
|
||
# Auto-detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Creates a new GitHub Release whenever the Craft Plugin Store | ||
# is notified of a new version tag. | ||
|
||
name: Create Release | ||
run-name: Create release for ${{ github.event.client_payload.version }} | ||
|
||
on: | ||
repository_dispatch: | ||
types: | ||
- craftcms/new-release | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
body: ${{ github.event.client_payload.notes }} | ||
makeLatest: ${{ github.event.client_payload.latest }} | ||
name: ${{ github.event.client_payload.version }} | ||
prerelease: ${{ github.event.client_payload.prerelease }} | ||
tag: ${{ github.event.client_payload.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.DS_Store | ||
*.idea/* | ||
*.log | ||
*Thumbs.db | ||
.env | ||
/node_modules | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "studioespresso/craft-flare", | ||
"description": "Flare.io integration for Craft CMS", | ||
"type": "craft-plugin", | ||
"license": "mit", | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/studioespresso/craft-flare/issues?state=open", | ||
"source": "https://github.com/studioespresso/craft-flare", | ||
"docs": "https://github.com/studioespresso/craft-flare", | ||
"rss": "https://github.com/studioespresso/craft-flare/releases.atom" | ||
}, | ||
"require": { | ||
"craftcms/cms": "^4.12.0", | ||
"spatie/flare-client-php": "^1.8.0" | ||
}, | ||
"require-dev": { | ||
"craftcms/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"studioespresso\\flare\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"handle": "flare", | ||
"name": "Flare", | ||
"developer": "Studio Espresso", | ||
"documentationUrl": "https://github.com/studioespresso/craft-flare", | ||
"class": "studioespresso\\flare\\Flare" | ||
}, | ||
"scripts": { | ||
"check-cs": "ecs check --ansi", | ||
"fix-cs": "ecs check --ansi --fix", | ||
"phpstan": "phpstan --memory-limit=1G" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true, | ||
"craftcms/plugin-installer": true | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use craft\ecs\SetList; | ||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
|
||
return static function(ECSConfig $ecsConfig): void { | ||
$ecsConfig->paths([ | ||
__DIR__ . '/src', | ||
__FILE__, | ||
]); | ||
|
||
$ecsConfig->sets([ | ||
SetList::CRAFT_CMS_4, | ||
]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
includes: | ||
- vendor/craftcms/phpstan/phpstan.neon | ||
|
||
parameters: | ||
level: 4 | ||
paths: | ||
- src |