Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Restructure dev/css to css/src * Restructure dev/js to js/src * Restructure dev/images to /images * Restructure dev/*.php to /*.php * Restructure dev/style.css to /style.css * Restructure dev/inc to /inc * Restructure dev/template-parts to /template-parts * Restructure dev/pluggable to /pluggable * Restructure dev/config to /config * Restructure dev/tests to /tests * Restructure dev/optional to /optional * Exclude the optional directory from WP_Theme::scandir() Uses the `theme_scandir_exclusions` filter to add `optional` to the array of items ignored by the `WP_Theme::scandir()` method. * Update dev paths * Update .gitignore for new file structure * Update .gitignore for new file structure * Remove dev from paths * Update npm modules * Run bundle in production mode * Only make string replacements if in production * Correct css dest path * Combine css watch tasks * Update some paths for new file structure * Remove jsMin and jsLibs * Remove jsMin and jsLibs gulp tasks * Update PHP task for new dev process Remove the first run and name change conditionals as we are not longer doing string replacements in dev mode. Now we only code sniff in dev mode. * Correct coding standard violations * Update gulp scripts task for new dev process Don't do string replacements in dev mode. Remove verbose file output. * Update gulp scripts task for new dev process Don't do string replacements in dev mode. Remove verbose file output. Inject CSS file changes rather than doing a full reload. * Update main gulpfile for new dev process changes Remove jsMin and jsLibs tasks. Run more tasks in parallel on initial start. * Dynamic CSS file enqeueueing Enqueue all top-level CSS files in `/css`. Add `filemtime` as the file version for busting browser cache. * Move editor styles to subdirectory * Add filemtime as version for JS files and main CSS * Actually use the variable * Move `/css`, `/js` and `/images` into `/assets/` * Don't enqueue style.css * Add .min to processed CSS/JS files * Add global.css Register and enqueue stylesheets separately. Make the list of CSS files to register/enqueue filterable * Remove everything except the required WordPress comment from style.css * Add global CSS source * Only enqueue global styles * Clarify function name and comment * Don't process images in the default dev task * Adjust old /dev paths in .eslintignore, ignore /dev in .gitignore. * Adjust PHPCodeSniffer ruleset to work with new paths. * Fix unit tests setup to work with new paths. * Add newline at end of file for coding standards * Inject styles after renaming files to .min * Add series wrapper around styles task * Update dependencies * Add image processing to the default task Optimize images in `assets/images/src` to `assets/images` to match the directory structure of CSS and JS * First pass at a production build step * Moar production build step * Fix translations * Update dependencies * Use one conditional for prod paths rather than inline ternary * Remove unnecessary gulp 4 warning * Delete test script * Update README with new gulp tasks and directory structure * Only save PHP files when doing the production build * Add devStringReplace gulp task * correct function name * String replace files inline, not destination files * document devStringReplace gulp task * Only code sniff changed PHP files * Add gulp script * Upgrade all npm dependencies. Babel 7 * Remove source string replacement task * Make npm run gulp the default process * Use npm run dev for default task * Remove npm run gulp * Add -- to the start of custom properties and media * Set options in postcssCustomProperties and postcssCustomMedia directly * Removed unused log import
- Loading branch information
Showing
81 changed files
with
4,833 additions
and
6,056 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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
/dev/js/libs/** | ||
/assets/js/libs/** | ||
/node_modules/** | ||
/vendor/** | ||
/js/customizer.js | ||
/js/navigation.js | ||
./dev/config/** | ||
/config/** | ||
|
||
# Because parsing error: 'import' and 'export' may appear only with 'sourceType: module' | ||
/gulpfile.babel.js |
Validating CODEOWNERS rules …
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,21 @@ | ||
{ | ||
"variables": { | ||
"--global-font-color": "#333", | ||
"--global-font-family": "'Crimson Text', serif", | ||
"--global-font-size": "20", | ||
"--global-font-line-height": "1.4", | ||
"--highlight-font-family": "'Roboto Condensed', sans-serif", | ||
"--content-width": "45", | ||
"--dropdown-symbol-width": "0.7em", | ||
"--small-font-size": "16", | ||
"--regular-font-size": "20", | ||
"--large-font-size": "36", | ||
"--larger-font-size": "48" | ||
}, | ||
"queries": { | ||
"--narrow-menu-query": "screen and (max-width: 37.5em)", | ||
"--wide-menu-query": "screen and (min-width: 37.5em)", | ||
"--content-query": "screen and (min-width: 48em)", | ||
"--sidebar-query": "screen and (min-width: 60em)" | ||
} | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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
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.