diff --git a/composer.json b/composer.json index 1a116f2..9376297 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "picocms/pico": "dev-fix-compatibility-php8 as v3.0.0-alpha.2", "seacms/app": "dev-master", "seacms/composer-plugin": "dev-master", - "seacms/seacms-theme": "dev-master" + "picocms/pico-theme": "^3.0" }, "config": { "optimize-autoloader": true, diff --git a/composer.lock b/composer.lock index aed3558..23b5f68 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0c4bf840d079233bc33002d3e9ed1559", + "content-hash": "67055adcf81949cf7e7b79cbd4b298f2", "packages": [ { "name": "erusev/parsedown", @@ -269,30 +269,28 @@ "time": "2023-03-10T23:35:40+00:00" }, { - "name": "pixel418/markdownify", - "version": "v2.3.1", + "name": "picocms/pico-theme", + "version": "v3.0.0-alpha.2", "source": { "type": "git", - "url": "https://github.com/Elephant418/Markdownify.git", - "reference": "891be2176858712c6c4581da410e96fc2019e3f0" + "url": "https://github.com/picocms/pico-theme.git", + "reference": "2abf36b6621e667798420d6dc91d73bef7792365" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Elephant418/Markdownify/zipball/891be2176858712c6c4581da410e96fc2019e3f0", - "reference": "891be2176858712c6c4581da410e96fc2019e3f0", + "url": "https://api.github.com/repos/picocms/pico-theme/zipball/2abf36b6621e667798420d6dc91d73bef7792365", + "reference": "2abf36b6621e667798420d6dc91d73bef7792365", "shasum": "" }, "require": { - "php": ">=5.4.0" + "picocms/pico": "self.version" }, - "require-dev": { - "phpunit/phpunit": "^4.8" - }, - "type": "lib", - "autoload": { - "psr-4": { - "Markdownify\\": "src", - "Test\\Markdownify\\": "test" + "type": "pico-theme", + "extra": { + "installer-name": "default", + "branch-alias": { + "dev-master": "2.1.x-dev", + "dev-pico-3.0": "3.0.x-dev" } }, "notification-url": "https://packagist.org/downloads/", @@ -301,29 +299,34 @@ ], "authors": [ { - "name": "Milian Wolff", - "email": "mail@milianw.de", - "homepage": "http://milianw.de" + "name": "Daniel Rudolf", + "email": "picocms.org@daniel-rudolf.de", + "role": "Lead Developer" + }, + { + "name": "The Pico Community", + "homepage": "http://picocms.org/" }, { - "name": "Thomas Zilliox", - "email": "hello@tzi.fr", - "homepage": "https://tzi.fr" + "name": "Contributors", + "homepage": "https://github.com/picocms/pico-theme/graphs/contributors" } ], - "description": "The HTML to Markdown converter for PHP ", - "homepage": "https://github.com/elephant418/Markdownify", + "description": "This is Pico's official default theme. Pico is a stupidly simple, blazing fast, flat file CMS.", + "homepage": "http://picocms.org/", "keywords": [ - "converter", - "html", - "markdown", - "markdownify" + "default-theme", + "pico", + "pico-theme", + "picocms", + "picocms-theme" ], "support": { - "issues": "https://github.com/Elephant418/Markdownify/issues", - "source": "https://github.com/Elephant418/Markdownify/tree/master" + "docs": "http://picocms.org/themes/default/", + "issues": "https://github.com/picocms/pico-theme/issues", + "source": "https://github.com/picocms/pico-theme" }, - "time": "2019-01-22T16:33:43+00:00" + "time": "2020-12-24T16:56:05+00:00" }, { "name": "seacms/app", @@ -434,66 +437,6 @@ }, "time": "2023-03-13T18:22:14+00:00" }, - { - "name": "seacms/pico-content-editor", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://git.defis.info/SeaCMS/pico-content-editor", - "reference": "da5ed742f3eb4e4af466eb278754168715ec8b8d" - }, - "require": { - "php": "^8.0", - "pixel418/markdownify": "^2.3", - "seacms/seacms-api": "dev-master", - "seacms/seacms-auth": "dev-master" - }, - "default-branch": true, - "type": "pico-plugin", - "autoload": { - "psr-4": { - "PicoContentEditor\\": "src/" - }, - "classmap": [ - "PicoContentEditor.php" - ] - }, - "license": [ - "EUPL-1.2" - ], - "authors": [ - { - "name": "Nicolas Liautaud", - "homepage": "https://github.com/nliautaud", - "role": "Lead Developer for fork" - }, - { - "name": "Jérémy Dufraisse", - "homepage": "https://github.com/J9rem", - "role": "SeaCMS developer" - }, - { - "name": "Thatoo", - "homepage": "https://github.com/Thatoo", - "role": "SeaCMS developer" - } - ], - "description": "A WYSIWYG content editor plugin for SeaCMS", - "homepage": "https://git.defis.info/SeaCMS/pico-content-editor", - "keywords": [ - "editor", - "pico", - "pico-content-editor", - "picocms", - "picocms-plugin" - ], - "support": { - "docs": "https://git.defis.info/SeaCMS/pico-content-editor/src/branch/master/README.md", - "issues": "https://git.defis.info/SeaCMS/pico-content-editor/issues", - "source": "https://git.defis.info/SeaCMS/pico-content-editor" - }, - "time": "2023-03-11T12:39:32+00:00" - }, { "name": "seacms/seacms-api", "version": "dev-master", @@ -584,37 +527,6 @@ }, "time": "2023-03-11T17:16:33+00:00" }, - { - "name": "seacms/seacms-theme", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://git.defis.info/SeaCMS/seacms-theme", - "reference": "7e0717491f77b2e7b2716e903b07a808178fe52d" - }, - "require": { - "seacms/app": "dev-master", - "seacms/pico-content-editor": "dev-master" - }, - "default-branch": true, - "type": "pico-theme", - "extra": { - "installer-name": "seacms" - }, - "license": [ - "EUPL-1.2" - ], - "description": "This is SeaCMS's official default theme.", - "homepage": "https://git.defis.info/SeaCMS/seacms-theme", - "keywords": [ - "default-theme", - "pico", - "pico-theme", - "seacms", - "seacms-theme" - ], - "time": "2023-03-11T12:42:13+00:00" - }, { "name": "symfony/polyfill-ctype", "version": "v1.27.0", @@ -1063,8 +975,7 @@ "stability-flags": { "picocms/pico": 20, "seacms/app": 20, - "seacms/composer-plugin": 20, - "seacms/seacms-theme": 20 + "seacms/composer-plugin": 20 }, "prefer-stable": true, "prefer-lowest": false, diff --git a/index.php b/index.php index a460aef..c036c65 100644 --- a/index.php +++ b/index.php @@ -9,4 +9,4 @@ if (is_file(__DIR__ . '/vendor/autoload.php')) { include_once(__DIR__ . '/vendor/autoload.php'); } -\SeaCMS\App::run('content'); +\SeaCMS\App::run('vendor/picocms/pico/config');