From 070fac67177cb4fcb9d5ca6a3808b329e3f8735e Mon Sep 17 00:00:00 2001 From: Gary Garside Date: Wed, 6 Nov 2024 13:20:30 +0000 Subject: [PATCH] Linting and composer version update --- composer.json | 101 ++++++++++++++++++++++++++----------------------- webpack.mix.js | 26 ++++++------- 2 files changed, 66 insertions(+), 61 deletions(-) diff --git a/composer.json b/composer.json index 6739f81..085ed7e 100644 --- a/composer.json +++ b/composer.json @@ -1,53 +1,58 @@ { - "name": "razorcreations/ajax-field", - "description": "A searchable AJAX powered field for Laravel Nova.", - "version": "1.2.0", - "authors": [ - { - "name": "Ross Cooper", - "email": "ross@razorcreations.com", - "homepage": "http://www.razorcreations.com", - "role": "Developer" - }, - - { - "name": "Tom Stowe", - "email": "tom@razorcreations.com", - "homepage": "http://www.razorcreations.com", - "role": "Developer" - } - ], - "keywords": [ - "laravel", - "nova", - "field", - "ajax" - ], - "license": "MIT", - "require": { - "php": "^7.3|^8.0" - }, - "autoload": { - "psr-4": { - "Razorcreations\\AjaxField\\": "src/" - } - }, - "extra": { - "laravel": { - "providers": [ - "Razorcreations\\AjaxField\\FieldServiceProvider" - ] - } - }, - "config": { - "sort-packages": true - }, - "minimum-stability": "dev", - "prefer-stable": true, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.8" + "name": "razorcreations/ajax-field", + "description": "A searchable AJAX powered field for Laravel Nova 3 and 4.", + "version": "1.2.2", + "authors": [ + { + "name": "Ross Cooper", + "email": "ross@razorcreations.com", + "homepage": "http://www.razorcreations.com", + "role": "Developer" + }, + { + "name": "Tom Stowe", + "email": "tom@razorcreations.com", + "homepage": "http://www.razorcreations.com", + "role": "Developer" + }, + { + "name": "Gary Garside", + "email": "gary@razorcreations.com", + "homepage": "http://www.razorcreations.com", + "role": "Developer" + } + ], + "keywords": [ + "laravel", + "nova", + "field", + "ajax" + ], + "license": "MIT", + "require": { + "php": "^7.3|^8.0" }, - "scripts": { + "autoload": { + "psr-4": { + "Razorcreations\\AjaxField\\": "src/" + } + }, + "extra": { + "laravel": { + "providers": [ + "Razorcreations\\AjaxField\\FieldServiceProvider" + ] + } + }, + "config": { + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.8" + }, + "scripts": { "fix": "./vendor/bin/php-cs-fixer fix", "lint": "./vendor/bin/php-cs-fixer fix --dry-run" } diff --git a/webpack.mix.js b/webpack.mix.js index ca9c5d8..3374f59 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -1,16 +1,16 @@ let mix = require('laravel-mix') mix.setPublicPath('dist') - .js('resources/js/field.js', 'js') - .vue({version: 3}) - .webpackConfig({ - externals: { - vue: 'Vue', - }, - output: { - uniqueName: 'spatie/nova-ajax-field', - }, - resolve: { - symlinks: false - } - }) + .js('resources/js/field.js', 'js') + .vue({version: 3}) + .webpackConfig({ + externals: { + vue: 'Vue', + }, + output: { + uniqueName: 'spatie/nova-ajax-field', + }, + resolve: { + symlinks: false + } + })