@opra/cli 1.24.3 → 1.25.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,11 +1,11 @@
1
1
  {
2
2
  "name": "@opra/cli",
3
- "version": "1.24.3",
3
+ "version": "1.25.1",
4
4
  "description": "Opra CLI tools",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "@browsery/type-is": "^2.0.1",
8
+ "@browsery/type-is": "^2.0.2-r1",
9
9
  "@jsopen/objects": "^2.2.0",
10
10
  "ansi-colors": "^4.1.3",
11
11
  "commander": "^14.0.3",
@@ -15,8 +15,8 @@
15
15
  "tslib": "^2.8.1"
16
16
  },
17
17
  "peerDependencies": {
18
- "@opra/client": "^1.24.3",
19
- "@opra/common": "^1.24.3"
18
+ "@opra/client": "^1.25.1",
19
+ "@opra/common": "^1.25.1"
20
20
  },
21
21
  "type": "module",
22
22
  "module": "./index.js",
@@ -1,2 +1,2 @@
1
- import type { TsGenerator } from '../ts-generator';
1
+ import type { TsGenerator } from '../ts-generator.js';
2
2
  export declare function cleanDirectory(this: TsGenerator, dirname: string): void;
@@ -1,7 +1,7 @@
1
1
  import { ArrayType, ComplexType, DataType, EnumType, MappedType, MixinType, SimpleType, UnionType } from '@opra/common';
2
2
  import { CodeBlock } from '../../code-block.js';
3
3
  import { TsFile } from '../ts-file.js';
4
- import type { TsGenerator } from '../ts-generator';
4
+ import type { TsGenerator } from '../ts-generator.js';
5
5
  type Intent = 'root' | 'extends' | 'typeDef';
6
6
  export type generateDataTypeResult = {
7
7
  kind: 'internal';
@@ -1,5 +1,5 @@
1
1
  import { ApiDocument } from '@opra/common';
2
- import type { TsGenerator } from '../ts-generator';
2
+ import type { TsGenerator } from '../ts-generator.js';
3
3
  export declare function generateDocument(this: TsGenerator, document?: string | ApiDocument, options?: {
4
4
  typesOnly?: boolean;
5
5
  }): Promise<{
@@ -1,3 +1,3 @@
1
1
  import { HttpApi } from '@opra/common';
2
- import type { TsGenerator } from '../ts-generator';
2
+ import type { TsGenerator } from '../ts-generator.js';
3
3
  export declare function generateHttpApi(this: TsGenerator, api: HttpApi): Promise<import("../ts-file.js").TsFile>;
@@ -1,3 +1,3 @@
1
1
  import { HttpController } from '@opra/common';
2
- import type { TsGenerator } from '../ts-generator';
2
+ import type { TsGenerator } from '../ts-generator.js';
3
3
  export declare function generateHttpController(this: TsGenerator, controller: HttpController): Promise<import("../ts-file.js").TsFile>;