Skip to content

Commit

Permalink
Merge branch 'next' into chore/more-states-sr
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Aug 3, 2023
2 parents f6a089f + 02fc7ca commit 1017a40
Show file tree
Hide file tree
Showing 70 changed files with 460 additions and 305 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = defineConfig({
},
},
{
files: ['test/*.spec.ts'],
files: ['test/**/*.spec.ts'],
extends: ['plugin:vitest/recommended'],
rules: {
'deprecation/deprecation': 'off',
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@
},
"devDependencies": {
"@actions/github": "~5.1.1",
"@algolia/client-search": "~4.18.0",
"@algolia/client-search": "~4.19.1",
"@types/markdown-it": "~12.2.3",
"@types/node": "~20.4.1",
"@types/prettier": "~2.7.3",
"@types/react": "~18.2.15",
"@types/react": "~18.2.17",
"@types/sanitize-html": "~2.9.0",
"@types/semver": "~7.5.0",
"@types/validator": "~13.7.17",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"@typescript-eslint/eslint-plugin": "~6.2.0",
"@typescript-eslint/parser": "~6.2.0",
"@vitest/coverage-v8": "~0.33.0",
"@vitest/ui": "~0.33.0",
"@vueuse/core": "~10.2.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"typescript": "~4.9.5",
"validator": "~13.9.0",
"vite": "~4.4.2",
"vitepress": "1.0.0-beta.5",
"vitepress": "1.0.0-beta.7",
"vitest": "~0.33.0",
"vue": "~3.3.4"
},
Expand Down
262 changes: 141 additions & 121 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scripts/apidoc/typedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function loadProject(
entryPoints: ['src/index.ts'],
pretty: true,
cleanOutputDir: true,
tsconfig: 'tsconfig.build.json',
}
): [Application, ProjectReflection] {
const app = newTypeDocApp();
Expand Down
9 changes: 2 additions & 7 deletions src/locales/mk/location/city_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ export default [
'Вевчани',
'Велес',
'Виница',
'Вранештица',
'Врапчиште',
'Гази Баба',
'Гевгелија',
'Гостивар',
'Градско',
'Дебар',
'Дебарца',
'Дебрца',
'Делчево',
'Демир Капија',
'Демир Хисар',
'Дојран',
'Долнени',
'Другово',
'Ѓорче Петров',
'Желино',
'Зајас',
'Зелениково',
'Зрновци',
'Илинден',
Expand All @@ -55,7 +52,6 @@ export default [
'Неготино',
'Новаци',
'Ново Село',
'Осломеј',
'Охрид',
'Петровец',
'Пехчево',
Expand All @@ -68,10 +64,9 @@ export default [
'Росоман',
'Сарај',
'Свети Николе',
'Скопје',
'Сопиште',
'Струга',
'Старо Нагоричане',
'Струга',
'Струмица',
'Студеничани',
'Теарце',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/mk/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import country from './country';
import default_country from './default_country';
import postcode from './postcode';
import secondary_address from './secondary_address';
import state from './state';
import street_address from './street_address';
import street_name from './street_name';
import street_pattern from './street_pattern';
Expand All @@ -22,6 +23,7 @@ const location: LocationDefinition = {
default_country,
postcode,
secondary_address,
state,
street_address,
street_name,
street_pattern,
Expand Down
82 changes: 82 additions & 0 deletions src/locales/mk/location/state.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
export default [
'Аеродром',
'Арачиново',
'Берово',
'Битола',
'Богданци',
'Боговиње',
'Босилово',
'Брвеница',
'Бутел',
'Валандово',
'Василево',
'Вевчани',
'Велес',
'Виница',
'Врапчиште',
'Гази Баба',
'Гевгелија',
'Гостивар',
'Градско',
'Дебар',
'Дебрца',
'Делчево',
'Демир Капија',
'Демир Хисар',
'Дојран',
'Долнени',
'Ѓорче Петров',
'Желино',
'Зелениково',
'Зрновци',
'Илинден',
'Јегуновце',
'Кавадарци',
'Карбинци',
'Карпош',
'Кисела Вода',
'Кичево',
'Конче',
'Кочани',
'Кратово',
'Крива Паланка',
'Кривогаштани',
'Крушево',
'Куманово',
'Липково',
'Лозово',
'Маврово и Ростуше',
'Македонска Каменица',
'Македонски Брод',
'Могила',
'Неготино',
'Новаци',
'Ново Село',
'Охрид',
'Петровец',
'Пехчево',
'Пласница',
'Прилеп',
'Пробиштип',
'Радовиш',
'Ранковце',
'Ресен',
'Росоман',
'Сарај',
'Свети Николе',
'Сопиште',
'Старо Нагоричане',
'Струга',
'Струмица',
'Студеничани',
'Теарце',
'Тетово',
'Центар',
'Центар Жупа',
'Чаир',
'Чашка',
'Чешиново-Облешево',
'Чучер-Сандево',
'Штип',
'Шуто Оризари',
];
2 changes: 2 additions & 0 deletions src/locales/pt_PT/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import default_country from './default_country';
import direction from './direction';
import postcode from './postcode';
import secondary_address from './secondary_address';
import state from './state';
import street_address from './street_address';
import street_pattern from './street_pattern';
import street_prefix from './street_prefix';
Expand All @@ -28,6 +29,7 @@ const location: LocationDefinition = {
direction,
postcode,
secondary_address,
state,
street_address,
street_pattern,
street_prefix,
Expand Down
22 changes: 22 additions & 0 deletions src/locales/pt_PT/location/state.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export default [
'Azores',
'Aveiro',
'Beja',
'Braga',
'Bragança',
'Castelo Branco',
'Coimbra',
'Évora',
'Faro',
'Guarda',
'Leiria',
'Lisbon',
'Madeira',
'Portalegre',
'Porto',
'Santarém',
'Setúbal',
'Viana do Castelo',
'Vila Real',
'Viseu',
];
77 changes: 22 additions & 55 deletions src/locales/vi/location/city_name.ts
Original file line number Diff line number Diff line change
@@ -1,65 +1,32 @@
export default [
'An Giang',
'Bà Rịa-Vũng Tàu',
'Bạc Liêu',
'Bắc Kạn',
'Bắc Giang',
'An Nhơn',
'Biên Hòa',
'Buôn Ma Thuột',
'Bắc Ninh',
'Bến Tre',
'Bình Dương',
'Bình Định',
'Bình Phước',
'Bình Thuận',
'Cà Mau',
'Cao Bằng',
'Cần Thơ',
'Đà Nẵng',
'Đắk Lắk',
'Đắk Nông',
'Điện Biên',
'Đồng Nai',
'Đồng Tháp',
'Gia Lai',
'Hà Giang',
'Hà Nam',
'Hà Nội',
'Hà Tĩnh',
'Haiphong',
'Hanoi',
'Ho Chi Minh City',
'Huế',
'Hải Dương',
'Hải Phòng',
'Hậu Giang',
'Hòa Bình',
'TP. Hồ Chí Minh',
'Hưng Yên',
'Khánh Hoà',
'Kiên Giang',
'Kon Tum',
'Lai Châu',
'Lạng Sơn',
'Lào Cai',
'Lâm Đồng',
'Long An',
'Long Xuyên',
'Mỹ Tho',
'Nam Định',
'Nghệ An',
'Ninh Bình',
'Ninh Thuận',
'Phú Thọ',
'Phú Yên',
'Quảng Bình',
'Quảng Nam',
'Quảng Ngãi',
'Quảng Ninh',
'Quảng Trị',
'Nghi Sơn',
'Nha Trang',
'Phan Thiết',
'Quy Nhơn',
'Quảng Hà',
'Sóc Trăng',
'Sơn La',
'Tây Ninh',
'Thanh Hóa',
'Thái Bình',
'Thái Nguyên',
'Thanh Hoá',
'Thừa Thiên-Huế',
'Tiền Giang',
'Trà Vinh',
'Tuyên Quang',
'Vĩnh Long',
'Vĩnh Phúc',
'Yên Bái',
'Thủ Dầu Một',
'Thủ Đức',
'Tân An',
'Tân Uyên',
'Vinh',
'Việt Trì',
'Vũng Tàu',
];
2 changes: 2 additions & 0 deletions src/locales/vi/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
import state from './state';
import street_pattern from './street_pattern';

const location: LocationDefinition = {
Expand All @@ -16,6 +17,7 @@ const location: LocationDefinition = {
country,
default_country,
postcode,
state,
street_pattern,
};

Expand Down
Loading

0 comments on commit 1017a40

Please sign in to comment.