Skip to content

Commit 991fd55

Browse files
author
Loïc Mangeonjean
committed
fix: fix update extensions script
1 parent 61cc7ba commit 991fd55

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

scripts/update-extensions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-ignore
2-
import { getPublicGalleryAPI } from '@vscode/vsce/out/util'
3-
import { ExtensionQueryFlags, PublishedExtension, ExtensionVersion } from 'azure-devops-node-api/interfaces/GalleryInterfaces'
2+
import { getPublicGalleryAPI } from '@vscode/vsce/out/util.js'
3+
import { ExtensionQueryFlags, PublishedExtension, ExtensionVersion } from 'azure-devops-node-api/interfaces/GalleryInterfaces.js'
44
import fs from 'fs/promises'
55

66
async function getLastVersion (publisher: string, name: string): Promise<ExtensionVersion> {

tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,5 @@
2323
"exclude": [
2424
"dist",
2525
"node_modules"
26-
],
27-
"ts-node": {
28-
"compilerOptions": {
29-
"module": "commonjs"
30-
}
31-
}
26+
]
3227
}

0 commit comments

Comments
 (0)