Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Establish quality standards #20

Merged
merged 4 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[{*.json,*.yml}]
indent_style = space
indent_size = 2
13 changes: 13 additions & 0 deletions .github/workflows/build-test-measure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Build, test & measure

on:
workflow_call:
pull_request:
push:
branches:
['main']

jobs:
call-workflow-build-test-measure:
uses: figuren-theater/code-quality/.github/workflows/build-test-measure.yml@main
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/ft-issue-gardening.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Issue gardening for figuren.theater

on:
issues:
types:
- opened
jobs:
call-workflow-ft-issue-gardening:
uses: figuren-theater/.github/.github/workflows/issue-gardening.yml@main
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/prerelease-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'pre-Release Changelog Update'

on:
workflow_call:
release:
types: [prereleased]

jobs:
call-workflow-update-changelog:
uses: figuren-theater/.github/.github/workflows/prerelease-changelog-update.yml@main
secrets: inherit

19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Draft or update the next release

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target:
# types: [opened, reopened, synchronize]

jobs:
call-workflow-release-drafter:
uses: figuren-theater/.github/.github/workflows/release-drafter.yml@main
secrets: inherit
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/build/
/node_modules
/vendor
*.sql
*.tar.gz
*.zip
/wiki
.vscode

# Generated via bin/transform-readme.php
/readme.txt
/.wp-env.override.json

# misc
.DS_Store
Thumbs.db

# is created during composer install,
# when package is tested
# and not running within ft-platform
/wp-content/
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased](https://github.com/figuren-theater/ft-themes/compare/1.1.0...HEAD)



30 changes: 11 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,18 @@
This is the long desc

* [x] *list closed tracking-issues or `docs` files here*
* [ ] Do you have any [ideas](/issues/new) ?
* [ ] Do you have any [ideas](https://github.com/figuren-theater/ft-themes/issues/new) ?

## Background & Motivation

...

## Install

1. Add this repository to your `composer.json`
```json
"repositories": [
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-themes"
}
]
```

2. Install via command line
```sh
composer require figuren-theater/ft-themes
```
1. Install via command line
```sh
composer require figuren-theater/ft-themes
```

## Usage

Expand Down Expand Up @@ -90,6 +80,8 @@ Figuren_Theater::API\get_...()
## Built with & uses

- [dependabot](/.github/dependabot.yml)
- [code-quality](https://github.com/figuren-theater/code-quality/)
A set of status checks to ensure high and consitent code-quality for the figuren.theater platform.

## Contributing

Expand All @@ -107,18 +99,18 @@ Don't forget to give the project a star! Thanks again!

## Versioning

We use [Semantic Versioning](http://semver.org/) for versioning. For the versions
available, see the [tags on this repository](/tags).
We use [Semantic Versioning](http://semver.org/). For the versions
available, see the [tags on this repository](https://github.com/figuren-theater/ft-themes/tags).

## Authors

- **Carsten Bach** - *Provided idea & code* - [figuren.theater/crew](https://figuren.theater/crew/)

See also the list of [contributors](/contributors)
See also the list of [contributors](https://github.com/figuren-theater/ft-themes/contributors)
who participated in this project.

## License

This project is licensed under the [GPL-3.0-or-later](LICENSE.md), see the [LICENSE](LICENSE) file for
This project is licensed under the **GPL-3.0-or-later**, see the [LICENSE](/LICENSE) file for
details

90 changes: 52 additions & 38 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,82 @@
{
"name": "figuren-theater/ft-themes",
"description": "WordPress Themes usable in the figuren.theater Multisite network.",
"homepage": "https://websites.fuer.figuren.theater",
"type": "metapackage",
"keywords": ["wordpress", "themes", "full-site-editing", "blockthemes"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "figuren.theater",
"email": "[email protected]"
},
{
"name": "Carsten Bach",
"email": "[email protected]",
"homepage": "https://carsten-bach.de",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/figuren-theater/ft-themes/issues",
"source": "https://github.com/figuren-theater/ft-themes"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/figuren-theater/twentytwentytwo-ft-core"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/twentytwenty-ft-core"
},
"license": "GPL-3.0-or-later",
"type": "metapackage",
"keywords": [
"wordpress",
"themes",
"full-site-editing",
"blockthemes"
],
"authors": [
{
"type": "composer",
"url" : "https://wpackagist.org"
"name": "figuren.theater",
"email": "[email protected]"
},
{
"name": "Carsten Bach",
"email": "[email protected]",
"homepage": "https://carsten-bach.de",
"role": "Developer"
}
],
"homepage": "https://websites.fuer.figuren.theater",
"support": {
"email": "[email protected]",
"issues": "https://github.com/figuren-theater/ft-themes/issues",
"source": "https://github.com/figuren-theater/ft-themes"
},
"require": {
"figuren-theater/twentytwentytwo-ft-core": "*",
"figuren-theater/twentytwenty-ft-core": "*",
"figuren-theater/twentytwenty-ft-core": "dev-main",
"figuren-theater/twentytwentytwo-ft-core": "dev-main",
"wpackagist-theme/archeo": "^1.0",
"wpackagist-theme/avant-garde": "^1.2",
"wpackagist-theme/blockbase": "^3.1",
"wpackagist-theme/blockmag": "^1.0",
"wpackagist-theme/bright-mode": "^1.0",
"wpackagist-theme/course": "^1",
"wpackagist-theme/catch-fse": "^1.6",
"wpackagist-theme/course": "^1",
"wpackagist-theme/davis-blocks": "^0.2",
"wpackagist-theme/loudness": "^1",
"wpackagist-theme/miniblock-ooak": "^1.0",
"wpackagist-theme/oaknut":"1.0",
"wpackagist-theme/oaknut": "1.0",
"wpackagist-theme/pacer": "^1.0",
"wpackagist-theme/pendant": "^1.0",
"wpackagist-theme/poe": "^0.4",
"wpackagist-theme/quadrat": "^1.1",
"wpackagist-theme/riverbank": "^1.0",
"wpackagist-theme/sampler": "^1.2",
"wpackagist-theme/skatepark": "^1.0",
"wpackagist-theme/tove": "^0.8",
"wpackagist-theme/twentytwenty": "^2.1",
"wpackagist-theme/twentytwentyone": "^1.7",
"wpackagist-theme/twentytwentytwo": "^1.3",
"wpackagist-theme/twentytwentythree": "^1.0",
"wpackagist-theme/tove": "^0.8",
"wpackagist-theme/twentytwentytwo": "^1.3",
"wpackagist-theme/wabi": "^1.1",
"wpackagist-theme/wei": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.31"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/figuren-theater/twentytwentytwo-ft-core"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/twentytwenty-ft-core"
},
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"config": {
"allow-plugins": {
"composer/installers": true,
"ergebnis/composer-normalize": true
}
}
}
Loading