Skip to content

Commit

Permalink
Merge pull request #6186 from reactioncommerce/refactor-kieckhafer-mo…
Browse files Browse the repository at this point in the history
…veAddressValidationPlugin

refactor: move address-validation service and address-validation-test plugin to npm
  • Loading branch information
Maria Paktiti authored Apr 13, 2020
2 parents f3511ae + c88db81 commit 202a340
Show file tree
Hide file tree
Showing 37 changed files with 7,809 additions and 20,065 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: "./node_modules/@reactioncommerce/api-utils/lib/configs/eslintrc.cjs"
};
2 changes: 2 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const externalNodeModules = [
"@reactioncommerce/api-utils",
"@reactioncommerce/db-version-check",
"@reactioncommerce/api-plugin-accounts",
"@reactioncommerce/api-plugin-address-validation",
"@reactioncommerce/api-plugin-address-validation-test",
"@reactioncommerce/plugin-authentication",
"@reactioncommerce/plugin-discount-codes",
"@reactioncommerce/plugin-navigation",
Expand Down
26,662 changes: 7,725 additions & 18,937 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 3 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"dependencies": {
"@apollo/federation": "^0.12.0",
"@reactioncommerce/api-plugin-accounts": "~1.2.0",
"@reactioncommerce/api-utils": "~1.7.0",
"@reactioncommerce/api-plugin-address-validation": "~1.3.0",
"@reactioncommerce/api-plugin-address-validation-test": "~1.0.0",
"@reactioncommerce/api-utils": "~1.9.0",
"@reactioncommerce/db-version-check": "~1.0.0",
"@reactioncommerce/file-collections": "~0.7.0",
"@reactioncommerce/file-collections-sa-gridfs": "~0.1.0",
Expand Down Expand Up @@ -118,32 +120,6 @@
"docs": "jsdoc . --configure .reaction/jsdoc/jsdoc.json --readme .reaction/jsdoc/templates/static/README.md",
"version": "echo $npm_package_version"
},
"eslintConfig": {
"extends": "@reactioncommerce",
"settings": {
"react": {
"version": "detect"
}
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"es6": true,
"jasmine": true
},
"rules": {
"node/no-missing-import": "off",
"node/no-missing-require": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unpublished-import": "off",
"node/no-unpublished-require": "off"
}
},
"prettier": {
"arrowParens": "always"
},
Expand Down
20 changes: 0 additions & 20 deletions src/core-services/address/i18n/en.json

This file was deleted.

10 changes: 0 additions & 10 deletions src/core-services/address/i18n/index.js

This file was deleted.

39 changes: 0 additions & 39 deletions src/core-services/address/index.js

This file was deleted.

34 changes: 0 additions & 34 deletions src/core-services/address/mutations/createAddressValidationRule.js

This file was deleted.

25 changes: 0 additions & 25 deletions src/core-services/address/mutations/deleteAddressValidationRule.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/core-services/address/mutations/index.js

This file was deleted.

50 changes: 0 additions & 50 deletions src/core-services/address/mutations/updateAddressValidationRule.js

This file was deleted.

23 changes: 0 additions & 23 deletions src/core-services/address/policies.json

This file was deleted.

27 changes: 0 additions & 27 deletions src/core-services/address/queries/addressValidation.js

This file was deleted.

19 changes: 0 additions & 19 deletions src/core-services/address/queries/addressValidationRules.js

This file was deleted.

14 changes: 0 additions & 14 deletions src/core-services/address/queries/addressValidationServices.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/core-services/address/queries/index.js

This file was deleted.

Loading

0 comments on commit 202a340

Please sign in to comment.