Skip to content

Commit

Permalink
fix: do not prefix package names with hygen
Browse files Browse the repository at this point in the history
Requiring package names to have a hygen prefix is stupid. Lets not do that.
  • Loading branch information
Bill Beesley committed Feb 17, 2022
1 parent ff4a389 commit 4955cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const resolvePackage = (
const url = new URL(pkg);
return { name: url.href.split('/').pop() as string, isUrl: true };
}
return { name: `hygen-${pkg}`, isUrl: false };
return { name: pkg, isUrl: false };
};

async function pathExists(path: string): Promise<boolean> {
Expand Down

0 comments on commit 4955cbc

Please sign in to comment.