getodk / getodk/tree-sitter-xpath

Upgrade tree-sitter dependencies

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Description
Upgrade all dependencies related to `tree-sitter` in the project to their latest compatible versions. Ensure the following requirements are met:

1. Address any conflicts that arise during the upgrade process.
2. Update the [expected version variable](https://github.com/getodk/web-forms/blob/b0ae2c0f98e4ca7cdba352b98e47fdcd4720ed81/packages/tree-sitter-xpath/scripts/build/pre.mjs#L17) to reflect the new `tree-sitter` version.
3. Ensure the bundle size does not increase, as `tree-sitter` already contributes significantly to the bundle size.
4. Verify that no new unnecessary build artifacts are introduced (reference: [build script](https://github.com/getodk/web-forms/blob/b0ae2c0f98e4ca7cdba352b98e47fdcd4720ed81/packages/tree-sitter-xpath/scripts/build/pre.mjs#L7)).
5. Confirm that all scenario tests pass successfully.
6. Verify that performance is unchanged or improved compared to the current implementation.

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with packages/tree-sitter-xpath/scripts/build/pre.mjs, especially the expected version variable and the build logic referenced in the issue. Identify all tree-sitter dependencies, then run the scenario tests and compare bundle size, build artifacts, and performance before and after the upgrade. Done means compatible versions are updated without conflicts, unnecessary artifacts, or regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.