@opra/cli 0.14.1 → 0.14.2

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.
@@ -30,7 +30,7 @@ async function processTypes(ctx) {
30
30
  if (dataType.isBuiltin) {
31
31
  if (!builtinsMap[dataType.name])
32
32
  continue;
33
- typesTs.addExport('./types/builtins.js');
33
+ typesTs.addExport('./types/builtins' + ctx.extension);
34
34
  builtinsTs.content += `export type ${dataType.name} = ${builtinsMap[dataType.name]};\n`;
35
35
  continue;
36
36
  }
@@ -26,7 +26,7 @@ export async function processTypes(ctx) {
26
26
  if (dataType.isBuiltin) {
27
27
  if (!builtinsMap[dataType.name])
28
28
  continue;
29
- typesTs.addExport('./types/builtins.js');
29
+ typesTs.addExport('./types/builtins' + ctx.extension);
30
30
  builtinsTs.content += `export type ${dataType.name} = ${builtinsMap[dataType.name]};\n`;
31
31
  continue;
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/cli",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Opra CLI tools",
5
5
  "author": "Panates",
6
6
  "license": "MIT",