Skip to content
Closed
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
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ services:
image: schickling/mailcatcher
ports:
- "1080:1080"
- "127.0.0.1:1080:1080"
- "[::1]:1080:1080"

mysql:
image: mariadb:10
ports:
- "3306:3306"
- "127.0.0.1:3306:3306"
- "[::1]:3306:3306"
volumes:
- mysql_data:/var/lib/mysql
environment:
Expand All @@ -21,6 +25,8 @@ services:
image: thedxw/wpc-wordpress:php8.2
ports:
- "80:80"
- "127.0.0.1:80:80"
- "[::1]:80:80"
links:
- mysql
- mailcatcher
Expand Down
18 changes: 18 additions & 0 deletions wp-content/plugins/dxw-card-block/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.{yml,yaml}]
indent_style = space
indent_size = 2
30 changes: 30 additions & 0 deletions wp-content/plugins/dxw-card-block/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of `npm pack`
*.tgz

# Output of `wp-scripts plugin-zip`
*.zip

# dotenv environment variables file
.env
40 changes: 40 additions & 0 deletions wp-content/plugins/dxw-card-block/build/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "dxw/dxw-card-block",
"version": "0.1.0",
"title": "Dxw Card Block",
"category": "theme",
"icon": "index-card",
"description": "Card component that can be used to highlight a particular article or custom content",
"example": {},
"supports": {
"html": true,
"align": [
"wide",
"full"
]
},
"attributes": {
"selectedPost": {
"type": "string"
},
"cardTypePost": {
"type": "boolean",
"default": true
},
"acceptedPostTypes": {
"type": "array",
"default": [
"post",
"page"
]
},
"headingLevel": {
"type": "string",
"default": "h2"
}
},
"textdomain": "dxw/dxw-card-block",
"editorScript": "file:./index.js"
}
1 change: 1 addition & 0 deletions wp-content/plugins/dxw-card-block/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-html-entities', 'wp-i18n'), 'version' => '35986c35823144925d27');
10 changes: 10 additions & 0 deletions wp-content/plugins/dxw-card-block/build/index.css

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

1 change: 1 addition & 0 deletions wp-content/plugins/dxw-card-block/build/index.css.map

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

Loading
Loading