-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add Gulp task for plugin readme * Add Gulp task for CSS
- Loading branch information
Ned Zimmerman
authored
Jun 6, 2019
1 parent
4b6735e
commit 1953564
Showing
14 changed files
with
1,951 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Changelog # | ||
## 0.7.0 ## | ||
* Add fields for image and video attribution (#32): #33 | ||
* Add Gulp tasks for CSS build and readme to Markdown (#31): #34 | ||
|
||
## 0.6.0 ## | ||
* Rename plugin: #16 | ||
* Add configuration for automatic deployment: #18 | ||
* Update dependencies: #21, #22, #23, #25, #26 | ||
* Add metadata fields and taxonomies to people (#27): #28 | ||
* Unregister unnecessary blocks: #29 | ||
* Add descriptions to event fields (#14): #30 | ||
|
||
## 0.5.0 ## | ||
* Add thumbnail support to events and people: #13 | ||
|
||
## 0.4.0 ## | ||
* Configure CI (resolve #10) | ||
* Change event slug | ||
|
||
## 0.3.2 ## | ||
* Update license | ||
|
||
## 0.3.1 ## | ||
* Normalize composer.json | ||
* Clean up package.json | ||
|
||
## 0.3.0 ## | ||
* Remove unused post types | ||
* Make events hierarchical | ||
* Refine event metadata, add experimental event meta block (unused) | ||
|
||
## 0.2.0 ## | ||
* Rebuild dynamic blocks in JavaScript | ||
* Register custom fields using CMB2 instead of ACF | ||
|
||
## 0.1.0 ## | ||
* Add dynamic blocks using ACF Blocks utility | ||
* Scaffold initial post types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Frequently Asked Questions # | ||
None yet. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,34 @@ | ||
# PCC Framework # | ||
**Contributors:** [greatislander](https://profiles.wordpress.org/greatislander) | ||
**Tags:** blocks, custom post types | ||
**License:** BSD 3-Clause "New" License | ||
**License URI:** https://opensource.org/licenses/BSD-3-Clause | ||
**Requires at least:** 5.2.1 | ||
**Tested up to:** 5.2.1 | ||
**Stable tag:** 0.6.0 | ||
|
||
Utilities, custom post types and blocks for the Platform Cooperativism Consortium website. | ||
|
||
## Description ## | ||
|
||
Utilities, custom post types and blocks for the Platform Cooperativism Consortium website. | ||
|
||
## Installation ## | ||
|
||
1. Upload the plugin zip file via the Plugins panel in WordPress. | ||
2. Activate the plugin. | ||
3. There is no step three. | ||
Utilities, blocks, custom post types, and taxonomies for the Platform Cooperativism Consortium website. | ||
|
||
## Frequently Asked Questions ## | ||
## Description ## | ||
|
||
None yet. | ||
This plugin adds the following custom components for the Platform Cooperativism Consortium: | ||
|
||
## Changelog ## | ||
### 0.7.0 ### | ||
* Add fields for image and video attribution (#32): #33 | ||
Blocks: | ||
|
||
### 0.6.0 ### | ||
* Rename plugin: #16 | ||
* Add configuration for automatic deployment: #18 | ||
* Update dependencies: #21, #22, #23, #25, #26 | ||
* Add metadata fields and taxonomies to people (#27): #28 | ||
* Unregister unnecessary blocks: #29 | ||
* Add descriptions to event fields (#14): #30 | ||
* Child Pages | ||
* Social Links | ||
|
||
### 0.5.0 ### | ||
* Add thumbnail support to events and people: #13 | ||
Custom Post Types: | ||
|
||
### 0.4.0 ### | ||
* Configure CI (resolve #10) | ||
* Change event slug | ||
* Events | ||
* People | ||
|
||
### 0.3.2 ### | ||
* Update license | ||
Custom Taxonomies: | ||
|
||
### 0.3.1 ### | ||
* Normalize composer.json | ||
* Clean up package.json | ||
* Roles | ||
* Topics | ||
|
||
### 0.3.0 ### | ||
* Remove unused post types | ||
* Make events hierarchical | ||
* Refine event metadata, add experimental event meta block (unused) | ||
## Installation ## | ||
|
||
### 0.2.0 ### | ||
* Rebuild dynamic blocks in JavaScript | ||
* Register custom fields using CMB2 instead of ACF | ||
1. Upload the plugin zip file via the Plugins panel in WordPress. | ||
2. Activate the plugin. | ||
3. There is no step three. | ||
|
||
### 0.1.0 ### | ||
* Add dynamic blocks using ACF Blocks utility | ||
* Scaffold initial post types | ||
|
||
## Upgrade Notice ## | ||
|
||
### 0.6.0 ### | ||
The plugin has been renamed to pcc-framework. Removing and reinstalling is recommended. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
const { src, dest, parallel } = require( 'gulp' ); | ||
const autoprefixer = require( 'autoprefixer' ); | ||
const cssnano = require( 'cssnano' ); | ||
const postcss = require( 'gulp-postcss' ); | ||
const readme = require( 'gulp-readme-to-markdown' ); | ||
|
||
function css() { | ||
const plugins = [ | ||
autoprefixer(), | ||
cssnano(), | ||
]; | ||
return src( './src/*.css' ) | ||
.pipe( postcss( plugins ) ) | ||
.pipe( dest( './build' ) ); | ||
} | ||
|
||
function readmeToMarkdown() { | ||
return src( [ 'readme.txt' ] ) | ||
.pipe( readme( { | ||
details: false, | ||
screenshot_ext: [ 'jpg', 'jpg', 'png' ], | ||
extract: { | ||
changelog: 'CHANGELOG', | ||
'Frequently Asked Questions': 'FAQ', | ||
}, | ||
} ) ) | ||
.pipe( dest( '.' ) ); | ||
} | ||
|
||
exports.css = css; | ||
exports.readme = readmeToMarkdown; | ||
exports.default = parallel( css ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ function register_block_assets() | |
'wp-blocks', | ||
'wp-components' | ||
], | ||
false, | ||
PCC_FRAMEWORK_VERSION, | ||
true | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.