(Grav GitSync) Automatic Commit from smokephil

This commit is contained in:
smokephil 2025-11-11 19:27:29 +01:00 committed by GitSync
parent d73d0ba519
commit 96a01e3ab4
260 changed files with 25905 additions and 16011 deletions

View file

@ -1,3 +1,12 @@
# v1.8.0
## 04/21/2025
1. [](#improved)
* Added "version:" to composer.json as it now requires it
* Updated to `Tailwind 3` version `3.3.3`
* Better autoload instructions
* Fixed some `https` links in `README.md` to `https`
# v1.7.1
## 06/14/2023

View file

@ -1,12 +1,12 @@
# Grav Devtools Plugin
The `devtools` is a [Grav](http://github.com/getgrav/grav) Plugin that lets you quickly create a scaffolding for your new plugins and themes. The plugin provides CLI commands that allow for the quick and easy deployment of a sample scaffolding for your new plugin.
The `devtools` is a [Grav](https://github.com/getgrav/grav) Plugin that lets you quickly create a scaffolding for your new plugins and themes. The plugin provides CLI commands that allow for the quick and easy deployment of a sample scaffolding for your new plugin.
# Installation
## GPM Installation (Preferred)
The simplest way to install this plugin is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm). From the root of your Grav install type:
The simplest way to install this plugin is via the [Grav Package Manager (GPM)](https://learn.getgrav.org/advanced/grav-gpm). From the root of your Grav install type:
bin/gpm install devtools
@ -65,7 +65,7 @@ Path: /home/johnnyr/webroot/grav-installation/user/themes/mytheme
There are **three template creation options**
1. `pure-blank` - This is a very basic blank theme that uses the [Pure CSS framework](http://purecss.io/)
1. `pure-blank` - This is a very basic blank theme that uses the [Pure CSS framework](https://purecss.io/)
2. `inheritance` - This creates a very basic template with minimal files that inherits a base theme. To find out more about theme inheritance, [check out the subject in more details on the Grav Learn site](https://learn.getgrav.org/themes/customization#theme-inheritance).
3. `copy` - This allows you to create a new theme based on an existing theme. This is the simplest way to get started with a new theme by using another theme as the basis.

View file

@ -1,13 +1,13 @@
name: DevTools
slug: devtools
type: plugin
version: 1.7.1
version: 1.8.0
description: Plugin and Theme scaffolding utilities
icon: cogs
author:
name: Team Grav
email: devs@getgrav.org
url: http://getgrav.org
url: https://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-devtools
keywords: devtools, plugin, theme
bugs: https://github.com/getgrav/grav-plugin-devtools/issues

View file

@ -280,7 +280,8 @@ class DevToolsCommand extends ConsoleCommand
$this->output->writeln('Path: <cyan>' . $component_folder . '</cyan>');
$this->output->writeln('');
if ($type === 'plugin') {
$this->output->writeln('<yellow>Please run `cd ' . $component_folder . '` and `composer update` to initialize the autoloader</yellow>');
$this->output->writeln('<red>!!! IMPORTANT: To initialize the autoloader, please run this now:</red>');
$this->output->writeln('<yellow>cd ' . $component_folder . ' && composer update </yellow>');
$this->output->writeln('');
}

View file

@ -3,6 +3,7 @@
"name": "{{ githubid|lower }}/{{ component.name|hyphenize }}",
"type": "grav-plugin",
"description": "{{ component.description }}",
"version": "1.0.0",
"keywords": ["plugin"],
"homepage": "https://github.com/{{ githubid }}/grav-plugin-{{ component.name|hyphenize }}",
"license": "MIT",

View file

@ -3,6 +3,7 @@
"name": "{{ githubid|lower }}/{{ component.name|hyphenize }}",
"type": "grav-plugin",
"description": "{{ component.description }}",
"version": "1.0.0",
"keywords": ["plugin"],
"homepage": "https://github.com/{{ githubid }}/grav-plugin-{{ component.name|hyphenize }}",
"license": "MIT",

View file

@ -1,6 +1,6 @@
# {{ component.name|titleize }} Theme
The **{{ component.name|titleize }}** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
The **{{ component.name|titleize }}** Theme is for [Grav CMS](https://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
## Description

View file

@ -1,6 +1,6 @@
# {{ component.name|titleize }} Theme
The **{{ component.name|titleize }}** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
The **{{ component.name|titleize }}** Theme is for [Grav CMS](https://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
## Description

View file

@ -1,6 +1,6 @@
# {{ component.name|titleize }} Theme
The **{{ component.name|titleize }}** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
The **{{ component.name|titleize }}** Theme is for [Grav CMS](https://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
## Description

View file

@ -12,14 +12,14 @@
},
"dependencies": {},
"devDependencies": {
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/typography": "^0.5.2",
"alpinejs": "^2.8.2",
"browser-sync": "^2.27.7",
"@tailwindcss/forms": "^0.5.4",
"@tailwindcss/typography": "^0.5.9",
"alpinejs": "^3.12.3",
"browser-sync": "^2.29.3",
"browser-sync-webpack-plugin": "^2.3.0",
"laravel-mix": "^6.0.43",
"mix-tailwindcss": "^1.3.0",
"tailwindcss": "^3.0.18",
"tailwindcss": "^3.3.3",
"tailwindcss-debug-screens": "^2.2.1"
}
}

View file

@ -19,7 +19,7 @@
{% endblock %}
{% block javascripts %}
{% do assets.addJs('theme://dist/js/main' ~ extension ~ '.js', 98) %}
{% do assets.addJs('theme://dist/js/main' ~ extension ~ '.js', { loading: 'defer' }) %}
{% endblock %}
{% block assets deferred %}
@ -55,7 +55,7 @@
{% block footer %}
<div class="footer text-center">
<div class="">
<p><a href="http://getgrav.org">Grav</a>, by <a href="https://trilby.media">Trilby Media, LLC</a>.</p>
<p><a href="https://getgrav.org">Grav</a>, by <a href="https://trilby.media">Trilby Media, LLC</a>.</p>
</div>
</div>
{% endblock %}

View file

@ -1,6 +1,6 @@
# {{ component.name|titleize }} Theme
The **{{ component.name|titleize }}** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
The **{{ component.name|titleize }}** Theme is for [Grav CMS](https://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
## Description

View file

@ -55,7 +55,7 @@
{% block footer %}
<div class="footer text-center">
<div class="">
<p><a href="http://getgrav.org">Grav</a>, by <a href="https://trilby.media">Trilby Media, LLC</a>.</p>
<p><a href="https://getgrav.org">Grav</a>, by <a href="https://trilby.media">Trilby Media, LLC</a>.</p>
</div>
</div>
{% endblock %}