Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
- name: Install luarocks
uses: leafo/gh-actions-luarocks@v6

# Pin pre-commit to a specific version to avoid breaking changes.
- name: Install pre-commit
run: python -m pip install pre-commit==4.5.1

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1

Expand Down
1 change: 1 addition & 0 deletions oxlint.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const disabledRules = [
"import/prefer-default-export",
"node/callback-return",
"node/no-sync",
"node/no-top-level-await",
"oxc/no-async-await",
"oxc/no-barrel-file",
"oxc/no-map-spread",
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
},
"devDependencies": {
"@pnpm/meta-updater": "^2.0.6",
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"esbuild": "^0.28.1",
"eslint-plugin-mocha": "^11.3.0",
"oxfmt": "^0.57.0",
"oxlint": "^1.72.0",
"oxlint-tsgolint": "^0.24.0",
"stylelint": "^17.14.0",
"eslint-plugin-mocha": "^12.0.1",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"oxlint-tsgolint": "^7.0.2001",
"stylelint": "^17.14.1",
"stylelint-config-standard": "^40.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"syncpack": "^15.3.2",
"tsx": "^4.22.5",
"tsx": "^4.23.1",
"typescript": "^6.0.3"
},
"pnpm": {
Expand Down
10 changes: 5 additions & 5 deletions packages/app-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1329,14 +1329,14 @@
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.10",
"@types/nearley": "^2.11.5",
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"@types/semver": "^7.7.1",
"@types/sinon": "^22.0.0",
"@types/vscode": "1.98.0",
"esbuild": "^0.28.1",
"fast-xml-parser": "^5.9.3",
"fs-extra": "^11.3.6",
"sinon": "^22.0.0",
"tsx": "^4.22.5"
"fast-xml-parser": "^5.10.1",
"fs-extra": "^11.4.0",
"sinon": "^22.1.0",
"tsx": "^4.23.1"
}
}
30 changes: 15 additions & 15 deletions packages/app-web-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@
"build": "docusaurus build --out-dir out"
},
"dependencies": {
"@algolia/client-search": "^5.55.1",
"@algolia/client-search": "^5.56.0",
"@cursorless/lib-common": "workspace:*",
"@docsearch/react": "^4.6.3",
"@docusaurus/core": "^3.10.1",
"@docusaurus/faster": "^3.10.1",
"@docusaurus/preset-classic": "^3.10.1",
"@docusaurus/theme-classic": "^3.10.1",
"@docusaurus/theme-common": "^3.10.1",
"@docusaurus/theme-search-algolia": "^3.10.1",
"@docsearch/react": "^4.7.0",
"@docusaurus/core": "^3.10.2",
"@docusaurus/faster": "^3.10.2",
"@docusaurus/preset-classic": "^3.10.2",
"@docusaurus/theme-classic": "^3.10.2",
"@docusaurus/theme-common": "^3.10.2",
"@docusaurus/theme-search-algolia": "^3.10.2",
"@mdx-js/react": "^3.1.1",
"bootstrap": "^5.3.8",
"docusaurus-plugin-sass": "^0.2.6",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"shiki": "^4.3.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"shiki": "^4.3.1",
"unist-util-visit": "^5.1.0"
},
"devDependencies": {
"@cursorless/lib-node-common": "workspace:*",
"@docusaurus/module-type-aliases": "^3.10.1",
"@docusaurus/types": "^3.10.1",
"@docusaurus/module-type-aliases": "^3.10.2",
"@docusaurus/types": "^3.10.2",
"@types/mdast": "^4.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"@types/react": "^19.2.17",
"sass": "^1.101.0",
"sass": "^1.102.0",
"typescript": "^6.0.3",
"unified": "^11.0.5"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/app-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"@cursorless/lib-cheatsheet": "workspace:*",
"@cursorless/lib-common": "workspace:*",
"bootstrap": "^5.3.8",
"preact": "^10.29.3",
"preact": "^10.29.7",
"react-player": "^3.4.0",
"wouter-preact": "^3.10.0"
},
"devDependencies": {
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"typescript": "^6.0.3",
"vite": "^8.1.3",
"vite": "^8.1.5",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-svgr": "^5.2.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/lib-cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"@cursorless/lib-cheatsheet": "workspace:*",
"@cursorless/lib-common": "workspace:*",
"bootstrap": "^5.3.8",
"preact": "^10.29.3"
"preact": "^10.29.7"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"jest": "^30.4.2",
"typescript": "^6.0.3",
"vite": "^8.1.3",
"vite": "^8.1.5",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-singlefile": "^2.3.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-cheatsheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"dependencies": {
"@cursorless/lib-common": "workspace:*",
"preact": "^10.29.3",
"preact": "^10.29.7",
"react-bootstrap-icons": "^1.11.6"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"jest": "^30.4.2",
Comment thread
AndreasArvidsson marked this conversation as resolved.
"jest-environment-jsdom": "^30.4.1",
"ts-jest": "^29.4.11",
"ts-jest": "^29.4.12",
"typescript": "^6.0.3"
}
}
6 changes: 3 additions & 3 deletions packages/lib-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/mocha": "^10.0.10",
"@types/tinycolor2": "^1.4.6",
"cross-spawn": "^7.0.6",
"fast-check": "^4.8.0",
"js-yaml": "^5.2.1",
"web-tree-sitter": "^0.26.10"
"fast-check": "^4.9.0",
"js-yaml": "^5.2.2",
"web-tree-sitter": "0.26.10"
}
}
4 changes: 2 additions & 2 deletions packages/lib-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@cursorless/lib-node-common": "workspace:*",
"@cursorless/lib-sentence-parser": "workspace:*",
"@cursorless/talon-tools": "^0.11.0",
"immer": "^11.1.9",
"immer": "^11.1.15",
"immutability-helper": "^3.1.1",
"itertools": "^2.7.1",
"lodash-es": "^4.18.1",
Expand All @@ -35,6 +35,6 @@
"@types/mocha": "^10.0.10",
"@types/moo": "^0.5.10",
"@types/nearley": "^2.11.5",
"web-tree-sitter": "^0.26.10"
"web-tree-sitter": "0.26.10"
Comment thread
AndreasArvidsson marked this conversation as resolved.
}
}
6 changes: 3 additions & 3 deletions packages/lib-node-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"dependencies": {
"@cursorless/lib-common": "workspace:*",
"fast-glob": "^3.3.3",
"immer": "^11.1.9",
"immer": "^11.1.15",
"lodash-es": "^4.18.1",
"node-html-parser": "^8.0.4"
"node-html-parser": "^9.0.1"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"js-yaml": "^5.2.1"
"js-yaml": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/lib-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@cursorless/lib-common": "workspace:*",
"@cursorless/lib-engine": "workspace:*",
"immer": "^11.1.9",
"immer": "^11.1.15",
"lodash-es": "^4.18.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-vscode-tutorial-webview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependencies": {
"@cursorless/lib-common": "workspace:*",
"bootstrap": "^5.3.8",
"preact": "^10.29.3"
"preact": "^10.29.7"
},
"devDependencies": {
"@types/vscode-webview": "^1.57.5",
"vite": "^8.1.3",
"vite": "^8.1.5",
"vite-plugin-purgecss": "^0.2.13"
}
}
6 changes: 3 additions & 3 deletions packages/lib-vscode-tutorial-webview/src/ArrowLeftIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { FunctionComponent } from "preact";
import type { JSX } from "preact";

interface Props {
size?: number;
}

export const ArrowLeftIcon: FunctionComponent<Props> = ({ size = 16 }) => {
export function ArrowLeftIcon({ size = 16 }: Props): JSX.Element {
// From https://github.com/microsoft/vscode-codicons/blob/eaa030691d720b9c5c0efa93d9be9e2e45d7262b/src/icons/arrow-left.svg
// FIXME: Use codicons the way it's intended; see https://github.com/microsoft/vscode-codicons
return (
Expand All @@ -22,4 +22,4 @@ export const ArrowLeftIcon: FunctionComponent<Props> = ({ size = 16 }) => {
/>
</svg>
);
};
}
6 changes: 3 additions & 3 deletions packages/lib-vscode-tutorial-webview/src/ArrowRightIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { FunctionComponent } from "preact";
import type { JSX } from "preact";

interface Props {
size?: number;
}

export const ArrowRightIcon: FunctionComponent<Props> = ({ size = 16 }) => {
export function ArrowRightIcon({ size = 16 }: Props): JSX.Element {
// From https://github.com/microsoft/vscode-codicons/blob/eaa030691d720b9c5c0efa93d9be9e2e45d7262b/src/icons/arrow-right.svg
// FIXME: Use codicons the way it's intended; see https://github.com/microsoft/vscode-codicons
return (
Expand All @@ -22,4 +22,4 @@ export const ArrowRightIcon: FunctionComponent<Props> = ({ size = 16 }) => {
/>
</svg>
);
};
}
6 changes: 3 additions & 3 deletions packages/lib-vscode-tutorial-webview/src/CloseIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { FunctionComponent } from "preact";
import type { JSX } from "preact";

export const CloseIcon: FunctionComponent = () => {
export function CloseIcon(): JSX.Element {
// From https://github.com/microsoft/vscode-codicons/blob/eaa030691d720b9c5c0efa93d9be9e2e45d7262b/src/icons/close.svg
// FIXME: Use codicons the way it's intended; see https://github.com/microsoft/vscode-codicons
return (
Expand All @@ -18,4 +18,4 @@ export const CloseIcon: FunctionComponent = () => {
/>
</svg>
);
};
}
8 changes: 4 additions & 4 deletions packages/lib-vscode-tutorial-webview/src/Command.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { FunctionComponent } from "preact";
import type { JSX } from "preact";

interface CommandProps {
interface Props {
spokenForm: string;
}

export const Command: FunctionComponent<CommandProps> = ({ spokenForm }) => {
export function Command({ spokenForm }: Props): JSX.Element {
return <code>{`"${spokenForm}"`}</code>;
};
}
2 changes: 1 addition & 1 deletion packages/test-neovim-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@types/mocha": "^10.0.10",
"@types/sinon": "^22.0.0",
"neovim": "^5.4.0",
"sinon": "^22.0.0"
"sinon": "^22.1.0"
}
}
4 changes: 2 additions & 2 deletions packages/test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@types/cross-spawn": "^6.0.6",
"@types/mocha": "^10.0.10",
"@types/tail": "^2.2.3",
"@vscode/test-electron": "^3.0.0",
"@vscode/test-electron": "^3.1.0",
"cross-spawn": "^7.0.6",
"mocha": "^11.7.6",
"tsx": "^4.22.5"
"tsx": "^4.23.1"
}
}
4 changes: 2 additions & 2 deletions packages/test-vscode-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@cursorless/lib-common": "workspace:*",
"@cursorless/lib-node-common": "workspace:*",
"@cursorless/lib-vscode-common": "workspace:*",
"immer": "^11.1.9",
"immer": "^11.1.15",
"lodash-es": "^4.18.1"
},
"devDependencies": {
Expand All @@ -23,6 +23,6 @@
"@types/sinon": "^22.0.0",
"@types/vscode": "1.98.0",
"semver": "^7.8.5",
"sinon": "^22.0.0"
"sinon": "^22.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/tool-meta-updater/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@types/normalize-path": "^3.0.2",
"lodash-es": "^4.18.1",
"normalize-path": "^3.0.0",
"type-fest": "^5.7.0"
"type-fest": "^5.8.0"
}
}
Loading
Loading