diff --git a/package-lock.json b/package-lock.json index 5a84aa4..551adba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "writing-tracker", - "version": "0.6.3", + "version": "0.6.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "writing-tracker", - "version": "0.6.3", + "version": "0.6.4", "dependencies": { "@prisma/client": "^5.10.2", "@quixo3/prisma-session-store": "^3.1.13", diff --git a/src/components/chart/LineChart.vue b/src/components/chart/LineChart.vue index ed64759..50acbdf 100644 --- a/src/components/chart/LineChart.vue +++ b/src/components/chart/LineChart.vue @@ -4,7 +4,7 @@ import { computed, toValue, defineProps } from 'vue'; import { Line } from 'vue-chartjs'; import { Chart as ChartJS, Title, Tooltip, Legend, LineController, LineElement, PointElement, CategoryScale, LinearScale } from 'chart.js'; import type { ChartData, ChartOptions } from 'chart.js'; -import { provideLineChartDataDefaults, provideLineChartOptionsDefaults } from './line-chart-defaults'; +import { provideLineChartDataDefaults, provideLineChartOptionsDefaults } from './line-chart-defaults.ts'; export type LineChartOptions = ChartOptions<'line'>; export type LineChartData = ChartData<'line'>; diff --git a/src/components/chart/calendar-matrix-chart-defaults.ts b/src/components/chart/calendar-matrix-chart-defaults.ts index d204abb..f2e4781 100644 --- a/src/components/chart/calendar-matrix-chart-defaults.ts +++ b/src/components/chart/calendar-matrix-chart-defaults.ts @@ -1,6 +1,6 @@ import { MatrixChartOptions, MatrixChartData } from './CalendarMatrixChart.vue'; -import twColors from 'tailwindcss/colors'; +import twColors from 'tailwindcss/colors.js'; import themeColors from 'src/themes/primevue.ts'; import Color from 'color'; import { usePreferredColorScheme } from '@vueuse/core'; diff --git a/src/components/chart/line-chart-defaults.ts b/src/components/chart/line-chart-defaults.ts index 4272ea0..28a0af7 100644 --- a/src/components/chart/line-chart-defaults.ts +++ b/src/components/chart/line-chart-defaults.ts @@ -1,6 +1,6 @@ import { LineChartOptions, LineChartData } from './LineChart.vue'; -import twColors from 'tailwindcss/colors'; +import twColors from 'tailwindcss/colors.js'; import themeColors from 'src/themes/primevue.ts'; import { deepMergeWithDefaults } from 'src/lib/obj.ts'; diff --git a/src/components/dashboard/StreakChart.vue b/src/components/dashboard/StreakChart.vue index 62f1552..b32288a 100644 --- a/src/components/dashboard/StreakChart.vue +++ b/src/components/dashboard/StreakChart.vue @@ -6,12 +6,12 @@ import { getISODay, addDays } from 'date-fns'; import { parseDateString, formatDate } from 'src/lib/date.ts'; import Color from 'color'; -import twColors from 'tailwindcss/colors'; -import { DEFAULT_MATRIX_COLORS } from '../chart/calendar-matrix-chart-defaults'; +import twColors from 'tailwindcss/colors.js'; +import { DEFAULT_MATRIX_COLORS } from '../chart/calendar-matrix-chart-defaults.ts'; import { usePreferredColorScheme } from '@vueuse/core'; const colorScheme = usePreferredColorScheme(); -import { normalizeTallies, densifyTallies, listEachDayOfData } from '../chart/chart-functions'; +import { normalizeTallies, densifyTallies, listEachDayOfData } from '../chart/chart-functions.ts'; import CalendarMatrixChart from '../chart/CalendarMatrixChart.vue'; import { MatrixChartData } from '../chart/CalendarMatrixChart.vue'; diff --git a/src/components/dashboard/StreakCounter.vue b/src/components/dashboard/StreakCounter.vue index 897044a..6000dc7 100644 --- a/src/components/dashboard/StreakCounter.vue +++ b/src/components/dashboard/StreakCounter.vue @@ -2,7 +2,7 @@ import { computed, defineProps } from 'vue'; import type { Tally } from 'src/lib/api/tally.ts'; -import { getStreakInfo } from 'src/lib/streak'; +import { getStreakInfo } from 'src/lib/streak.ts'; import Card from 'primevue/card'; import { PrimeIcons } from 'primevue/api'; diff --git a/src/components/tag/CreateTagForm.vue b/src/components/tag/CreateTagForm.vue index 5fb7467..0b36339 100644 --- a/src/components/tag/CreateTagForm.vue +++ b/src/components/tag/CreateTagForm.vue @@ -1,14 +1,14 @@