Skip to content

Commit

Permalink
fix(barrels): fix package.json configuration to bundle file in package
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 24, 2024
1 parent 7f68dd4 commit 5918c53
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/barrels/bin/barrels.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion packages/barrels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "5.4.2",
"type": "module",
"bin": "bin/barrels.js",
"files": [],
"keywords": [
"Ts.ED",
"barrels"
Expand Down
2 changes: 1 addition & 1 deletion packages/barrels/test/barrels.integration.spec.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 5918c53

Please sign in to comment.