Skip to content

Commit

Permalink
Fix generated version in dts-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Apr 15, 2024
1 parent 601351e commit fc43db9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-pens-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"dts-gen": patch
---

Fix invalid generated version
2 changes: 1 addition & 1 deletion packages/dts-gen/src/definitely-typed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async function getPackageJson(dtName: string, packageName: string): Promise<{}>
return {
private: true,
name: `@types/${dtName}`,
version: `${version}.0.9999`,
version: `${version}.9999`,
projects: [project],
devDependencies: {
[`@types/${dtName}`]: "workspace:.",
Expand Down

0 comments on commit fc43db9

Please sign in to comment.