Skip to content

Commit

Permalink
preparation for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Apr 19, 2022
1 parent 1d4b5e7 commit a2c67f7
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 20 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [7.0.0] - 2022-04-19
- Major braking changes do to updates on css variables, and helpers and updating min PHP version to 7.4.

## [6.0.0] - 2021-08-16
- Major braking changes do to updates on css variables, and helpers.

Expand Down Expand Up @@ -266,6 +269,7 @@ Initial tagged release.

[Unreleased]: https://github.com/infinum/eightshift-boilerplate/compare/master...HEAD

[7.0.0]: https://github.com/infinum/eightshift-boilerplate/compare/6.0.0...v7.0.0
[6.0.0]: https://github.com/infinum/eightshift-boilerplate/compare/5.0.1...v6.0.0
[5.0.1]: https://github.com/infinum/eightshift-boilerplate/compare/5.0.0...v5.0.1
[5.0.0]: https://github.com/infinum/eightshift-boilerplate/compare/4.3.0...v5.0.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Eightshift Boilerplate is maintained and sponsored by
[Eightshift](https://eightshift.com) and [Infinum](https://infinum.com).

## License
Eightshift Boilerplate ©2021 [Eightshift](https://eightshift.com) and [Infinum](https://infinum.com). It is free software, and may be redistributed under the terms specified in the LICENSE file.
Eightshift Boilerplate ©2022 [Eightshift](https://eightshift.com) and [Infinum](https://infinum.com). It is free software, and may be redistributed under the terms specified in the LICENSE file.
22 changes: 16 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,22 @@
"source": "https://github.com/infinum/eightshift-boilerplate"
},
"require-dev": {
"infinum/eightshift-coding-standards": "^1.1",
"infinum/eightshift-coding-standards": "^1.5",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"szepeviktor/phpstan-wordpress": "^0.7",
"php-stubs/wordpress-stubs": "^5.5"
"szepeviktor/phpstan-wordpress": "^1.0.3",
"php-stubs/wordpress-stubs": "^5.9"
},
"require": {
"php": "^7.2 || <8.0",
"infinum/eightshift-libs": "^4.0.0",
"php": "^7.4 || <8.0",
"infinum/eightshift-libs": "dev-develop",
"typisttech/imposter-plugin": "^0.6.2"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/infinum/eightshift-libs.git"
}
],
"autoload": {
"psr-4": {
"EightshiftBoilerplate\\": "src/"
Expand All @@ -44,7 +50,11 @@
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"process-timeout": 2000
"process-timeout": 2000,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"typisttech/imposter-plugin": true
}
},
"scripts": {
"analyze": "@php ./vendor/bin/phpstan analyze",
Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
* then kicking off the theme from this point in the file does
* not affect the page life cycle.
*/
if (class_exists(Main::class)) {
if (\class_exists(Main::class)) {
(new Main($loader->getPrefixesPsr4(), __NAMESPACE__))->register();
}

/**
* Run all WPCLI commands.
*/
if (class_exists(Cli::class)) {
if (\class_exists(Cli::class)) {
(new Cli())->load('boilerplate');
}
16 changes: 8 additions & 8 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@

?>
<!DOCTYPE html>
<html <?php \language_attributes(); ?>>
<html <?php language_attributes(); ?>>
<head>
<?php
// Head Component.
echo Components::render( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'head',
[
'icon' => \apply_filters(Manifest::MANIFEST_ITEM, 'logo.svg'),
'icon' => apply_filters(Manifest::MANIFEST_ITEM, 'logo.svg'),
]
);

\wp_head();
wp_head();
?>
</head>
<body <?php \body_class(); ?>>
<body <?php body_class(); ?>>

<?php
// Header Component.
Expand All @@ -38,10 +38,10 @@
'logo',
[
'parentClass' => 'header',
'logoSrc' => \apply_filters(Manifest::MANIFEST_ITEM, 'logo.svg'),
'logoAlt' => \get_bloginfo('name'),
'logoTitle' => \get_bloginfo('name'),
'logoHref' => \get_bloginfo('url'),
'logoSrc' => apply_filters(Manifest::MANIFEST_ITEM, 'logo.svg'),
'logoAlt' => get_bloginfo('name'),
'logoTitle' => get_bloginfo('name'),
'logoHref' => get_bloginfo('url'),
]
),
'layoutThreeColumnsRight' => [
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eightshift/eightshift-boilerplate",
"version": "6.0.0",
"version": "7.0.0",
"description": "This repository contains all the tools you need to start building a modern WordPress project.",
"authors": [
{
Expand Down Expand Up @@ -32,12 +32,13 @@
"storybook": "start-storybook -s public"
},
"devDependencies": {
"@eightshift/storybook": "^5.6.1",
"husky": "^4.3.6",
"webpack": "^4.42.0",
"webpack-cli": "^4.3.1"
},
"dependencies": {
"@eightshift/frontend-libs": "^5.0.0"
"@eightshift/frontend-libs": "git+https://github.com/infinum/eightshift-frontend-libs.git"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: Eightshift Boilerplate Title
Description: Eightshift Boilerplate Description
Author: Team Eightshift
Author URI: https://eightshift.com/
Version: 5.0.0
Version: 7.0.0
License: MIT
License URI: http://www.gnu.org/licenses/gpl.html
Tags: WordPress, Theme, Plugin, Gutenberg, Blocks, Starter, Boilerplate
Expand Down

0 comments on commit a2c67f7

Please sign in to comment.