@opra/cli 0.24.1 → 0.25.0

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.
@@ -115,8 +115,8 @@ async function generateComplexTypeDefinition(file, dataType, forInterface) {
115
115
  jsDoc += ` * ${field.description}\n`;
116
116
  if (field.default)
117
117
  jsDoc += ` * @default ` + field.default + '\n';
118
- if (field.format)
119
- jsDoc += ` * @format ` + field.format + '\n';
118
+ // if (field.format)
119
+ // jsDoc += ` * @format ` + field.format + '\n';
120
120
  if (field.exclusive)
121
121
  jsDoc += ` * @exclusive\n`;
122
122
  if (field.deprecated)
@@ -108,8 +108,8 @@ export async function generateComplexTypeDefinition(file, dataType, forInterface
108
108
  jsDoc += ` * ${field.description}\n`;
109
109
  if (field.default)
110
110
  jsDoc += ` * @default ` + field.default + '\n';
111
- if (field.format)
112
- jsDoc += ` * @format ` + field.format + '\n';
111
+ // if (field.format)
112
+ // jsDoc += ` * @format ` + field.format + '\n';
113
113
  if (field.exclusive)
114
114
  jsDoc += ` * @exclusive\n`;
115
115
  if (field.deprecated)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/cli",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "description": "Opra CLI tools",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "clean:cover": "rimraf ../../coverage/client"
29
29
  },
30
30
  "dependencies": {
31
- "@opra/client": "^0.24.1",
31
+ "@opra/client": "^0.25.0",
32
32
  "chalk": "^5.3.0",
33
33
  "commander": "^11.0.0",
34
34
  "js-string-escape": "^1.0.1",
@@ -36,13 +36,9 @@
36
36
  "putil-varhelpers": "^1.6.5"
37
37
  },
38
38
  "type": "module",
39
- "types": "types/index.d.ts",
40
- "exports": {
41
- ".": {
42
- "require": "./cjs/index.js",
43
- "default": "./esm/index.js"
44
- }
45
- },
39
+ "module": "./esm/index.js",
40
+ "main": "./cjs/index.js",
41
+ "types": "./types/index.d.ts",
46
42
  "bin": {
47
43
  "oprimp": "bin/oprimp.mjs"
48
44
  },