-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(customer-payment): add support for customer payments (#2344)
* feat: add `@daffodil/customer-payment` * feat: add `@daffodil/customer-payment-authorizenet`
- Loading branch information
Showing
221 changed files
with
6,094 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
module.exports = { | ||
extends: '../../.eslintrc.js', | ||
ignorePatterns: [ | ||
'!**/*' | ||
], | ||
overrides: [ | ||
{ | ||
files: [ | ||
'*.ts' | ||
], | ||
parserOptions: { | ||
project: [ | ||
'libs/customer/tsconfig.lib.json', | ||
'libs/customer/tsconfig.spec.json' | ||
], | ||
createDefaultProgram: true | ||
}, | ||
rules: { | ||
'@angular-eslint/component-class-suffix': [ | ||
'error', | ||
{ | ||
suffixes: [ | ||
'Component' | ||
] | ||
} | ||
], | ||
'@angular-eslint/component-selector': [ | ||
'error', | ||
{ | ||
type: 'element', | ||
prefix: 'lib', | ||
style: 'kebab-case' | ||
} | ||
], | ||
'@angular-eslint/directive-selector': [ | ||
'error', | ||
{ | ||
type: 'attribute', | ||
prefix: 'lib', | ||
style: 'camelCase' | ||
} | ||
], | ||
} | ||
}, | ||
{ | ||
files: [ | ||
'*.html' | ||
], | ||
rules: {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# @daffodil/customer-payment | ||
|
||
`@daffodil/customer-payment` contains the main features required to support customer management in an Angular app. It supports loading a customer and saved payments. | ||
|
||
## Installation | ||
|
||
``` | ||
npm install @daffodil/customer-payment --save | ||
``` |
8 changes: 8 additions & 0 deletions
8
libs/customer-payment-authorizenet/driver/magento/ng-package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json", | ||
"dest": "../../dist/customer-payment-authorizenet/driver/magento", | ||
"deleteDestPath": false, | ||
"lib": { | ||
"entryFile": "src/index.ts" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
libs/customer-payment-authorizenet/driver/magento/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "@daffodil/customer-payment-authorizenet/driver/magento" | ||
} |
Oops, something went wrong.