Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed May 30, 2024
0 parents commit d7e876e
Show file tree
Hide file tree
Showing 19 changed files with 10,128 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Code Style

on: [pull_request]

jobs:
style:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2

- name: Install NPM dependencies
run: npm ci

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

- name: Run Prettier & Pint
run: npm run format

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
vendor
mix-manifest.json
.DS_Store
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Tip

A tip fieldtype that makes instructional details more nicely presented
37 changes: 37 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "trendyminds/tip",
"description": "A Craft-like tip fieldtype for Statamic",
"version": "1.0.0",
"license": "MIT",
"require": {
"php": "^8.2",
"statamic/cms": "^5.0"
},
"autoload": {
"psr-4": {
"Trendyminds\\Tip\\": "src"
}
},
"extra": {
"statamic": {
"name": "Tip",
"description": "Tip addon"
},
"laravel": {
"providers": [
"Trendyminds\\Tip\\ServiceProvider"
]
}
},
"require-dev": {
"laravel/pint": "^1.16"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pixelfear/composer-dist-plugin": true
}
}
}
Loading

0 comments on commit d7e876e

Please sign in to comment.