makepack 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makepack",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "description": "A CLI tool to create, build, and manage JavaScript, TypeScript, React, and React-TypeScript libraries for npm projects.",
6
6
  "files": [
@@ -145,7 +145,7 @@ const build = async (args) => {
145
145
  }
146
146
 
147
147
  if (args.declaration) {
148
- pkgjson.types = `index.${args.format}.d.ts`;
148
+ pkgjson.types = `index.d.ts`;
149
149
  }
150
150
 
151
151
  fs.writeFileSync(path.join(outdir, 'package.json'), JSON.stringify(pkgjson, null, 2));