diff --git a/packages/barrels/bin/barrels.js b/packages/barrels/bin/barrels.js index a7016cae0..ab100cb64 100755 --- a/packages/barrels/bin/barrels.js +++ b/packages/barrels/bin/barrels.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -import {generateBarrels} from "../src/generate-barrel.js"; -import {getConfig} from "../src/get-config.js"; +import {generateBarrels} from "./generate-barrel.js"; +import {getConfig} from "./get-config.js"; async function build() { const { diff --git a/packages/barrels/src/generate-barrel.js b/packages/barrels/bin/generate-barrel.js similarity index 100% rename from packages/barrels/src/generate-barrel.js rename to packages/barrels/bin/generate-barrel.js diff --git a/packages/barrels/src/get-config.js b/packages/barrels/bin/get-config.js similarity index 100% rename from packages/barrels/src/get-config.js rename to packages/barrels/bin/get-config.js diff --git a/packages/barrels/package.json b/packages/barrels/package.json index ccd93bbf6..3bd1d229d 100644 --- a/packages/barrels/package.json +++ b/packages/barrels/package.json @@ -4,7 +4,6 @@ "version": "5.4.2", "type": "module", "bin": "bin/barrels.js", - "files": [], "keywords": [ "Ts.ED", "barrels" diff --git a/packages/barrels/test/barrels.integration.spec.js b/packages/barrels/test/barrels.integration.spec.js index 12aff79fb..a862c361c 100644 --- a/packages/barrels/test/barrels.integration.spec.js +++ b/packages/barrels/test/barrels.integration.spec.js @@ -1,4 +1,4 @@ -import {generateBarrels} from "../src/generate-barrel.js"; +import {generateBarrels} from "../bin/generate-barrel.js"; import {describe, it} from "node:test"; import assert from "node:assert"; import {join} from "node:path";