Skip to content

Commit ebab8b1

Browse files
authored
Merge pull request #58 from mckenziearts/2.x
2.x
2 parents 1e690eb + 685c151 commit ebab8b1

32 files changed

+7328
-220
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ Homestead.json
1111
Homestead.yaml
1212
npm-debug.log
1313
yarn-error.log
14-
yarn.lock
15-
package-lock.json
1614
composer.lock

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ language: php
33
sudo: true
44

55
php:
6-
- 7.2
6+
- 7.4
77

88
env:
99
matrix:
1010
- LARAVEL_VERSION=7.0.*
11+
- LARAVEL_VERSION=8.0.*
1112

1213
matrix:
1314
fast_finish: true
@@ -20,5 +21,5 @@ cache:
2021
before_script:
2122
- travis_retry composer self-update
2223
- composer require "illuminate/support:${LARAVEL_VERSION}"
23-
- npm install
24-
- npm run dev
24+
- yarn install
25+
- yarn run dev

changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to `laravel-notify` will be documented in this file.
44

5+
## Version 2.2
6+
7+
### Added
8+
- Notify timeout
9+
- Add Support for PHP 7.4
10+
11+
### Updated
12+
- Upgrade to Tailwind v2
13+
14+
## Version 2.1
15+
16+
### Added
17+
- Add Support for Laravel 8
18+
519
## Version 2.0
620
Version 2 is Here 🤩 ! Laravel Notify is a package that lets you add custom notifications to your project.
721
A diverse range of notification design with TailwindCSS and TailwindUI.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"homepage": "https://github.com/mckenziearts/laravel-notify",
1414
"keywords": ["Laravel", "laravel-notify", "notification"],
1515
"require": {
16-
"php": ">=7.1",
17-
"illuminate/support": "^7.0|^8.0"
16+
"php": ">=7.4",
17+
"illuminate/support": "~7.0|~8.0"
1818
},
1919
"require-dev": {
2020
"mockery/mockery": "^1.0",
21-
"phpunit/phpunit": "^8.0"
21+
"phpunit/phpunit": "^8.0|^9.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

config/notify.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727

2828
'demo' => true,
2929

30+
/*
31+
|--------------------------------------------------------------------------
32+
| Notification timeout
33+
|--------------------------------------------------------------------------
34+
|
35+
| Defines the number of seconds during which the notification will be visible.
36+
|
37+
*/
38+
39+
'timeout' => 5000,
40+
3041
/*
3142
|--------------------------------------------------------------------------
3243
| Preset Messages

package.json

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
{
22
"private": true,
33
"scripts": {
4-
"dev": "npm run development",
5-
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
6-
"watch": "npm run development -- --watch",
7-
"watch-poll": "npm run watch -- --watch-poll",
8-
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
9-
"prod": "npm run production",
10-
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
4+
"development": "mix",
5+
"watch": "mix watch",
6+
"watch-poll": "mix watch -- --watch-options-poll=1000",
7+
"hot": "mix watch --hot",
8+
"production": "mix --production"
119
},
1210
"devDependencies": {
1311
"cross-env": "^5.1",
1412
"resolve-url-loader": "^2.3.1",
15-
"sass": "^1.15.2",
16-
"sass-loader": "^7.1.0",
1713
"vue-template-compiler": "^2.6.10"
1814
},
1915
"dependencies": {
20-
"@tailwindcss/ui": "^0.3.0",
21-
"alpinejs": "^2.3.5",
22-
"laravel-mix": "^4.0.7",
23-
"laravel-mix-tailwind": "^0.1.0",
24-
"tailwindcss": "^1.7.3"
16+
"alpinejs": "^2.8.1",
17+
"autoprefixer": "^10.2.6",
18+
"laravel-mix": "^6.0.19",
19+
"postcss": "^8.3.0",
20+
"tailwindcss": "^2.1.2"
2521
}
2622
}

public/css/app.css

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/notify.css

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/app.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/notify.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)