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
1 change: 1 addition & 0 deletions oxlint.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const disabledRules = [
"eslint/no-underscore-dangle",
"eslint/no-use-before-define",
"eslint/no-void",
"eslint/one-var",
"eslint/prefer-destructuring",
"eslint/prefer-named-capture-group",
"eslint/sort-imports",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@
"devDependencies": {
"@pnpm/meta-updater": "^2.0.6",
"@types/node": "^24.13.3",
"esbuild": "^0.28.1",
"esbuild": "^0.28.2",
"eslint-plugin-mocha": "^12.0.2",
"oxfmt": "^0.62.0",
"oxlint": "^1.77.0",
"oxfmt": "^0.64.0",
"oxlint": "^1.79.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.23.11",
"syncpack": "^15.3.3",
"tsx": "^4.23.12",
"typescript": "^6.0.3"
},
"pnpm": {
Expand Down
8 changes: 4 additions & 4 deletions packages/app-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@
"nearley": "^2.20.1",
"semver": "^7.8.5",
"trie-search": "^2.2.1",
"uuid": "^14.0.1",
"uuid": "^14.0.2",
"vscode-uri": "^3.1.0"
},
"devDependencies": {
Expand All @@ -1333,10 +1333,10 @@
"@types/semver": "^7.8.0",
"@types/sinon": "^22.0.0",
"@types/vscode": "1.98.0",
"esbuild": "^0.28.1",
"fast-xml-parser": "^5.10.1",
"esbuild": "^0.28.2",
"fast-xml-parser": "^5.11.0",
"fs-extra": "^11.4.0",
"sinon": "^22.1.0",
"tsx": "^4.23.11"
"tsx": "^4.23.12"
}
}
6 changes: 3 additions & 3 deletions packages/app-web-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "docusaurus build --out-dir out"
},
"dependencies": {
"@algolia/client-search": "^5.56.0",
"@algolia/client-search": "^5.57.0",
"@cursorless/lib-common": "workspace:*",
"@docsearch/react": "^4.7.0",
"@docusaurus/core": "^3.10.2",
Expand All @@ -38,7 +38,7 @@
"prism-react-renderer": "^2.4.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"shiki": "^4.4.2",
"shiki": "^4.4.3",
"unist-util-visit": "^5.1.0"
},
"devDependencies": {
Expand All @@ -49,7 +49,7 @@
"@types/mocha": "^10.0.10",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"sass": "^1.102.0",
"sass": "^1.103.1",
"typescript": "^6.0.3",
"unified": "^11.0.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/app-web-docs/src/docs/components/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Code({
console.error(error);
}
})();
}, [languageId, renderWhitespace, decorations, link, children]);
}, [languageId, renderWhitespace, decorations, children]);

if (html == null) {
return <div className="code-container" />;
Expand Down
13 changes: 5 additions & 8 deletions packages/app-web-docs/src/docs/components/ScrollToHashId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ export function ScrollToHashId() {
if (location.hash) {
const id = location.hash.replace("#", "");
const delay = 100;
let attemptsLeft = 5;

const scrollToId = () => {
const scrollToId = (attemptsLeft: number) => {
const element = document.getElementById(id);

if (element != null) {
Expand All @@ -24,16 +23,14 @@ export function ScrollToHashId() {
element.scrollIntoView();
}

attemptsLeft--;

if (attemptsLeft > 0) {
setTimeout(scrollToId, delay);
if (attemptsLeft > 1) {
setTimeout(() => scrollToId(attemptsLeft - 1), delay);
}
};

setTimeout(scrollToId, delay);
setTimeout(() => scrollToId(5), delay);
}
// oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps
// oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps, react/exhaustive-effect-dependencies
}, []);

return null;
Expand Down
2 changes: 1 addition & 1 deletion packages/app-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@types/node": "^24.13.3",
"typescript": "^6.0.3",
"vite": "^8.2.1",
"vite": "^8.2.2",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-svgr": "^5.2.0"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/app-web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig.web.json",
"compilerOptions": {
"skipLibCheck": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/node": "^24.13.3",
"jest": "^30.4.2",
"typescript": "^6.0.3",
"vite": "^8.2.1",
"vite": "^8.2.2",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-singlefile": "^2.3.3"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const isBrowser = typeof window !== "undefined";
*/
export function useIsHighlighted(id: string): boolean {
if (isBrowser) {
// oxlint-disable-next-line react/hooks
const hash = useHash();
return hash === `#${id}`;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/tinycolor2": "^1.4.6",
"cross-spawn": "^7.0.6",
"fast-check": "^4.9.0",
"js-yaml": "^5.2.3",
"web-tree-sitter": "0.26.10"
"js-yaml": "^5.3.0",
"web-tree-sitter": "^0.26.13"
}
}
8 changes: 4 additions & 4 deletions packages/lib-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
"@cursorless/lib-common": "workspace:*",
"@cursorless/lib-node-common": "workspace:*",
"@cursorless/lib-sentence-parser": "workspace:*",
"@cursorless/talon-tools": "^0.11.2",
"immer": "^11.1.16",
"@cursorless/talon-tools": "^0.12.0",
"immer": "^11.1.18",
"immutability-helper": "^3.1.1",
"itertools": "^2.7.1",
"lodash-es": "^4.18.1",
"moo": "^0.5.3",
"nearley": "^2.20.1",
"uuid": "^14.0.1",
"uuid": "^14.0.2",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@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.13"
}
}
2 changes: 1 addition & 1 deletion packages/lib-neovim-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@cursorless/lib-node-common": "workspace:*",
"lodash-es": "^4.18.1",
"neovim": "^5.4.0",
"uuid": "^14.0.1",
"uuid": "^14.0.2",
"vscode-uri": "^3.1.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 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.16",
"immer": "^11.1.18",
"lodash-es": "^4.18.1",
"node-html-parser": "^9.0.1"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"js-yaml": "^5.2.3"
"js-yaml": "^5.3.0"
}
}
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.16",
"immer": "^11.1.18",
"lodash-es": "^4.18.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-vscode-tutorial-webview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"@types/vscode-webview": "^1.57.5",
"vite": "^8.2.1",
"vite": "^8.2.2",
"vite-plugin-purgecss": "^0.2.13"
}
}
2 changes: 1 addition & 1 deletion packages/test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"@vscode/test-electron": "^3.1.0",
"cross-spawn": "^7.0.6",
"mocha": "^11.8.0",
"tsx": "^4.23.11"
"tsx": "^4.23.12"
}
}
2 changes: 1 addition & 1 deletion packages/test-talon-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"esbuild": "^0.28.1"
"esbuild": "^0.28.2"
}
}
2 changes: 1 addition & 1 deletion 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.16",
"immer": "^11.1.18",
"lodash-es": "^4.18.1"
},
"devDependencies": {
Expand Down
Loading
Loading