Skip to content

Commit

Permalink
Merge pull request #195 from newfold-labs/release/3.0.0
Browse files Browse the repository at this point in the history
Release/3.0.0
  • Loading branch information
circlecube authored Nov 15, 2023
2 parents b91623f + 4784d1e commit 8936e94
Show file tree
Hide file tree
Showing 85 changed files with 5,578 additions and 4,085 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-artifact-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down Expand Up @@ -87,9 +87,18 @@ jobs:
- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_ACCESS_TOKEN }}" >> .npmrc

- name: npm install
- name: NPM Install
run: npm install --legacy-peer-deps

- name: Validate WP Versions
if: ${{ (github.repository == 'newfold-labs/wp-plugin-mojo') && (github.event.release.prerelease == false) }}
run: |
wpEnvVersion=`grep "WordPress/WordPress#tags/" .wp-env.json | grep -Eo "[0-9\.]*"`
pluginHeaderTestedVersion=`grep "Tested up to:" wp-plugin-mojo.php | grep -Eo "[0-9\.]*"`
echo "wp-env version: $wpEnvVersion"
echo "Plugin header tested version: $pluginHeaderTestedVersion"
[[ "$wpEnvVersion" == "$pluginHeaderTestedVersion" ]] || exit 1
- name: Build JavaScript
run: npm run build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wp-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@newfold-labs:registry=https://npm.pkg.github.com/
@newfold-labs:registry=https://npm.pkg.github.com/
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"core": "WordPress/WordPress#tags/6.3.2",
"core": "WordPress/WordPress#tags/6.4.1",
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
Expand Down
4 changes: 4 additions & 0 deletions assets/svg/Mojo-M.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 3 additions & 11 deletions assets/svg/default-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 61 additions & 51 deletions assets/svg/loader-balls.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion assets/svg/loader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ function() {
require MOJO_PLUGIN_DIR . '/inc/base.php';
require MOJO_PLUGIN_DIR . '/inc/jetpack.php';
require MOJO_PLUGIN_DIR . '/inc/partners.php';
require MOJO_PLUGIN_DIR . '/inc/performance.php';
require MOJO_PLUGIN_DIR . '/inc/RestApi/CachingController.php';
require MOJO_PLUGIN_DIR . '/inc/RestApi/SettingsController.php';
require MOJO_PLUGIN_DIR . '/inc/RestApi/rest-api.php';
Expand Down
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
}
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"newfold-labs/wp-php-standards": "^1.2",
"wp-cli/i18n-command": "^2.4.3",
"wp-phpunit/wp-phpunit": "^6.3.1"
Expand All @@ -56,13 +57,14 @@
"require": {
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-business-reviews": "^1.1",
"newfold-labs/wp-module-coming-soon": "^1.1.10",
"newfold-labs/wp-module-data": "^2.4.8",
"newfold-labs/wp-module-coming-soon": "^1.1.12",
"newfold-labs/wp-module-data": "^2.4.11",
"newfold-labs/wp-module-deactivation": "^1.0.2",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "1.5.2",
"newfold-labs/wp-module-notifications": "^1.1.5",
"newfold-labs/wp-module-performance": "1.1.1",
"newfold-labs/wp-module-marketplace": "^2.1.0",
"newfold-labs/wp-module-notifications": "^1.2.1",
"newfold-labs/wp-module-performance": "^1.2.2",
"newfold-labs/wp-module-runtime": "^1.0.7",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0.4",
"wp-forge/wp-update-handler": "^1.0",
Expand Down
Loading

0 comments on commit 8936e94

Please sign in to comment.