From 98b002e7a60e7e3270f9f28628a0c94cf2efa827 Mon Sep 17 00:00:00 2001 From: Terry Upton Date: Thu, 11 Feb 2021 12:03:36 +0000 Subject: [PATCH 1/3] Bumped Craft Version to 3.6 Bumped Craft Version to 3.6 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6636203..7fc8dc8 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "type": "project", "require": { - "craftcms/cms": "^3.5.13.2", + "craftcms/cms": "^3.6", "craftcms/redactor": "^2.8.2", "nystudio107/craft-imageoptimize": "^1.6", "nystudio107/craft-minify": "^1.2.10", From 8ead9f8bd91e8e702d997746a472a1d49755a519 Mon Sep 17 00:00:00 2001 From: Terry Upton Date: Thu, 11 Feb 2021 12:04:29 +0000 Subject: [PATCH 2/3] Bumped PHP version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7fc8dc8..afa81e6 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "sort-packages": true, "optimize-autoloader": true, "platform": { - "php": "7.2" + "php": "7.4" } }, "scripts": { From 7cdc4f4a98974c625fe61bfdc19a0cb258460a14 Mon Sep 17 00:00:00 2001 From: Terry Upton Date: Thu, 11 Feb 2021 12:04:38 +0000 Subject: [PATCH 3/3] Updated version --- CHANGELOG.md | 299 +++++++++++++++++++++++++++++++++----------------- composer.json | 2 +- 2 files changed, 202 insertions(+), 99 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6216df5..9c03498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,59 +1,106 @@ # Changelog + All notable changes to this project will be documented in this file. -## [4.0.0] - 2020-10-21 +## [4.0.0] - 2021-02-11 + ### Changed + Swapped to PostCSS instead of Sass - - Changed ot PostCSS Setup - - Removed lots of unnecessary CSS. I found quite a bit of redundancy - some now done with tailwind by default, some done in normalize; some just dropped as not needed. -Renamed IE Notice to Outdated Browser Notice + +- Changed ot PostCSS Setup +- Removed lots of unnecessary CSS. I found quite a bit of redundancy - some now done with tailwind by default, some done in normalize; some just dropped as not needed. Renamed IE + Notice to Outdated Browser Notice + +Update deploy ignore list. + +Change the SVG structure to introduce sub folders for social icons, file-type icons and general icons. + +Update PostCSS files to use Tailwind layers. Update Tailwind to use presets and added better defaults for spacing scale. + +Update .env example to match new format + +Update general settings to match new format + +- Updates the aliases +- Update to use some env settings Swapped Templates Structure based on +- Following some stricter and consistent Template naming rules +- Only underscore templates to hide them from routes (not to indicate a partial). + + +Update social share and follow templates + +- Update the alias form @icons to @icon +- Add the ability to show social follow icons in colour + +Bumped Craft Version to 3.6 +Bumped PHP Version to 7.4 in Composer + +### Added + +Added standard file-type icons + ## [3.2.4] - 2020-10-21 + ### Changed -Project Config Site Name -Project Config Email Settings +Project Config Site Name Project Config Email Settings ## [3.2.3] - 2020-10-21 + ### Added + Added post install command `craft setup/welcome` Added post install command `dump-autoload -o` ## [3.2.2] - 2020-10-21 + ### Removed -Removed Commented out post composer scripts for after initial installation due to breaking the composer.json file +Removed Commented out post composer scripts for after initial installation due to breaking the composer.json file ## [3.2.1] - 2020-10-21 + ### Changed + Clean and tidy up of composer.json for correct plugins and versions ### Added + Commented out post composer scripts for after initial installation ## [3.2.0] - 2020-10-20 + ### Added + Adding PurgeCSS settings to tailwind config ### Changed -Clean and tidy up of laravel-mix config -Renamed Craft Site Name in Project Config + +Clean and tidy up of laravel-mix config Renamed Craft Site Name in Project Config ### Removed + PurgeCSS config and dependencies removed from laravel-mix Removed PostCSS dependencies no longer required - - PostCSS Colour Functions - - PostCSS Sorting + +- PostCSS Colour Functions +- PostCSS Sorting ## [3.1.0] - 2020-10-20 + ### Changed + Updated NPM Package and Dependencies ## [3.0.0] - 2020-10-20 + ### Added + - Image Optimize Plugin - Sync script to run pull_db and pull_assets together in one script - Added Field Manager JSON fields for contact fields @@ -65,34 +112,34 @@ Updated NPM Package and Dependencies - Post Code - Email - Telephone -- Added Field Manager JSON fields for social media fields +- Added Field Manager JSON fields for social media fields - Facebook - Instagram - LinkedIn - Twitter - YouTube - - Added Field Manager JSON fields for legal fields +- Added Field Manager JSON fields for legal fields - Full Company Name - Company Number - - VAT Number - - Added Field Manager JSON fields for terms fields + - VAT Number +- Added Field Manager JSON fields for terms fields - Terms - Added Field Manager JSON fields for teaser fields - Teaser Image - Teaser Body - - Teaser Heading + - Teaser Heading - Added Field Manager JSON fields for assets fields - Alt - Notes - Stock/Source Url - - Display Title -- Added Field Manager JSON fields for image optimisation fields + - Display Title +- Added Field Manager JSON fields for image optimisation fields - Srcset 8x5 - -Config Files - - Image Optimization Config File + +Config Files - Image Optimization Config File ### Changed + - Update to the Latest Composer Package Versions - Update to the Latest NPM Dependencies - Updated and Migrated to New Project Yaml Setup as per Craft 3.5 @@ -100,11 +147,11 @@ Config Files - Update post- README file for new projects - Swapped general settings to use Environmental Vars where applicable - Update to .env example - - Add app ID Setting(craft 3.5) + - Add app ID Setting(craft 3.5) - Add Disallow Robots Setting (craft 3.5) - Swapped to DEFAULT_SITE_URL to PRIMARY_SITE_URL (as per Craft default) - - Set users profile image asset folder - - Setting better Tailwind Defaults +- Set users profile image asset folder +- Setting better Tailwind Defaults - Opacity - Zindex - Spacing @@ -117,7 +164,8 @@ Config Files - Variants ### Removed -- Plugins Removed + +- Plugins Removed - Imager Plugin (no longer supported) - Retcon Plugin (possibly not required now tailwind offers typography plugin) - Typed Link Field Plugin (not required for all projects as standard) @@ -125,48 +173,61 @@ Config Files - Relabel Plugin (now native) - Config Files - Image Config File - ## [2.2.0] - 2020-03-29 + ### Added + IE Notice to update browsers for IE10/11 ## [2.1.3] - 2020-03-28 + ### Added + Added package.json.default file ### Changed + - Updated Project.Yaml - - Added User Photos Storage - - Updated Terms Copy Field + - Added User Photos Storage + - Updated Terms Copy Field - Added setup and install instructions ## [2.1.2] - 2020-03-22 ### Changed + - Updated README file ## [2.1.3] - 2020-03-27 + ### Added + Added package.json.default file ### Changed + - Updated Composer Scripts - Updated npm Scripts ## [2.1.2] - 2020-03-22 ### Changed + - Updated README file ## [2.1.1] - 2020-03-22 ### Changed + - Fixed composer.json file ## [2.1.0] - 2020-03-22 + ### Added + Added some composer post create project scripts + - remove readme - remove licence - copy .env.example to .env @@ -176,50 +237,54 @@ Added some composer post create project scripts Added craft scripts based on - Image Component - - Added Picture Classes var - - Renamed Image Classes var - - Added svgConvert var + - Added Picture Classes var + - Renamed Image Classes var + - Added svgConvert var Added Readme Default -- Still in development + +- Still in development ### Changed + - tweaks to `.gitignore` - Comment out Craft scripts until installed ### Removed + - amasci-setup script - NY107 Craft Scripts from composer - ## [2.0.2] - 2020-03-22 + ### Added + - src Folder - - SVG's for standard social icons and social sharing - - PHPstorm extension for providing auto-complete for Craft CMS API and Plugins - - Sass Files, Defaults and Examples - - JS Files, Defaults and Examples - - Img and touch directories and gitkeep files. + - SVG's for standard social icons and social sharing + - PHPstorm extension for providing auto-complete for Craft CMS API and Plugins + - Sass Files, Defaults and Examples + - JS Files, Defaults and Examples + - Img and touch directories and gitkeep files. ### Changed + - Social Colours added to `tailwind.config` ## [2.0.1] - 2020-03-21 + ### Added -- Added TailwindUI - -@tailwindcss/ui npm Package - -purgeCSS defaultExtractor update - -tailwind.config update +- Added TailwindUI -@tailwindcss/ui npm Package -purgeCSS defaultExtractor update -tailwind.config update ### Changed -- `readme` - - to markdown. - -added and updated todo's. - + +- `readme` + - to markdown. -added and updated todo's. ## [2.0.0] - 2020-03-21 + ### Added + - `.browserlistrc` to configure browser support for autoprefixer and babel - `.stylelint` for linting css and sass - `webpack.mix.js` @@ -227,12 +292,12 @@ Added Readme Default - Added clean hashed versions of js and css before production builds - Added PostCSS postcss-color-function - Added PostCSS postcss-pxtorem - - `LICENSE.md` - - Video Component Template (`_components/video.twig`) - - `_components/download.twig` - - Added Instructions and Params for better clarity - - Added Show FileSize Option - - Added Better checks +- `LICENSE.md` +- Video Component Template (`_components/video.twig`) +- `_components/download.twig` + - Added Instructions and Params for better clarity + - Added Show FileSize Option + - Added Better checks - Added TwigPack Plugin and Config file - Added Relabel Plugin - Added Retcon Plugin @@ -240,32 +305,32 @@ Added Readme Default - Error templates (404, 410, 503, 504) ### Changed + - `webpack.mix.js` - Improved config for purgeCSS. - Changed pkg to settings. - - `package.json` +- `package.json` - Update title and description and version to reflect correctly. - Updated Keywords. - Updated License. - Updated Dev Dependencies versions. - Updated Dependencies versions. - Comment out Vue dependencies in case this isn't required initially. - - `_components/image.twig` +- `_components/image.twig` - Added