This commit is contained in:
Oliver Davies 2025-04-16 18:18:17 +01:00
parent e6ae3a1655
commit a4eacb5cf4
4 changed files with 189 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
web/
html/
vendor/
web/

View file

@ -19,6 +19,7 @@
"drupal/core-composer-scaffold": "^11.1",
"drupal/core-project-message": "^11.1",
"drupal/core-recommended": "^11.1",
"drupal/tome": "^1.13",
"drush/drush": "^13.5"
},
"conflict": {

184
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": "0da10972a6137897050663263b36f25d",
"content-hash": "8fbea5c97e8c1dfb309532bf35f06476",
"packages": [
{
"name": "asm89/stack-cors",
@ -1415,6 +1415,188 @@
],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core."
},
{
"name": "drupal/tome",
"version": "1.13.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/tome.git",
"reference": "8.x-1.13"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/tome-8.x-1.13.zip",
"reference": "8.x-1.13",
"shasum": "e652ba7bf126287dd4fc7d4fec80bb84df9d39a5"
},
"require": {
"drupal/core": "^9 || ^10 || ^11",
"drupal/tome_static": "*",
"drupal/tome_sync": "*"
},
"conflict": {
"drush/drush": "<11.6"
},
"require-dev": {
"drupal/book": "^1.0",
"drupal/ctools": "^4.1",
"drupal/pathauto": "^1.13",
"drupal/redirect": "^1.10",
"drupal/token": "^1.15",
"drupal/tome_base": "*",
"drupal/tome_static": "*",
"drupal/tome_sync": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.13",
"datestamp": "1732382851",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Samuel Mortenson",
"homepage": "https://www.drupal.org/u/samuelmortenson",
"role": "Maintainer"
},
{
"name": "Lee Rowlands",
"homepage": "https://www.drupal.org/u/larowlan",
"role": "Maintainer"
}
],
"description": "Everything you need to do everything statically.",
"homepage": "http://drupal.org/project/tome",
"support": {
"source": "https://git.drupalcode.org/project/tome",
"issues": "https://www.drupal.org/project/issues/tome"
}
},
{
"name": "drupal/tome_base",
"version": "1.13.0",
"require": {
"drupal/core": "^8 || ^9 || ^10 || ^11",
"drupal/tome": "^1"
},
"type": "metapackage",
"extra": {
"drupal": {
"version": "8.x-1.13",
"datestamp": "1732382851",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "larowlan",
"homepage": "https://www.drupal.org/user/395439"
},
{
"name": "samuel.mortenson",
"homepage": "https://www.drupal.org/user/2582268"
}
],
"description": "Contains shared services and traits between Tome Sync and Tome Static.",
"homepage": "https://www.drupal.org/project/tome",
"support": {
"source": "https://git.drupalcode.org/project/tome"
}
},
{
"name": "drupal/tome_static",
"version": "1.13.0",
"require": {
"drupal/core": "^8 || ^9 || ^10 || ^11",
"drupal/tome": "^1",
"drupal/tome_base": "*"
},
"type": "metapackage",
"extra": {
"drupal": {
"version": "8.x-1.13",
"datestamp": "1732382851",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "larowlan",
"homepage": "https://www.drupal.org/user/395439"
},
{
"name": "samuel.mortenson",
"homepage": "https://www.drupal.org/user/2582268"
}
],
"description": "Exports an entire Drupal site to static HTML.",
"homepage": "https://www.drupal.org/project/tome",
"support": {
"source": "https://git.drupalcode.org/project/tome"
}
},
{
"name": "drupal/tome_sync",
"version": "1.13.0",
"require": {
"drupal/core": "^8 || ^9 || ^10 || ^11",
"drupal/tome": "^1",
"drupal/tome_base": "*"
},
"type": "metapackage",
"extra": {
"drupal": {
"version": "8.x-1.13",
"datestamp": "1732382851",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "larowlan",
"homepage": "https://www.drupal.org/user/395439"
},
{
"name": "samuel.mortenson",
"homepage": "https://www.drupal.org/user/2582268"
}
],
"description": "Allows Drupal to installed from flat files and keeps content in sync.",
"homepage": "https://www.drupal.org/project/tome",
"support": {
"source": "https://git.drupalcode.org/project/tome"
}
},
{
"name": "drush/drush",
"version": "13.5.1",

View file

@ -4,5 +4,8 @@ _default:
export-config:
drush config:export --destination=`pwd`/config/sync --yes
generate-static:
drush tome:static --uri https://www.oliverdavies.uk
install-drupal:
drush si --db-url=sqlite://localhost/db.sqlite