chore: Replace deprecated 'node' module resolution with 'bundler' and tighten compiler options (#2594)

This commit is contained in:
Dermot Duffy
2026-07-22 12:12:00 -07:00
committed by GitHub
parent 87ecbc7e45
commit 2ca4aa95e5
13 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import {
differenceInSeconds,
format,
} from 'date-fns';
import type { StyleInfo } from 'lit/directives/style-map';
import type { StyleInfo } from 'lit/directives/style-map.js';
import { isEqualWith, mergeWith, round, uniq } from 'lodash-es';
import { AdvancedCameraCardError } from '../types';
+5 -6
View File
@@ -1,9 +1,8 @@
import EmblaCarousel, { type EmblaCarouselType } from 'embla-carousel';
import EmblaCarousel, {
type EmblaCarouselType,
type EmblaPluginType,
} from 'embla-carousel';
import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures';
import type {
CreatePluginType,
LoosePluginType,
} from 'embla-carousel/components/Plugins';
import { isEqual } from 'lodash-es';
import type { TransitionEffect } from '../../config/schema/common/transition-effect.js';
@@ -16,7 +15,7 @@ export interface CarouselSelected {
element: HTMLElement;
}
type EmblaCarouselPlugins = CreatePluginType<LoosePluginType, Record<string, unknown>>[];
export type EmblaCarouselPlugins = EmblaPluginType[];
export type CarouselDirection = 'vertical' | 'horizontal';