Skip to content

Commit 28e3670

Browse files
authored
Merge pull request #1008 from WebDevStudios/release/wd_s-v3.5
Release/wd_s v3.5
2 parents b5174a2 + bcea990 commit 28e3670

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+17337
-34617
lines changed

.github/CODEOWNERS

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Code Owners
2-
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
2+
3+
## <https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners>
4+
35
* @khleomix

.github/PULL_REQUEST_TEMPLATE.md

+55-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,65 @@
1-
Closes #\_\_
1+
# Closes
22

3-
### DESCRIPTION
3+
<!--
4+
Please do not leave this blank, use this format to link issue numbers:
5+
[#WDS-123](https://webdevstudios.atlassian.net/browse/TICKET-NUMBER)
6+
-->
47

5-
- What did you do? Give us some context...
8+
## What type of PR is this? (put an x to all applicable)
69

7-
### SCREENSHOTS
10+
- [ ] 🍕 Feature
11+
- [ ] 🐛 Bug Fix
12+
- [ ] 📝 Documentation Update
13+
- [ ] 🎨 Style
14+
- [ ] 🧑‍💻 Code Refactor
15+
- [ ] 🔥 Performance Improvements
16+
- [ ] ✅ Test
17+
- [ ] 🤖 Build
18+
- [ ] 🔁 CI
19+
- [ ] 📦 Chore (Release)
20+
- [ ] ⏩ Revert
821

9-
![screenshot](https://dl.dropbox.com/s/8k8xh3tuj3g5340/wd_s-pr-template.jpg?dl=0)
22+
## Link to test
1023

11-
### OTHER
24+
<!--
25+
Please do not leave this blank, use this format to link to testing environment:
26+
[Develop](https://wds.wdslab.com/)
27+
-->
1228

13-
- [ ] Is this issue accessible? (Section 508/WCAG 2.0AA)
14-
- [ ] Does this issue pass all the linting? (PHPCS, ESLint, SassLint)
15-
- [ ] Does this pass CBT?
29+
## Description
1630

17-
### STEPS TO VERIFY
31+
<!--
32+
Please do not leave this blank
33+
This PR [adds/removes/fixes/replaces] the [feature/bug/etc].
34+
-->
1835

19-
How do we test this?
36+
## Related Tickets & Documents
2037

21-
### DOCUMENTATION
38+
<!--
39+
Please use this format link issue numbers: Fixes #WDS-123
40+
https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
41+
-->
2242

23-
Will this pull request require updating the wd_s [wiki](https://github.com/WebDevStudios/wd_s/wiki)?
43+
## Mobile & Desktop Screenshots/Recordings
44+
45+
<!-- Visual changes require screenshots -->
46+
47+
48+
## Added tests?
49+
50+
- [ ] 👍 yes
51+
- [ ] 🙅 no, because they aren't needed
52+
- [ ] 🙋 no, because I need help
53+
54+
## Added to documentation?
55+
56+
- [ ] 📜 README.md
57+
- [ ] 📓 [Confluence](https://webdevstudios.atlassian.net/wiki/spaces/wds1/pages/2988474566/Feature+Documentation)
58+
- [ ] 🙅 no documentation needed
59+
60+
## Others
61+
62+
- [ ] 🦮 Is this issue accessible? (Section 508/WCAG 2.0AA)
63+
- [ ] 🙌 Does this issue pass all the linting? (PHPCS, ESLint, SassLint)
64+
65+
## [optional] Are there any post-deployment tasks we need to perform?

.github/workflows/assertions.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x]
16-
php-versions: ['7.4']
15+
node-version: [16.x]
16+
php-versions: ['8.0']
1717

1818
steps:
1919
- name: Checkout repository
@@ -32,8 +32,8 @@ jobs:
3232
with:
3333
node-version: ${{ matrix.node-version }}
3434

35-
- name: Use NPM 7
36-
run: npm i -g npm@7
35+
- name: Use NPM 8
36+
run: npm i -g npm@8
3737

3838
- name: Cache Node dependencies
3939
uses: actions/cache@v2

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [14.x]
17-
php-versions: ['7.4']
16+
node-version: [16.x]
17+
php-versions: ['8.0']
1818

1919
steps:
2020
- name: Checkout repository

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
16

.vscode/settings.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@
77
"editor.defaultFormatter": "esbenp.prettier-vscode"
88
},
99
"intelephense.format.enable": false,
10-
"intelephense.stubs": [ "acf", "wordpress" ]
10+
"intelephense.stubs": [ "acf", "wordpress" ],
11+
12+
"workbench.colorCustomizations": {
13+
"activityBar.background": "#3F4040",
14+
"activityBarBadge.background": "#f3713c",
15+
"activityBarBadge.foreground": "#fff",
16+
"statusBar.background": "#f3713c",
17+
"statusBar.foreground": "#fff"
18+
}
1119
}

CHANGELOG.md

+777
Large diffs are not rendered by default.

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,14 @@ I also support [Selective Refresh](https://make.wordpress.org/core/2016/03/22/im
2727

2828
Not to mention, I use [Browsersync](https://www.browsersync.io/) so you can watch your project update in real-time while you work.
2929

30-
Looking to use some of our custom Gutenberg blocks? It's easy! Add the [WDS Blocks](https://github.com/WebDevStudios/wds-blocks) plugin for a quick starter including our Accordion and Carousel blocks.
31-
32-
Looking to use some of our Advanced Custom Fields Gutenberg Blocks? It's also easy! Add the [WDS ACF Blocks](https://github.com/WebDevStudios/wds-acf-blocks) plugin for a whole set of blocks built with ACF including: Accordion, Carousel, Call To Action, Fifty/Fifty, Hero, Recent Posts, and Related Posts.
33-
3430
## Getting Started
3531

3632
### Prerequisites
3733

3834
Because I compile and bundle assets via NPM scripts, basic knowledge of the command line and the following dependencies are required:
3935

40-
- [Node](https://nodejs.org) (v14+)
41-
- [NPM](https://npmjs.com) (v7+)
36+
- [Node](https://nodejs.org) (v16+)
37+
- [NPM](https://npmjs.com) (v8+)
4238
- [Composer](https://getcomposer.org/)
4339

4440
### Quick Start
@@ -79,7 +75,7 @@ cd /wp-content/themes/your-theme
7975

8076
Install theme dependencies and trigger an initial build.
8177

82-
>Note: You will need to have Composer and NPM 7 installed first.
78+
>Note: You will need to have Composer and NPM 8 installed first.
8379
8480
```bash
8581
npm i --legacy-peer-deps
@@ -96,6 +92,7 @@ Command | Action
9692
`npm run build` | Builds production-ready assets for a deployment
9793
`npm run lint` | Check all CSS, JS, MD, and PHP files for errors
9894
`npm run format` | Fix all CSS, JS, MD, and PHP formatting errors automatically
95+
`npm run report` | Gives detailed information on coding standards violations in PHP code
9996

10097
## Contributing and Support
10198

composer.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"config": {
1313
"platform": {
14-
"php": "7.4"
14+
"php": "8.0"
1515
},
1616
"allow-plugins": {
1717
"composer/installers": true,
@@ -23,15 +23,16 @@
2323
"composer/installers": "^1.5 || ^2.0.0"
2424
},
2525
"require-dev": {
26-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
27-
"paulthewalton/acf-pro-stubs": "5.8.9.1",
28-
"phpcompatibility/phpcompatibility-wp": "^2.1.1",
29-
"wp-cli/wp-cli-bundle": "^2.5.0",
26+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
27+
"php-stubs/acf-pro-stubs": "6.0.6",
28+
"phpcompatibility/phpcompatibility-wp": "^2.1.4",
29+
"wp-cli/wp-cli-bundle": "^2.7.1",
3030
"wp-coding-standards/wpcs": "^2.3.0"
3131
},
3232
"scripts": {
3333
"format": "phpcbf --report=summary,source",
34-
"lint": "phpcs --report=summary,source",
34+
"lint": "phpcs --report=code",
35+
"report": "phpcs --report=info",
3536
"pot": "wp i18n make-pot . build/languages/wd_s.pot --exclude=node_modules,vendor,build --allow-root"
3637
}
3738
}

0 commit comments

Comments
 (0)