diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/package.json b/package.json index 9aaecfa..0921833 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "boring-devtools", "private": true, - "version": "1.0.7", + "version": "1.0.9", + "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", @@ -37,6 +38,6 @@ "eslint-plugin-json": "^3.1.0", "eslint-plugin-react": "^7.32.1", "typescript": "^4.9.4", - "vite": "^4.0.4" + "vite": "5.1.0-beta.2" } } diff --git a/src/commons/constants.ts b/src/commons/constants.ts index a49db40..1a2c74d 100644 --- a/src/commons/constants.ts +++ b/src/commons/constants.ts @@ -3,10 +3,10 @@ const __ = { emptyStr: "", space: " ", tzUTC: "UTC", - addressSeperator: "\n--\n", + addressSeparator: "\n--\n", settings: { - appname: "boring-devtools", - version: "1.0.7", + appName: "boring-devtools", + version: "1.0.9", fontFamily: "'JetBrains Mono', monospace", myURL: "https://suru.im", license: "MIT", diff --git a/src/commons/utils.country.ts b/src/commons/utils.country.ts index 73ef5d9..d4f38b3 100644 --- a/src/commons/utils.country.ts +++ b/src/commons/utils.country.ts @@ -12,5 +12,5 @@ export const generateAddress = (countries: CountryCode[], locale = defaultFakerL `${$faker.address.zipCode(getZipCodeFormat(country))}, ${$faker.address.city()}`, country === "US" ? `${$faker.address.state()}, ${getCountryName(country)}` : getCountryName(country) ].join(__.newLine); - return range(count).map(() => address(chooseRandom(countries))).join(__.addressSeperator); + return range(count).map(() => address(chooseRandom(countries))).join(__.addressSeparator); }; diff --git a/src/components/AppFooter.tsx b/src/components/AppFooter.tsx index f499588..1e7f113 100644 --- a/src/components/AppFooter.tsx +++ b/src/components/AppFooter.tsx @@ -10,7 +10,7 @@ const AppFooter = () => {