Skip to content

Commit

Permalink
use updated luraph lib with esm support
Browse files Browse the repository at this point in the history
  • Loading branch information
memcorrupt committed Jan 31, 2024
1 parent d63a3e1 commit 03ced3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./ || echo WARNING: tsc exited with errors",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Luraph } from "luraph";
import { Luraph, type LuraphOptionList } from "luraph";
import * as vscode from "vscode";

const TIER_ICONS = {
Expand Down Expand Up @@ -139,7 +139,7 @@ export function activate(context: vscode.ExtensionContext) {
log(`> Selected node: ${nodeId}`);
log("> Available options:");

const optionValues = {};
const optionValues: LuraphOptionList = {};
const checkboxes: (vscode.QuickPickItem & {id: string})[] = [];
const dropdowns = [];
const textFields = [];
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1339,11 +1339,11 @@ lru-cache@^6.0.0:
integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==

luraph@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/luraph/-/luraph-2.0.3.tgz#81127ec1e002e1a623fbad764815e4a1af19c179"
integrity sha512-8By9hiwjZfAnDFU5V7MjVpmOlONvcxdeoJGVslF4gJy9bDRIjc6JqMzmuFEFAgnsyI8IL2kzzgwSzcLHiQx2EA==
version "2.0.5"
resolved "https://registry.yarnpkg.com/luraph/-/luraph-2.0.5.tgz#bf203ee1871bae292ce00aaebcb97646e8c9c2fc"
integrity sha512-3Gj6fRYdq9otN1i1T9QbFVKp1cVcySbuhm+5RMYIxpCbMB9oJPbafjKsVyIk5u06M4zVgq0uq4pDR9eeY5iG0A==
dependencies:
undici "^6.3.0"
undici "^6.5.0"

markdown-it@^12.3.2:
version "12.3.2"
Expand Down Expand Up @@ -2021,7 +2021,7 @@ undici-types@~5.26.4:
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

undici@^6.3.0:
undici@^6.5.0:
version "6.5.0"
resolved "https://registry.yarnpkg.com/undici/-/undici-6.5.0.tgz#fc3b4f4255804bf56e72c01313ddbf75661aae5c"
integrity sha512-/MUmPb2ptTvp1j7lPvdMSofMdqPxcOhAaKZi4k55sqm6XMeKI3n1dZJ5cnD4gLjpt2l7CIlthR1IXM59xKhpxw==
Expand Down

0 comments on commit 03ced3e

Please sign in to comment.