mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
build: update CI4 to v4.5.5 + php and js packages to latest
This commit is contained in:
parent
61e8a4a717
commit
bba13d80f7
@ -11,7 +11,6 @@ use Kint\Renderer\Rich\ValuePluginInterface;
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Kint
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* We use Kint's `RichRenderer` and `CLIRenderer`. This area contains options
|
||||
|
@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
namespace Config;
|
||||
|
||||
/**
|
||||
* Mimes
|
||||
*
|
||||
* This file contains an array of mime types. It is used by the Upload class to help identify allowed file types.
|
||||
*
|
||||
* When more than one variation for an extension exist (like jpg, jpeg, etc) the most common one should be first in the
|
||||
|
@ -5,8 +5,6 @@ declare(strict_types=1);
|
||||
namespace Config;
|
||||
|
||||
/**
|
||||
* Paths
|
||||
*
|
||||
* Holds the paths that are used by the system to locate the main directories, app, system, etc.
|
||||
*
|
||||
* Modifying these allows you to restructure your application, share a system folder between multiple applications, and
|
||||
|
@ -49,9 +49,6 @@ abstract class BaseController extends Controller
|
||||
*/
|
||||
// protected $session;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function initController(
|
||||
RequestInterface $request,
|
||||
ResponseInterface $response,
|
||||
|
@ -50,9 +50,6 @@ class EpisodeAudioController extends Controller
|
||||
|
||||
protected Analytics $analyticsConfig;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function initController(
|
||||
RequestInterface $request,
|
||||
ResponseInterface $response,
|
||||
|
@ -37,7 +37,7 @@ export class XMLEditor extends LitElement {
|
||||
editorContents = prettifyXML(this._textarea[0].value, {
|
||||
indentation: " ",
|
||||
});
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// xml doesn't have a root node
|
||||
editorContents = prettifyXML(
|
||||
"<root>" + this._textarea[0].value + "</root>",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"conditions": []
|
||||
},
|
||||
{
|
||||
"action": "composer analyse",
|
||||
"action": "composer phpstan",
|
||||
"options": [],
|
||||
"conditions": []
|
||||
},
|
||||
|
@ -9,20 +9,20 @@
|
||||
"php": "^8.1",
|
||||
"adaures/ipcat-php": "^v1.0.0",
|
||||
"adaures/podcast-persons-taxonomy": "^v1.0.1",
|
||||
"aws/aws-sdk-php": "^3.316.9",
|
||||
"aws/aws-sdk-php": "^3.322.3",
|
||||
"chrisjean/php-ico": "^1.0.4",
|
||||
"cocur/slugify": "^v4.5.1",
|
||||
"codeigniter4/framework": "v4.5.4",
|
||||
"cocur/slugify": "^v4.6.0",
|
||||
"codeigniter4/framework": "v4.5.5",
|
||||
"codeigniter4/settings": "v2.2.0",
|
||||
"codeigniter4/shield": "v1.1.0",
|
||||
"codeigniter4/tasks": "dev-develop",
|
||||
"geoip2/geoip2": "v3.0.0",
|
||||
"james-heinrich/getid3": "^2.0.0-beta6",
|
||||
"league/commonmark": "^2.5.1",
|
||||
"league/commonmark": "^2.5.3",
|
||||
"league/html-to-markdown": "5.1.1",
|
||||
"melbahja/seo": "^v2.1.1",
|
||||
"michalsn/codeigniter4-uuid": "v1.1.0",
|
||||
"mpratt/embera": "^2.0.40",
|
||||
"mpratt/embera": "^2.0.41",
|
||||
"opawg/user-agents-v2-php": "dev-main",
|
||||
"phpseclib/phpseclib": "~2.0.47",
|
||||
"vlucas/phpdotenv": "v5.6.1",
|
||||
@ -33,13 +33,13 @@
|
||||
"require-dev": {
|
||||
"captainhook/captainhook": "^5.23.3",
|
||||
"codeigniter/phpstan-codeigniter": "v1.4.3",
|
||||
"mikey179/vfsstream": "^v1.6.11",
|
||||
"phpstan/extension-installer": "^1.4.1",
|
||||
"phpstan/phpstan": "^1.11.8",
|
||||
"phpunit/phpunit": "^10.5.29",
|
||||
"rector/rector": "^1.2.2",
|
||||
"symplify/coding-standard": "^12.2.1",
|
||||
"symplify/easy-coding-standard": "^12.3.3"
|
||||
"mikey179/vfsstream": "^v1.6.12",
|
||||
"phpstan/extension-installer": "^1.4.3",
|
||||
"phpstan/phpstan": "^1.12.4",
|
||||
"phpunit/phpunit": "^10.5.35",
|
||||
"rector/rector": "^1.2.5",
|
||||
"symplify/coding-standard": "^12.2.3",
|
||||
"symplify/easy-coding-standard": "^12.3.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -58,7 +58,7 @@
|
||||
"scripts": {
|
||||
"dev": "php spark serve",
|
||||
"test": "vendor/bin/phpunit --no-coverage",
|
||||
"analyse": "vendor/bin/phpstan analyse --ansi",
|
||||
"phpstan": "vendor/bin/phpstan analyse --ansi",
|
||||
"rector": "vendor/bin/rector process --dry-run --ansi --memory-limit=2G",
|
||||
"rector:fix": "vendor/bin/rector process --ansi --memory-limit=2G",
|
||||
"style": "vendor/bin/ecs check --ansi",
|
||||
|
533
composer.lock
generated
533
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -27,9 +27,6 @@ abstract class BaseController extends Controller
|
||||
*/
|
||||
protected $request;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function initController(
|
||||
RequestInterface $request,
|
||||
ResponseInterface $response,
|
||||
|
@ -408,7 +408,7 @@ if (! function_exists('linkify')) {
|
||||
'~(?<!\w)@(?<username>\w++)(?:@(?<domain>(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]))?~',
|
||||
static function (array $match) use (&$links): string {
|
||||
// check if host is set and look for actor in database
|
||||
if (isset($match['host'])) {
|
||||
if (isset($match['domain'])) {
|
||||
if (
|
||||
($actor = model(
|
||||
'ActorModel',
|
||||
|
@ -34,9 +34,6 @@ class InstallController extends Controller
|
||||
*/
|
||||
protected $helpers = ['form', 'components', 'svg', 'misc', 'setting'];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function initController(
|
||||
RequestInterface $request,
|
||||
ResponseInterface $response,
|
||||
|
@ -76,8 +76,6 @@ class MediaModel extends Model
|
||||
protected $beforeDelete = ['clearCache'];
|
||||
|
||||
/**
|
||||
* Model constructor.
|
||||
*
|
||||
* @param ConnectionInterface|null $db DB Connection
|
||||
* @param ValidationInterface|null $validation Validation
|
||||
*/
|
||||
|
58
package.json
58
package.json
@ -30,16 +30,16 @@
|
||||
"dependencies": {
|
||||
"@amcharts/amcharts4": "^4.10.39",
|
||||
"@amcharts/amcharts4-geodata": "^4.1.30",
|
||||
"@codemirror/commands": "^6.6.0",
|
||||
"@codemirror/commands": "^6.6.2",
|
||||
"@codemirror/lang-xml": "^6.1.0",
|
||||
"@codemirror/language": "^6.10.2",
|
||||
"@codemirror/language": "^6.10.3",
|
||||
"@codemirror/state": "^6.4.1",
|
||||
"@codemirror/view": "^6.29.1",
|
||||
"@floating-ui/dom": "^1.6.8",
|
||||
"@codemirror/view": "^6.33.0",
|
||||
"@floating-ui/dom": "^1.6.11",
|
||||
"@github/clipboard-copy-element": "^1.3.0",
|
||||
"@github/hotkey": "^3.1.1",
|
||||
"@github/markdown-toolbar-element": "^2.2.3",
|
||||
"@github/relative-time-element": "^4.4.2",
|
||||
"@github/relative-time-element": "^4.4.3",
|
||||
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
|
||||
"@vime/core": "^5.4.1",
|
||||
"choices.js": "^10.2.0",
|
||||
@ -47,50 +47,50 @@
|
||||
"flatpickr": "^4.6.13",
|
||||
"leaflet": "^1.9.4",
|
||||
"leaflet.markercluster": "^1.5.3",
|
||||
"lit": "^3.1.4",
|
||||
"lit": "^3.2.0",
|
||||
"marked": "^13.0.3",
|
||||
"wavesurfer.js": "^7.8.2",
|
||||
"wavesurfer.js": "^7.8.6",
|
||||
"xml-formatter": "^3.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.3.0",
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@csstools/css-tokenizer": "^2.4.1",
|
||||
"@commitlint/cli": "^19.5.0",
|
||||
"@commitlint/config-conventional": "^19.5.0",
|
||||
"@csstools/css-tokenizer": "^3.0.1",
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/exec": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/gitlab": "^13.2.0",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"@semantic-release/gitlab": "^13.2.1",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@types/leaflet": "^1.9.12",
|
||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||
"@typescript-eslint/parser": "^7.14.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
||||
"@typescript-eslint/parser": "^8.7.0",
|
||||
"all-contributors-cli": "^6.26.1",
|
||||
"commitizen": "^4.3.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"cssnano": "^7.0.4",
|
||||
"cssnano": "^7.0.6",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.2.1",
|
||||
"husky": "^9.1.4",
|
||||
"husky": "^9.1.6",
|
||||
"is-ci": "^3.0.1",
|
||||
"lint-staged": "^15.2.7",
|
||||
"postcss": "^8.4.40",
|
||||
"lint-staged": "^15.2.10",
|
||||
"postcss": "^8.4.47",
|
||||
"postcss-import": "^16.1.0",
|
||||
"postcss-nesting": "^12.1.5",
|
||||
"postcss-preset-env": "^9.6.0",
|
||||
"postcss-nesting": "^13.0.0",
|
||||
"postcss-preset-env": "^10.0.5",
|
||||
"postcss-reporter": "^7.1.0",
|
||||
"prettier": "3.3.3",
|
||||
"prettier-plugin-organize-imports": "^4.0.0",
|
||||
"semantic-release": "^24.0.0",
|
||||
"stylelint": "^16.8.1",
|
||||
"prettier-plugin-organize-imports": "^4.1.0",
|
||||
"semantic-release": "^24.1.1",
|
||||
"stylelint": "^16.9.0",
|
||||
"stylelint-config-standard": "^36.0.1",
|
||||
"svgo": "^3.3.2",
|
||||
"tailwindcss": "^3.4.7",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^5.3.5",
|
||||
"vite-plugin-pwa": "^0.20.1",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"typescript": "~5.5.4",
|
||||
"vite": "^5.4.7",
|
||||
"vite-plugin-pwa": "^0.20.5",
|
||||
"workbox-build": "^7.1.1",
|
||||
"workbox-core": "^7.1.0",
|
||||
"workbox-routing": "^7.1.0",
|
||||
|
2685
pnpm-lock.yaml
generated
2685
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
10
preload.php
10
preload.php
@ -40,23 +40,25 @@ class preload
|
||||
[
|
||||
'include' => __DIR__ . '/vendor/codeigniter4/framework/system', // Change this path if using manual installation
|
||||
'exclude' => [
|
||||
'/system/bootstrap.php',
|
||||
// Not needed if you don't use them.
|
||||
'/system/Database/OCI8/',
|
||||
'/system/Database/Postgre/',
|
||||
'/system/Database/SQLite3/',
|
||||
'/system/Database/SQLSRV/',
|
||||
// Not needed.
|
||||
// Not needed for web apps.
|
||||
'/system/Database/Seeder.php',
|
||||
'/system/Test/',
|
||||
'/system/Language/',
|
||||
'/system/CLI/',
|
||||
'/system/Commands/',
|
||||
'/system/Publisher/',
|
||||
'/system/ComposerScripts.php',
|
||||
// Not Class/Function files.
|
||||
'/system/Config/Routes.php',
|
||||
'/system/Language/',
|
||||
'/system/bootstrap.php',
|
||||
'/system/rewrite.php',
|
||||
'/Views/',
|
||||
// Errors occur.
|
||||
'/system/Config/Routes.php',
|
||||
'/system/ThirdParty/',
|
||||
],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user