diff --git a/package.json b/package.json index ad4bad2bc..6f3f85677 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "npm run clean && run-p build:*", "build:eleventy": "ELEVENTY_ENV=production eleventy", "build:postcss": "ELEVENTY_ENV=production postcss src/styles/*.css --dir _site", + "build:rainfly": "cd src/rainfly && npm run build", "start": "run-p start:*", "start:eleventy": "eleventy --serve", "start:postcss": "postcss src/styles/*.css --dir _site --watch", diff --git a/src/_data/build_info.json b/src/_data/build_info.json index a90588ff9..f1dd865f0 100644 --- a/src/_data/build_info.json +++ b/src/_data/build_info.json @@ -1 +1 @@ -{"version":"3.2.0","revision":"e45e5d0","lastUpdated":"2024-08-07","copyrightYear":2024} \ No newline at end of file +{"version":"3.2.0","revision":"dd4ffa7","lastUpdated":"2024-09-30","copyrightYear":2024} \ No newline at end of file diff --git a/src/rainfly/package.json b/src/rainfly/package.json index 37703ebf9..8b2cabe93 100644 --- a/src/rainfly/package.json +++ b/src/rainfly/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "vite dev", "build": "vite build", + "postbuild": "rm -rf ../../_site/rainfly/* && cp -r build/* ../../_site/rainfly/ && rm -rf build/", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",