diff --git a/.gitignore b/.gitignore index e8c01965a..5baa34823 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -web/ +html/ vendor/ +web/ diff --git a/composer.json b/composer.json index 62522cc89..9ef7ec84e 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/composer.lock b/composer.lock index 624334125..911e6226b 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": "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", diff --git a/justfile b/justfile index 34e4a32fa..3ea6bb8f5 100644 --- a/justfile +++ b/justfile @@ -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