-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixed MB/PIB validation for Serbia and other countries
- Loading branch information
Showing
35 changed files
with
1,542 additions
and
1,529 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.php] | ||
indent_size = 4 | ||
|
||
[*.scss] | ||
indent_size = 2 | ||
|
||
[*.js] | ||
indent_size = 2 | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.php] | ||
indent_size = 4 | ||
|
||
[*.scss] | ||
indent_size = 2 | ||
|
||
[*.js] | ||
indent_size = 2 |
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 |
---|---|---|
@@ -1,57 +1,57 @@ | ||
name: Build and release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.wordpress-org/**' | ||
- '.github/workflows/wp-deploy.yml' | ||
- '.github/workflows/wp-assets.yml' | ||
- '.github/scripts/deploy.sh' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.codeclimate.yml' | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 16 | ||
cache: yarn | ||
- name: Cache Composer dependencies | ||
uses: actions/cache@v2.1.6 | ||
with: | ||
path: /tmp/composer-cache | ||
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | ||
- name: Install composer dependencies | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: 7.4 | ||
version: 2 | ||
dev: no | ||
quiet: yes | ||
args: --optimize-autoloader --classmap-authoritative --prefer-dist | ||
- name: Install Yarn dependencies | ||
run: yarn install | ||
- name: Lint | ||
run: yarn lint | ||
- name: Build | ||
run: "yarn build:production" | ||
- name: Release | ||
env: | ||
GIT_AUTHOR_NAME: "oblakbot" | ||
GIT_AUTHOR_EMAIL: "sibin.grasic+bot@oblak.studio" | ||
GIT_COMMITTER_NAME: "oblakbot" | ||
GIT_COMMITTER_EMAIL: 'sibin.grasic+bot@oblak.studio' | ||
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }} | ||
run: yarn run semantic-release | ||
|
||
|
||
name: Build and release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.wordpress-org/**' | ||
- '.github/workflows/wp-deploy.yml' | ||
- '.github/workflows/wp-assets.yml' | ||
- '.github/scripts/deploy.sh' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.codeclimate.yml' | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 16 | ||
cache: yarn | ||
- name: Cache Composer dependencies | ||
uses: actions/cache@v2.1.6 | ||
with: | ||
path: /tmp/composer-cache | ||
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | ||
- name: Install composer dependencies | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: 7.4 | ||
version: 2 | ||
dev: no | ||
quiet: yes | ||
args: --optimize-autoloader --classmap-authoritative --prefer-dist | ||
- name: Install Yarn dependencies | ||
run: yarn install | ||
- name: Lint | ||
run: yarn lint | ||
- name: Build | ||
run: "yarn build:production" | ||
- name: Release | ||
env: | ||
GIT_AUTHOR_NAME: "oblakbot" | ||
GIT_AUTHOR_EMAIL: "sibin.grasic+bot@oblak.studio" | ||
GIT_COMMITTER_NAME: "oblakbot" | ||
GIT_COMMITTER_EMAIL: 'sibin.grasic+bot@oblak.studio' | ||
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }} | ||
run: yarn run semantic-release | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"printWidth": 150, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} | ||
{ | ||
"printWidth": 150, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
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 |
---|---|---|
@@ -1,111 +1,111 @@ | ||
## [1.2.2](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.2.1...v1.2.2) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Added codeclimate file to distignore ([8ca234a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/8ca234ab10fac4a59686b305b9029fe10fe4bb91)) | ||
|
||
## [1.2.1](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.2.0...v1.2.1) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Fixed readme and deploy scripts ([1fb5140](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/1fb5140789aba870c1e0ac2418e87dc6a2c6d4df)) | ||
|
||
# [1.2.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.1.1...v1.2.0) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add null coalesce to avoide PHP notice ([686fc7e](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/686fc7e32a25c3bc14acf34c1d4bc66b8acd7621)) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added workflow for asset release ([1171eac](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/1171eac5f164feafbaf62557894c48298f894c7a)) | ||
* **build:** Added workflow for asset release ([f13524d](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/f13524d76513c9fc792fb2e3ae3943206d591d60)) | ||
|
||
## [1.1.1](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.1.0...v1.1.1) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Added build artefacts to .distignore ([e6fb484](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/e6fb48473f8e241774044e98e6554820c3e2fd27)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# 1.0.0 (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **build:** Fixed build step ([250c0a8](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/250c0a890903574e3ad99dcf00cd2a066a77c16f)) | ||
* **build:** Fixed yarn module resolution ([7026940](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/7026940681b8ef30f05afde746f7dbcd86cc6676)) | ||
* **build:** Tuning build process ([0a1ad42](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/0a1ad423107e1e33613cee78eb69c24a62025d91)) | ||
|
||
|
||
### Features | ||
|
||
* **docs:** Added readme heading ([d71850a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/d71850a7b7106439e70b29e9c2418812c7513f58)) | ||
* Initial Commit ([559892a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/559892a4846d775af20d1d236166cd813b2be284)) | ||
## [1.2.2](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.2.1...v1.2.2) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Added codeclimate file to distignore ([8ca234a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/8ca234ab10fac4a59686b305b9029fe10fe4bb91)) | ||
|
||
## [1.2.1](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.2.0...v1.2.1) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Fixed readme and deploy scripts ([1fb5140](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/1fb5140789aba870c1e0ac2418e87dc6a2c6d4df)) | ||
|
||
# [1.2.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.1.1...v1.2.0) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add null coalesce to avoide PHP notice ([686fc7e](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/686fc7e32a25c3bc14acf34c1d4bc66b8acd7621)) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added workflow for asset release ([1171eac](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/1171eac5f164feafbaf62557894c48298f894c7a)) | ||
* **build:** Added workflow for asset release ([f13524d](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/f13524d76513c9fc792fb2e3ae3943206d591d60)) | ||
|
||
## [1.1.1](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.1.0...v1.1.1) (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Added build artefacts to .distignore ([e6fb484](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/e6fb48473f8e241774044e98e6554820c3e2fd27)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# [1.1.0](https://github.com/oblakstudio/serbian-addons-for-woocommerce/compare/v1.0.0...v1.1.0) (2021-12-18) | ||
|
||
|
||
### Features | ||
|
||
* **build:** Added WP SVN deployment ([6821766](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/6821766aa7b710c4132d9aed7894359c6dcd7d66)) | ||
|
||
# 1.0.0 (2021-12-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **build:** Fixed build step ([250c0a8](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/250c0a890903574e3ad99dcf00cd2a066a77c16f)) | ||
* **build:** Fixed yarn module resolution ([7026940](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/7026940681b8ef30f05afde746f7dbcd86cc6676)) | ||
* **build:** Tuning build process ([0a1ad42](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/0a1ad423107e1e33613cee78eb69c24a62025d91)) | ||
|
||
|
||
### Features | ||
|
||
* **docs:** Added readme heading ([d71850a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/d71850a7b7106439e70b29e9c2418812c7513f58)) | ||
* Initial Commit ([559892a](https://github.com/oblakstudio/serbian-addons-for-woocommerce/commit/559892a4846d775af20d1d236166cd813b2be284)) |
Oops, something went wrong.