Skip to content

Commit

Permalink
feat(payments-plugin): Ui extension removal
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Mar 13, 2024
1 parent 887d975 commit e8ae5f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
7 changes: 1 addition & 6 deletions packages/payments-plugin/e2e/mollie-dev-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DefaultSearchPlugin,
LogLevel,
mergeConfig,
RequestContext
RequestContext,
} from '@vendure/core';
import { createTestEnvironment, registerInitializer, SqljsInitializer, testConfig } from '@vendure/testing';
import { compileUiExtensions } from '@vendure/ui-devkit/compiler';
Expand Down Expand Up @@ -46,11 +46,6 @@ async function runMollieDevServer() {
AdminUiPlugin.init({
route: 'admin',
port: 5001,
app: compileUiExtensions({
outputPath: path.join(__dirname, "__admin-ui"),
extensions: [MolliePlugin.uiExtensions],
devMode: true
})
}),
MolliePlugin.init({ vendureHost: tunnel.url }),
],
Expand Down
8 changes: 0 additions & 8 deletions packages/payments-plugin/src/mollie/mollie.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import {
RuntimeVendureConfig,
VendurePlugin,
} from '@vendure/core';
import type { AdminUiExtension } from '@vendure/ui-devkit/compiler';
import * as path from 'path';

import { shopApiExtensions, adminApiExtensions } from './api-extensions';
import { PLUGIN_INIT_OPTIONS } from './constants';
Expand Down Expand Up @@ -222,10 +220,4 @@ export class MolliePlugin {
this.options = options;
return MolliePlugin;
}

static uiExtensions: AdminUiExtension = {
id: 'mollie-extension',
extensionPath: path.join(__dirname, './ui'),
providers: ['providers.ts'],
};
}

0 comments on commit e8ae5f6

Please sign in to comment.