Skip to content

Commit

Permalink
fix build error - add opf command (#17616)
Browse files Browse the repository at this point in the history
CXSPA-3717
  • Loading branch information
FollowTheFlo authored Jul 7, 2023
1 parent 20a3f6d commit 54386f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
OpfPaymentError,
PaymentErrorType,
defaultError,
} from '../../root/model/opf-payment-error.model';
} from '@spartacus/opf/base/root';

@Injectable({ providedIn: 'root' })
export class OpfPaymentErrorHandlerService {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"build:schematics": "npm --prefix projects/schematics run build",
"build:setup": "nx build setup --configuration production",
"build:ssr": "env-cmd --no-override -e dev,b2c,$SPA_ENV nx run storefrontapp:server:production",
"build:ssr:opf": "env-cmd --no-override -e opf,b2c,$SPA_ENV nx run storefrontapp:server:production",
"build:ssr:ci": "env-cmd -e ci,b2c,$SPA_ENV nx run storefrontapp:server:production",
"build:storefinder": "npm --prefix feature-libs/storefinder run build:schematics && nx build storefinder --configuration production",
"build:smartedit": "npm --prefix feature-libs/smartedit run build:schematics && nx build smartedit --configuration production",
Expand Down Expand Up @@ -85,7 +86,7 @@
"test:storefront:lib": "nx test storefrontlib --source-map --code-coverage",
"test:opf:lib": "nx test opf --source-map --code-coverage",
"dev:ssr": "env-cmd --no-override -e dev,b2c,$SPA_ENV cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 nx run storefrontapp:serve-ssr",
"dev:opf:ssr": "env-cmd --no-override -e opf,b2c,$SPA_ENV cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 nx run storefrontapp:serve-ssr",
"dev:ssr:opf": "env-cmd --no-override -e opf,b2c,$SPA_ENV cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 nx run storefrontapp:serve-ssr",
"serve:ssr": "node dist/storefrontapp-server/main.js",
"serve:ssr:ci": "NODE_TLS_REJECT_UNAUTHORIZED=0 SSR_TIMEOUT=0 node dist/storefrontapp-server/main.js",
"serve:ssr:dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 node dist/storefrontapp-server/main.js",
Expand Down

0 comments on commit 54386f6

Please sign in to comment.