Skip to content

Commit

Permalink
Use subpath
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOMara committed Nov 19, 2024
1 parent 5048400 commit afbb37d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion member/f16.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';
import { getFloat16, setFloat16 } from '@hqtsm/dataview/f16';

import type { ArrayBufferReal } from '../type.ts';
import { byteLength, byteOffset, getType, littleEndian } from '../macro.ts';
Expand Down
2 changes: 1 addition & 1 deletion member/f16.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getFloat16, setFloat16 } from '@hqtsm/dataview';
import { getFloat16, setFloat16 } from '@hqtsm/dataview/f16';

import type { KeyofExtends } from '../type.ts';
import type { Struct } from '../struct.ts';
Expand Down
2 changes: 1 addition & 1 deletion member/i24.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';
import { getInt24, getUint24 } from '@hqtsm/dataview/i24';

import { byteLength, byteOffset, getType, littleEndian } from '../macro.ts';
import { Struct } from '../struct.ts';
Expand Down
2 changes: 1 addition & 1 deletion member/i24.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInt24, getUint24, setInt24, setUint24 } from '@hqtsm/dataview';
import { getInt24, getUint24, setInt24, setUint24 } from '@hqtsm/dataview/i24';

import type { KeyofExtends } from '../type.ts';
import type { Struct } from '../struct.ts';
Expand Down
3 changes: 2 additions & 1 deletion scripts/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ if (Deno.args.length !== 1 || !/^(dev|prod)$/.test(Deno.args[0])) {
const [env] = Deno.args;

const mappings: BuildOptions['mappings'] = {
'jsr:@hqtsm/dataview': '@hqtsm/dataview',
'jsr:@hqtsm/dataview/f16': '@hqtsm/dataview',
'jsr:@hqtsm/dataview/i24': '@hqtsm/dataview',
};

const GITHUB_REPOSITORY = Deno.env.get('GITHUB_REPOSITORY');
Expand Down

0 comments on commit afbb37d

Please sign in to comment.