Skip to content

Commit

Permalink
feat(address lookup): add Postcode API support (#16)
Browse files Browse the repository at this point in the history
* init address-lookup package

* include .jest.js files for jest eslint override

* add eslint changeset

* add address lookup package

* run eslint
  • Loading branch information
pandu-supriyono committed Apr 6, 2023
1 parent 73e306d commit fd5c04d
Show file tree
Hide file tree
Showing 16 changed files with 1,444 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-wolves-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@form-wizard-framework/eslint-config": major
---

adds .jest.js files to also use the same eslint rules for test files
5 changes: 5 additions & 0 deletions .changeset/thick-vans-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@form-wizard-framework/address-lookup": patch
---

add support for Postcode API
114 changes: 112 additions & 2 deletions package-lock.json

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

5 changes: 5 additions & 0 deletions packages/adress-lookup/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = {
extends: ['@form-wizard-framework/eslint-config'],
};
5 changes: 5 additions & 0 deletions packages/adress-lookup/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = {
nl: require('./lib/nl'),
};
6 changes: 6 additions & 0 deletions packages/adress-lookup/lib/nl/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
validators: require('./validators'),
postcodeApi: require('./postcode-api'),
};
6 changes: 6 additions & 0 deletions packages/adress-lookup/lib/nl/postcode-api/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
mixin: require('./mixin'),
model: require('./model'),
};
Loading

0 comments on commit fd5c04d

Please sign in to comment.