Skip to content

Commit

Permalink
Better path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOMara committed Nov 21, 2024
1 parent a9b1363 commit 9f620c7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion member/float/16.test.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion member/float/16.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion member/int/24.test.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
7 changes: 6 additions & 1 deletion member/int/24.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 2 additions & 2 deletions scripts/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9f620c7

Please sign in to comment.