Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed a bug where discriminator mappings for oneOf types with allOf-inherited schemas would incorrectly use schema names as keys instead of resolving the base type discriminator mappings. [#7339](https://github.com/microsoft/kiota/issues/7339)
- Fixed TypeScript enum imports to use `import type` for type aliases to support `verbatimModuleSyntax`. [#7332](https://github.com/microsoft/kiota/pull/7332)
- Fixed a bug where the kiota npm package esm variant would fail to resolve modules.
- Fixes a bug where the kiota npm package type definitions would be misplaced.

## [1.30.0] - 2026-01-26

Expand Down Expand Up @@ -1705,4 +1707,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Initial GitHub release

6 changes: 4 additions & 2 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
},
"scripts": {
"lint": "npm run lint --w=\"@microsoft/kiota\" && npm run lint --w=kiota",
"build": "npm run build --w=\"@microsoft/kiota\" && npm run build --w=kiota",
"build": "npm run build:package && npm run build:vscode",
"build:package": "npm run build --w=\"@microsoft/kiota\"",
"build:vscode": "npm run build --w=kiota",
"test:vscode": "npm run build && npm run test --w=kiota",
"test:vscode:coverage": "npm run build && npm run test:coverage --w=kiota",
"test:package": "npm run build --w=\"@microsoft/kiota\" && npm run test --w=\"@microsoft/kiota\"",
Expand Down Expand Up @@ -36,4 +38,4 @@
"packages/npm-package",
"packages/microsoft-kiota"
]
}
}
2 changes: 1 addition & 1 deletion vscode/packages/npm-package/connect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as cp from 'child_process';
import * as rpc from 'vscode-jsonrpc/node';
import { ensureKiotaIsPresent, getKiotaPath } from './install';
import { ensureKiotaIsPresent, getKiotaPath } from './install.js';


export default async function connectToKiota<T>(callback: (connection: rpc.MessageConnection) => Promise<T | undefined>, workingDirectory: string = process.cwd()): Promise<T | undefined | Error> {
Expand Down
26 changes: 13 additions & 13 deletions vscode/packages/npm-package/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export * from './config';
export * from './lib/generateClient';
export * from './lib/generatePlugin';
export * from './lib/getKiotaTree';
export * from './lib/getKiotaVersion';
export * from './lib/getManifestDetails';
export * from './lib/languageInformation';
export * from './lib/migrateFromLockFile';
export * from './lib/removeItem';
export * from './lib/searchDescription';
export * from './lib/updateClients';
export * from './types';
export * from './utils';
export * from './config.js';
export * from './lib/generateClient.js';
export * from './lib/generatePlugin.js';
export * from './lib/getKiotaTree.js';
export * from './lib/getKiotaVersion.js';
export * from './lib/getManifestDetails.js';
export * from './lib/languageInformation.js';
export * from './lib/migrateFromLockFile.js';
export * from './lib/removeItem.js';
export * from './lib/searchDescription.js';
export * from './lib/updateClients.js';
export * from './types.js';
export * from './utils.js';
2 changes: 1 addition & 1 deletion vscode/packages/npm-package/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createHash } from 'crypto';
import * as https from 'https';
import * as fs from 'fs';
import * as path from 'path';
import { getKiotaConfig } from './config';
import { getKiotaConfig } from './config.js';

import runtimeJson from './runtime.json';

Expand Down
2 changes: 1 addition & 1 deletion vscode/packages/npm-package/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "./dist/cjs",
"module": "CommonJS",
"declaration": true,
"declarationDir": "./dist/cjs/types"
"declarationDir": "./dist/cjs"
}
}
2 changes: 1 addition & 1 deletion vscode/packages/npm-package/tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "./dist/esm",
"module": "ESNext",
"declaration": true,
"declarationDir": "./dist/esm/types"
"declarationDir": "./dist/esm"
}
}
2 changes: 1 addition & 1 deletion vscode/packages/npm-package/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { KiotaLogEntry, MaturityLevel, DependencyType, LogLevel } from "./types";
import { KiotaLogEntry, MaturityLevel, DependencyType, LogLevel } from './types.js';

export function getLogEntriesForLevel(logEntries: KiotaLogEntry[], ...levels: LogLevel[]): KiotaLogEntry[] {
return logEntries.filter((entry) => levels.indexOf(entry.level) !== -1);
Expand Down
Loading