Skip to content

Commit

Permalink
fix: Update schematics
Browse files Browse the repository at this point in the history
Closes: CXSPA-4396
  • Loading branch information
Matejk00 authored Nov 7, 2023
1 parent 44c1008 commit c41fbd4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion integration-libs/opf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spartacus/opf",
"version": "6.3.0-1",
"version": "6.6.0-1",
"description": "SAP Open Payment Framework integration library for Spartacus",
"keywords": [
"spartacus",
Expand Down
7 changes: 1 addition & 6 deletions projects/schematics/src/add-spartacus/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"Digital-Payments",
"EPD-Visualization",
"OPF-Checkout",
"OPF-Base",
"Customer-Ticketing",
"Administration",
"Order-Approval",
Expand Down Expand Up @@ -146,11 +145,7 @@
},
{
"value": "OPF-Checkout",
"label": "OPF - Checkout Integration"
},
{
"value": "OPF-Base",
"label": "OPF - Base Integration"
"label": "Open Payment Framework Checkout Integration"
},
{
"value": "Administration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const OPF_CHECKOUT_SCHEMATICS_CONFIG: SchematicConfig = {
scssFileName: OPF_SCSS_FILE_NAME,
importStyle: SPARTACUS_OPF,
},
dependencyFeatures: [CHECKOUT_BASE_FEATURE_NAME],
dependencyFeatures: [CHECKOUT_BASE_FEATURE_NAME, OPF_BASE_FEATURE_NAME],
importAfter: [
{
markerModuleName: CHECKOUT_BASE_MODULE,
Expand Down
4 changes: 2 additions & 2 deletions projects/schematics/src/shared/schematics-config-mappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import { SchematicsException } from '@angular-devkit/schematics';
import {
ASM_SCHEMATICS_CONFIG,
ASM_CUSTOMER_360_SCHEMATICS_CONFIG,
ASM_SCHEMATICS_CONFIG,
} from './lib-configs/asm-schematics-config';
import {
CART_BASE_SCHEMATICS_CONFIG,
Expand Down Expand Up @@ -136,8 +136,8 @@ export const SCHEMATICS_CONFIGS: SchematicConfig[] = [

S4OM_SCHEMATICS_CONFIG,

OPF_CHECKOUT_SCHEMATICS_CONFIG,
OPF_BASE_SCHEMATICS_CONFIG,
OPF_CHECKOUT_SCHEMATICS_CONFIG,

SEGMENT_REFS_SCHEMATICS_CONFIG,
];
Expand Down
4 changes: 2 additions & 2 deletions projects/schematics/src/shared/utils/graph-utils_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ describe('Graph utils', () => {
"Personalization",
"TMS-AEPL",
"TMS-GTM",
"OPF-Base",
"OPF-Checkout",
"PDF-Invoices",
"Requested-Delivery-Date",
"Organization-User-Registration",
Expand All @@ -187,8 +189,6 @@ describe('Graph utils', () => {
"ASM",
"ASM-Customer-360",
"Segment-Refs",
"OPF-Base",
"OPF-Checkout",
"S4HANA-Order-Management",
"EPD-Visualization",
"Digital-Payments",
Expand Down

0 comments on commit c41fbd4

Please sign in to comment.