Skip to content

Commit

Permalink
Iconography - Configurable Icon Sets
Browse files Browse the repository at this point in the history
Change Details
--------------
This set of changes allows for icon-sets to be configure on per-project basis. A schema and JSON file can be used to register icons quickly and easily, or filters for more dynamic registration
  • Loading branch information
jdamner committed May 31, 2024
1 parent d2ea92f commit 4c02dec
Show file tree
Hide file tree
Showing 28 changed files with 80,365 additions and 10,444 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true§
6 changes: 6 additions & 0 deletions bin/start
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

./bin/composer install
docker-compose up -d wordpress
./bin/npm install
./bin/npm run start
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
}
],
"require": {
"swaggest/json-schema": "^0.12",
"symfony/validator": "^7.0 || ^6.0"
},
"scripts": {
Expand All @@ -44,6 +45,10 @@
"Boxuk\\BoxWpEditorTools\\": [
"packages/editor-tools/src",
"plugins/editor-tools/src/"
],
"Boxuk\\Iconography\\": [
"packages/iconography/includes/",
"plugins/iconography/includes/"
]
}
},
Expand Down
5 changes: 5 additions & 0 deletions docker/wordpress/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
FROM wordpress:6.5.3

COPY ./wp-config.php /var/www/html/wp-config.php
COPY ./db.php /var/www/html/wp-content/db.php
COPY ./mu-plugins /var/www/html/wp-content/mu-plugins
COPY ./themes /var/www/html/wp-content/themes
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions packages/iconography/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,25 @@
"szepeviktor/phpstan-wordpress": "^1.3"
},
"scripts": {
"phpunit": "phpunit",
"phpstan": "phpstan analyse --memory-limit=1G",
"phpcs": "phpcs",
"phpcbf": "phpcbf"
},
"phpunit": "phpunit",
"phpstan": "phpstan analyse --memory-limit=1G",
"phpcs": "phpcs",
"phpcbf": "phpcbf"
},
"authors": [
{
"name": "BoxUK",
"email": "developers@boxuk.com"
}
],
"require": {},
"autoload": {
"psr-4": {
"Boxuk\\Iconography\\": "includes/"
}
},
"require": {
"swaggest/json-schema": "^0.12"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
Expand Down
Loading

0 comments on commit 4c02dec

Please sign in to comment.