Skip to content

Commit

Permalink
refactor: move email-smtp plugin to NPM package
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Dobbertin <[email protected]>
  • Loading branch information
aldeed committed Apr 21, 2020
1 parent 07927a4 commit 071f6a7
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 280 deletions.
1 change: 1 addition & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const externalNodeModules = [
"@reactioncommerce/api-plugin-carts",
"@reactioncommerce/api-plugin-catalogs",
"@reactioncommerce/api-plugin-email",
"@reactioncommerce/api-plugin-email-smtp",
"@reactioncommerce/api-plugin-i18n",
"@reactioncommerce/api-plugin-job-queue",
"@reactioncommerce/api-plugin-notifications",
Expand Down
54 changes: 54 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@reactioncommerce/api-plugin-carts": "^1.0.0",
"@reactioncommerce/api-plugin-catalogs": "~1.0.0",
"@reactioncommerce/api-plugin-email": "~1.0.0",
"@reactioncommerce/api-plugin-email-smtp": "~1.0.0",
"@reactioncommerce/api-plugin-i18n": "~1.0.0",
"@reactioncommerce/api-plugin-job-queue": "~1.0.0",
"@reactioncommerce/api-plugin-notifications": "~1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"payments": "./src/core-services/payments/index.js",
"pricing": "./src/plugins/simple-pricing/index.js",
"product": "./src/core-services/product/index.js",
"sMTPEmail": "./src/plugins/email-smtp/index.js",
"sMTPEmail": "@reactioncommerce/api-plugin-email-smtp",
"settings": "@reactioncommerce/api-plugin-settings",
"shipping": "./src/core-services/shipping/index.js",
"shippingRates": "./src/plugins/shipping-rates/index.js",
Expand Down
36 changes: 0 additions & 36 deletions src/plugins/email-smtp/config.js

This file was deleted.

27 changes: 0 additions & 27 deletions src/plugins/email-smtp/index.js

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/plugins/email-smtp/mutations/index.js

This file was deleted.

35 changes: 0 additions & 35 deletions src/plugins/email-smtp/mutations/verifySMTPEmailSettings.js

This file was deleted.

21 changes: 0 additions & 21 deletions src/plugins/email-smtp/mutations/verifySMTPEmailSettings.test.js

This file was deleted.

11 changes: 0 additions & 11 deletions src/plugins/email-smtp/policies.json

This file was deleted.

5 changes: 0 additions & 5 deletions src/plugins/email-smtp/resolvers/Mutation/index.js

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/plugins/email-smtp/resolvers/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/plugins/email-smtp/schemas/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions src/plugins/email-smtp/schemas/schema.graphql

This file was deleted.

11 changes: 0 additions & 11 deletions src/plugins/email-smtp/startup.js

This file was deleted.

42 changes: 0 additions & 42 deletions src/plugins/email-smtp/util/getConfigFromMailUrl.js

This file was deleted.

25 changes: 0 additions & 25 deletions src/plugins/email-smtp/util/sendSMTPEmail.js

This file was deleted.

0 comments on commit 071f6a7

Please sign in to comment.