Skip to content

Commit

Permalink
Moved index file outside of utils folder to avoid duplicate imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryjappinen committed Jun 23, 2024
1 parent 41a491a commit 805e641
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 116 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bonn",
"version": "0.10.0",
"version": "0.10.1",
"description": "Utility, style and component library for web development.",
"private": false,
"files": [
Expand Down
118 changes: 118 additions & 0 deletions utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
export { default as blur } from './utils/blur'
export { default as clearSelection } from './utils/clearSelection'
export { default as createSendinblueService } from './utils/createSendinblueService'
export { default as createStyleElement } from './utils/createStyleElement'
export { default as csv } from './utils/csv'
export { default as csvToJson } from './utils/csvToJson'
export { default as detectObtrusiveScrollbars } from './utils/detectObtrusiveScrollbars'
export { default as eventHasAnyMetaKey } from './utils/eventHasAnyMetaKey'
export { default as eventHasKey } from './utils/eventHasKey'
export { default as eventHasMetaKey } from './utils/eventHasMetaKey'
export { default as fetchPrivateGoogleSheet } from './utils/fetchPrivateGoogleSheet'
export { default as fetchPublicGoogleSheet } from './utils/fetchPublicGoogleSheet'
export { default as focusFirstInput } from './utils/focusFirstInput'
export { default as focusLastInput } from './utils/focusLastInput'
export { default as forEachAsync } from './utils/forEachAsync'
export { default as forEachSync } from './utils/forEachSync'
export { default as formatDate } from './utils/formatDate'
export { default as formatDateInterval } from './utils/formatDateInterval'
export { default as formatEventName } from './utils/formatEventName'
export { default as formatExcerpt } from './utils/formatExcerpt'
export { default as formatFileSize } from './utils/formatFileSize'
export { default as formatHygraphImageUrl } from './utils/formatHygraphImageUrl'
export { default as formatInitials } from './utils/formatInitials'
export { default as formatMachineReadableDate } from './utils/formatMachineReadableDate'
export { default as formatMachineReadableDateTime } from './utils/formatMachineReadableDateTime'
export { default as formatMonth } from './utils/formatMonth'
export { default as formatSlug } from './utils/formatSlug'
export { default as frameLoop } from './utils/frameLoop'
export { default as gamepadIsSupported } from './utils/gamepadIsSupported'
export { default as getApplePodcastUrl } from './utils/getApplePodcastUrl'
export { default as getBitbucketProfileUrl } from './utils/getBitbucketProfileUrl'
export { default as getBrowserLanguages } from './utils/getBrowserLanguages'
export { default as getCurrentTimestamp } from './utils/getCurrentTimestamp'
export { default as getDirection } from './utils/getDirection'
export { default as getDisplayMode } from './utils/getDisplayMode'
export { default as getDomain } from './utils/getDomain'
export { default as getFacebookPageUrl } from './utils/getFacebookPageUrl'
export { default as getFacebookProfileUrl } from './utils/getFacebookProfileUrl'
export { default as getFigmaProfileUrl } from './utils/getFigmaProfileUrl'
export { default as getGamepads } from './utils/getGamepads'
export { default as getGithubProfileUrl } from './utils/getGithubProfileUrl'
export { default as getGravatarUrl } from './utils/getGravatarUrl'
export { default as getInstagramProfileUrl } from './utils/getInstagramProfileUrl'
export { default as getIsoDurationInSeconds } from './utils/getIsoDurationInSeconds'
export { default as getLinkedinCompanyUrl } from './utils/getLinkedinCompanyUrl'
export { default as getLinkedinProfileUrl } from './utils/getLinkedinProfileUrl'
export { default as getMarkdownIt } from './utils/getMarkdownIt'
export { default as getMediumCollectionUrl } from './utils/getMediumCollectionUrl'
export { default as getMediumProfileUrl } from './utils/getMediumProfileUrl'
export { default as getMediumTopicUrl } from './utils/getMediumTopicUrl'
export { default as getNameFromEmail } from './utils/getNameFromEmail'
export { default as getNpmPackageUrl } from './utils/getNpmPackageUrl'
export { default as getNpmProfileUrl } from './utils/getNpmProfileUrl'
export { default as getObservableProfileUrl } from './utils/getObservableProfileUrl'
export { default as getPrivateGoogleSheetCsvUrl } from './utils/getPrivateGoogleSheetCsvUrl'
export { default as getPublicGoogleSheetCsvUrl } from './utils/getPublicGoogleSheetCsvUrl'
export { default as getRandomNumberGenerator } from './utils/getRandomNumberGenerator'
export { default as getRedditProfileUrl } from './utils/getRedditProfileUrl'
export { default as getRedditSubUrl } from './utils/getRedditSubUrl'
export { default as getSkypeLink } from './utils/getSkypeLink'
export { default as getSpotifyShowUrl } from './utils/getSpotifyShowUrl'
export { default as getTwitchVideoUrl } from './utils/getTwitchVideoUrl'
export { default as getTwitterProfileUrl } from './utils/getTwitterProfileUrl'
export { default as getUserAgent } from './utils/getUserAgent'
export { default as getUserAgentValue } from './utils/getUserAgentValue'
export { default as getYoutubeThumbnailUrl } from './utils/getYoutubeThumbnailUrl'
export { default as getYoutubeVideoUrl } from './utils/getYoutubeVideoUrl'
export { default as goToUrl } from './utils/goToUrl'
export { default as highlightCode } from './utils/highlightCode'
export { default as includesAny } from './utils/includesAny'
export { default as isAbsoluteUrl } from './utils/isAbsoluteUrl'
export { default as isClient } from './utils/isClient'
export { default as isDev } from './utils/isDev'
export { default as isEmail } from './utils/isEmail'
export { default as isIsoDateString } from './utils/isIsoDateString'
export { default as isPrefixed } from './utils/isPrefixed'
export { default as isProd } from './utils/isProd'
export { default as isServer } from './utils/isServer'
export { default as isSuffixed } from './utils/isSuffixed'
export { default as isTest } from './utils/isTest'
export { default as isValidDate } from './utils/isValidDate'
export { default as linkIsInternal } from './utils/linkIsInternal'
export { default as md5 } from './utils/md5'
export { default as mergeConfigs } from './utils/mergeConfigs'
export { default as mergeWithArrays } from './utils/mergeWithArrays'
export { default as nextTick } from './utils/nextTick'
export { default as normalizeDate } from './utils/normalizeDate'
export { default as now } from './utils/now'
export { default as nowEpoch } from './utils/nowEpoch'
export { default as nowIso } from './utils/nowIso'
export { default as openTab } from './utils/openTab'
export { default as parseDurationSeconds } from './utils/parseDurationSeconds'
export { default as parseIsoDuration } from './utils/parseIsoDuration'
export { default as parseVersionNumber } from './utils/parseVersionNumber'
export { default as prefixWith } from './utils/prefixWith'
export { default as processEnvExists } from './utils/processEnvExists'
export { default as processExists } from './utils/processExists'
export { default as registerVueGlobals } from './utils/registerVueGlobals'
export { default as reloadPage } from './utils/reloadPage'
export { default as removePrefix } from './utils/removePrefix'
export { default as removeSuffix } from './utils/removeSuffix'
export { default as removeTrailingSlash } from './utils/removeTrailingSlash'
export { default as replaceAll } from './utils/replaceAll'
export { default as sendEmail } from './utils/sendEmail'
export { default as suffixWith } from './utils/suffixWith'
export { default as toDecimal } from './utils/toDecimal'
export { default as toJson } from './utils/toJson'
export { default as toPlainText } from './utils/toPlainText'
export { default as trimAllWhitespace } from './utils/trimAllWhitespace'
export { default as trimAny } from './utils/trimAny'
export { default as trimNewLines } from './utils/trimNewLines'
export { default as trimWhitespace } from './utils/trimWhitespace'
export { default as tryPromises } from './utils/tryPromises'
export { default as userPrefersDarkMode } from './utils/userPrefersDarkMode'
export { default as wait } from './utils/wait'
export { default as whitespaceCharacters } from './utils/whitespaceCharacters'
export { default as windowExists } from './utils/windowExists'
export { default as windowIsPrinting } from './utils/windowIsPrinting'
115 changes: 0 additions & 115 deletions utils/index.js

This file was deleted.

0 comments on commit 805e641

Please sign in to comment.