diff --git a/.changeset/clever-pens-bow.md b/.changeset/clever-pens-bow.md new file mode 100644 index 0000000000..0f615a97b5 --- /dev/null +++ b/.changeset/clever-pens-bow.md @@ -0,0 +1,5 @@ +--- +"dts-gen": patch +--- + +Fix invalid generated version diff --git a/packages/dts-gen/src/definitely-typed.ts b/packages/dts-gen/src/definitely-typed.ts index 5cfcdcb248..e5e9f3b77b 100644 --- a/packages/dts-gen/src/definitely-typed.ts +++ b/packages/dts-gen/src/definitely-typed.ts @@ -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:.",