From 953230a2e17a596619458a91005238c61f303848 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Fri, 28 Jul 2023 10:23:28 -0400 Subject: [PATCH 1/2] rollback ecommerce module to 0.9.2 needs to stay locked here until the UI is updated to match --- composer.json | 2 +- composer.lock | 14 ++-- package-lock.json | 124 ++++--------------------------- package.json | 2 +- src/app/pages/ecommerce/index.js | 1 + 5 files changed, 25 insertions(+), 118 deletions(-) diff --git a/composer.json b/composer.json index b698e63f..4225c90a 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ "doctrine/inflector": "1.2.0 as 1.3.1", "newfold-labs/wp-module-coming-soon": "^1.1.3", "newfold-labs/wp-module-data": "^2.4.1", - "newfold-labs/wp-module-ecommerce": "1.0.8", + "newfold-labs/wp-module-ecommerce": "0.9.2", "newfold-labs/wp-module-loader": "^1.0.10", "newfold-labs/wp-module-marketplace": "^1.5.1", "newfold-labs/wp-module-notifications": "^1.1.2", diff --git a/composer.lock b/composer.lock index 27538ed2..4b43b91f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "42c00c7bc6723db9f79ccc9551af5556", + "content-hash": "4615d8a75d455043a32dc0b1c9e6d826", "packages": [ { "name": "doctrine/inflector", @@ -265,16 +265,16 @@ }, { "name": "newfold-labs/wp-module-ecommerce", - "version": "v1.0.8", + "version": "v0.9.2", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-ecommerce.git", - "reference": "186007eae047daf590ab97630a37062d7854951f" + "reference": "9cbd2cc0e391952813f024078f833dbe94c4d0ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/186007eae047daf590ab97630a37062d7854951f", - "reference": "186007eae047daf590ab97630a37062d7854951f", + "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/9cbd2cc0e391952813f024078f833dbe94c4d0ab", + "reference": "9cbd2cc0e391952813f024078f833dbe94c4d0ab", "shasum": "" }, "require": { @@ -316,10 +316,10 @@ ], "description": "Brand Agnostic eCommerce Experience", "support": { - "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.0.8", + "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v0.9.2", "issues": "https://github.com/newfold-labs/wp-module-ecommerce/issues" }, - "time": "2023-07-06T16:16:32+00:00" + "time": "2023-07-07T00:44:33+00:00" }, { "name": "newfold-labs/wp-module-installer", diff --git a/package-lock.json b/package-lock.json index 3b4dc387..044e63b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.3", "license": "GPL-2.0-or-later", "dependencies": { - "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v1.0.8", + "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v0.9.2", "@wordpress/compose": "^6.15.0", "@wordpress/dom-ready": "^3.38.0", "@wordpress/element": "^5.15.0", @@ -2402,11 +2402,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@faizaanceg/pandora": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@faizaanceg/pandora/-/pandora-1.1.1.tgz", - "integrity": "sha512-Lzq+VaXWWT7WTQd1mRR+FXDlZFxY9qRHLTF9g9oMMi4a2IL7PP1XfiggpTRcC8UA108w1qoEX1byOhq7rl4RkQ==" - }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -2437,14 +2432,6 @@ "react-dom": "^16 || ^17 || ^18" } }, - "node_modules/@heroicons/react": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.0.18.tgz", - "integrity": "sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==", - "peerDependencies": { - "react": ">= 16" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", @@ -3054,22 +3041,18 @@ "dev": true }, "node_modules/@newfold-labs/wp-module-ecommerce": { - "version": "1.0.6", - "resolved": "git+ssh://git@github.com/newfold-labs/wp-module-ecommerce.git#186007eae047daf590ab97630a37062d7854951f", + "version": "0.9.2", + "resolved": "git+ssh://git@github.com/newfold-labs/wp-module-ecommerce.git#9cbd2cc0e391952813f024078f833dbe94c4d0ab", "license": "GPL-2.0-or-later", "dependencies": { - "@faizaanceg/pandora": "^1.1.1", - "@heroicons/react": "2.0.18", "@reduxjs/toolkit": "1.9.5", "@wordpress/api-fetch": "^3.6.2", "@wordpress/components": "^8.3.2", - "@wordpress/date": "^4.34.0", "@wordpress/element": "^2.8.2", "@wordpress/i18n": "^4.29.0", + "@wordpress/icons": "^9.11.0", "@yoast/ui-library": "3.1.0", - "classnames": "2.3.2", - "moment": "^2.29.4", - "swr": "2.1.5" + "swr": "^1.3.0" } }, "node_modules/@newfold-labs/wp-module-ecommerce/node_modules/@types/react": { @@ -5641,20 +5624,6 @@ "object-assign": "^4.1.1" } }, - "node_modules/@wordpress/date": { - "version": "4.38.0", - "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-4.38.0.tgz", - "integrity": "sha512-++N5KJL/Xo5BLw9+gc2MHgWlHfZnsE26UPW5OJGXNGj5A7kJTjhVLhM/MXi+5Es6oje6w0uMhg6xR9E590Jpmw==", - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/deprecated": "^3.38.0", - "moment": "^2.29.4", - "moment-timezone": "^0.5.40" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { "version": "4.21.0", "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-4.21.0.tgz", @@ -15314,17 +15283,6 @@ "node": "*" } }, - "node_modules/moment-timezone": { - "version": "0.5.43", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz", - "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==", - "dependencies": { - "moment": "^2.29.4" - }, - "engines": { - "node": "*" - } - }, "node_modules/mousetrap": { "version": "1.6.5", "resolved": "https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.5.tgz", @@ -19746,12 +19704,9 @@ } }, "node_modules/swr": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/swr/-/swr-2.1.5.tgz", - "integrity": "sha512-/OhfZMcEpuz77KavXST5q6XE9nrOBOVcBLWjMT+oAE/kQHyE3PASrevXCtQDZ8aamntOfFkbVJp7Il9tNBQWrw==", - "dependencies": { - "use-sync-external-store": "^1.2.0" - }, + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", + "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==", "peerDependencies": { "react": "^16.11.0 || ^17.0.0 || ^18.0.0" } @@ -20492,14 +20447,6 @@ "react": "^16.8.0 || ^17.0.0" } }, - "node_modules/use-sync-external-store": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -23128,11 +23075,6 @@ "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==", "dev": true }, - "@faizaanceg/pandora": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@faizaanceg/pandora/-/pandora-1.1.1.tgz", - "integrity": "sha512-Lzq+VaXWWT7WTQd1mRR+FXDlZFxY9qRHLTF9g9oMMi4a2IL7PP1XfiggpTRcC8UA108w1qoEX1byOhq7rl4RkQ==" - }, "@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -23156,11 +23098,6 @@ "client-only": "^0.0.1" } }, - "@heroicons/react": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.0.18.tgz", - "integrity": "sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==" - }, "@humanwhocodes/config-array": { "version": "0.11.8", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", @@ -23641,21 +23578,17 @@ "dev": true }, "@newfold-labs/wp-module-ecommerce": { - "version": "git+ssh://git@github.com/newfold-labs/wp-module-ecommerce.git#186007eae047daf590ab97630a37062d7854951f", - "from": "@newfold-labs/wp-module-ecommerce@github:newfold-labs/wp-module-ecommerce#v1.0.8", + "version": "git+ssh://git@github.com/newfold-labs/wp-module-ecommerce.git#9cbd2cc0e391952813f024078f833dbe94c4d0ab", + "from": "@newfold-labs/wp-module-ecommerce@github:newfold-labs/wp-module-ecommerce#v0.9.2", "requires": { - "@faizaanceg/pandora": "^1.1.1", - "@heroicons/react": "2.0.18", "@reduxjs/toolkit": "1.9.5", "@wordpress/api-fetch": "^3.6.2", "@wordpress/components": "^8.3.2", - "@wordpress/date": "^4.34.0", "@wordpress/element": "^2.8.2", "@wordpress/i18n": "^4.29.0", + "@wordpress/icons": "^9.11.0", "@yoast/ui-library": "3.1.0", - "classnames": "2.3.2", - "moment": "^2.29.4", - "swr": "2.1.5" + "swr": "^1.3.0" }, "dependencies": { "@types/react": { @@ -25728,17 +25661,6 @@ } } }, - "@wordpress/date": { - "version": "4.38.0", - "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-4.38.0.tgz", - "integrity": "sha512-++N5KJL/Xo5BLw9+gc2MHgWlHfZnsE26UPW5OJGXNGj5A7kJTjhVLhM/MXi+5Es6oje6w0uMhg6xR9E590Jpmw==", - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/deprecated": "^3.38.0", - "moment": "^2.29.4", - "moment-timezone": "^0.5.40" - } - }, "@wordpress/dependency-extraction-webpack-plugin": { "version": "4.21.0", "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-4.21.0.tgz", @@ -33040,14 +32962,6 @@ "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" }, - "moment-timezone": { - "version": "0.5.43", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz", - "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==", - "requires": { - "moment": "^2.29.4" - } - }, "mousetrap": { "version": "1.6.5", "resolved": "https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.5.tgz", @@ -36285,12 +36199,9 @@ } }, "swr": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/swr/-/swr-2.1.5.tgz", - "integrity": "sha512-/OhfZMcEpuz77KavXST5q6XE9nrOBOVcBLWjMT+oAE/kQHyE3PASrevXCtQDZ8aamntOfFkbVJp7Il9tNBQWrw==", - "requires": { - "use-sync-external-store": "^1.2.0" - } + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", + "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==" }, "symbol-tree": { "version": "3.2.4", @@ -36845,11 +36756,6 @@ "resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.2.tgz", "integrity": "sha512-u2qFKtxLsia/r8qG0ZKkbytbztzRb317XCkT7yP8wxL0tZ/CzK2G+WWie5vWvpyeP7+YoPIwbJoIHJ4Ba4k0oQ==" }, - "use-sync-external-store": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==" - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 86785bdf..8b89d7b2 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "srb": "npm run simulate-runner-build" }, "dependencies": { - "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v1.0.8", + "@newfold-labs/wp-module-ecommerce": "github:newfold-labs/wp-module-ecommerce#v0.9.2", "@wordpress/compose": "^6.15.0", "@wordpress/dom-ready": "^3.38.0", "@wordpress/element": "^5.15.0", diff --git a/src/app/pages/ecommerce/index.js b/src/app/pages/ecommerce/index.js index f11b6673..0633f318 100644 --- a/src/app/pages/ecommerce/index.js +++ b/src/app/pages/ecommerce/index.js @@ -11,6 +11,7 @@ import { import "@newfold-labs/wp-module-ecommerce"; import "@newfold-labs/wp-module-ecommerce/crazydomain.css"; +import "@newfold-labs/wp-module-ecommerce/styles.scss"; import "./styles.scss"; const NewfoldECommerce = window.NewfoldECommerce; From f0723a97899b83d3d7520d5a2eab0a1fb6c72a69 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Fri, 28 Jul 2023 16:48:44 -0400 Subject: [PATCH 2/2] version bump --- package.json | 2 +- wp-plugin-crazy-domains.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8b89d7b2..02c495d4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "wp-plugin-crazy-domains", "description": "WordPress plugin that integrates your WordPress site with the Crazy Domains control panel, including performance, security, and update features.", "license": "GPL-2.0-or-later", - "version": "1.0.3", + "version": "1.0.4", "private": true, "author": { "name": "Evan Mullins", diff --git a/wp-plugin-crazy-domains.php b/wp-plugin-crazy-domains.php index 0209c3df..a46c120f 100644 --- a/wp-plugin-crazy-domains.php +++ b/wp-plugin-crazy-domains.php @@ -11,7 +11,7 @@ * Plugin Name: The Crazy Domains Plugin * Plugin URI: https://crazydomains.com * Description: WordPress plugin that integrates a WordPress site with the Crazy Domains control panel, including performance, security, and update features. - * Version: 1.0.3 + * Version: 1.0.4 * Requires at least: 6.0 * Requires PHP: 7.1 * Tested up to: 6.2 @@ -31,7 +31,7 @@ } // Define constants -define( 'CRAZYDOMAINS_PLUGIN_VERSION', '1.0.3' ); +define( 'CRAZYDOMAINS_PLUGIN_VERSION', '1.0.4' ); define( 'CRAZYDOMAINS_PLUGIN_FILE', __FILE__ ); define( 'CRAZYDOMAINS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'CRAZYDOMAINS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );