diff --git a/src/components/Line.ts b/src/components/Line.ts index 2c63f7ea..01a77675 100644 --- a/src/components/Line.ts +++ b/src/components/Line.ts @@ -1,6 +1,6 @@ -import type { RenderedLineInfo } from '../view-model/scroll-view-model' -import displayRange from '../display-range' -import textFilter from '../text-filter' +import type { RenderedLineInfo } from '../view-model/scroll-view-model.ts' +import displayRange from '../display-range.ts' +import textFilter from '../text-filter.ts' const ktivKriAnnotation = (text: string) => text diff --git a/src/components/ParshaPicker.ts b/src/components/ParshaPicker.ts index 61a8730e..6d3bf19c 100644 --- a/src/components/ParshaPicker.ts +++ b/src/components/ParshaPicker.ts @@ -1,8 +1,8 @@ -import fuzzy from '../fuzzy' +import fuzzy from '../fuzzy.ts' import utils from './utils.ts' import ParshaResult, { NoResults } from './ParshaResult.ts' import Search, { SearchEmitter } from './Search.ts' -import EventEmitter from '../event-emitter' +import EventEmitter from '../event-emitter.ts' import { LeiningGenerator } from '../calendar-model/generator.ts' import { HDate, Locale } from '@hebcal/core' import { diff --git a/src/components/ScrollDisplay.ts b/src/components/ScrollDisplay.ts index 751e3306..2d30d975 100644 --- a/src/components/ScrollDisplay.ts +++ b/src/components/ScrollDisplay.ts @@ -4,8 +4,8 @@ import { RenderedPageInfo, ScrollViewModel, } from '../view-model/scroll-view-model' -import Page from './Page' -import utils from './utils' +import Page from './Page.ts' +import utils from './utils.ts' const { htmlToElement, purgeNode } = utils diff --git a/src/components/Search.ts b/src/components/Search.ts index 49898395..686a0e63 100644 --- a/src/components/Search.ts +++ b/src/components/Search.ts @@ -1,6 +1,6 @@ import utils from './utils.ts' import SelectList, { setSelected, getSelected } from './SelectList.ts' -import { EventEmitter } from '../event-emitter' +import { EventEmitter } from '../event-emitter.ts' const { htmlToElement: html, whenKey, purgeNode } = utils diff --git a/src/fuzzy.test.js b/src/fuzzy.test.js index 8d160219..ccd9e6f8 100644 --- a/src/fuzzy.test.js +++ b/src/fuzzy.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import fuzzy from './fuzzy' +import fuzzy from './fuzzy.ts' test('only matches if all characters are present in order', (t) => { const haystack = [ diff --git a/src/hebrew-numeral.test.js b/src/hebrew-numeral.test.js index 9b3d48b0..a79d5d6b 100644 --- a/src/hebrew-numeral.test.js +++ b/src/hebrew-numeral.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import hebrewNumeralFromInteger from './hebrew-numeral' +import hebrewNumeralFromInteger from './hebrew-numeral.ts' test('exact value returns the letter', (t) => { t.is(hebrewNumeralFromInteger(4), 'ד') diff --git a/src/integer-iterator.test.js b/src/integer-iterator.test.js index 824e95e3..0f318043 100644 --- a/src/integer-iterator.test.js +++ b/src/integer-iterator.test.js @@ -1,6 +1,6 @@ import test from 'ava' -import IntegerIterator from './integer-iterator' +import IntegerIterator from './integer-iterator.ts' test('previous once returns 1 less than the start', (t) => { const sut = IntegerIterator.new({ startingAt: 0 }) diff --git a/src/location.test.js b/src/location.test.js index 7f87a07d..f2f32f27 100644 --- a/src/location.test.js +++ b/src/location.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import { loadScroll } from './location' +import { loadScroll } from './location.ts' test('page count for torah', async (t) => { const resolver = await loadScroll('torah') diff --git a/src/slugify.test.js b/src/slugify.test.js index 6009086e..95ba0842 100644 --- a/src/slugify.test.js +++ b/src/slugify.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import slugify from './slugify' +import slugify from './slugify.ts' test('slugify lowercases all letters', (t) => { t.assert(slugify('HelLo') === 'hello') diff --git a/src/text-filter.test.js b/src/text-filter.test.js index c0efb998..9a3d2b17 100644 --- a/src/text-filter.test.js +++ b/src/text-filter.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import textFilter from './text-filter' +import textFilter from './text-filter.ts' test('simple annotated text remains untouched', (t) => { t.is( diff --git a/src/verses-range.test.js b/src/verses-range.test.js index 03656ed3..f1c1436f 100644 --- a/src/verses-range.test.js +++ b/src/verses-range.test.js @@ -1,5 +1,5 @@ import test from 'ava' -import hebrewNumeral from './hebrew-numeral' +import hebrewNumeral from './hebrew-numeral.ts' const versesRange = (verses) => { if (verses.length === 1) return hebrewNumeral(verses[0].verse)