Skip to content

Commit

Permalink
Merge pull request #55 from observerly/refactor/root/exports
Browse files Browse the repository at this point in the history
refactor: amend root ./src/index.ts exports in @observerly/fits
  • Loading branch information
michealroberts authored Jan 10, 2025
2 parents 82910fd + f46d8c4 commit c363f8b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
4 changes: 4 additions & 0 deletions src/header/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ export { parseHeadersFromBlocks } from './parseHeadersFromBlocks'
export { readFITSHeaderFromBlocks } from './readFITSHeaderFromBlocks'

/*****************************************************************************************************************/

export type { FITSHeader } from '../types'

/*****************************************************************************************************************/
17 changes: 1 addition & 16 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,7 @@

/*****************************************************************************************************************/

// Data Unit
export * from './dataunit'

/*****************************************************************************************************************/

// Flexible Image Transport System (FITS) Header
export * from './header'

/*****************************************************************************************************************/

// Flexible Image Transport System (FITS)
export * from './fits'

/*****************************************************************************************************************/

// Utilities
export * from './utilities'
export type { FITSHeader } from './header'

/*****************************************************************************************************************/
2 changes: 1 addition & 1 deletion src/utilities/__tests__/getExcessByteSize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { describe, expect, it, suite } from 'vitest'

import { getExcessByteSize } from '../..'
import { getExcessByteSize } from '../getExcessByteSize'

/*****************************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/sanitizeString.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { describe, expect, it, suite } from 'vitest'

import { sanitizeString } from '../..'
import { sanitizeString } from '../sanitizeString'

/*****************************************************************************************************************/

Expand Down

0 comments on commit c363f8b

Please sign in to comment.