Skip to content

Commit

Permalink
add directory imports
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jun 28, 2024
1 parent 73d70b9 commit 4a4af47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/crdt/src/builtins/2PSet/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GSet } from "../GSet";
import { GSet } from "../GSet/index.js";

/// 2PSet with support for state and op changes
export class TwoPSet<T> {
Expand Down
2 changes: 1 addition & 1 deletion packages/crdt/src/builtins/PNCounter/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GCounter } from "../GCounter";
import { GCounter } from "../GCounter/index.js";

/// State-based PNCounter
export class PNCounter {
Expand Down
8 changes: 4 additions & 4 deletions packages/crdt/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// TODO dumb export logic, fix this
export { IGCounter, GCounter } from "./builtins/GCounter";
export { PNCounter } from "./builtins/PNCounter";
export { GSet } from "./builtins/GSet";
export { TwoPSet } from "./builtins/2PSet";
export { IGCounter, GCounter } from "./builtins/GCounter/index.js";
export { PNCounter } from "./builtins/PNCounter/index.js";
export { GSet } from "./builtins/GSet/index.js";
export { TwoPSet } from "./builtins/2PSet/index.js";

0 comments on commit 4a4af47

Please sign in to comment.