From 9598933e0b3d06b743f37c7e2977108df31ccc55 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 17 Nov 2024 12:17:10 +0100 Subject: [PATCH] Update internal HydeFront prod script to be named build to match Vite --- .github/workflows/continuous-integration.yml | 2 +- monorepo/docs/hydefront.md | 2 +- packages/hydefront/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 93bc0135e7b..8bdcf5cc068 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -128,7 +128,7 @@ jobs: - name: Build assets for production working-directory: 'packages/hydefront' - run: npm run prod + run: npm run build - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/monorepo/docs/hydefront.md b/monorepo/docs/hydefront.md index 0b31affd451..8b85883da2a 100644 --- a/monorepo/docs/hydefront.md +++ b/monorepo/docs/hydefront.md @@ -33,7 +33,7 @@ npm link hydefront ```bash cd packages/hydefront git pull origin master -npm run prod +npm run build ``` ### Build, version, and publish diff --git a/packages/hydefront/package.json b/packages/hydefront/package.json index f0c41d8ad6c..de966a563ae 100644 --- a/packages/hydefront/package.json +++ b/packages/hydefront/package.json @@ -3,7 +3,7 @@ "version": "3.4.1", "description": "Frontend assets for HydePHP", "scripts": { - "prod": "sass hyde.scss dist/hyde.css --style=compressed && php .github/scripts/post-build.php --inject-version", + "build": "sass hyde.scss dist/hyde.css --style=compressed && php .github/scripts/post-build.php --inject-version", "dev": "sass hyde.scss dist/hyde.css", "watch": "sass hyde.scss dist/hyde.css --watch" },