Create storage module and add it as website’s dependency

This commit is contained in:
Krzysztof Sikorski 2024-01-28 04:01:31 +01:00
parent 7c7428311c
commit 0c3542e6b0
Signed by: krzysztof-sikorski
GPG key ID: 4EB564BD08FE8476
6 changed files with 86 additions and 1 deletions

View file

@ -45,5 +45,6 @@ This project is published to multiple core-sharing portals:
- [legacy](legacy/README.md): History and source code of previous versions of
the game
- [modules/core](modules/core/README.md): core engine of the game
- [modules/storage](modules/storage/README.md): storage module for the game
- `tools`: developer tools
- [website](website/README.md): website and UI

2
modules/storage/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/vendor
composer.lock

View file

@ -0,0 +1,6 @@
# Quintolin: storage module
This directory contains **storage module** of Quintolin game.
The engine is intended to be an abstract PHP library,
independent of any framework or execution environment.

View file

@ -0,0 +1,31 @@
{
"name": "quintolin/storage",
"description": "Storage module for Quintolin PBBG",
"version": "0.0.1",
"type": "library",
"keywords": [
"game",
"pbbg"
],
"homepage": "https://www.shintolin.com/",
"readme": "README.md",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Krzysztof Sikorski",
"homepage": "https://zerozero.pl/",
"role": "Developer"
}
],
"support": {
"chat": "https://discord.gg/ZKTSKne"
},
"require": {
"php": "^8.3"
},
"autoload": {
"psr-4": {
"Quintolin\\Storage\\": "src/"
}
}
}

View file

@ -25,6 +25,7 @@
"ext-ctype": "*",
"ext-iconv": "*",
"quintolin/core": "^0.0.1",
"quintolin/storage": "^0.0.1",
"symfony/asset": "7.0.*",
"symfony/asset-mapper": "7.0.*",
"symfony/cache": "7.0.*",
@ -72,6 +73,10 @@
{
"type": "path",
"url": "../modules/core"
},
{
"type": "path",
"url": "../modules/storage"
}
],
"config": {

42
website/composer.lock generated
View file

@ -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": "51fb2d2265e910ad7243ae4788bdb909",
"content-hash": "eafe42c282ea9b4550d687735901053f",
"packages": [
{
"name": "composer/semver",
@ -377,6 +377,46 @@
"relative": true
}
},
{
"name": "quintolin/storage",
"version": "0.0.1",
"dist": {
"type": "path",
"url": "../modules/storage",
"reference": "c0639a4f9219857d652659ab6fdea88a91b6ef71"
},
"require": {
"php": "^8.3"
},
"type": "library",
"autoload": {
"psr-4": {
"Quintolin\\Storage\\": "src/"
}
},
"license": [
"AGPL-3.0-or-later"
],
"authors": [
{
"name": "Krzysztof Sikorski",
"homepage": "https://zerozero.pl/",
"role": "Developer"
}
],
"description": "Storage module for Quintolin PBBG",
"homepage": "https://www.shintolin.com/",
"keywords": [
"game",
"pbbg"
],
"support": {
"chat": "https://discord.gg/ZKTSKne"
},
"transport-options": {
"relative": true
}
},
{
"name": "symfony/asset",
"version": "v7.0.0",