Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Dec 19, 2023
1 parent 5ef1cb0 commit 54e62ea
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/asKeys.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Country, CountryData, ISOCode, IsoDataType } from './type'
import type { Country, CountryData, ISOCode, IsoDataType } from './types'

import { getSeparator } from './utils'
import { format } from './format'
Expand Down
4 changes: 2 additions & 2 deletions src/getAll.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ISOCode, IsoDataType } from './types'

import type { ISOCode, IsoDataType } from './type'
import { format } from './index'
import { isoCountries } from './countries'
import { format } from './format'

/**
* Retrieves all ISO codes from the isoCountries object.
Expand Down
2 changes: 1 addition & 1 deletion src/getAllBy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getIso } from './iso'
import { format } from './index'
import { format } from './format'


/**
Expand Down
2 changes: 1 addition & 1 deletion src/getBy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Country, ISOCode, ISOLangCode, Language } from './type'
import type { Country, ISOCode, ISOLangCode, Language } from './types'
import { isoLang } from './lang'
import { isValidCountry, isValidLanguage } from './validation'
import { getLanguageName, getLanguageOriginalName } from './get'
Expand Down
2 changes: 1 addition & 1 deletion src/getCountry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Country, CountryData, ISOCode } from './type'
import type { Country, CountryData, ISOCode } from './types'

import { getIso } from './iso'
import { isoCountries } from './countries'
Expand Down
2 changes: 1 addition & 1 deletion src/getLanguage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ISOLangCode, ISOLanguage, Language } from './type'
import type { ISOLangCode, ISOLanguage, Language } from './types'
import { isoLang } from './lang'
import { getIso } from './iso'
import { getLanguageName, getLanguageOriginalName } from './get'
Expand Down
19 changes: 9 additions & 10 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
export { format } from "./format";
export { isValidCountry, isValidLanguage } from "./validation";
export { isoTL } from "./iso";
export { getAsKey, getKeyValue } from "./asKeys";
export { getAll } from "./getAll";
export { getAllLanguageCodesByISO, getAllLanguagesByISO } from "./getAllBy";
export { getCountriesByISO, getCountriesByLanguage, getLanguagesByISO } from "./getBy";
export { getCountry, getCountryData } from "./getCountry";
export { getLanguage, getLanguageData } from "./getLanguage";

export { format } from './format'
export { isValidCountry, isValidLanguage } from './validation'
export { isoTL } from './iso'
export { getAsKey, getKeyValue } from './asKeys'
export { getAll } from './getAll'
export { getAllLanguageCodesByISO, getAllLanguagesByISO } from './getAllBy'
export { getCountriesByISO, getCountriesByLanguage, getLanguagesByISO } from './getBy'
export { getCountry, getCountryData } from './getCountry'
export { getLanguage, getLanguageData } from './getLanguage'

2 changes: 1 addition & 1 deletion src/iso.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Country, ISOCode, ISOCountry, IsoDataType } from './type'
import type { Country, ISOCode, ISOCountry, IsoDataType } from './types'
import { getNameByISO, getOriginalNameByISO } from './get'
import { getLanguages } from './getLanguage'
import { isValidCountry } from './validation'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/validation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ISOCode, ISOLangCode } from './type'
import type { ISOCode, ISOLangCode } from './types'
import { isoCountries } from './countries'
import { isoLang } from './lang'

Expand Down

0 comments on commit 54e62ea

Please sign in to comment.