cleanup/changes to vscode package.json

This commit is contained in:
2026-02-11 17:26:45 -08:00
parent 6a16dc6150
commit 7048553906
4 changed files with 19 additions and 13 deletions

View File

@@ -1,7 +1,9 @@
## TODO ## 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] Unsolved metas should be errors (user metas are fine)
- [x] Better syntax for forward declared data (so we can distinguish from functions) - [x] Better syntax for forward declared data (so we can distinguish from functions)
- [ ] maybe allow "Main" module name for any file - [ ] maybe allow "Main" module name for any file
@@ -316,6 +318,8 @@
- [x] top level - [x] top level
- [x] case statements - [x] case statements
- [ ] Lean ⟨ ⟩ anonymous constructors - [ ] 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) - [ ] Lean-like .map, etc? (resolve name in namespace of target type, etc)
- [x] autos / typeclass resolution - [x] autos / typeclass resolution
- [x] very primitive version in place, not higher order, search at end - [x] very primitive version in place, not higher order, search at end

View File

@@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/mocha": "^10.0.7", "@types/mocha": "^10.0.7",
"@types/node": "20.x", "@types/node": "25.x",
"@types/vscode": "^1.90.0", "@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0", "@typescript-eslint/parser": "^7.11.0",
@@ -772,13 +772,13 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.19.25", "version": "25.2.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.25.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.2.tgz",
"integrity": "sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ==", "integrity": "sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.21.0" "undici-types": "~7.16.0"
} }
}, },
"node_modules/@types/vscode": { "node_modules/@types/vscode": {
@@ -5605,9 +5605,9 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.21.0", "version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },

View File

@@ -82,7 +82,7 @@
}, },
"devDependencies": { "devDependencies": {
"@types/mocha": "^10.0.7", "@types/mocha": "^10.0.7",
"@types/node": "20.x", "@types/node": "25.x",
"@types/vscode": "^1.90.0", "@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0", "@typescript-eslint/parser": "^7.11.0",

View File

@@ -2,10 +2,12 @@
"compilerOptions": { "compilerOptions": {
"module": "Node16", "module": "Node16",
"target": "ES2022", "target": "ES2022",
"lib": [ "lib": [ "ES2022" ],
"ES2022"
],
"sourceMap": true, "sourceMap": true,
// so node can run this stuff
"allowImportingTsExtensions": true,
// required by previous, but we use esbuild anyway
"noEmit": true,
"rootDir": "src", "rootDir": "src",
"strict": true /* enable all strict type-checking options */ "strict": true /* enable all strict type-checking options */
/* Additional Checks */ /* Additional Checks */