Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
beebmx committed Aug 7, 2024
0 parents commit 5d55dfe
Show file tree
Hide file tree
Showing 96 changed files with 4,290 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.php]
indent_size = 4

[*.md,*.txt]
trim_trailing_whitespace = false
insert_final_newline = false

[composer.json]
indent_size = 4
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Git
/.github export-ignore
.gitattributes export-ignore
.gitignore export-ignore

# Tests
/tests export-ignore
phpunit.xml.dist export-ignore

# Others
.editorconfig export-ignore
CHANGELOG-* export-ignore
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

on: ['push', 'pull_request']

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]

name: P${{ matrix.php }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: ctype, dom, curl, filter, hash, iconv, json, libxml, mbstring, openssl, SimpleXML, zip, pcntl, bcmath, soap, intl, gd, exif, imagick, fileinfo
coverage: none

- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: Tests
run: ./vendor/bin/pest
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# system files
# ------------

/.idea
/kirby
/storage/*.key
.DS_Store
.php-cs-fixer.cache
.php_cs.cache

# npm modules
/node_modules
package-lock.json

# composer files
/vendor
composer.lock

# Testing files
phpunit.xml
.phpunit.cache
.phpunit.result.cache

# Parcel cache folder
.cache

# kirbyup temp development entry
/index.dev.mjs

# Fixtures
/tests/Fixtures/site/plugins
/tests/Fixtures/site/cache
17 changes: 17 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"endWithNewLine": true,
"printWidth": 180,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": false,
"tabWidth": 2,
"vueIndentScriptAndStyle": true,
"overrides": [
{
"files": ["*.js"],
"options": {
"singleQuote": true
}
}
]
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

All notable changes to `Kirby Courier` will be documented in this file.

## 1.0.0 - 2024-08-07

- Initial release
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Fernando Gutiérrez

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 rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 5d55dfe

Please sign in to comment.