diff --git a/member/float/16.test.ts b/member/float/16.test.ts index 42b5340..414b172 100644 --- a/member/float/16.test.ts +++ b/member/float/16.test.ts @@ -1,5 +1,5 @@ import { assertEquals } from '@std/assert'; -import { getFloat16, setFloat16 } from '@hqtsm/dataview/f16'; +import { getFloat16, setFloat16 } from '@hqtsm/dataview/float/16'; import type { ArrayBufferReal } from '../../type.ts'; import { byteLength, byteOffset, getType, littleEndian } from '../../macro.ts'; diff --git a/member/float/16.ts b/member/float/16.ts index 5a5f3c9..9a4656a 100644 --- a/member/float/16.ts +++ b/member/float/16.ts @@ -1,4 +1,4 @@ -import { getFloat16, setFloat16 } from '@hqtsm/dataview/f16'; +import { getFloat16, setFloat16 } from '@hqtsm/dataview/float/16'; import type { MembersExtends } from '../../type.ts'; import type { Struct } from '../../struct.ts'; diff --git a/member/int/24.test.ts b/member/int/24.test.ts index 615dcb9..06d9e7f 100644 --- a/member/int/24.test.ts +++ b/member/int/24.test.ts @@ -1,5 +1,5 @@ import { assertEquals } from '@std/assert'; -import { getInt24, getUint24 } from '@hqtsm/dataview/i24'; +import { getInt24, getUint24 } from '@hqtsm/dataview/int/24'; import { byteLength, byteOffset, getType, littleEndian } from '../../macro.ts'; import { Struct } from '../../struct.ts'; diff --git a/member/int/24.ts b/member/int/24.ts index 3620109..cf81214 100644 --- a/member/int/24.ts +++ b/member/int/24.ts @@ -1,4 +1,9 @@ -import { getInt24, getUint24, setInt24, setUint24 } from '@hqtsm/dataview/i24'; +import { + getInt24, + getUint24, + setInt24, + setUint24, +} from '@hqtsm/dataview/int/24'; import type { MembersExtends } from '../../type.ts'; import type { Struct } from '../../struct.ts'; diff --git a/scripts/npm.ts b/scripts/npm.ts index 86747f3..7fa5d41 100644 --- a/scripts/npm.ts +++ b/scripts/npm.ts @@ -12,8 +12,8 @@ if (Deno.args.length !== 1 || !/^(dev|prod)$/.test(Deno.args[0])) { const [env] = Deno.args; const mappings: BuildOptions['mappings'] = { - 'jsr:@hqtsm/dataview/f16': '@hqtsm/dataview', - 'jsr:@hqtsm/dataview/i24': '@hqtsm/dataview', + 'jsr:@hqtsm/dataview/float/16': '@hqtsm/dataview', + 'jsr:@hqtsm/dataview/int/24': '@hqtsm/dataview', }; const GITHUB_REPOSITORY = Deno.env.get('GITHUB_REPOSITORY');