diff --git a/TODO.md b/TODO.md index f7f7bbe..1a991a7 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,9 @@ ## TODO -- [ ] For errors in other files, point to import +- [ ] Inject markdown highlighter into /- -/ comments in vscode +- [ ] For errors in other files, point to the import + - put a try in there and remove exitFailure - [x] Unsolved metas should be errors (user metas are fine) - [x] Better syntax for forward declared data (so we can distinguish from functions) - [ ] maybe allow "Main" module name for any file @@ -316,6 +318,8 @@ - [x] top level - [x] case statements - [ ] Lean ⟨ ⟩ anonymous constructors + - This would only work for `check` and we might need to revisit how `,` is handled. +- [ ] Lean-like `#eval` - [ ] Lean-like .map, etc? (resolve name in namespace of target type, etc) - [x] autos / typeclass resolution - [x] very primitive version in place, not higher order, search at end diff --git a/newt-vscode/package-lock.json b/newt-vscode/package-lock.json index 630fe53..f916379 100644 --- a/newt-vscode/package-lock.json +++ b/newt-vscode/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "devDependencies": { "@types/mocha": "^10.0.7", - "@types/node": "20.x", + "@types/node": "25.x", "@types/vscode": "^1.90.0", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.11.0", @@ -772,13 +772,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.19.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.25.tgz", - "integrity": "sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ==", + "version": "25.2.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.2.tgz", + "integrity": "sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "undici-types": "~7.16.0" } }, "node_modules/@types/vscode": { @@ -5605,9 +5605,9 @@ } }, "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", "dev": true, "license": "MIT" }, diff --git a/newt-vscode/package.json b/newt-vscode/package.json index 5069f7b..2baff85 100644 --- a/newt-vscode/package.json +++ b/newt-vscode/package.json @@ -82,7 +82,7 @@ }, "devDependencies": { "@types/mocha": "^10.0.7", - "@types/node": "20.x", + "@types/node": "25.x", "@types/vscode": "^1.90.0", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.11.0", diff --git a/newt-vscode/tsconfig.json b/newt-vscode/tsconfig.json index 8a79f20..cb2f607 100644 --- a/newt-vscode/tsconfig.json +++ b/newt-vscode/tsconfig.json @@ -2,10 +2,12 @@ "compilerOptions": { "module": "Node16", "target": "ES2022", - "lib": [ - "ES2022" - ], + "lib": [ "ES2022" ], "sourceMap": true, + // so node can run this stuff + "allowImportingTsExtensions": true, + // required by previous, but we use esbuild anyway + "noEmit": true, "rootDir": "src", "strict": true /* enable all strict type-checking options */ /* Additional Checks */