From 9942bc85a03230c5e0d9eabe0112feb00d2e0b91 Mon Sep 17 00:00:00 2001 From: Mathias Elle Date: Thu, 4 May 2023 08:29:49 +0200 Subject: [PATCH] Release 1.1.1 --- CHANGELOG.md | 5 +++-- README.md | 20 +++++++++++++------- commands/web/{woodoo => frontend} | 9 ++++----- commands/web/woodoo_components/help | 4 ++-- commands/web/woodoo_components/variables | 2 +- install.yaml | 2 +- 6 files changed, 24 insertions(+), 18 deletions(-) rename commands/web/{woodoo => frontend} (64%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08d2a81..d1727ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,15 @@ All notable changes to this project will be documented in this file. --- ### Upcoming Changes for 1.2.0 -- change Wording in README.md and CHANGELOG.md --- ## Latesest Release ### 1.1.1 +- **Important Change** Switch command from `ddev woodoo ...` to `ddev frontend ...` - update README.md Feature List and Update instructions +- change Wording in README.md and CHANGELOG.md - change Wording in `selfcheck` -- improve Errorhandling in theme path validation (during `ddev woodoo themes`) +- improve Errorhandling in theme path validation (during `ddev frontend themes`) ### 1.1.0 diff --git a/README.md b/README.md index d3220ad..6a004bb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ddev Woodoo-Buildtools for Magento +# ddev Woodoo Frontend Buildtools for Magento [![tests](https://github.com/dermatz/ddev-woodoo-buildtools-magento/actions/workflows/tests.yml/badge.svg)](https://github.com/dermatz/ddev-woodoo-buildtools-magento/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg) --- @@ -13,7 +13,7 @@ _>> Build all your Magento themes at once, with Magic, build with Woodoo!_ || released | || released | || released | -|| planned 2023 | +|| not started yet | | Features | Status | |-|-| @@ -24,24 +24,30 @@ _>> Build all your Magento themes at once, with Magic, build with Woodoo!_ || released | || released | || released | +|| not started yet | --- ## Install -**1 . Get the latest Version (Main-Branch) of Woodoo with following command in your ddev project root** -#### Latest stable version (recommended) +**1 . Get the latest Version with following command in your ddev project root** +##### Latest stable version (recommended) ```shell ddev get https://github.com/dermatz/ddev-woodoo-buildtools-magento/archive/refs/tags/1.1.1.tar.gz ``` -#### Latest developer-version +##### Latest Developer-version (Main-Branch) - can be instable! ```shell ddev get https://github.com/dermatz/ddev-woodoo-buildtools-magento/archive/refs/heads/main.tar.gz ``` --- **2. Start Woodoo Init to update your ./ddev/config.yaml** + ```shell -ddev woodoo init +ddev frontend init ``` + +- Add all themes you want to build or watch + ---- + **3. Edit .ddev/config.yaml** Open and edit `.ddev/config.yaml` and specify pathes to the themes based on your project structure. (E.g. `src/vendor/...` or `app/design/frontend/Vendor/...`) @@ -51,7 +57,7 @@ If a newer Release is available you can install the specific version in the same ## Usage ```shell -Usage: ddev woodoo [command] [option, theme] +Usage: ddev frontend [command] [option, theme] Command: init Setup Woodoo, get all themes from dataabase and write to .ddev/config.yaml diff --git a/commands/web/woodoo b/commands/web/frontend similarity index 64% rename from commands/web/woodoo rename to commands/web/frontend index 8fe4e8f..f3fc88b 100644 --- a/commands/web/woodoo +++ b/commands/web/frontend @@ -1,16 +1,15 @@ #!/bin/bash #ddev-generated - Do not modify this file; your modifications will be overwritten. -## Description: Run woodoo inside the web container in the root of the project (Use --cwd for another directory) -## Usage: woodoo [flags] [args] -## Example: "ddev woodoo install" +## Description: Run the frontend command inside the web container in the root of the project (Use --cwd for another directory) +## Usage: frontend [flags] [args] +## Example: "ddev frontend init" ## ExecRaw: true ## HostWorkingDir: true - source ".ddev/commands/web/woodoo_components/variables" -echo -e "🛠️ ${bldblu}DDEV Woodoo-Buildtools $WOODOO_VERSION for Magento${txtrst}" +echo -e "🛠️ ${bldblu}DDEV Woodoo Frontend Buildtools $WOODOO_VERSION for Magento${txtrst}" source ".ddev/commands/web/woodoo_components/checks" source ".ddev/commands/web/woodoo_components/themes" diff --git a/commands/web/woodoo_components/help b/commands/web/woodoo_components/help index 1b50072..ca76cc1 100644 --- a/commands/web/woodoo_components/help +++ b/commands/web/woodoo_components/help @@ -4,11 +4,11 @@ if [[ "$1" == "help" || "$1" == "-help" || "$1" == "--help" || "$1" == "--h" || "$1" == "--hilfe" || "$1" == "--rtfm" || "$1" == "--manual" || "$1" == "--doc" ]]; then readThemesInConfig - echo -e "${txtgrn}\nUsage: ${txtrst}ddev woodoo [${txtcyn}command${txtrst}] [${txtylw}option${txtrst} or ${txtpur}theme${txtrst}]\n" + echo -e "${txtgrn}\nUsage: ${txtrst}ddev frontend [${txtcyn}command${txtrst}] [${txtylw}option${txtrst} or ${txtpur}theme${txtrst}]\n" echo -e "${txtcyn}Command:${txtrst}" echo -e " ${txtcyn}help${txtrst} Displays this help page" - echo -e " ${txtcyn}check, selftest${txtrst} Woodoo Self Test" + echo -e " ${txtcyn}check, selftest${txtrst} Frontend Self-Test" echo -e " ${txtcyn}themes${txtrst} List all available themes that are configured in ${txtcyn}.ddev/config.yaml${txtrst}" echo -e " ${txtcyn}build${txtrst} Builds all themes that are configured in ${txtcyn}.ddev/config.yaml${txtrst}" echo -e " ${txtcyn}build ${txtpur}theme${txtrst} Build a specific theme${txtrst}" diff --git a/commands/web/woodoo_components/variables b/commands/web/woodoo_components/variables index 5078bc1..a6c12ad 100644 --- a/commands/web/woodoo_components/variables +++ b/commands/web/woodoo_components/variables @@ -1,6 +1,6 @@ #!/bin/bash #ddev-generated - Do not modify this file; your modifications will be overwritten. -WOODOO_VERSION="1.1.0" +WOODOO_VERSION="1.1.1" LATEST_WOODOO_VERSION=$(curl -s https://api.github.com/repos/dermatz/ddev-woodoo-buildtools-magento/releases/latest | grep tag_name | cut -d '"' -f 4) PROJECT_CONFIG_FILE=".ddev/config.yaml" diff --git a/install.yaml b/install.yaml index 2228544..79fa898 100644 --- a/install.yaml +++ b/install.yaml @@ -3,7 +3,7 @@ pre_install_actions: project_files: - commands/web/woodoo_components/ -- commands/web/woodoo +- commands/web/frontend post_install_actions: