mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
update: dependencies
This commit is contained in:
@@ -25,19 +25,19 @@
|
||||
"hootlex/laravel-moderation": "^1.1",
|
||||
"intervention/image": "^2.7.2",
|
||||
"joypixels/assets": "^6.6",
|
||||
"laravel/framework": "^10.4.1",
|
||||
"laravel/framework": "^10.7.1",
|
||||
"laravel/tinker": "^2.8.1",
|
||||
"laravel/ui": "^4.2.1",
|
||||
"league/flysystem-sftp-v3": "^3.10.3",
|
||||
"league/flysystem-sftp-v3": "^3.14",
|
||||
"livewire/livewire": "^2.12.3",
|
||||
"marcreichel/igdb-laravel": "3.7.0",
|
||||
"paragonie/constant_time_encoding": "^2.6.3",
|
||||
"predis/predis": "^2.1.2",
|
||||
"spatie/laravel-backup": "^8.1.7",
|
||||
"spatie/laravel-backup": "^8.1.8",
|
||||
"spatie/laravel-cookie-consent": "^3.2.4",
|
||||
"spatie/laravel-image-optimizer": "^1.7.1",
|
||||
"spatie/ssl-certificate": "^1.22.1",
|
||||
"symfony/dom-crawler": "^6.2.7",
|
||||
"symfony/dom-crawler": "^6.2.8",
|
||||
"theodorejb/polycast": "dev-master",
|
||||
"voku/anti-xss": "^4.1.41",
|
||||
"vstelmakh/url-highlight": "^3.0.2"
|
||||
@@ -45,12 +45,12 @@
|
||||
"require-dev": {
|
||||
"brianium/paratest": "^6.9.1",
|
||||
"fakerphp/faker": "^1.21",
|
||||
"laravel/pint": "^1.6",
|
||||
"laravel/sail": "^1.21.2",
|
||||
"laravel/pint": "^1.8",
|
||||
"laravel/sail": "^1.21.4",
|
||||
"mockery/mockery": "^1.5.1",
|
||||
"nunomaduro/collision": "^6.4",
|
||||
"phpunit/phpunit": "^9.6.5",
|
||||
"spatie/laravel-ignition": "^2.0"
|
||||
"phpunit/phpunit": "^9.6.6",
|
||||
"spatie/laravel-ignition": "^2.1"
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
|
||||
363
composer.lock
generated
363
composer.lock
generated
File diff suppressed because it is too large
Load Diff
1682
package-lock.json
generated
1682
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,6 @@
|
||||
"laravel-echo": "^1.11.4",
|
||||
"laravel-mix": "^6.0.43",
|
||||
"laravel-mix-purgecss": "^6.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"postcss": "^8.4.12",
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"sass": "^1.49.9",
|
||||
@@ -32,7 +31,6 @@
|
||||
"alpinejs": "^3.9.1",
|
||||
"dayjs": "^1.11.0",
|
||||
"laravel-echo-server": "^1.6.3",
|
||||
"node-vibrant": "^3.1.6",
|
||||
"pusher-js": "^7.0.6",
|
||||
"virtual-select-plugin": "^1.0.26"
|
||||
}
|
||||
|
||||
@@ -1,23 +1,50 @@
|
||||
/**
|
||||
* First we will load all of this project's JavaScript dependencies which
|
||||
* includes Vue and other libraries. It is a great starting point when
|
||||
* building robust, powerful web applications using Vue and Laravel.
|
||||
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
|
||||
* for JavaScript based Bootstrap features such as modals and tabs. This
|
||||
* code may be modified to fit the specific needs of your application.
|
||||
*/
|
||||
|
||||
require('./bootstrap');
|
||||
try {
|
||||
// Note: Eventually we will end up 100% jQuery free.
|
||||
window.$ = window.jQuery = require('jquery');
|
||||
|
||||
require('bootstrap-sass');
|
||||
} catch (e) {}
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': document.head.querySelector('meta[name="csrf-token"]').content,
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
* Next, we will create a fresh Vue application instance and attach it to
|
||||
* the page. Then, you may begin adding components to this application
|
||||
* or customize the JavaScript scaffolding to fit your unique needs.
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
* to our Laravel back-end. This library automatically handles sending the
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
import Vue from 'vue';
|
||||
import version from './components/Version';
|
||||
import chatbox from './components/chat/Chatbox';
|
||||
|
||||
if (document.getElementById('vue')) {
|
||||
new Vue({
|
||||
el: '#vue',
|
||||
components: { version: version, chatbox: chatbox },
|
||||
});
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common = {
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
|
||||
};
|
||||
|
||||
/**
|
||||
* Next we will register the CSRF Token as a common header with Axios so that
|
||||
* all outgoing HTTP requests automatically have it attached. This is just
|
||||
* a simple convenience so we don't have to attach every token manually.
|
||||
*/
|
||||
|
||||
let token = document.head.querySelector('meta[name="csrf-token"]');
|
||||
|
||||
if (token) {
|
||||
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
|
||||
} else {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
||||
|
||||
/*
|
||||
* NPM Packages
|
||||
*/
|
||||
// Sweet Alert
|
||||
window.Swal = require('sweetalert2');
|
||||
|
||||
55
resources/js/bootstrap.js
vendored
55
resources/js/bootstrap.js
vendored
@@ -1,55 +0,0 @@
|
||||
window._ = require('lodash');
|
||||
|
||||
/**
|
||||
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
|
||||
* for JavaScript based Bootstrap features such as modals and tabs. This
|
||||
* code may be modified to fit the specific needs of your application.
|
||||
*/
|
||||
|
||||
try {
|
||||
// Note: Eventually we will end up 100% jQuery free.
|
||||
window.$ = window.jQuery = require('jquery');
|
||||
|
||||
require('bootstrap-sass');
|
||||
} catch (e) {}
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': document.head.querySelector('meta[name="csrf-token"]').content,
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
* to our Laravel back-end. This library automatically handles sending the
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common = {
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
|
||||
};
|
||||
|
||||
/**
|
||||
* Next we will register the CSRF Token as a common header with Axios so that
|
||||
* all outgoing HTTP requests automatically have it attached. This is just
|
||||
* a simple convenience so we don't have to attach every token manually.
|
||||
*/
|
||||
|
||||
let token = document.head.querySelector('meta[name="csrf-token"]');
|
||||
|
||||
if (token) {
|
||||
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
|
||||
} else {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
||||
|
||||
/*
|
||||
* NPM Packages
|
||||
*/
|
||||
// Sweet Alert
|
||||
window.Swal = require('sweetalert2');
|
||||
|
||||
// Vibrant
|
||||
window.Vibrant = require('node-vibrant');
|
||||
@@ -1,3 +1,18 @@
|
||||
/**
|
||||
* Next, we will create a fresh Vue application instance and attach it to
|
||||
* the page. Then, you may begin adding components to this application
|
||||
* or customize the JavaScript scaffolding to fit your unique needs.
|
||||
*/
|
||||
import Vue from 'vue';
|
||||
import chatbox from '../components/chat/Chatbox';
|
||||
|
||||
if (document.getElementById('vue')) {
|
||||
new Vue({
|
||||
el: '#vue',
|
||||
components: { chatbox: chatbox },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
|
||||
Reference in New Issue
Block a user