Skip to content

Commit

Permalink
bumping package versions (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle authored Aug 15, 2024
1 parent da17b48 commit 70ad796
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"access": "public"
},
"version": "3.2.13",
"version": "3.2.14",
"type": "module",
"description": "Monorepo for JPL's design system, Explorer 1",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@explorer-1/vue",
"version": "0.2.13",
"version": "0.2.14",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
6 changes: 1 addition & 5 deletions packages/vue/src/components/BaseTimer/BaseTimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ import type { PropType } from 'vue'
import { defineComponent } from 'vue'
import dayjs from './../../utils/dayjs'
import { type Dayjs } from 'dayjs'
import duration, { type Duration } from 'dayjs/plugin/duration.js'
import minMax from 'dayjs/plugin/minMax.js'
dayjs.extend(duration)
dayjs.extend(minMax)
import { type Duration } from 'dayjs/plugin/duration.js'
const calculateDuration = (start: Dayjs): Duration | undefined => {
// Use round seconds so the datetime string stays valid and can be read by screen readers.
Expand Down
6 changes: 6 additions & 0 deletions packages/vue/src/utils/dayjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import updateLocale from 'dayjs/plugin/updateLocale.js'
import localizedFormat from 'dayjs/plugin/localizedFormat.js'
import timezone from 'dayjs/plugin/timezone.js'
import advancedFormat from 'dayjs/plugin/advancedFormat.js'
// for BaseTimer
import duration from 'dayjs/plugin/duration.js'
import minMax from 'dayjs/plugin/minMax.js'

// Locales must be imported manually
// see https://github.com/iamkun/dayjs/tree/dev/src/locale
Expand All @@ -28,5 +31,8 @@ dayjs.updateLocale('en', {
})
dayjs.extend(timezone)
dayjs.extend(advancedFormat)
// for BaseTimer
dayjs.extend(duration)
dayjs.extend(minMax)

export default dayjs

0 comments on commit 70ad796

Please sign in to comment.