Skip to content

Commit aeafffb

Browse files
Update dependencies. Typescript 6 (#3251)
1 parent 7a30af3 commit aeafffb

40 files changed

Lines changed: 496 additions & 421 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ repos:
9898
- id: ruff-format
9999

100100
- repo: https://github.com/cursorless-dev/talon-tools
101-
rev: v0.8.0
101+
rev: v0.9.0
102102
hooks:
103103
- id: talon-fmt
104104
- id: tree-sitter-fmt

cursorless-talon-dev/src/cursorless_dev_vscode.talon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
app: vscode
22
win.title: /cursorless/
33
-
4+
45
^install local$:
56
user.run_rpc_command("workbench.action.tasks.runTask", "Install local")
67
^uninstall local$:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"eslint-plugin-mocha": "^11.2.0",
4141
"oxfmt": "^0.41.0",
4242
"oxlint": "^1.56.0",
43-
"oxlint-tsgolint": "^0.17.2",
43+
"oxlint-tsgolint": "^0.17.3",
4444
"stylelint": "^17.5.0",
4545
"stylelint-config-standard": "^40.0.0",
4646
"stylelint-config-standard-scss": "^17.0.0",
4747
"syncpack": "^14.2.1",
4848
"tsx": "^4.21.0",
49-
"typescript": "^5.9.3"
49+
"typescript": "^6.0.2"
5050
},
5151
"pnpm": {
5252
"patchedDependencies": {

packages/app-talonjs/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"types": ["node"]
5+
},
36
"include": [
47
"src/**/*.ts",
58
"src/**/*.json",

packages/app-vscode/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,13 +1327,14 @@
13271327
"devDependencies": {
13281328
"@types/fs-extra": "^11.0.4",
13291329
"@types/lodash-es": "^4.17.12",
1330+
"@types/mocha": "^10.0.10",
13301331
"@types/nearley": "^2.11.5",
13311332
"@types/node": "^24.12.0",
13321333
"@types/semver": "^7.7.1",
13331334
"@types/sinon": "^21.0.0",
13341335
"@types/vscode": "1.98.0",
13351336
"esbuild": "^0.27.4",
1336-
"fast-xml-parser": "^5.5.8",
1337+
"fast-xml-parser": "^5.5.9",
13371338
"fs-extra": "^11.3.4",
13381339
"sinon": "^21.0.3",
13391340
"tsx": "^4.21.0"

packages/app-vscode/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"types": ["node", "mocha"]
5+
},
36
"include": [
47
"src/**/*.ts",
58
"src/**/*.json",

packages/app-web-docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@
4646
"@docusaurus/module-type-aliases": "^3.9.2",
4747
"@docusaurus/types": "^3.9.2",
4848
"@types/mdast": "^4.0.4",
49+
"@types/mocha": "^10.0.10",
50+
"@types/node": "^24.12.0",
4951
"@types/react": "^19.2.14",
5052
"sass": "^1.98.0",
51-
"typescript": "^5.9.3",
53+
"typescript": "^6.0.2",
5254
"unified": "^11.0.5"
5355
}
5456
}

packages/app-web-docs/src/docs/components/flattenHighlights.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BorderStyle, Range } from "@cursorless/lib-common";
2-
import * as assert from "assert";
2+
import * as assert from "node:assert";
33
import { flattenHighlights } from "./flattenHighlights";
44
import type { Highlight, Scope } from "./types";
55

packages/app-web-docs/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
"jsx": "react-jsx",
55
"jsxImportSource": "react",
66
"skipLibCheck": true,
7-
"types": ["@docusaurus/theme-classic", "@docusaurus/module-type-aliases"]
7+
"types": [
8+
"node",
9+
"mocha",
10+
"@docusaurus/theme-classic",
11+
"@docusaurus/module-type-aliases"
12+
]
813
},
914
"include": [
1015
"src/**/*.ts",

packages/app-web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"@types/node": "^24.12.0",
24-
"typescript": "^5.9.3",
25-
"vite": "^8.0.1",
24+
"typescript": "^6.0.2",
25+
"vite": "^8.0.2",
2626
"vite-plugin-purgecss": "^0.2.13",
2727
"vite-plugin-svgr": "^4.5.0"
2828
}

0 commit comments

Comments
 (0)