Skip to content

Commit

Permalink
feat: better package naming
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShaito committed Aug 8, 2024
1 parent f88d70e commit 491bd87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/createPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export const createPackage = (
packageName: string,
exportType: ExportType,
) => {
const exportName = exportType === ExportType.INTERFACES ? '-interfaces' : '';
// Empty export destination directory
const destinationDir = `export/${packageName}-${exportType}`;
const destinationDir = `export/${packageName}${exportName}`;
fse.emptyDirSync(destinationDir);

console.log('Installing dependencies');
Expand Down

0 comments on commit 491bd87

Please sign in to comment.