diff --git a/package.json b/package.json index ba06634..e964131 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "style:fix": "yarn style --fix", "verify": "yarn style && yarn test", "test": "yarn test:unit", - "test:unit": "c8 -r html -r text -r lcov --exclude src/test uvu -r tsm src/test", - "test:unit2": "tsc && c8 -r html -r text -r lcov --exclude dist/test uvu dist/test -i \\d+.ts" + "test:unit": "c8 -r html -r text -r lcov --exclude src/test uvu -r tsm src/test" }, "type": "module", "types": "dist/main/index.d.ts", diff --git a/src/main/index.ts b/src/main/index.ts index 7ee6af8..750742c 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -1,2 +1,4 @@ -export { toposortExtra } from './extra.js' -export { toposort as array, toposortDefault as default } from './toposort.js' +export * from "./extra.js"; +export * from "./toposort.js"; + +export {toposortDefault as default} from "./toposort.js"; \ No newline at end of file diff --git a/src/main/toposort.ts b/src/main/toposort.ts index df03629..4573be6 100644 --- a/src/main/toposort.ts +++ b/src/main/toposort.ts @@ -39,7 +39,7 @@ function visitFactory(visited: Record, outgoingEdges: Map