Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Tests (Code Quality & E2E Cypress)

on:
pull_request:
branches:
- release
pull_request

jobs:
check-code-quality:
Expand Down
4 changes: 3 additions & 1 deletion assets/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.yarn
node_modules
stats.html
stats.html
src/**/*.js
vite.base.js
102 changes: 51 additions & 51 deletions assets/package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"type": "module",
"scripts": {
"integrations:dev": "vite --config src/integrations/vite.config.ts",
"integrations:build": "vite build --config src/integrations/vite.config.ts",
"settings:dev": "vite --config src/settings/vite.config.ts",
"settings:build": "vite build --config src/settings/vite.config.ts",
"build": "npm-run-all '*:build'",
"lint:check": "eslint src",
"lint:fix": "eslint src --fix",
"prettier:check": "prettier src --check",
"prettier:fix": "prettier src --write"
},
"packageManager": "yarn@4.5.3+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90",
"dependencies": {
"@polkadot/util": "^13.2.3",
"@prosopo/keyring": "^2.4.2",
"deepmerge": "^4.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@iconify-json/eos-icons": "^1.2.1",
"@iconify-json/material-symbols": "^1.2.8",
"@iconify/tailwind4": "^1.0.6",
"@tailwindcss/vite": "^4.0.10",
"@types/jquery": "^3.5.32",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"eslint": "^8.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"prettier": "^3.4.1",
"rollup-plugin-visualizer": "^5.14.0",
"sass": "^1.81.0",
"tailwindcss": "^4.0.10",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^5.4.11",
"vite-plugin-checker": "^0.9.1"
}
"type": "module",
"scripts": {
"integrations:dev": "vite --config src/integrations/vite.config.ts",
"integrations:build": "vite build --config src/integrations/vite.config.ts",
"settings:dev": "vite --config src/settings/vite.config.ts",
"settings:build": "vite build --config src/settings/vite.config.ts",
"build": "npm-run-all '*:build'",
"lint:check": "eslint src",
"lint:fix": "eslint src --fix",
"prettier:check": "prettier src --check",
"prettier:fix": "prettier src --write"
},
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8",
"dependencies": {
"@prosopo/keyring": "^2.9.0",
"deepmerge": "^4.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite-plugin-node-polyfills": "^0.25.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@iconify-json/eos-icons": "^1.2.1",
"@iconify-json/material-symbols": "^1.2.8",
"@iconify/tailwind4": "^1.0.6",
"@tailwindcss/vite": "^4.0.10",
"@types/jquery": "^3.5.32",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"eslint": "^8.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"prettier": "^3.4.1",
"rollup-plugin-visualizer": "^5.14.0",
"sass": "^1.81.0",
"tailwindcss": "^4.0.10",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^5.4.11",
"vite-plugin-checker": "^0.9.1"
}
}
6 changes: 3 additions & 3 deletions assets/src/integration/connector/IntegrationConnector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { WebComponentRegistrar } from "#webComponent/webComponentRegistrar.js";
import type LoggerFactory from "#logger/loggerFactory.js";
import type PluginModuleLogger from "#logger/plugin/pluginModuleLogger.js";
import { WebComponentRegistrar } from "../../utils/webComponent/webComponentRegistrar.js";
import type LoggerFactory from "../../utils/logger/loggerFactory.js";
import type PluginModuleLogger from "../../utils/logger/plugin/pluginModuleLogger.js";
import type { Integration } from "#integration/integration.js";

class IntegrationConnector {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { WebComponentRegistrar } from "#webComponent/webComponentRegistrar.js";
import { WebComponentRegistrar } from "../../utils/webComponent/webComponentRegistrar.js";
import { IntegrationConnector } from "#integration/connector/IntegrationConnector.js";
import LoggerFactory from "#logger/loggerFactory.js";
import PluginModuleLogger from "#logger/plugin/pluginModuleLogger.js";
import LoggerFactory from "../../utils/logger/loggerFactory.js";
import PluginModuleLogger from "../../utils/logger/plugin/pluginModuleLogger.js";

function createIntegrationConnector(): IntegrationConnector {
const loggerFactory = new LoggerFactory();
Expand Down
6 changes: 3 additions & 3 deletions assets/src/integration/integration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type Logger from "#logger/logger.js";
import type { WebComponent } from "#webComponent/webComponent.js";
import type { WebComponentSettings } from "#webComponent/webComponentSettings.js";
import type Logger from "../utils/logger/logger.js";
import type { WebComponent } from "../utils/webComponent/webComponent.js";
import type { WebComponentSettings } from "../utils/webComponent/webComponentSettings.js";

interface Integration {
name: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { createIntegrationConnector } from "#integration/connector/integrationConnectorFactory.js";
import type { Integration } from "#integration/integration.js";
import type Logger from "#logger/logger.js";
import type { WebComponent } from "#webComponent/webComponent.js";
import type { WebComponentSettings } from "#webComponent/webComponentSettings.js";
import type Logger from "../../../utils/logger/logger.js";
import type { WebComponent } from "../../../utils/webComponent/webComponent.js";
import type { WebComponentSettings } from "../../../utils/webComponent/webComponentSettings.js";
import { BeaverBuilderIntegrationComponent } from "#integrations/plugins/beaver-builder/beaverBuilderIntegrationComponent.js";

const integrationConnector = createIntegrationConnector();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WebComponent } from "#webComponent/webComponent.js";
import Logger from "#logger/logger.js";
import { WebComponent } from "../../../utils/webComponent/webComponent.js";
import Logger from "../../../utils/logger/logger.js";

class BeaverBuilderIntegrationComponent implements WebComponent {
private readonly logger: Logger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { createIntegrationConnector } from "#integration/connector/integrationConnectorFactory.js";
import type { Integration } from "#integration/integration.js";
import type Logger from "#logger/logger.js";
import type { WebComponent } from "#webComponent/webComponent.js";
import type Logger from "../../../utils/logger/logger.js";
import type { WebComponent } from "../../../utils/webComponent/webComponent.js";
import { NinjaFormsIntegrationComponent } from "#integrations/plugins/ninja-forms/ninjaFormsIntegrationComponent.js";
import type { WebComponentSettings } from "#webComponent/webComponentSettings.js";
import type { WebComponentSettings } from "../../../utils/webComponent/webComponentSettings.js";

const integrationConnector = createIntegrationConnector();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WebComponent } from "#webComponent/webComponent.js";
import Logger from "#logger/logger.js";
import { WebComponent } from "../../../utils/webComponent/webComponent.js";
import Logger from "../../../utils/logger/logger.js";

declare global {
interface Window {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WebComponent } from "#webComponent/webComponent.js";
import type Logger from "#logger/logger.js";
import { WebComponent } from "../../../utils/webComponent/webComponent.js";
import type Logger from "../../../utils/logger/logger.js";

declare global {
interface Window {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createIntegrationConnector } from "#integration/connector/integrationConnectorFactory.js";
import type Logger from "#logger/logger.js";
import type Logger from "../../../utils/logger/logger.js";
import { WooBlocksCheckoutIntegrationComponent } from "#integrations/plugins/woocommerce/wooBlocksCheckoutIntegrationComponent.js";
import type { Integration } from "#integration/integration.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Logger from "#logger/logger.js";
import { WebComponent } from "#webComponent/webComponent.js";
import Logger from "../../utils/logger/logger.js";
import { WebComponent } from "../../utils/webComponent/webComponent.js";

class FormIntegrationComponent implements WebComponent {
private readonly logger: Logger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createIntegrationConnector } from "#integration/connector/integrationConnectorFactory.js";
import type { Integration } from "#integration/integration.js";
import type Logger from "#logger/logger.js";
import type Logger from "../../utils/logger/logger.js";
import FormIntegrationComponent from "#integrations/procaptcha/formIntegrationComponent.js";
import WidgetIntegrationComponent from "#integrations/procaptcha/widgetIntegrationComponent.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WebComponent } from "#webComponent/webComponent.js";
import type Logger from "#logger/logger.js";
import { WebComponent } from "../../utils/webComponent/webComponent.js";
import type Logger from "../../utils/logger/logger.js";

declare global {
interface Window {
Expand Down
6 changes: 0 additions & 6 deletions assets/src/settings/account/account.ts

This file was deleted.

9 changes: 0 additions & 9 deletions assets/src/settings/account/accountSchema.ts

This file was deleted.

5 changes: 0 additions & 5 deletions assets/src/settings/account/accountTiers.ts

This file was deleted.

43 changes: 0 additions & 43 deletions assets/src/settings/account/api/accountApiCredentials.ts

This file was deleted.

8 changes: 0 additions & 8 deletions assets/src/settings/account/api/accountApiResolver.ts

This file was deleted.

Loading