Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: exclude irrelevant files from published bundle #105

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/fdir.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fdir } from "../index";
import { fdir } from "../src/index";
import fs from "fs";
import mock from "mock-fs";
import { test, beforeEach, TestContext } from "vitest";
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmark.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fdir } from "../index";
import { fdir } from "../src/index";
import { fdir as fdir5 } from "fdir5";
import { fdir as fdir4 } from "fdir4";
import fdir3 from "fdir3";
Expand Down
4 changes: 0 additions & 4 deletions index.ts

This file was deleted.

5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import { Builder } from "./builder";

export { Builder as fdir };
export type Fdir = typeof Builder;

export * from "./types";
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"resolveJsonModule": true,
"allowJs": true
},
"include": ["./src", "./index.ts", "./benchmarks/"]
"include": ["./src"]
}
Loading