From 848a07e85aeed962caf9ed74fb8266de8e25e35f Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Sun, 24 Dec 2023 03:11:21 +0100 Subject: [PATCH] Add sitemap --- .github/workflows/ci.yml | 2 +- .parcelrc | 4 +++- build-local.sh | 2 +- package-lock.json | 30 ++++++++++++++++++++++++++++++ package.json | 3 ++- playbook.json | 2 +- 6 files changed, 38 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08bbc93f985..ded809dc8c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: schedule: - cron: "0 0,12 * * *" env: - refinedSitesVersion: 0.1.2 + refinedSitesVersion: 0.2.1 jobs: build: runs-on: ubuntu-latest diff --git a/.parcelrc b/.parcelrc index 27b537868d5..482f3de0004 100644 --- a/.parcelrc +++ b/.parcelrc @@ -1,6 +1,8 @@ { "extends": "@parcel/config-default", "transformers": { - "*.json": ["@parcel/transformer-raw"] + "*.json": ["@parcel/transformer-raw"], + "*.xml": ["@parcel/transformer-raw"], + "robots.txt": ["@parcel/transformer-raw"] } } diff --git a/build-local.sh b/build-local.sh index 1a4dbab47d8..b3c3aa51ca4 100755 --- a/build-local.sh +++ b/build-local.sh @@ -1,4 +1,4 @@ -refinedSitesVersion="0.1.2" +refinedSitesVersion="0.2.1" if [ ! -f "refinedsites-$refinedSitesVersion-all.jar" ]; then echo "downloading Refined Sites $refinedSitesVersion" diff --git a/package-lock.json b/package-lock.json index 637906b7744..620cfca0013 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "tippy.js": "^6.3.7" }, "devDependencies": { + "@parcel/packager-xml": "^2.10.3", "@parcel/transformer-sass": "^2.10.3", "parcel": "^2.10.3" } @@ -1062,6 +1063,26 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/@parcel/packager-xml": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@parcel/packager-xml/-/packager-xml-2.10.3.tgz", + "integrity": "sha512-S8Z/odoBPn+/rWfZYDY773FLyVJIqt7i5aZye6YU2tJANUbdvszQWwzYgoRCKFhZSp9WUgT2FujwZM1/PZvrTg==", + "dev": true, + "dependencies": { + "@parcel/plugin": "2.10.3", + "@parcel/types": "2.10.3", + "@parcel/utils": "2.10.3", + "@xmldom/xmldom": "^0.7.9" + }, + "engines": { + "node": ">= 12.0.0", + "parcel": "^2.10.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/@parcel/plugin": { "version": "2.10.3", "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.10.3.tgz", @@ -2113,6 +2134,15 @@ "node": ">=10.13.0" } }, + "node_modules/@xmldom/xmldom": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.13.tgz", + "integrity": "sha512-lm2GW5PkosIzccsaZIz7tp8cPADSIlIHWDFTR1N0SzfinhhYgeIQjFMz4rYzanCScr3DqQLeomUDArp6MWKm+g==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/abortcontroller-polyfill": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz", diff --git a/package.json b/package.json index 1f9fdd461a6..9f983e69412 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,13 @@ "description": "", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "parcel build 'output/**/**.html' 'output/**/**.json'" + "build": "parcel build 'output/**/**.html' 'output/**/**.json' 'output/**/**.xml' 'output/robots.txt'" }, "keywords": [], "author": "", "license": "MIT", "devDependencies": { + "@parcel/packager-xml": "^2.10.3", "@parcel/transformer-sass": "^2.10.3", "parcel": "^2.10.3" }, diff --git a/playbook.json b/playbook.json index 6ddf3093d5b..4a99b4c2fce 100644 --- a/playbook.json +++ b/playbook.json @@ -7,7 +7,7 @@ "github": { "organization": "refinedmods", "repository": "refinedstorage", - "minimumVersion": "1.12.0", + "minimumVersion": "1.12.5", "snapshotBranch": "develop" } },