Skip to content

Commit

Permalink
v2.0.0 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Jul 29, 2023
2 parents 7f8d9c4 + acac691 commit 099e7fc
Show file tree
Hide file tree
Showing 23 changed files with 9,308 additions and 654 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/docs export-ignore
/package.json export-ignore
/yarn.lock export-ignore
/tests export-ignore
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'

- package-ecosystem: 'composer'
directory: '/'
schedule:
interval: 'daily'

- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
node: ["12.14.0"]
node: ['12.14.0']

steps:
- name: Checkout the project
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
php: ["7.1.3", "7.4", "8.0"]
php: ['8.1', '8.2']

steps:
- name: Checkout the project
Expand All @@ -76,7 +76,7 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-

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

- name: Execute the PHP lint script
run: composer run-script lint
- name: Run the Tests
run: ./vendor/bin/pest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor
/node_modules
/docs/.vuepress/dist
/tests/.acorn
217 changes: 0 additions & 217 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Brandon Nifong
Copyright (c) Brandon Nifong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
![Total Downloads](https://img.shields.io/packagist/dt/log1x/sage-directives.svg?style=flat-square)
![Build Status](https://img.shields.io/github/actions/workflow/status/log1x/sage-directives/main.yml?branch=master&style=flat-square)

Sage Directives is a simple Composer package adding a variety of useful Blade directives for use with Sage 9 including directives for WordPress, ACF, and various miscellaneous helpers.
Sage Directives is a simple Composer package adding a variety of useful Blade directives for use with Sage 10 including directives for WordPress, ACF, and various miscellaneous helpers.

## Requirements

- [Sage](https://github.com/roots/sage) >= 9.0
- [PHP](https://secure.php.net/manual/en/install.php) >= 7.1.3
- [Sage](https://github.com/roots/sage) >= 10.0
- [PHP](https://secure.php.net/manual/en/install.php) >= 8.1
- [Composer](https://getcomposer.org/download/)

## Installation
Expand Down
35 changes: 23 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"keywords": [
"roots",
"sage",
"acorn",
"wordpress",
"blade-directives",
"blade",
Expand All @@ -22,23 +23,33 @@
"issues": "https://github.com/log1x/sage-directives/issues"
},
"autoload": {
"files": [
"src/Directives.php",
"src/Utilities.php"
]
"psr-4": {
"Log1x\\SageDirectives\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"require": {
"php": ">=7.1.3"
"php": ">=8.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5"
"roots/acorn": "*",
"pestphp/pest": "^2.9",
"laravel/pint": "^1.10"
},
"scripts": {
"lint": [
"phpcs --ignore=vendor,src/Directives --extensions=php --standard=PSR12 ."
]
"extra": {
"acorn": {
"providers": [
"Log1x\\SageDirectives\\SageDirectivesServiceProvider"
]
}
},
"suggest": {
"log1x/sage-svg": "Required to use the @svg directive (Sage 10)."
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}
Loading

0 comments on commit 099e7fc

Please sign in to comment.