From e115cff053e4c27dceffc4f407a6cec71f910747 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 14:42:58 -0400 Subject: [PATCH 01/55] chore(deps): update dependency @types/node to v22.15.3 (#75) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 20 ++++++++++---------- scripts/create-lang/package.json | 2 +- scripts/nursery/package.json | 2 +- scripts/setup/package.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74ad380a..bd3952df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -457,8 +457,8 @@ importers: version: 2.4.2 devDependencies: '@types/node': - specifier: 22.14.1 - version: 22.14.1 + specifier: 22.15.3 + version: 22.15.3 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -473,8 +473,8 @@ importers: version: 0.37.0 devDependencies: '@types/node': - specifier: 22.14.1 - version: 22.14.1 + specifier: 22.15.3 + version: 22.15.3 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -482,8 +482,8 @@ importers: scripts/setup: devDependencies: '@types/node': - specifier: 22.14.1 - version: 22.14.1 + specifier: 22.15.3 + version: 22.15.3 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -840,8 +840,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.14.1': - resolution: {integrity: sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==} + '@types/node@22.15.3': + resolution: {integrity: sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1737,13 +1737,13 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.14.1': + '@types/node@22.15.3': dependencies: undici-types: 6.21.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.14.1 + '@types/node': 22.15.3 kleur: 3.0.3 ansi-colors@4.1.3: {} diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index 1b202463..c39d8ecc 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -28,7 +28,7 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { - "@types/node": "22.14.1", + "@types/node": "22.15.3", "@types/prompts": "^2.4.9", "typescript": "^5.7.3" } diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 3d858dbd..8ba47cc8 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -20,6 +20,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.14.1" + "@types/node": "22.15.3" } } diff --git a/scripts/setup/package.json b/scripts/setup/package.json index 40b6ab81..2e71b54d 100644 --- a/scripts/setup/package.json +++ b/scripts/setup/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.14.1" + "@types/node": "22.15.3" } } From 344a0086b1e391cfe35ca5868eafdc2c4a7f682e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 19:59:11 -0400 Subject: [PATCH 02/55] chore(deps): update dependency @changesets/cli to v2.29.4 (#77) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 57 ++++++++++++++++++++++---------------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bd3952df..46185c1f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.9.4 '@changesets/cli': specifier: ^2.28.1 - version: 2.29.2 + version: 2.29.4 husky: specifier: 9.1.7 version: 9.1.7 @@ -673,8 +673,8 @@ packages: '@ast-grep/setup-lang@0.0.3': resolution: {integrity: sha512-+ZNOuf0r7ABVwOANrrQpUrUv7xyuhsZGyQ88WZCH/euQmIEvSH3JsUFevg/60M7hi8NVh4vfSQs6ajTpumSzxg==} - '@babel/runtime@7.27.0': - resolution: {integrity: sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==} + '@babel/runtime@7.27.6': + resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==} engines: {node: '>=6.9.0'} '@biomejs/biome@1.9.4': @@ -733,14 +733,14 @@ packages: '@changesets/apply-release-plan@7.0.12': resolution: {integrity: sha512-EaET7As5CeuhTzvXTQCRZeBUcisoYPDDcXvgTE/2jmmypKp0RC7LxKj/yzqeh/1qFTZI7oDGFcL1PHRuQuketQ==} - '@changesets/assemble-release-plan@6.0.6': - resolution: {integrity: sha512-Frkj8hWJ1FRZiY3kzVCKzS0N5mMwWKwmv9vpam7vt8rZjLL1JMthdh6pSDVSPumHPshTTkKZ0VtNbE0cJHZZUg==} + '@changesets/assemble-release-plan@6.0.8': + resolution: {integrity: sha512-y8+8LvZCkKJdbUlpXFuqcavpzJR80PN0OIfn8HZdwK7Sh6MgLXm4hKY5vu6/NDoKp8lAlM4ERZCqRMLxP4m+MQ==} '@changesets/changelog-git@0.2.1': resolution: {integrity: sha512-x/xEleCFLH28c3bQeQIyeZf8lFXyDFVn1SgcBiR2Tw/r4IAWlk1fzxCEZ6NxQAjF2Nwtczoen3OA2qR+UawQ8Q==} - '@changesets/cli@2.29.2': - resolution: {integrity: sha512-vwDemKjGYMOc0l6WUUTGqyAWH3AmueeyoJa1KmFRtCYiCoY5K3B68ErYpDB6H48T4lLI4czum4IEjh6ildxUeg==} + '@changesets/cli@2.29.4': + resolution: {integrity: sha512-VW30x9oiFp/un/80+5jLeWgEU6Btj8IqOgI+X/zAYu4usVOWXjPIK5jSSlt5jsCU7/6Z7AxEkarxBxGUqkAmNg==} hasBin: true '@changesets/config@3.1.1': @@ -752,8 +752,8 @@ packages: '@changesets/get-dependents-graph@2.1.3': resolution: {integrity: sha512-gphr+v0mv2I3Oxt19VdWRRUxq3sseyUpX9DaHpTUmLj92Y10AGy+XOtV+kbM6L/fDcpx7/ISDFK6T8A/P3lOdQ==} - '@changesets/get-release-plan@4.0.10': - resolution: {integrity: sha512-CCJ/f3edYaA3MqoEnWvGGuZm0uMEMzNJ97z9hdUR34AOvajSwySwsIzC/bBu3+kuGDsB+cny4FljG8UBWAa7jg==} + '@changesets/get-release-plan@4.0.12': + resolution: {integrity: sha512-KukdEgaafnyGryUwpHG2kZ7xJquOmWWWk5mmoeQaSvZTWH1DC5D/Sw6ClgGFYtQnOMSQhgoEbDxAbpIIayKH1g==} '@changesets/get-version-range-type@0.4.0': resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} @@ -1098,9 +1098,6 @@ packages: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} - regenerator-runtime@0.14.1: - resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} @@ -1115,8 +1112,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - semver@7.7.1: - resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + semver@7.7.2: + resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} engines: {node: '>=10'} hasBin: true @@ -1504,9 +1501,7 @@ snapshots: '@ast-grep/setup-lang@0.0.3': {} - '@babel/runtime@7.27.0': - dependencies: - regenerator-runtime: 0.14.1 + '@babel/runtime@7.27.6': {} '@biomejs/biome@1.9.4': optionalDependencies: @@ -1557,30 +1552,30 @@ snapshots: outdent: 0.5.0 prettier: 2.8.8 resolve-from: 5.0.0 - semver: 7.7.1 + semver: 7.7.2 - '@changesets/assemble-release-plan@6.0.6': + '@changesets/assemble-release-plan@6.0.8': dependencies: '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.3 '@changesets/should-skip-package': 0.1.2 '@changesets/types': 6.1.0 '@manypkg/get-packages': 1.1.3 - semver: 7.7.1 + semver: 7.7.2 '@changesets/changelog-git@0.2.1': dependencies: '@changesets/types': 6.1.0 - '@changesets/cli@2.29.2': + '@changesets/cli@2.29.4': dependencies: '@changesets/apply-release-plan': 7.0.12 - '@changesets/assemble-release-plan': 6.0.6 + '@changesets/assemble-release-plan': 6.0.8 '@changesets/changelog-git': 0.2.1 '@changesets/config': 3.1.1 '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.3 - '@changesets/get-release-plan': 4.0.10 + '@changesets/get-release-plan': 4.0.12 '@changesets/git': 3.0.4 '@changesets/logger': 0.1.1 '@changesets/pre': 2.0.2 @@ -1599,7 +1594,7 @@ snapshots: package-manager-detector: 0.2.11 picocolors: 1.1.1 resolve-from: 5.0.0 - semver: 7.7.1 + semver: 7.7.2 spawndamnit: 3.0.1 term-size: 2.2.1 @@ -1622,11 +1617,11 @@ snapshots: '@changesets/types': 6.1.0 '@manypkg/get-packages': 1.1.3 picocolors: 1.1.1 - semver: 7.7.1 + semver: 7.7.2 - '@changesets/get-release-plan@4.0.10': + '@changesets/get-release-plan@4.0.12': dependencies: - '@changesets/assemble-release-plan': 6.0.6 + '@changesets/assemble-release-plan': 6.0.8 '@changesets/config': 3.1.1 '@changesets/pre': 2.0.2 '@changesets/read': 0.6.5 @@ -1693,14 +1688,14 @@ snapshots: '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.27.0 + '@babel/runtime': 7.27.6 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.27.0 + '@babel/runtime': 7.27.6 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -1959,8 +1954,6 @@ snapshots: pify: 4.0.1 strip-bom: 3.0.0 - regenerator-runtime@0.14.1: {} - resolve-from@5.0.0: {} reusify@1.1.0: {} @@ -1971,7 +1964,7 @@ snapshots: safer-buffer@2.1.2: {} - semver@7.7.1: {} + semver@7.7.2: {} shebang-command@2.0.0: dependencies: From 8fdf0898c3ca00cac826112389eed3386d747d01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:01:06 -0400 Subject: [PATCH 03/55] fix(deps): update dependency @ast-grep/napi to v0.38.5 (#79) * fix(deps): update dependency @ast-grep/napi to v0.38.5 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-79.md | 5 ++ pnpm-lock.yaml | 82 ++++++++++++++++---------------- scripts/nursery/package.json | 2 +- 3 files changed, 47 insertions(+), 42 deletions(-) create mode 100644 .changeset/dependencies-GH-79.md diff --git a/.changeset/dependencies-GH-79.md b/.changeset/dependencies-GH-79.md new file mode 100644 index 00000000..29e4aa2b --- /dev/null +++ b/.changeset/dependencies-GH-79.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/nursery": patch +--- + +fix(deps): update dependency @ast-grep/napi to v0.38.5 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46185c1f..d0df885e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -469,8 +469,8 @@ importers: scripts/nursery: dependencies: '@ast-grep/napi': - specifier: 0.37.0 - version: 0.37.0 + specifier: 0.38.5 + version: 0.38.5 devDependencies: '@types/node': specifier: 22.15.3 @@ -502,8 +502,8 @@ packages: cpu: [arm64] os: [darwin] - '@ast-grep/napi-darwin-arm64@0.37.0': - resolution: {integrity: sha512-QAiIiaAbLvMEg/yBbyKn+p1gX2/FuaC0SMf7D7capm/oG4xGMzdeaQIcSosF4TCxxV+hIH4Bz9e4/u7w6Bnk3Q==} + '@ast-grep/napi-darwin-arm64@0.38.5': + resolution: {integrity: sha512-Ky60f2O2Od7ySDLF8QOPX5PvdNw/1DGlqxLvKYF1wJUMAY3/7ZRGxDSZ+m3BwvYCMhvKCLWSthQ3eMuZyEUZzQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -520,8 +520,8 @@ packages: cpu: [x64] os: [darwin] - '@ast-grep/napi-darwin-x64@0.37.0': - resolution: {integrity: sha512-zvcvdgekd4ySV3zUbUp8HF5nk5zqwiMXTuVzTUdl/w08O7JjM6XPOIVT+d2o/MqwM9rsXdzdergY5oY2RdhSPA==} + '@ast-grep/napi-darwin-x64@0.38.5': + resolution: {integrity: sha512-4AOenxM5lC9nzSnTPmmDDYUG3Rrh4VjbmWf6JbZPhvhdgMnKigbFVvv2BqhzxBtI8MxJ86jNmuI3KW1QYc+V1A==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -538,8 +538,8 @@ packages: cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-gnu@0.37.0': - resolution: {integrity: sha512-L7Sj0lXy8X+BqSMgr1LB8cCoWk0rericdeu+dC8/c8zpsav5Oo2IQKY1PmiZ7H8IHoFBbURLf8iklY9wsD+cyA==} + '@ast-grep/napi-linux-arm64-gnu@0.38.5': + resolution: {integrity: sha512-8ePpkH15Patg4PdwreB64YXaIynyaNm6RbnkMKnZ6jFYnAa00NeWZ7lv1vdD01q5pzI4k3jx6deBGEvgRZ8hww==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -556,8 +556,8 @@ packages: cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.37.0': - resolution: {integrity: sha512-LF9sAvYy6es/OdyJDO3RwkX3I82Vkfsng1sqUBcoWC1jVb1wX5YVzHtpQox9JrEhGl+bNp7FYxB4Qba9OdA5GA==} + '@ast-grep/napi-linux-arm64-musl@0.38.5': + resolution: {integrity: sha512-TG1e6AgRXksJuBMEVKV75h6aNoaE1IpIR4WB0CM6VTK84vjAlCh70XvFbqicowpCPJkWoQ2fhy4Ux+B8YykpJA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -574,8 +574,8 @@ packages: cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.37.0': - resolution: {integrity: sha512-TViz5/klqre6aSmJzswEIjApnGjJzstG/SE8VDWsrftMBMYt2PTu3MeluZVwzSqDao8doT/P+6U11dU05UOgxw==} + '@ast-grep/napi-linux-x64-gnu@0.38.5': + resolution: {integrity: sha512-BD8PEBras1EfbRHpZXUXJrAfaXcCL2ZZTgk+BNd/p//CWGqVQRbbVib5irRRETJf804ElXPD7uLV6IWeQP5u+w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -592,8 +592,8 @@ packages: cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-musl@0.37.0': - resolution: {integrity: sha512-/BcCH33S9E3ovOAEoxYngUNXgb+JLg991sdyiNP2bSoYd30a9RHrG7CYwW6fMgua3ijQ474eV6cq9yZO1bCpXg==} + '@ast-grep/napi-linux-x64-musl@0.38.5': + resolution: {integrity: sha512-fJyehG0xPe9Hvp64o4N1gVIbJ3oBXvMaN81pXSTcMP9QI5v/H40igZ4XoPkobSGittPr7x3ooDv9WIwuzc4pxA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -610,8 +610,8 @@ packages: cpu: [arm64] os: [win32] - '@ast-grep/napi-win32-arm64-msvc@0.37.0': - resolution: {integrity: sha512-TjQA4cFoIEW2bgjLkaL9yqT4XWuuLa5MCNd0VCDhGRDMNQ9+rhwi9eLOWRaap3xzT7g+nlbcEHL3AkVCD2+b3A==} + '@ast-grep/napi-win32-arm64-msvc@0.38.5': + resolution: {integrity: sha512-25wyag97kE6nv1hHaNuPgORYbSUndgsAUKCSarsEDI5BBp6h0YDdFY+VzM+SH62F0RBqj0bkpud38UblftfgFw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -628,8 +628,8 @@ packages: cpu: [ia32] os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.37.0': - resolution: {integrity: sha512-uNmVka8fJCdYsyOlF9aZqQMLTatEYBynjChVTzUfFMDfmZ0bihs/YTqJVbkSm8TZM7CUX82apvn50z/dX5iWRA==} + '@ast-grep/napi-win32-ia32-msvc@0.38.5': + resolution: {integrity: sha512-9ZmG9xAxxxMbDvhf2QQ0bq/e9BJ+TVXFsj9Fp5Ju7dkyCRFwLGquL/RapE/jz/L11zfu+Z7EVZfmp1RnmGxpWw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -646,8 +646,8 @@ packages: cpu: [x64] os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.37.0': - resolution: {integrity: sha512-vCiFOT3hSCQuHHfZ933GAwnPzmL0G04JxQEsBRfqONywyT8bSdDc/ECpAfr3S9VcS4JZ9/F6tkePKW/Om2Dq2g==} + '@ast-grep/napi-win32-x64-msvc@0.38.5': + resolution: {integrity: sha512-DNeLIwkK/BKyYX5ymmeioqpXOXGcOxj2OgLpWiyk/VawwQe6uGgrH97k3pRku513dzHKayfizvU2igjj9oTJuA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -660,8 +660,8 @@ packages: resolution: {integrity: sha512-ByenQQ0BtqqY0pvlmipvkDv/cKl/9vVjBydS7hloXOdmXPoUF0pHdlilC7ZfrRW97EzPQQZT2jgHl2tu7zg9QA==} engines: {node: '>= 10'} - '@ast-grep/napi@0.37.0': - resolution: {integrity: sha512-Hb4o6h1Pf6yRUAX07DR4JVY7dmQw+RVQMW5/m55GoiAT/VRoKCWBtIUPPOnqDVhbx1Cjfil9b6EDrgJsUAujEQ==} + '@ast-grep/napi@0.38.5': + resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} engines: {node: '>= 10'} '@ast-grep/nursery@0.0.2': @@ -1380,7 +1380,7 @@ snapshots: '@ast-grep/napi-darwin-arm64@0.36.2': optional: true - '@ast-grep/napi-darwin-arm64@0.37.0': + '@ast-grep/napi-darwin-arm64@0.38.5': optional: true '@ast-grep/napi-darwin-x64@0.33.0': @@ -1389,7 +1389,7 @@ snapshots: '@ast-grep/napi-darwin-x64@0.36.2': optional: true - '@ast-grep/napi-darwin-x64@0.37.0': + '@ast-grep/napi-darwin-x64@0.38.5': optional: true '@ast-grep/napi-linux-arm64-gnu@0.33.0': @@ -1398,7 +1398,7 @@ snapshots: '@ast-grep/napi-linux-arm64-gnu@0.36.2': optional: true - '@ast-grep/napi-linux-arm64-gnu@0.37.0': + '@ast-grep/napi-linux-arm64-gnu@0.38.5': optional: true '@ast-grep/napi-linux-arm64-musl@0.33.0': @@ -1407,7 +1407,7 @@ snapshots: '@ast-grep/napi-linux-arm64-musl@0.36.2': optional: true - '@ast-grep/napi-linux-arm64-musl@0.37.0': + '@ast-grep/napi-linux-arm64-musl@0.38.5': optional: true '@ast-grep/napi-linux-x64-gnu@0.33.0': @@ -1416,7 +1416,7 @@ snapshots: '@ast-grep/napi-linux-x64-gnu@0.36.2': optional: true - '@ast-grep/napi-linux-x64-gnu@0.37.0': + '@ast-grep/napi-linux-x64-gnu@0.38.5': optional: true '@ast-grep/napi-linux-x64-musl@0.33.0': @@ -1425,7 +1425,7 @@ snapshots: '@ast-grep/napi-linux-x64-musl@0.36.2': optional: true - '@ast-grep/napi-linux-x64-musl@0.37.0': + '@ast-grep/napi-linux-x64-musl@0.38.5': optional: true '@ast-grep/napi-win32-arm64-msvc@0.33.0': @@ -1434,7 +1434,7 @@ snapshots: '@ast-grep/napi-win32-arm64-msvc@0.36.2': optional: true - '@ast-grep/napi-win32-arm64-msvc@0.37.0': + '@ast-grep/napi-win32-arm64-msvc@0.38.5': optional: true '@ast-grep/napi-win32-ia32-msvc@0.33.0': @@ -1443,7 +1443,7 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc@0.36.2': optional: true - '@ast-grep/napi-win32-ia32-msvc@0.37.0': + '@ast-grep/napi-win32-ia32-msvc@0.38.5': optional: true '@ast-grep/napi-win32-x64-msvc@0.33.0': @@ -1452,7 +1452,7 @@ snapshots: '@ast-grep/napi-win32-x64-msvc@0.36.2': optional: true - '@ast-grep/napi-win32-x64-msvc@0.37.0': + '@ast-grep/napi-win32-x64-msvc@0.38.5': optional: true '@ast-grep/napi@0.33.0': @@ -1479,17 +1479,17 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.36.2 '@ast-grep/napi-win32-x64-msvc': 0.36.2 - '@ast-grep/napi@0.37.0': + '@ast-grep/napi@0.38.5': optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.37.0 - '@ast-grep/napi-darwin-x64': 0.37.0 - '@ast-grep/napi-linux-arm64-gnu': 0.37.0 - '@ast-grep/napi-linux-arm64-musl': 0.37.0 - '@ast-grep/napi-linux-x64-gnu': 0.37.0 - '@ast-grep/napi-linux-x64-musl': 0.37.0 - '@ast-grep/napi-win32-arm64-msvc': 0.37.0 - '@ast-grep/napi-win32-ia32-msvc': 0.37.0 - '@ast-grep/napi-win32-x64-msvc': 0.37.0 + '@ast-grep/napi-darwin-arm64': 0.38.5 + '@ast-grep/napi-darwin-x64': 0.38.5 + '@ast-grep/napi-linux-arm64-gnu': 0.38.5 + '@ast-grep/napi-linux-arm64-musl': 0.38.5 + '@ast-grep/napi-linux-x64-gnu': 0.38.5 + '@ast-grep/napi-linux-x64-musl': 0.38.5 + '@ast-grep/napi-win32-arm64-msvc': 0.38.5 + '@ast-grep/napi-win32-ia32-msvc': 0.38.5 + '@ast-grep/napi-win32-x64-msvc': 0.38.5 '@ast-grep/nursery@0.0.2': dependencies: diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 8ba47cc8..1bd7b025 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -12,7 +12,7 @@ "prepublishOnly": "tsc" }, "dependencies": { - "@ast-grep/napi": "0.37.0" + "@ast-grep/napi": "0.38.5" }, "publishConfig": { "access": "public", From 57c762fc8504605d38727d4499739637f0e654eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:01:21 -0400 Subject: [PATCH 04/55] chore(deps): update dependency tree-sitter-scala to v0.24.0 (#86) * chore(deps): update dependency tree-sitter-scala to v0.24.0 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-86.md | 5 +++++ packages/scala/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/dependencies-GH-86.md diff --git a/.changeset/dependencies-GH-86.md b/.changeset/dependencies-GH-86.md new file mode 100644 index 00000000..748f9236 --- /dev/null +++ b/.changeset/dependencies-GH-86.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-scala": patch +--- + +chore(deps): update dependency tree-sitter-scala to v0.24.0 diff --git a/packages/scala/package.json b/packages/scala/package.json index 5859ffa2..cb7b64b7 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.3", "tree-sitter-cli": "0.24.6", - "tree-sitter-scala": "0.23.4" + "tree-sitter-scala": "0.24.0" }, "publishConfig": { "access": "public", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d0df885e..1eee388f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -351,8 +351,8 @@ importers: specifier: 0.24.6 version: 0.24.6 tree-sitter-scala: - specifier: 0.23.4 - version: 0.23.4(tree-sitter@0.21.1) + specifier: 0.24.0 + version: 0.24.0(tree-sitter@0.21.1) packages/sql: dependencies: @@ -1327,8 +1327,8 @@ packages: tree-sitter: optional: true - tree-sitter-scala@0.23.4: - resolution: {integrity: sha512-bNUt7ccJVNRXbPno79XEdbECmO8RabVMUgki4oYmndbvOGKqVWTAjaw2lJRENX0NR5tbMPoSfeoX0uJV/15NrA==} + tree-sitter-scala@0.24.0: + resolution: {integrity: sha512-vkMuAUrBZ1zZz2XcGDQk18Kz73JkpgaeXzbNVobPke0G35sd9jH32aUxG6OLRKM7et0TbsfqkWf4DeJoGk4K1g==} peerDependencies: tree-sitter: ^0.21.1 peerDependenciesMeta: @@ -2130,7 +2130,7 @@ snapshots: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 - tree-sitter-scala@0.23.4(tree-sitter@0.21.1): + tree-sitter-scala@0.24.0(tree-sitter@0.21.1): dependencies: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 From 59e53a82f35bb5aa34a0aa99aebdf0251a2feba7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:01:48 -0400 Subject: [PATCH 05/55] chore(deps): update dependency @types/node to v22.15.30 (#78) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 20 ++++++++++---------- scripts/create-lang/package.json | 2 +- scripts/nursery/package.json | 2 +- scripts/setup/package.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1eee388f..999d47fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -457,8 +457,8 @@ importers: version: 2.4.2 devDependencies: '@types/node': - specifier: 22.15.3 - version: 22.15.3 + specifier: 22.15.30 + version: 22.15.30 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -473,8 +473,8 @@ importers: version: 0.38.5 devDependencies: '@types/node': - specifier: 22.15.3 - version: 22.15.3 + specifier: 22.15.30 + version: 22.15.30 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -482,8 +482,8 @@ importers: scripts/setup: devDependencies: '@types/node': - specifier: 22.15.3 - version: 22.15.3 + specifier: 22.15.30 + version: 22.15.30 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -840,8 +840,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.15.3': - resolution: {integrity: sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==} + '@types/node@22.15.30': + resolution: {integrity: sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1732,13 +1732,13 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.15.3': + '@types/node@22.15.30': dependencies: undici-types: 6.21.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.15.3 + '@types/node': 22.15.30 kleur: 3.0.3 ansi-colors@4.1.3: {} diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index c39d8ecc..bf15cbdb 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -28,7 +28,7 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { - "@types/node": "22.15.3", + "@types/node": "22.15.30", "@types/prompts": "^2.4.9", "typescript": "^5.7.3" } diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 1bd7b025..e6dceb26 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -20,6 +20,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.15.3" + "@types/node": "22.15.30" } } diff --git a/scripts/setup/package.json b/scripts/setup/package.json index 2e71b54d..44c518d4 100644 --- a/scripts/setup/package.json +++ b/scripts/setup/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.15.3" + "@types/node": "22.15.30" } } From 93d219f80db1851bd5e1cc6f460082cd35d1f81f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:51:08 -0400 Subject: [PATCH 06/55] chore(deps): update mscharley/dependency-changesets-action action to v1.1.5 (#82) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/changeset.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index a84391c6..89cf8dee 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Update PR - uses: mscharley/dependency-changesets-action@v1.1.4 + uses: mscharley/dependency-changesets-action@v1.1.5 with: token: ${{ github.token }} use-conventional-commits: false From 6d6dcb660eee199fc2aa50220ff8eca036cfb0b9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:51:24 -0400 Subject: [PATCH 07/55] chore(deps): update dependency @tree-sitter-grammars/tree-sitter-yaml to v0.7.1 (#80) * chore(deps): update dependency @tree-sitter-grammars/tree-sitter-yaml to v0.7.1 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-80.md | 5 +++++ packages/yaml/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 .changeset/dependencies-GH-80.md diff --git a/.changeset/dependencies-GH-80.md b/.changeset/dependencies-GH-80.md new file mode 100644 index 00000000..927db07e --- /dev/null +++ b/.changeset/dependencies-GH-80.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-yaml": patch +--- + +chore(deps): update dependency @tree-sitter-grammars/tree-sitter-yaml to v0.7.1 diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 5531a2db..5a3aefea 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.2", - "@tree-sitter-grammars/tree-sitter-yaml": "0.7.0", + "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", "tree-sitter-cli": "0.24.6" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 999d47fc..a0f7298a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -444,8 +444,8 @@ importers: specifier: 0.0.2 version: 0.0.2 '@tree-sitter-grammars/tree-sitter-yaml': - specifier: 0.7.0 - version: 0.7.0 + specifier: 0.7.1 + version: 0.7.1 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -829,10 +829,10 @@ packages: tree-sitter: optional: true - '@tree-sitter-grammars/tree-sitter-yaml@0.7.0': - resolution: {integrity: sha512-GOMIK3IaDvECD0eZEhAsLl03RMtM1E8StxuGMn6PpMKFg7jyQ+jSzxJZ4Jmc/tYitah9/AECt8o4tlRQ5yEZQg==} + '@tree-sitter-grammars/tree-sitter-yaml@0.7.1': + resolution: {integrity: sha512-AynBwkIoQCTgjDR33bDUp9Mqq+YTco0is3n5hRApMqG9of/6A4eQsfC1/uSEeHSUyMQSYawcAWamsexnVpIP4Q==} peerDependencies: - tree-sitter: ^0.22.1 + tree-sitter: ^0.22.4 peerDependenciesMeta: tree-sitter: optional: true @@ -1725,7 +1725,7 @@ snapshots: node-addon-api: 8.3.0 node-gyp-build: 4.8.4 - '@tree-sitter-grammars/tree-sitter-yaml@0.7.0': + '@tree-sitter-grammars/tree-sitter-yaml@0.7.1': dependencies: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 From 5564d7546ebb4c1011f50d111e548b58b08f3f07 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 20:20:11 -0400 Subject: [PATCH 08/55] bump version --- scripts/create-lang/template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-lang/template/package.json b/scripts/create-lang/template/package.json index ca3a4656..0ffbe488 100644 --- a/scripts/create-lang/template/package.json +++ b/scripts/create-lang/template/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6" }, "publishConfig": { From d0180c99eedec3891f51d7b63b391afcc5a7cf43 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:01:49 -0400 Subject: [PATCH 09/55] fix: bump version --- package.json | 1 + packages/angular/package.json | 2 +- packages/bash/package.json | 2 +- packages/c/package.json | 2 +- packages/cpp/package.json | 2 +- packages/csharp/package.json | 2 +- packages/css/package.json | 2 +- packages/dart/package.json | 2 +- packages/elixir/package.json | 2 +- packages/go/package.json | 2 +- packages/haskell/package.json | 2 +- packages/html/package.json | 2 +- packages/java/package.json | 2 +- packages/javascript/package.json | 2 +- packages/json/package.json | 2 +- packages/kotlin/package.json | 2 +- packages/lua/package.json | 2 +- packages/php/package.json | 2 +- packages/python/package.json | 2 +- packages/ruby/package.json | 2 +- packages/rust/package.json | 2 +- packages/scala/package.json | 2 +- packages/sql/package.json | 2 +- packages/swift/package.json | 2 +- packages/tsx/package.json | 2 +- packages/typescript/package.json | 2 +- packages/yaml/package.json | 2 +- pnpm-lock.yaml | 313 ++++++------------------------- scripts/nursery/package.json | 2 +- 29 files changed, 84 insertions(+), 284 deletions(-) diff --git a/package.json b/package.json index acd6ba55..2f0b6c82 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "format:ci": "biome format", "lint": "biome lint --fix", "lint:ci": "biome lint", + "changeset": "changeset", "prepare": "husky" }, "keywords": [], diff --git a/packages/angular/package.json b/packages/angular/package.json index c373e533..686bf601 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-angular": "0.6.0", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/bash/package.json b/packages/bash/package.json index 27e5e8a2..81e33961 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-bash": "0.23.3", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/c/package.json b/packages/c/package.json index 8d403f0a..f6621826 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-c": "0.23.5", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/cpp/package.json b/packages/cpp/package.json index 1deada86..754a83e4 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-cpp": "0.23.4" }, diff --git a/packages/csharp/package.json b/packages/csharp/package.json index 5fb2bf6d..c91a9939 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-c-sharp": "0.23.1", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/css/package.json b/packages/css/package.json index a9571686..9967494d 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-css": "0.23.2" }, diff --git a/packages/dart/package.json b/packages/dart/package.json index 5552a17b..10179216 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-dart": "1.0.0" }, diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 78812d09..175a2d0c 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-elixir": "0.3.4" }, diff --git a/packages/go/package.json b/packages/go/package.json index 81d4d759..cea084da 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-go": "0.23.4", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/haskell/package.json b/packages/haskell/package.json index 9b888b98..7e38d763 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-haskell": "0.23.1" }, diff --git a/packages/html/package.json b/packages/html/package.json index 5b0962cd..a229d818 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-html": "0.23.2" }, diff --git a/packages/java/package.json b/packages/java/package.json index a63d6cb3..a4b8bb06 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-java": "0.23.5" }, diff --git a/packages/javascript/package.json b/packages/javascript/package.json index ae0c6666..fe86e2c4 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-javascript": "0.23.1" }, diff --git a/packages/json/package.json b/packages/json/package.json index 1f2cd27e..2ec850b9 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-json": "0.24.8" }, diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 4a08c9a8..25461f7e 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-kotlin": "0.3.8" }, diff --git a/packages/lua/package.json b/packages/lua/package.json index 2a4404d5..2313cd93 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, diff --git a/packages/php/package.json b/packages/php/package.json index 1001dab6..1ccb14f8 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "workspace:*", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-php": "0.23.12" }, diff --git a/packages/python/package.json b/packages/python/package.json index 66e4976c..e918c41e 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-python": "0.23.6" }, diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 93659490..3efa9344 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-ruby": "0.23.1" }, diff --git a/packages/rust/package.json b/packages/rust/package.json index fda083ba..d6181736 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-rust": "0.23.2" }, diff --git a/packages/scala/package.json b/packages/scala/package.json index cb7b64b7..0dc0d00f 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-scala": "0.24.0" }, diff --git a/packages/sql/package.json b/packages/sql/package.json index 65ee8652..54700c6e 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "@derekstride/tree-sitter-sql": "0.3.8", "tree-sitter-cli": "0.24.6" }, diff --git a/packages/swift/package.json b/packages/swift/package.json index 2c834381..33c13c98 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-swift": "0.7.0" }, diff --git a/packages/tsx/package.json b/packages/tsx/package.json index 0f12bb20..7d8c559f 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-typescript": "^0.23.2" }, diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 79f17083..04ae5a93 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.3", + "@ast-grep/nursery": "0.0.4", "tree-sitter-cli": "0.24.6", "tree-sitter-typescript": "0.23.2" }, diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 5a3aefea..f621aa83 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.2", + "@ast-grep/nursery": "0.0.4", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", "tree-sitter-cli": "0.24.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a0f7298a..6c1ee100 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,8 +25,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-angular: specifier: 0.6.0 version: 0.6.0(tree-sitter@0.21.1) @@ -41,8 +41,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-bash: specifier: 0.23.3 version: 0.23.3(tree-sitter@0.21.1) @@ -57,8 +57,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-c: specifier: 0.23.5 version: 0.23.5 @@ -73,8 +73,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -89,8 +89,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-c-sharp: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -105,8 +105,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -121,8 +121,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -137,8 +137,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -153,8 +153,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -169,8 +169,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -185,8 +185,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -201,8 +201,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -217,8 +217,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -233,8 +233,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -249,8 +249,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -265,8 +265,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 '@tree-sitter-grammars/tree-sitter-lua': specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) @@ -281,8 +281,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: workspace:* - version: link:../../scripts/nursery + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -297,8 +297,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -313,8 +313,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -329,8 +329,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -345,8 +345,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -361,8 +361,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 '@derekstride/tree-sitter-sql': specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -377,8 +377,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -409,8 +409,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -425,8 +425,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 tree-sitter-cli: specifier: 0.24.6 version: 0.24.6 @@ -441,8 +441,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.2 - version: 0.0.2 + specifier: 0.0.4 + version: 0.0.4 '@tree-sitter-grammars/tree-sitter-yaml': specifier: 0.7.1 version: 0.7.1 @@ -490,185 +490,66 @@ importers: packages: - '@ast-grep/napi-darwin-arm64@0.33.0': - resolution: {integrity: sha512-FsBQiBNGbqeU6z2sjFgnV6MXuBa0wYUb4PViMnqsKLeWiO7kRii5crmXLCtdTD2hufXTG6Rll8X46AkYOAwGGQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - - '@ast-grep/napi-darwin-arm64@0.36.2': - resolution: {integrity: sha512-0dzW+5SRuUxAlfwgMiUWXSvvyVD3nffzLtH5RhH2a1VXbQxi2UFWZqtfhv6e27iIUTnPfZDnZGNRw8FZgttMfQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@ast-grep/napi-darwin-arm64@0.38.5': resolution: {integrity: sha512-Ky60f2O2Od7ySDLF8QOPX5PvdNw/1DGlqxLvKYF1wJUMAY3/7ZRGxDSZ+m3BwvYCMhvKCLWSthQ3eMuZyEUZzQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@ast-grep/napi-darwin-x64@0.33.0': - resolution: {integrity: sha512-rWo1wG7fc7K20z9ExIeN6U4QqjHhoQSpBDDnmxKTR0nIwPfyMq338sS4sWZomutxprcZDtWrekxH1lXjNvfuiA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - - '@ast-grep/napi-darwin-x64@0.36.2': - resolution: {integrity: sha512-7TPdnq55OBXGcJLDARObI5BUFbp0AVRMGEzjnIBMWbRSowlDVTH7qBWwNAYk4auCdkwG8EBL40BUIHmagzpoCw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@ast-grep/napi-darwin-x64@0.38.5': resolution: {integrity: sha512-4AOenxM5lC9nzSnTPmmDDYUG3Rrh4VjbmWf6JbZPhvhdgMnKigbFVvv2BqhzxBtI8MxJ86jNmuI3KW1QYc+V1A==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@ast-grep/napi-linux-arm64-gnu@0.33.0': - resolution: {integrity: sha512-3ZnA2k57kxfvLg4s9+6rHaCx1FbWt0EF8fumJMf5nwevu7GbVOOhCkzAetZe80FBgZuIOSR4IS2QMj9ZHI0UdQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - - '@ast-grep/napi-linux-arm64-gnu@0.36.2': - resolution: {integrity: sha512-/h51eEnEYCq4bclzhynH+964LQXDKXgNb2Un+Y9TLOU8VRaGNawTkZkFq+iBp8T1hl0CznnsQQsg+9pHDHprHQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@ast-grep/napi-linux-arm64-gnu@0.38.5': resolution: {integrity: sha512-8ePpkH15Patg4PdwreB64YXaIynyaNm6RbnkMKnZ6jFYnAa00NeWZ7lv1vdD01q5pzI4k3jx6deBGEvgRZ8hww==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.33.0': - resolution: {integrity: sha512-oUGZgCaVCijFgvC+X52ttgoWUqgrIsSVJZgn+1VBY3n4mpzcoYAghFomSUbRTBUL2ebvZweA33Klqks4okY61w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - - '@ast-grep/napi-linux-arm64-musl@0.36.2': - resolution: {integrity: sha512-RIuk0VaQW2b5uOPJzuYFQBwMZIEVnp6maXPjnatUHxfniirSI172E7LtOU/FIEpCjU9Fpq23A79S43ImFt1KLA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.38.5': resolution: {integrity: sha512-TG1e6AgRXksJuBMEVKV75h6aNoaE1IpIR4WB0CM6VTK84vjAlCh70XvFbqicowpCPJkWoQ2fhy4Ux+B8YykpJA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.33.0': - resolution: {integrity: sha512-QTAkfxQSsOGRza0hnkeAgJDQqR00iDerRNq42dOGIzgF+Kse491By3UmBEMG4oCbv17yYcBBlknQkzKSKtigjw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - - '@ast-grep/napi-linux-x64-gnu@0.36.2': - resolution: {integrity: sha512-Xmb50HPfRNi+iLtHp+8/dqiTd8tjArYxOdj1tZzjRndpKhFpQDVrcOnPFObDCRgxVeLovdql9A1ad6BMcEL01Q==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.38.5': resolution: {integrity: sha512-BD8PEBras1EfbRHpZXUXJrAfaXcCL2ZZTgk+BNd/p//CWGqVQRbbVib5irRRETJf804ElXPD7uLV6IWeQP5u+w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-musl@0.33.0': - resolution: {integrity: sha512-PW6bZO7MyQsBNZv0idI/Ah6ak66T8LqZ21wBGjtQp9NDGViOtkLeu+eJJGaZjMqUdidKHKgmMKXksZHl2m8ulQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - - '@ast-grep/napi-linux-x64-musl@0.36.2': - resolution: {integrity: sha512-RSnqCsl3OBfJWh2rETtv3o7xd4QnbB2YTh6H6oYfFhhX0tlon/V+bUXI77hU2/W73hj9GHqWZsygsF43NXn/Hw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@ast-grep/napi-linux-x64-musl@0.38.5': resolution: {integrity: sha512-fJyehG0xPe9Hvp64o4N1gVIbJ3oBXvMaN81pXSTcMP9QI5v/H40igZ4XoPkobSGittPr7x3ooDv9WIwuzc4pxA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@ast-grep/napi-win32-arm64-msvc@0.33.0': - resolution: {integrity: sha512-ijmFQcFc32JOIQlSfnhDJpb3qFb2RhrRqfeY0EHHN1xRSGwZHfsHTSS66nKR2sREmxTIMgxXOtylKicbyyMVKA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - - '@ast-grep/napi-win32-arm64-msvc@0.36.2': - resolution: {integrity: sha512-/Q85h8F9K2G8qig0lndZWb+ykCfhfpSN27F3i7Aw5C0Ph7S6vFH76xn3l3dJTZb2CwUSsv4JNoqmFmY4B8DExQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@ast-grep/napi-win32-arm64-msvc@0.38.5': resolution: {integrity: sha512-25wyag97kE6nv1hHaNuPgORYbSUndgsAUKCSarsEDI5BBp6h0YDdFY+VzM+SH62F0RBqj0bkpud38UblftfgFw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.33.0': - resolution: {integrity: sha512-NNIb2VK3Z2BwKp0QJSw8gkhwOUp85SgTsxJ38p+wIUAA/KzAKCJOmyOaZ301qGHt4gL+jTHgTIvJJX+9eT/REg==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - - '@ast-grep/napi-win32-ia32-msvc@0.36.2': - resolution: {integrity: sha512-bDdwErB7zf9DvRx3kNZyMKJb9by5ra24WAXSiVzI8MR387ibZP9UCTzKuGqPrbuZADYWiOgsg3nXMklyPFtmhQ==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.38.5': resolution: {integrity: sha512-9ZmG9xAxxxMbDvhf2QQ0bq/e9BJ+TVXFsj9Fp5Ju7dkyCRFwLGquL/RapE/jz/L11zfu+Z7EVZfmp1RnmGxpWw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.33.0': - resolution: {integrity: sha512-gW7viQQjdPA1HoCkpCqoonC81TOwcpP828w/XqZFE/L6uhD8SF2usul8KNBQOiX3O7/fqYEOnbtWMCrwZIqG1Q==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - - '@ast-grep/napi-win32-x64-msvc@0.36.2': - resolution: {integrity: sha512-LVZ2DqP9fRfyUceE0BGnlKoPmSx3dYYApSEUdt82Pn7jEVWpFFyTLFmZ9ILiCSaVc6urMJpKWdxAHFqDNNlGfg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.38.5': resolution: {integrity: sha512-DNeLIwkK/BKyYX5ymmeioqpXOXGcOxj2OgLpWiyk/VawwQe6uGgrH97k3pRku513dzHKayfizvU2igjj9oTJuA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@ast-grep/napi@0.33.0': - resolution: {integrity: sha512-6heRMmomhSD0dkummRQ+R4xWXXmc41OaDPoPI49mKJXPyvwJPdPZUcQjXdIitOVL4uJV+qM2ZBucDPENDBSixw==} - engines: {node: '>= 10'} - - '@ast-grep/napi@0.36.2': - resolution: {integrity: sha512-ByenQQ0BtqqY0pvlmipvkDv/cKl/9vVjBydS7hloXOdmXPoUF0pHdlilC7ZfrRW97EzPQQZT2jgHl2tu7zg9QA==} - engines: {node: '>= 10'} - '@ast-grep/napi@0.38.5': resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} engines: {node: '>= 10'} - '@ast-grep/nursery@0.0.2': - resolution: {integrity: sha512-Epb5KpdiXbHEOegPvEGejGI8UFtpK44Uz8lSb03mVbtBMB1VflMJ6/3wZz2CsZ65S0cdq5YQqt1Rm7E+S68oHQ==} - - '@ast-grep/nursery@0.0.3': - resolution: {integrity: sha512-fIOozkRrRHcDMv5t06SqUjQMkAwFgn1aiAtpXtOVpF19VE4oWK5MJOXbjI034cNGFDGGmCyMh7r0y2iWlTRRLw==} + '@ast-grep/nursery@0.0.4': + resolution: {integrity: sha512-be35/LLpRrDHOwZ7HEs+yryhjjtAZ2x6X20hoogQO3iiD3H9Hvz7F5AqGxvzk4qfGP2UybwJjiuCHZ8lNIgZqA==} '@ast-grep/setup-lang@0.0.3': resolution: {integrity: sha512-+ZNOuf0r7ABVwOANrrQpUrUv7xyuhsZGyQ88WZCH/euQmIEvSH3JsUFevg/60M7hi8NVh4vfSQs6ajTpumSzxg==} @@ -1374,111 +1255,33 @@ packages: snapshots: - '@ast-grep/napi-darwin-arm64@0.33.0': - optional: true - - '@ast-grep/napi-darwin-arm64@0.36.2': - optional: true - '@ast-grep/napi-darwin-arm64@0.38.5': optional: true - '@ast-grep/napi-darwin-x64@0.33.0': - optional: true - - '@ast-grep/napi-darwin-x64@0.36.2': - optional: true - '@ast-grep/napi-darwin-x64@0.38.5': optional: true - '@ast-grep/napi-linux-arm64-gnu@0.33.0': - optional: true - - '@ast-grep/napi-linux-arm64-gnu@0.36.2': - optional: true - '@ast-grep/napi-linux-arm64-gnu@0.38.5': optional: true - '@ast-grep/napi-linux-arm64-musl@0.33.0': - optional: true - - '@ast-grep/napi-linux-arm64-musl@0.36.2': - optional: true - '@ast-grep/napi-linux-arm64-musl@0.38.5': optional: true - '@ast-grep/napi-linux-x64-gnu@0.33.0': - optional: true - - '@ast-grep/napi-linux-x64-gnu@0.36.2': - optional: true - '@ast-grep/napi-linux-x64-gnu@0.38.5': optional: true - '@ast-grep/napi-linux-x64-musl@0.33.0': - optional: true - - '@ast-grep/napi-linux-x64-musl@0.36.2': - optional: true - '@ast-grep/napi-linux-x64-musl@0.38.5': optional: true - '@ast-grep/napi-win32-arm64-msvc@0.33.0': - optional: true - - '@ast-grep/napi-win32-arm64-msvc@0.36.2': - optional: true - '@ast-grep/napi-win32-arm64-msvc@0.38.5': optional: true - '@ast-grep/napi-win32-ia32-msvc@0.33.0': - optional: true - - '@ast-grep/napi-win32-ia32-msvc@0.36.2': - optional: true - '@ast-grep/napi-win32-ia32-msvc@0.38.5': optional: true - '@ast-grep/napi-win32-x64-msvc@0.33.0': - optional: true - - '@ast-grep/napi-win32-x64-msvc@0.36.2': - optional: true - '@ast-grep/napi-win32-x64-msvc@0.38.5': optional: true - '@ast-grep/napi@0.33.0': - optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.33.0 - '@ast-grep/napi-darwin-x64': 0.33.0 - '@ast-grep/napi-linux-arm64-gnu': 0.33.0 - '@ast-grep/napi-linux-arm64-musl': 0.33.0 - '@ast-grep/napi-linux-x64-gnu': 0.33.0 - '@ast-grep/napi-linux-x64-musl': 0.33.0 - '@ast-grep/napi-win32-arm64-msvc': 0.33.0 - '@ast-grep/napi-win32-ia32-msvc': 0.33.0 - '@ast-grep/napi-win32-x64-msvc': 0.33.0 - - '@ast-grep/napi@0.36.2': - optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.36.2 - '@ast-grep/napi-darwin-x64': 0.36.2 - '@ast-grep/napi-linux-arm64-gnu': 0.36.2 - '@ast-grep/napi-linux-arm64-musl': 0.36.2 - '@ast-grep/napi-linux-x64-gnu': 0.36.2 - '@ast-grep/napi-linux-x64-musl': 0.36.2 - '@ast-grep/napi-win32-arm64-msvc': 0.36.2 - '@ast-grep/napi-win32-ia32-msvc': 0.36.2 - '@ast-grep/napi-win32-x64-msvc': 0.36.2 - '@ast-grep/napi@0.38.5': optionalDependencies: '@ast-grep/napi-darwin-arm64': 0.38.5 @@ -1491,13 +1294,9 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.38.5 '@ast-grep/napi-win32-x64-msvc': 0.38.5 - '@ast-grep/nursery@0.0.2': - dependencies: - '@ast-grep/napi': 0.33.0 - - '@ast-grep/nursery@0.0.3': + '@ast-grep/nursery@0.0.4': dependencies: - '@ast-grep/napi': 0.36.2 + '@ast-grep/napi': 0.38.5 '@ast-grep/setup-lang@0.0.3': {} diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index e6dceb26..fcbda9ef 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/nursery", - "version": "0.0.3", + "version": "0.0.4", "private": false, "description": "", "main": "index.js", From 2adac80a77991d035dd3c1940fbef9dc2275720c Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:07:13 -0400 Subject: [PATCH 10/55] chore: bump tree-sitter version --- .changeset/lucky-humans-lead.md | 32 +++++++++++++++++++++++ packages/angular/package.json | 4 +-- packages/bash/package.json | 4 +-- packages/c/package.json | 4 +-- packages/cpp/package.json | 4 +-- packages/csharp/package.json | 4 +-- packages/css/package.json | 4 +-- packages/dart/package.json | 4 +-- packages/elixir/package.json | 4 +-- packages/go/package.json | 4 +-- packages/haskell/package.json | 4 +-- packages/html/package.json | 4 +-- packages/java/package.json | 4 +-- packages/javascript/package.json | 4 +-- packages/json/package.json | 4 +-- packages/kotlin/package.json | 4 +-- packages/lua/package.json | 4 +-- packages/php/package.json | 4 +-- packages/python/package.json | 4 +-- packages/ruby/package.json | 4 +-- packages/rust/package.json | 4 +-- packages/scala/package.json | 4 +-- packages/sql/package.json | 4 +-- packages/swift/package.json | 4 +-- packages/toml/package.json | 4 +-- packages/tsx/package.json | 4 +-- packages/typescript/package.json | 4 +-- packages/yaml/package.json | 4 +-- scripts/create-lang/template/package.json | 4 +-- 29 files changed, 88 insertions(+), 56 deletions(-) create mode 100644 .changeset/lucky-humans-lead.md diff --git a/.changeset/lucky-humans-lead.md b/.changeset/lucky-humans-lead.md new file mode 100644 index 00000000..037bc115 --- /dev/null +++ b/.changeset/lucky-humans-lead.md @@ -0,0 +1,32 @@ +--- +"@ast-grep/lang-javascript": patch +"@ast-grep/lang-typescript": patch +"@ast-grep/create-lang": patch +"@ast-grep/lang-angular": patch +"@ast-grep/lang-haskell": patch +"@ast-grep/lang-csharp": patch +"@ast-grep/lang-elixir": patch +"@ast-grep/lang-kotlin": patch +"@ast-grep/lang-python": patch +"@ast-grep/lang-scala": patch +"@ast-grep/lang-swift": patch +"@ast-grep/lang-bash": patch +"@ast-grep/lang-dart": patch +"@ast-grep/lang-html": patch +"@ast-grep/lang-java": patch +"@ast-grep/lang-json": patch +"@ast-grep/lang-ruby": patch +"@ast-grep/lang-rust": patch +"@ast-grep/lang-toml": patch +"@ast-grep/lang-yaml": patch +"@ast-grep/lang-cpp": patch +"@ast-grep/lang-css": patch +"@ast-grep/lang-lua": patch +"@ast-grep/lang-php": patch +"@ast-grep/lang-sql": patch +"@ast-grep/lang-tsx": patch +"@ast-grep/lang-go": patch +"@ast-grep/lang-c": patch +--- + +bump tree-sitter version diff --git a/packages/angular/package.json b/packages/angular/package.json index 686bf601..8a04b4f4 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "tree-sitter-angular": "0.6.0", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/bash/package.json b/packages/bash/package.json index 81e33961..e7f46465 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "tree-sitter-bash": "0.23.3", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/c/package.json b/packages/c/package.json index f6621826..b8804e78 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "tree-sitter-c": "0.23.5", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/cpp/package.json b/packages/cpp/package.json index 754a83e4..b27d8f87 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-cpp": "0.23.4" }, "publishConfig": { diff --git a/packages/csharp/package.json b/packages/csharp/package.json index c91a9939..0ab87471 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "tree-sitter-c-sharp": "0.23.1", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/css/package.json b/packages/css/package.json index 9967494d..4d39427c 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-css": "0.23.2" }, "publishConfig": { diff --git a/packages/dart/package.json b/packages/dart/package.json index 10179216..e14a4347 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-dart": "1.0.0" }, "publishConfig": { diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 175a2d0c..77bb12db 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-elixir": "0.3.4" }, "publishConfig": { diff --git a/packages/go/package.json b/packages/go/package.json index cea084da..f8ebd787 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "tree-sitter-go": "0.23.4", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/haskell/package.json b/packages/haskell/package.json index 7e38d763..b46c2962 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-haskell": "0.23.1" }, "publishConfig": { diff --git a/packages/html/package.json b/packages/html/package.json index a229d818..3a93a5a7 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-html": "0.23.2" }, "publishConfig": { diff --git a/packages/java/package.json b/packages/java/package.json index a4b8bb06..a108102d 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-java": "0.23.5" }, "publishConfig": { diff --git a/packages/javascript/package.json b/packages/javascript/package.json index fe86e2c4..cf90a755 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-javascript": "0.23.1" }, "publishConfig": { diff --git a/packages/json/package.json b/packages/json/package.json index 2ec850b9..ae66eed2 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-json": "0.24.8" }, "publishConfig": { diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 25461f7e..1075915f 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-kotlin": "0.3.8" }, "publishConfig": { diff --git a/packages/lua/package.json b/packages/lua/package.json index 2313cd93..15960f39 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, "publishConfig": { diff --git a/packages/php/package.json b/packages/php/package.json index 1ccb14f8..a2842b73 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-php": "0.23.12" }, "publishConfig": { diff --git a/packages/python/package.json b/packages/python/package.json index e918c41e..76f738c7 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-python": "0.23.6" }, "publishConfig": { diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 3efa9344..4326cb5e 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-ruby": "0.23.1" }, "publishConfig": { diff --git a/packages/rust/package.json b/packages/rust/package.json index d6181736..2ca8caa7 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-rust": "0.23.2" }, "publishConfig": { diff --git a/packages/scala/package.json b/packages/scala/package.json index 0dc0d00f..3fd03717 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-scala": "0.24.0" }, "publishConfig": { diff --git a/packages/sql/package.json b/packages/sql/package.json index 54700c6e..b0cb4ee1 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "@derekstride/tree-sitter-sql": "0.3.8", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/swift/package.json b/packages/swift/package.json index 33c13c98..bed45d02 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-swift": "0.7.0" }, "publishConfig": { diff --git a/packages/toml/package.json b/packages/toml/package.json index 06739c6a..302615c2 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@tree-sitter-grammars/tree-sitter-toml": "0.7.0", "@ast-grep/nursery": "workspace:*", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/packages/tsx/package.json b/packages/tsx/package.json index 7d8c559f..a389673e 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-typescript": "^0.23.2" }, "publishConfig": { diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 04ae5a93..c1ba479f 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6", + "tree-sitter-cli": "0.25.6", "tree-sitter-typescript": "0.23.2" }, "publishConfig": { diff --git a/packages/yaml/package.json b/packages/yaml/package.json index f621aa83..2337ca5d 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.4", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", diff --git a/scripts/create-lang/template/package.json b/scripts/create-lang/template/package.json index 0ffbe488..f509927b 100644 --- a/scripts/create-lang/template/package.json +++ b/scripts/create-lang/template/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-cli": "0.24.6" + "tree-sitter-cli": "0.25.6" }, "publishConfig": { "access": "public", From bffbe48d8d0ad69fac69c12a5d0fdd4790a08dce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:14:48 -0400 Subject: [PATCH 11/55] chore(deps): update dependency tree-sitter-bash to v0.25.0 (#85) * chore(deps): update dependency tree-sitter-bash to v0.25.0 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-85.md | 5 ++ packages/bash/package.json | 2 +- pnpm-lock.yaml | 128 +++++++++++++++---------------- 3 files changed, 69 insertions(+), 66 deletions(-) create mode 100644 .changeset/dependencies-GH-85.md diff --git a/.changeset/dependencies-GH-85.md b/.changeset/dependencies-GH-85.md new file mode 100644 index 00000000..7b4a291e --- /dev/null +++ b/.changeset/dependencies-GH-85.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-bash": patch +--- + +chore(deps): update dependency tree-sitter-bash to v0.25.0 diff --git a/packages/bash/package.json b/packages/bash/package.json index e7f46465..8333b1f2 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-bash": "0.23.3", + "tree-sitter-bash": "0.25.0", "tree-sitter-cli": "0.25.6" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c1ee100..c7c0ad6e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: 0.6.0 version: 0.6.0(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/bash: dependencies: @@ -44,11 +44,11 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-bash: - specifier: 0.23.3 - version: 0.23.3(tree-sitter@0.21.1) + specifier: 0.25.0 + version: 0.25.0 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/c: dependencies: @@ -63,8 +63,8 @@ importers: specifier: 0.23.5 version: 0.23.5 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/cpp: dependencies: @@ -76,8 +76,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-cpp: specifier: 0.23.4 version: 0.23.4 @@ -95,8 +95,8 @@ importers: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/css: dependencies: @@ -108,8 +108,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-css: specifier: 0.23.2 version: 0.23.2 @@ -124,8 +124,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-dart: specifier: 1.0.0 version: 1.0.0 @@ -140,8 +140,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-elixir: specifier: 0.3.4 version: 0.3.4(tree-sitter@0.21.1) @@ -156,8 +156,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-go: specifier: 0.23.4 version: 0.23.4(tree-sitter@0.21.1) @@ -172,8 +172,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-haskell: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -188,8 +188,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-html: specifier: 0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -204,8 +204,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-java: specifier: 0.23.5 version: 0.23.5(tree-sitter@0.21.1) @@ -220,8 +220,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-javascript: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -236,8 +236,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-json: specifier: 0.24.8 version: 0.24.8(tree-sitter@0.21.1) @@ -252,8 +252,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-kotlin: specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -271,8 +271,8 @@ importers: specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/php: dependencies: @@ -284,8 +284,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-php: specifier: 0.23.12 version: 0.23.12(tree-sitter@0.21.1) @@ -300,8 +300,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-python: specifier: 0.23.6 version: 0.23.6 @@ -316,8 +316,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-ruby: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -332,8 +332,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-rust: specifier: 0.23.2 version: 0.23.2 @@ -348,8 +348,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-scala: specifier: 0.24.0 version: 0.24.0(tree-sitter@0.21.1) @@ -367,8 +367,8 @@ importers: specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/swift: dependencies: @@ -380,8 +380,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-swift: specifier: 0.7.0 version: 0.7.0(tree-sitter@0.21.1) @@ -399,8 +399,8 @@ importers: specifier: 0.7.0 version: 0.7.0 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 packages/tsx: dependencies: @@ -412,8 +412,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-typescript: specifier: ^0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -428,8 +428,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 tree-sitter-typescript: specifier: 0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -447,8 +447,8 @@ importers: specifier: 0.7.1 version: 0.7.1 tree-sitter-cli: - specifier: 0.24.6 - version: 0.24.6 + specifier: 0.25.6 + version: 0.25.6 scripts/create-lang: dependencies: @@ -1052,10 +1052,10 @@ packages: tree_sitter: optional: true - tree-sitter-bash@0.23.3: - resolution: {integrity: sha512-36cg/GQ2YmIbeiBeqeuh4fBJ6i4kgVouDaqTxqih5ysPag+zHufyIaxMOFeM8CeplwAK/Luj1o5XHqgdAfoCZg==} + tree-sitter-bash@0.25.0: + resolution: {integrity: sha512-gZtlj9+qFS81qKxpLfD6H0UssQ3QBc/F0nKkPsiFDyfQF2YBqYvglFJUzchrPpVhZe9kLZTrJ9n2J6lmka69Vg==} peerDependencies: - tree-sitter: ^0.21.1 + tree-sitter: ^0.25.0 peerDependenciesMeta: tree-sitter: optional: true @@ -1081,8 +1081,8 @@ packages: engines: {node: '>=12.0.0'} hasBin: true - tree-sitter-cli@0.24.6: - resolution: {integrity: sha512-FJ9B1XwXt8Auq75NK/6bpeci7avXSk73OMDq4elXHPS4ue11ZFeCrH/anVN/u5BAZjWqFO9nWGLNEdpdZOg+eA==} + tree-sitter-cli@0.25.6: + resolution: {integrity: sha512-UhkXRkMPtBgE4OatZtYVtDsT3HFUliqAJcs49XQaZv8d2sbeTzEhpJVpMaCqBR3HGhb1WpyoodaFXQaMuOLPEg==} engines: {node: '>=12.0.0'} hasBin: true @@ -1807,12 +1807,10 @@ snapshots: tree-sitter: 0.21.1 tree-sitter-html: 0.20.4(tree-sitter@0.21.1) - tree-sitter-bash@0.23.3(tree-sitter@0.21.1): + tree-sitter-bash@0.25.0: dependencies: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 - optionalDependencies: - tree-sitter: 0.21.1 tree-sitter-c-sharp@0.23.1(tree-sitter@0.21.1): dependencies: @@ -1828,7 +1826,7 @@ snapshots: tree-sitter-cli@0.23.2: {} - tree-sitter-cli@0.24.6: {} + tree-sitter-cli@0.25.6: {} tree-sitter-cpp@0.23.4: dependencies: From 55409746008468fcf55723165d6d21a12a60e59f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:15:04 -0400 Subject: [PATCH 12/55] chore(deps): update dependency tree-sitter-angular to v0.6.2 (#84) * chore(deps): update dependency tree-sitter-angular to v0.6.2 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-84.md | 5 +++++ packages/angular/package.json | 2 +- pnpm-lock.yaml | 27 ++++++--------------------- 3 files changed, 12 insertions(+), 22 deletions(-) create mode 100644 .changeset/dependencies-GH-84.md diff --git a/.changeset/dependencies-GH-84.md b/.changeset/dependencies-GH-84.md new file mode 100644 index 00000000..557be26d --- /dev/null +++ b/.changeset/dependencies-GH-84.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-angular": patch +--- + +chore(deps): update dependency tree-sitter-angular to v0.6.2 diff --git a/packages/angular/package.json b/packages/angular/package.json index 8a04b4f4..2193d17d 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-angular": "0.6.0", + "tree-sitter-angular": "0.6.2", "tree-sitter-cli": "0.25.6" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7c0ad6e..35f69b05 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,8 +28,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-angular: - specifier: 0.6.0 - version: 0.6.0(tree-sitter@0.21.1) + specifier: 0.6.2 + version: 0.6.2(tree-sitter@0.21.1) tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -1043,8 +1043,8 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - tree-sitter-angular@0.6.0: - resolution: {integrity: sha512-/ktBNbaPjGR6/hbiI2gtgf6U7LtuoyZT08XkOeqbcrFeS1yD535M6C8DC5YyacggVEY5aRKi8MElemOylsCAqw==} + tree-sitter-angular@0.6.2: + resolution: {integrity: sha512-H63yGGwEJGC0HAKedbnexAWbLkz4TzgTZb2clJZN5BgEMpBk5CXQuOdWvaYpC67BVUuxoOFXZ/EWmIagyLIqYQ==} peerDependencies: tree-sitter: ^0.21.1 tree_sitter: '*' @@ -1126,15 +1126,6 @@ packages: tree-sitter: optional: true - tree-sitter-html@0.20.4: - resolution: {integrity: sha512-IUE82HgrxGXMiq5xYkAV6VYt+txcqIo4yPUEvq43UIabCKeEUqDOEOmCE9W9mQ2c3392VJEXOPzlpd7VuX1c6Q==} - peerDependencies: - tree-sitter: ^0.21.1 - tree_sitter: '*' - peerDependenciesMeta: - tree_sitter: - optional: true - tree-sitter-html@0.23.2: resolution: {integrity: sha512-TN+l+7cCeLx9db/1RhRSqMAZO/266Oh2BHb8J8hMSSFLuzYvFTYP/UnD3S0mny5awzw05KzFNgu2vnwzN9wVJg==} peerDependencies: @@ -1800,12 +1791,12 @@ snapshots: dependencies: is-number: 7.0.0 - tree-sitter-angular@0.6.0(tree-sitter@0.21.1): + tree-sitter-angular@0.6.2(tree-sitter@0.21.1): dependencies: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 tree-sitter: 0.21.1 - tree-sitter-html: 0.20.4(tree-sitter@0.21.1) + tree-sitter-html: 0.23.2(tree-sitter@0.21.1) tree-sitter-bash@0.25.0: dependencies: @@ -1863,12 +1854,6 @@ snapshots: optionalDependencies: tree-sitter: 0.21.1 - tree-sitter-html@0.20.4(tree-sitter@0.21.1): - dependencies: - node-addon-api: 8.3.1 - node-gyp-build: 4.8.4 - tree-sitter: 0.21.1 - tree-sitter-html@0.23.2(tree-sitter@0.21.1): dependencies: node-addon-api: 8.3.1 From 5771d45edf4ac27524eb3cb3b9a05bf5338d2377 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:15:13 -0400 Subject: [PATCH 13/55] chore(deps): update dependency tree-sitter-c to v0.24.1 (#81) * chore(deps): update dependency tree-sitter-c to v0.24.1 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-81.md | 5 +++++ packages/c/package.json | 2 +- pnpm-lock.yaml | 17 +++++++++++++++-- 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .changeset/dependencies-GH-81.md diff --git a/.changeset/dependencies-GH-81.md b/.changeset/dependencies-GH-81.md new file mode 100644 index 00000000..cc31e142 --- /dev/null +++ b/.changeset/dependencies-GH-81.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-c": patch +--- + +chore(deps): update dependency tree-sitter-c to v0.24.1 diff --git a/packages/c/package.json b/packages/c/package.json index b8804e78..4d7ad0f6 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.4", - "tree-sitter-c": "0.23.5", + "tree-sitter-c": "0.24.1", "tree-sitter-cli": "0.25.6" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 35f69b05..263576b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: 0.0.4 version: 0.0.4 tree-sitter-c: - specifier: 0.23.5 - version: 0.23.5 + specifier: 0.24.1 + version: 0.24.1 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -1076,6 +1076,14 @@ packages: tree-sitter: optional: true + tree-sitter-c@0.24.1: + resolution: {integrity: sha512-lkYwWN3SRecpvaeqmFKkuPNR3ZbtnvHU+4XAEEkJdrp3JfSp2pBrhXOtvfsENUneye76g889Y0ddF2DM0gEDpA==} + peerDependencies: + tree-sitter: ^0.22.4 + peerDependenciesMeta: + tree-sitter: + optional: true + tree-sitter-cli@0.23.2: resolution: {integrity: sha512-kPPXprOqREX+C/FgUp2Qpt9jd0vSwn+hOgjzVv/7hapdoWpa+VeWId53rf4oNNd29ikheF12BYtGD/W90feMbA==} engines: {node: '>=12.0.0'} @@ -1815,6 +1823,11 @@ snapshots: node-addon-api: 8.3.0 node-gyp-build: 4.8.4 + tree-sitter-c@0.24.1: + dependencies: + node-addon-api: 8.3.1 + node-gyp-build: 4.8.4 + tree-sitter-cli@0.23.2: {} tree-sitter-cli@0.25.6: {} From c4e13fcd2c95a85f383295e6cabc2b550a4d7690 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:25:50 -0400 Subject: [PATCH 14/55] fix: update version --- scripts/create-lang/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index bf15cbdb..6a65c2c5 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/create-lang", - "version": "0.0.4", + "version": "0.0.5", "private": false, "description": "", "main": "index.js", From 43dfbef97f0f47ff82bbc6ac02c9072b83dd82f8 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:35:37 -0400 Subject: [PATCH 15/55] feat: add markdown language fix #83 --- packages/markdown/README.md | 24 ++++++++++++++++ packages/markdown/index.d.ts | 10 +++++++ packages/markdown/index.js | 9 ++++++ packages/markdown/nursery.js | 18 ++++++++++++ packages/markdown/package.json | 47 ++++++++++++++++++++++++++++++++ packages/markdown/postinstall.js | 4 +++ pnpm-lock.yaml | 31 +++++++++++++++++++++ 7 files changed, 143 insertions(+) create mode 100644 packages/markdown/README.md create mode 100644 packages/markdown/index.d.ts create mode 100644 packages/markdown/index.js create mode 100644 packages/markdown/nursery.js create mode 100644 packages/markdown/package.json create mode 100644 packages/markdown/postinstall.js diff --git a/packages/markdown/README.md b/packages/markdown/README.md new file mode 100644 index 00000000..02104946 --- /dev/null +++ b/packages/markdown/README.md @@ -0,0 +1,24 @@ +# ast-grep napi language for markdown + +## Installation + +In a pnpm project, run: + +```bash +pnpm install @ast-grep/lang-markdown +pnpm install @ast-grep/napi +# install the tree-sitter-cli if no prebuild is available +pnpm install @tree-sitter/cli --save-dev +``` + +## Usage + +```js +import markdown from '@ast-grep/lang-markdown' +import { registerDynamicLanguage, parse } from '@ast-grep/napi' + +registerDynamicLanguage({ markdown }) + +const sg = parse('markdown', `your code`) +sg.root().kind() +``` diff --git a/packages/markdown/index.d.ts b/packages/markdown/index.d.ts new file mode 100644 index 00000000..11140a65 --- /dev/null +++ b/packages/markdown/index.d.ts @@ -0,0 +1,10 @@ +type LanguageRegistration = { + libraryPath: string + extensions: string[] + languageSymbol?: string + metaVarChar?: string + expandoChar?: string +} + +declare const registration: LanguageRegistration +export default registration diff --git a/packages/markdown/index.js b/packages/markdown/index.js new file mode 100644 index 00000000..614552bd --- /dev/null +++ b/packages/markdown/index.js @@ -0,0 +1,9 @@ +const path = require('node:path') +const libPath = path.join(__dirname, 'parser.so') + +module.exports = { + libraryPath: libPath, + extensions: ['md'], + languageSymbol: 'tree_sitter_markdown', + expandoChar: '$', +} diff --git a/packages/markdown/nursery.js b/packages/markdown/nursery.js new file mode 100644 index 00000000..ea9d5a7b --- /dev/null +++ b/packages/markdown/nursery.js @@ -0,0 +1,18 @@ +const { setup } = require('@ast-grep/nursery') +const assert = require('node:assert') +const languageRegistration = require('./index') +const path = require('node:path') + +setup({ + dirname: __dirname, + name: 'markdown', + treeSitterPackage: '@tree-sitter-grammars/tree-sitter-markdown', + src: path.join('tree-sitter-markdown', 'src'), + languageRegistration, + testRunner: parse => { + const sg = parse('# 123') + const root = sg.root() + const node = root.find('# $A') + assert.equal(node.kind(), 'atx_heading') + }, +}) diff --git a/packages/markdown/package.json b/packages/markdown/package.json new file mode 100644 index 00000000..5d9db396 --- /dev/null +++ b/packages/markdown/package.json @@ -0,0 +1,47 @@ +{ + "name": "@ast-grep/lang-markdown", + "version": "0.0.1", + "description": "", + "main": "index.js", + "scripts": { + "build": "tree-sitter build -o parser.so", + "source": "node nursery.js source", + "prepublishOnly": "node nursery.js source", + "postinstall": "node postinstall.js", + "test": "node nursery.js test" + }, + "files": [ + "index.js", + "index.d.ts", + "type.d.ts", + "postinstall.js", + "src", + "prebuilds" + ], + "keywords": ["ast-grep", "ast-grep-lang"], + "author": "", + "license": "ISC", + "dependencies": { + "@ast-grep/setup-lang": "0.0.3" + }, + "peerDependencies": { + "tree-sitter-cli": "0.25.6" + }, + "peerDependenciesMeta": { + "tree-sitter-cli": { + "optional": true + } + }, + "devDependencies": { + "@ast-grep/nursery": "0.0.4", + "@tree-sitter-grammars/tree-sitter-markdown": "0.3.2", + "tree-sitter-cli": "0.25.6" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "pnpm": { + "onlyBuiltDependencies": ["@ast-grep/lang-markdown", "tree-sitter-cli"] + } +} diff --git a/packages/markdown/postinstall.js b/packages/markdown/postinstall.js new file mode 100644 index 00000000..b9141ffc --- /dev/null +++ b/packages/markdown/postinstall.js @@ -0,0 +1,4 @@ +const { postinstall } = require('@ast-grep/setup-lang') +postinstall({ + dirname: __dirname, +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 263576b4..bd1b8226 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -274,6 +274,22 @@ importers: specifier: 0.25.6 version: 0.25.6 + packages/markdown: + dependencies: + '@ast-grep/setup-lang': + specifier: 0.0.3 + version: 0.0.3 + devDependencies: + '@ast-grep/nursery': + specifier: 0.0.4 + version: 0.0.4 + '@tree-sitter-grammars/tree-sitter-markdown': + specifier: 0.3.2 + version: 0.3.2(tree-sitter@0.21.1) + tree-sitter-cli: + specifier: 0.25.6 + version: 0.25.6 + packages/php: dependencies: '@ast-grep/setup-lang': @@ -702,6 +718,15 @@ packages: tree_sitter: optional: true + '@tree-sitter-grammars/tree-sitter-markdown@0.3.2': + resolution: {integrity: sha512-hQXCcDVvg2t4E8cn7zz6jjIBerzk9E9ZlHxJp5IrUOpY4s1YVpXJbMeWZks2/V7lmkPRnnkM8IrTbQ5ltwEOnA==} + peerDependencies: + tree-sitter: ^0.21.1 + tree_sitter: '*' + peerDependenciesMeta: + tree_sitter: + optional: true + '@tree-sitter-grammars/tree-sitter-toml@0.7.0': resolution: {integrity: sha512-873Kl518Qm5ghbWadISY41rwFjee0v+2bU4twwvAw2VAJcWwj2vBo3F3hOCXfbqHaFiqc4qh6eLhkMl2YZJS0g==} peerDependencies: @@ -1518,6 +1543,12 @@ snapshots: node-gyp-build: 4.8.4 tree-sitter: 0.21.1 + '@tree-sitter-grammars/tree-sitter-markdown@0.3.2(tree-sitter@0.21.1)': + dependencies: + node-addon-api: 8.3.1 + node-gyp-build: 4.8.4 + tree-sitter: 0.21.1 + '@tree-sitter-grammars/tree-sitter-toml@0.7.0': dependencies: node-addon-api: 8.3.0 From 0b46e1e6cdc512c35af8176d5b4dcf0265863797 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:43:23 -0400 Subject: [PATCH 16/55] chore: bump version --- .changeset/dependencies-GH-79.md | 5 ----- .changeset/dependencies-GH-80.md | 5 ----- .changeset/dependencies-GH-81.md | 5 ----- .changeset/dependencies-GH-84.md | 5 ----- .changeset/dependencies-GH-85.md | 5 ----- .changeset/dependencies-GH-86.md | 5 ----- .changeset/lucky-humans-lead.md | 32 -------------------------------- packages/angular/CHANGELOG.md | 7 +++++++ packages/angular/package.json | 4 ++-- packages/bash/CHANGELOG.md | 7 +++++++ packages/bash/package.json | 4 ++-- packages/c/CHANGELOG.md | 8 ++++++++ packages/c/package.json | 4 ++-- packages/cpp/CHANGELOG.md | 7 +++++++ packages/cpp/package.json | 4 ++-- packages/csharp/CHANGELOG.md | 7 +++++++ packages/csharp/package.json | 4 ++-- packages/css/CHANGELOG.md | 6 ++++++ packages/css/package.json | 4 ++-- packages/dart/CHANGELOG.md | 6 ++++++ packages/dart/package.json | 4 ++-- packages/elixir/CHANGELOG.md | 6 ++++++ packages/elixir/package.json | 4 ++-- packages/go/CHANGELOG.md | 7 +++++++ packages/go/package.json | 4 ++-- packages/haskell/CHANGELOG.md | 6 ++++++ packages/haskell/package.json | 4 ++-- packages/html/CHANGELOG.md | 6 ++++++ packages/html/package.json | 4 ++-- packages/java/CHANGELOG.md | 6 ++++++ packages/java/package.json | 4 ++-- packages/javascript/CHANGELOG.md | 6 ++++++ packages/javascript/package.json | 4 ++-- packages/json/CHANGELOG.md | 6 ++++++ packages/json/package.json | 4 ++-- packages/kotlin/CHANGELOG.md | 6 ++++++ packages/kotlin/package.json | 4 ++-- packages/lua/CHANGELOG.md | 6 ++++++ packages/lua/package.json | 4 ++-- packages/markdown/package.json | 4 ++-- packages/php/CHANGELOG.md | 6 ++++++ packages/php/package.json | 4 ++-- packages/python/CHANGELOG.md | 7 +++++++ packages/python/package.json | 4 ++-- packages/ruby/CHANGELOG.md | 6 ++++++ packages/ruby/package.json | 4 ++-- packages/rust/CHANGELOG.md | 6 ++++++ packages/rust/package.json | 4 ++-- packages/scala/CHANGELOG.md | 7 +++++++ packages/scala/package.json | 4 ++-- packages/sql/CHANGELOG.md | 6 ++++++ packages/sql/package.json | 4 ++-- packages/swift/CHANGELOG.md | 6 ++++++ packages/swift/package.json | 4 ++-- packages/toml/CHANGELOG.md | 7 +++++++ packages/toml/package.json | 2 +- packages/tsx/CHANGELOG.md | 6 ++++++ packages/tsx/package.json | 4 ++-- packages/typescript/CHANGELOG.md | 6 ++++++ packages/typescript/package.json | 4 ++-- packages/yaml/CHANGELOG.md | 8 ++++++++ packages/yaml/package.json | 4 ++-- scripts/create-lang/CHANGELOG.md | 6 ++++++ scripts/create-lang/package.json | 2 +- scripts/nursery/CHANGELOG.md | 6 ++++++ scripts/nursery/package.json | 2 +- 66 files changed, 243 insertions(+), 119 deletions(-) delete mode 100644 .changeset/dependencies-GH-79.md delete mode 100644 .changeset/dependencies-GH-80.md delete mode 100644 .changeset/dependencies-GH-81.md delete mode 100644 .changeset/dependencies-GH-84.md delete mode 100644 .changeset/dependencies-GH-85.md delete mode 100644 .changeset/dependencies-GH-86.md delete mode 100644 .changeset/lucky-humans-lead.md create mode 100644 packages/c/CHANGELOG.md create mode 100644 packages/cpp/CHANGELOG.md create mode 100644 packages/csharp/CHANGELOG.md create mode 100644 packages/go/CHANGELOG.md create mode 100644 packages/python/CHANGELOG.md create mode 100644 packages/toml/CHANGELOG.md create mode 100644 packages/yaml/CHANGELOG.md diff --git a/.changeset/dependencies-GH-79.md b/.changeset/dependencies-GH-79.md deleted file mode 100644 index 29e4aa2b..00000000 --- a/.changeset/dependencies-GH-79.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/nursery": patch ---- - -fix(deps): update dependency @ast-grep/napi to v0.38.5 diff --git a/.changeset/dependencies-GH-80.md b/.changeset/dependencies-GH-80.md deleted file mode 100644 index 927db07e..00000000 --- a/.changeset/dependencies-GH-80.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-yaml": patch ---- - -chore(deps): update dependency @tree-sitter-grammars/tree-sitter-yaml to v0.7.1 diff --git a/.changeset/dependencies-GH-81.md b/.changeset/dependencies-GH-81.md deleted file mode 100644 index cc31e142..00000000 --- a/.changeset/dependencies-GH-81.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-c": patch ---- - -chore(deps): update dependency tree-sitter-c to v0.24.1 diff --git a/.changeset/dependencies-GH-84.md b/.changeset/dependencies-GH-84.md deleted file mode 100644 index 557be26d..00000000 --- a/.changeset/dependencies-GH-84.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-angular": patch ---- - -chore(deps): update dependency tree-sitter-angular to v0.6.2 diff --git a/.changeset/dependencies-GH-85.md b/.changeset/dependencies-GH-85.md deleted file mode 100644 index 7b4a291e..00000000 --- a/.changeset/dependencies-GH-85.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-bash": patch ---- - -chore(deps): update dependency tree-sitter-bash to v0.25.0 diff --git a/.changeset/dependencies-GH-86.md b/.changeset/dependencies-GH-86.md deleted file mode 100644 index 748f9236..00000000 --- a/.changeset/dependencies-GH-86.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-scala": patch ---- - -chore(deps): update dependency tree-sitter-scala to v0.24.0 diff --git a/.changeset/lucky-humans-lead.md b/.changeset/lucky-humans-lead.md deleted file mode 100644 index 037bc115..00000000 --- a/.changeset/lucky-humans-lead.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -"@ast-grep/lang-javascript": patch -"@ast-grep/lang-typescript": patch -"@ast-grep/create-lang": patch -"@ast-grep/lang-angular": patch -"@ast-grep/lang-haskell": patch -"@ast-grep/lang-csharp": patch -"@ast-grep/lang-elixir": patch -"@ast-grep/lang-kotlin": patch -"@ast-grep/lang-python": patch -"@ast-grep/lang-scala": patch -"@ast-grep/lang-swift": patch -"@ast-grep/lang-bash": patch -"@ast-grep/lang-dart": patch -"@ast-grep/lang-html": patch -"@ast-grep/lang-java": patch -"@ast-grep/lang-json": patch -"@ast-grep/lang-ruby": patch -"@ast-grep/lang-rust": patch -"@ast-grep/lang-toml": patch -"@ast-grep/lang-yaml": patch -"@ast-grep/lang-cpp": patch -"@ast-grep/lang-css": patch -"@ast-grep/lang-lua": patch -"@ast-grep/lang-php": patch -"@ast-grep/lang-sql": patch -"@ast-grep/lang-tsx": patch -"@ast-grep/lang-go": patch -"@ast-grep/lang-c": patch ---- - -bump tree-sitter version diff --git a/packages/angular/CHANGELOG.md b/packages/angular/CHANGELOG.md index 77837e1e..2cf41908 100644 --- a/packages/angular/CHANGELOG.md +++ b/packages/angular/CHANGELOG.md @@ -1,5 +1,12 @@ # @ast-grep/lang-angular +## 0.0.4 + +### Patch Changes + +- 5540974: chore(deps): update dependency tree-sitter-angular to v0.6.2 +- 2adac80: bump tree-sitter version + ## 0.0.3 ### Patch Changes diff --git a/packages/angular/package.json b/packages/angular/package.json index 2193d17d..0b45ac07 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-angular", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-angular": "0.6.2", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/bash/CHANGELOG.md b/packages/bash/CHANGELOG.md index 00d7d9da..6df21592 100644 --- a/packages/bash/CHANGELOG.md +++ b/packages/bash/CHANGELOG.md @@ -1,5 +1,12 @@ # @ast-grep/lang-bash +## 0.0.3 + +### Patch Changes + +- bffbe48: chore(deps): update dependency tree-sitter-bash to v0.25.0 +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/bash/package.json b/packages/bash/package.json index 8333b1f2..c25afd58 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-bash", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-bash": "0.25.0", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/c/CHANGELOG.md b/packages/c/CHANGELOG.md new file mode 100644 index 00000000..867c73b7 --- /dev/null +++ b/packages/c/CHANGELOG.md @@ -0,0 +1,8 @@ +# @ast-grep/lang-c + +## 0.0.2 + +### Patch Changes + +- 5771d45: chore(deps): update dependency tree-sitter-c to v0.24.1 +- 2adac80: bump tree-sitter version diff --git a/packages/c/package.json b/packages/c/package.json index 4d7ad0f6..683fc633 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-c", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-c": "0.24.1", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/cpp/CHANGELOG.md b/packages/cpp/CHANGELOG.md new file mode 100644 index 00000000..1436d5f5 --- /dev/null +++ b/packages/cpp/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-cpp + +## 0.0.2 + +### Patch Changes + +- 2adac80: bump tree-sitter version diff --git a/packages/cpp/package.json b/packages/cpp/package.json index b27d8f87..aa5f7952 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-cpp", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-cpp": "0.23.4" }, diff --git a/packages/csharp/CHANGELOG.md b/packages/csharp/CHANGELOG.md new file mode 100644 index 00000000..69bee881 --- /dev/null +++ b/packages/csharp/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-csharp + +## 0.0.2 + +### Patch Changes + +- 2adac80: bump tree-sitter version diff --git a/packages/csharp/package.json b/packages/csharp/package.json index 0ab87471..e71fcf3d 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-csharp", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-c-sharp": "0.23.1", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index 6ba0e311..790ae82e 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-css +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/css/package.json b/packages/css/package.json index 4d39427c..dd3b95d9 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-css", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-css": "0.23.2" }, diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index 854afdf2..ceef9a97 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-dart +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/dart/package.json b/packages/dart/package.json index e14a4347..53ac9e7d 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-dart", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-dart": "1.0.0" }, diff --git a/packages/elixir/CHANGELOG.md b/packages/elixir/CHANGELOG.md index 703f5cfd..a96393fd 100644 --- a/packages/elixir/CHANGELOG.md +++ b/packages/elixir/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-elixir +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 77bb12db..7717c989 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-elixir", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-elixir": "0.3.4" }, diff --git a/packages/go/CHANGELOG.md b/packages/go/CHANGELOG.md new file mode 100644 index 00000000..2afc44a3 --- /dev/null +++ b/packages/go/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-go + +## 0.0.2 + +### Patch Changes + +- 2adac80: bump tree-sitter version diff --git a/packages/go/package.json b/packages/go/package.json index f8ebd787..a9658e0f 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-go", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-go": "0.23.4", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/haskell/CHANGELOG.md b/packages/haskell/CHANGELOG.md index d2a7aa16..95873a35 100644 --- a/packages/haskell/CHANGELOG.md +++ b/packages/haskell/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-haskell +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/haskell/package.json b/packages/haskell/package.json index b46c2962..f2b5dfc4 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-haskell", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-haskell": "0.23.1" }, diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index 412e406b..bac4428d 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-html +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/html/package.json b/packages/html/package.json index 3a93a5a7..71913716 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-html", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-html": "0.23.2" }, diff --git a/packages/java/CHANGELOG.md b/packages/java/CHANGELOG.md index 41f79a0a..caabc4b9 100644 --- a/packages/java/CHANGELOG.md +++ b/packages/java/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-java +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/java/package.json b/packages/java/package.json index a108102d..d11a6d0b 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-java", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-java": "0.23.5" }, diff --git a/packages/javascript/CHANGELOG.md b/packages/javascript/CHANGELOG.md index 2fd5c558..5657924b 100644 --- a/packages/javascript/CHANGELOG.md +++ b/packages/javascript/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-javascript +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/javascript/package.json b/packages/javascript/package.json index cf90a755..2b2c1b5f 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-javascript", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-javascript": "0.23.1" }, diff --git a/packages/json/CHANGELOG.md b/packages/json/CHANGELOG.md index a7532a20..83c3faa0 100644 --- a/packages/json/CHANGELOG.md +++ b/packages/json/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-json +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/json/package.json b/packages/json/package.json index ae66eed2..9a5d5a3d 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-json", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-json": "0.24.8" }, diff --git a/packages/kotlin/CHANGELOG.md b/packages/kotlin/CHANGELOG.md index d08f80a0..8da8be79 100644 --- a/packages/kotlin/CHANGELOG.md +++ b/packages/kotlin/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-kotlin +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 1075915f..7b79cb4b 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-kotlin", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-kotlin": "0.3.8" }, diff --git a/packages/lua/CHANGELOG.md b/packages/lua/CHANGELOG.md index 7b1544c6..360c8ef1 100644 --- a/packages/lua/CHANGELOG.md +++ b/packages/lua/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-lua +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/lua/package.json b/packages/lua/package.json index 15960f39..0c0fc0d5 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-lua", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 5d9db396..7bf55a63 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-markdown", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "@tree-sitter-grammars/tree-sitter-markdown": "0.3.2", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/php/CHANGELOG.md b/packages/php/CHANGELOG.md index 694fa8b3..9e89899a 100644 --- a/packages/php/CHANGELOG.md +++ b/packages/php/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-php +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/php/package.json b/packages/php/package.json index a2842b73..ab568eed 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-php", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-php": "0.23.12" }, diff --git a/packages/python/CHANGELOG.md b/packages/python/CHANGELOG.md new file mode 100644 index 00000000..20280111 --- /dev/null +++ b/packages/python/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-python + +## 0.0.2 + +### Patch Changes + +- 2adac80: bump tree-sitter version diff --git a/packages/python/package.json b/packages/python/package.json index 76f738c7..2034ac10 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-python", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-python": "0.23.6" }, diff --git a/packages/ruby/CHANGELOG.md b/packages/ruby/CHANGELOG.md index c4cd8462..e6564444 100644 --- a/packages/ruby/CHANGELOG.md +++ b/packages/ruby/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-ruby +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 4326cb5e..25dcdd8c 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-ruby", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-ruby": "0.23.1" }, diff --git a/packages/rust/CHANGELOG.md b/packages/rust/CHANGELOG.md index 29f95146..d0c3cef8 100644 --- a/packages/rust/CHANGELOG.md +++ b/packages/rust/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-rust +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/rust/package.json b/packages/rust/package.json index 2ca8caa7..071c9f35 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-rust", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-rust": "0.23.2" }, diff --git a/packages/scala/CHANGELOG.md b/packages/scala/CHANGELOG.md index 0dc33fac..882bee30 100644 --- a/packages/scala/CHANGELOG.md +++ b/packages/scala/CHANGELOG.md @@ -1,5 +1,12 @@ # @ast-grep/lang-scala +## 0.0.3 + +### Patch Changes + +- 57c762f: chore(deps): update dependency tree-sitter-scala to v0.24.0 +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/scala/package.json b/packages/scala/package.json index 3fd03717..8c1dd7d7 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-scala", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-scala": "0.24.0" }, diff --git a/packages/sql/CHANGELOG.md b/packages/sql/CHANGELOG.md index 7c366058..ca50e14c 100644 --- a/packages/sql/CHANGELOG.md +++ b/packages/sql/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-sql +## 0.0.4 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.3 ### Patch Changes diff --git a/packages/sql/package.json b/packages/sql/package.json index b0cb4ee1..e721f7d3 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-sql", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "@derekstride/tree-sitter-sql": "0.3.8", "tree-sitter-cli": "0.25.6" }, diff --git a/packages/swift/CHANGELOG.md b/packages/swift/CHANGELOG.md index 6421288c..4ee9b081 100644 --- a/packages/swift/CHANGELOG.md +++ b/packages/swift/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-swift +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/swift/package.json b/packages/swift/package.json index bed45d02..5ea7f8f9 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-swift", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-swift": "0.7.0" }, diff --git a/packages/toml/CHANGELOG.md b/packages/toml/CHANGELOG.md new file mode 100644 index 00000000..41ffdcd4 --- /dev/null +++ b/packages/toml/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-toml + +## 0.0.5 + +### Patch Changes + +- 2adac80: bump tree-sitter version diff --git a/packages/toml/package.json b/packages/toml/package.json index 302615c2..5b7ee3f5 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-toml", - "version": "0.0.3", + "version": "0.0.5", "description": "", "main": "index.js", "scripts": { diff --git a/packages/tsx/CHANGELOG.md b/packages/tsx/CHANGELOG.md index 741b4f11..62a00388 100644 --- a/packages/tsx/CHANGELOG.md +++ b/packages/tsx/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-tsx +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/tsx/package.json b/packages/tsx/package.json index a389673e..a0711a82 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-tsx", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-typescript": "^0.23.2" }, diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 7ffbeca0..7264dc93 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-typescript +## 0.0.3 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.2 ### Patch Changes diff --git a/packages/typescript/package.json b/packages/typescript/package.json index c1ba479f..e5271722 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-typescript", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6", "tree-sitter-typescript": "0.23.2" }, diff --git a/packages/yaml/CHANGELOG.md b/packages/yaml/CHANGELOG.md new file mode 100644 index 00000000..44519c67 --- /dev/null +++ b/packages/yaml/CHANGELOG.md @@ -0,0 +1,8 @@ +# @ast-grep/lang-yaml + +## 0.0.2 + +### Patch Changes + +- 6d6dcb6: chore(deps): update dependency @tree-sitter-grammars/tree-sitter-yaml to v0.7.1 +- 2adac80: bump tree-sitter version diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 2337ca5d..825b7037 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-yaml", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.js", "scripts": { @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", "tree-sitter-cli": "0.25.6" }, diff --git a/scripts/create-lang/CHANGELOG.md b/scripts/create-lang/CHANGELOG.md index dee6e105..b96d4cd7 100644 --- a/scripts/create-lang/CHANGELOG.md +++ b/scripts/create-lang/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/create-lang +## 0.0.6 + +### Patch Changes + +- 2adac80: bump tree-sitter version + ## 0.0.4 ### Patch Changes diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index 6a65c2c5..9c33236f 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/create-lang", - "version": "0.0.5", + "version": "0.0.6", "private": false, "description": "", "main": "index.js", diff --git a/scripts/nursery/CHANGELOG.md b/scripts/nursery/CHANGELOG.md index ab5b92bb..e1a70741 100644 --- a/scripts/nursery/CHANGELOG.md +++ b/scripts/nursery/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/nursery +## 0.0.5 + +### Patch Changes + +- 8fdf089: fix(deps): update dependency @ast-grep/napi to v0.38.5 + ## 0.0.3 ### Patch Changes diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index fcbda9ef..dc68584e 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/nursery", - "version": "0.0.4", + "version": "0.0.5", "private": false, "description": "", "main": "index.js", From d896fb68987fd4c7284c73c2bbd471955631d4b1 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:44:13 -0400 Subject: [PATCH 17/55] fix: add command --- package.json | 1 + pnpm-lock.yaml | 114 ++++++++++++++++++++++++------------------------- 2 files changed, 58 insertions(+), 57 deletions(-) diff --git a/package.json b/package.json index 2f0b6c82..842d659b 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "lint": "biome lint --fix", "lint:ci": "biome lint", "changeset": "changeset", + "version": "changeset version", "prepare": "husky" }, "keywords": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bd1b8226..86194d48 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,8 +25,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-angular: specifier: 0.6.2 version: 0.6.2(tree-sitter@0.21.1) @@ -41,8 +41,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-bash: specifier: 0.25.0 version: 0.25.0 @@ -57,8 +57,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-c: specifier: 0.24.1 version: 0.24.1 @@ -73,8 +73,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -89,8 +89,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-c-sharp: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -105,8 +105,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -121,8 +121,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -137,8 +137,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -153,8 +153,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -169,8 +169,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -185,8 +185,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -201,8 +201,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -217,8 +217,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -233,8 +233,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -249,8 +249,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -265,8 +265,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 '@tree-sitter-grammars/tree-sitter-lua': specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) @@ -281,8 +281,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 '@tree-sitter-grammars/tree-sitter-markdown': specifier: 0.3.2 version: 0.3.2(tree-sitter@0.21.1) @@ -297,8 +297,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -313,8 +313,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -329,8 +329,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -345,8 +345,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -361,8 +361,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -377,8 +377,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 '@derekstride/tree-sitter-sql': specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -393,8 +393,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -425,8 +425,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -441,8 +441,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 tree-sitter-cli: specifier: 0.25.6 version: 0.25.6 @@ -457,8 +457,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.4 - version: 0.0.4 + specifier: 0.0.5 + version: 0.0.5 '@tree-sitter-grammars/tree-sitter-yaml': specifier: 0.7.1 version: 0.7.1 @@ -564,8 +564,8 @@ packages: resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} engines: {node: '>= 10'} - '@ast-grep/nursery@0.0.4': - resolution: {integrity: sha512-be35/LLpRrDHOwZ7HEs+yryhjjtAZ2x6X20hoogQO3iiD3H9Hvz7F5AqGxvzk4qfGP2UybwJjiuCHZ8lNIgZqA==} + '@ast-grep/nursery@0.0.5': + resolution: {integrity: sha512-DJyr6VVs5q/HCOIgMqZcs6/axz9C4hIYcM4MuouRrO3rin84akAH5+TPLFP5MgI9gg5SBay5dmXoSnRkBSJxsw==} '@ast-grep/setup-lang@0.0.3': resolution: {integrity: sha512-+ZNOuf0r7ABVwOANrrQpUrUv7xyuhsZGyQ88WZCH/euQmIEvSH3JsUFevg/60M7hi8NVh4vfSQs6ajTpumSzxg==} @@ -1318,7 +1318,7 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.38.5 '@ast-grep/napi-win32-x64-msvc': 0.38.5 - '@ast-grep/nursery@0.0.4': + '@ast-grep/nursery@0.0.5': dependencies: '@ast-grep/napi': 0.38.5 From d9b463f1202df8f13baf39ef7eb36bb6d8daf218 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:54:42 -0400 Subject: [PATCH 18/55] chore(deps): update dependency @ast-grep/nursery to v0.0.5 (#87) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- scripts/create-lang/template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-lang/template/package.json b/scripts/create-lang/template/package.json index f509927b..ebbb7def 100644 --- a/scripts/create-lang/template/package.json +++ b/scripts/create-lang/template/package.json @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.4", + "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.6" }, "publishConfig": { From f776b81206252f0ab9c603f63f8f94c21aa504e0 Mon Sep 17 00:00:00 2001 From: Daniel Herzig Date: Sat, 26 Jul 2025 14:42:35 -0500 Subject: [PATCH 19/55] chore(docs): Add specific information about postinstall scripts for PNPM v10 (#98) Co-authored-by: Daniel Herzig --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 002c66d2..f5482428 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,19 @@ Packages contain a list of prebuild tree-sitter grammars to use with the `@ast-g Typical usage: -1. Install the language package in your project +1. Install the language package in your project. + +> [!NOTE] +> As of [PNPM version 10](https://socket.dev/blog/pnpm-10-0-0-blocks-lifecycle-scripts-by-default), postinstall scripts are no longer run by default. All language packages contain [postinstall](https://github.com/ast-grep/langs/blob/main/scripts/setup/index.ts#L20) scripts that will place the relevant language parsing library in the correct location for the targeted platform. You must explicitly allowlist the postinstall script to run for your desired language package. ```bash +# PNPM Date: Sat, 26 Jul 2025 15:42:53 -0400 Subject: [PATCH 20/55] chore(deps): update dependency @types/node to v22.16.5 (#88) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 20 ++++++++++---------- scripts/create-lang/package.json | 2 +- scripts/nursery/package.json | 2 +- scripts/setup/package.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86194d48..56f01c8d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -473,8 +473,8 @@ importers: version: 2.4.2 devDependencies: '@types/node': - specifier: 22.15.30 - version: 22.15.30 + specifier: 22.16.5 + version: 22.16.5 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -489,8 +489,8 @@ importers: version: 0.38.5 devDependencies: '@types/node': - specifier: 22.15.30 - version: 22.15.30 + specifier: 22.16.5 + version: 22.16.5 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -498,8 +498,8 @@ importers: scripts/setup: devDependencies: '@types/node': - specifier: 22.15.30 - version: 22.15.30 + specifier: 22.16.5 + version: 22.16.5 typescript: specifier: ^5.7.3 version: 5.8.3 @@ -746,8 +746,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.15.30': - resolution: {integrity: sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA==} + '@types/node@22.16.5': + resolution: {integrity: sha512-bJFoMATwIGaxxx8VJPeM8TonI8t579oRvgAuT8zFugJsJZgzqv0Fu8Mhp68iecjzG7cnN3mO2dJQ5uUM2EFrgQ==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1561,13 +1561,13 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.15.30': + '@types/node@22.16.5': dependencies: undici-types: 6.21.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.15.30 + '@types/node': 22.16.5 kleur: 3.0.3 ansi-colors@4.1.3: {} diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index 9c33236f..2d03a479 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -28,7 +28,7 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { - "@types/node": "22.15.30", + "@types/node": "22.16.5", "@types/prompts": "^2.4.9", "typescript": "^5.7.3" } diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index dc68584e..ce1e579d 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -20,6 +20,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.15.30" + "@types/node": "22.16.5" } } diff --git a/scripts/setup/package.json b/scripts/setup/package.json index 44c518d4..d0153474 100644 --- a/scripts/setup/package.json +++ b/scripts/setup/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.15.30" + "@types/node": "22.16.5" } } From 3dfe64ef1cbce82825e4135b8bc3ab2e15fac2c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 15:43:54 -0400 Subject: [PATCH 21/55] chore(deps): update dependency tree-sitter-cli to v0.25.8 (#95) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/angular/package.json | 4 +- packages/bash/package.json | 4 +- packages/c/package.json | 4 +- packages/cpp/package.json | 4 +- packages/csharp/package.json | 4 +- packages/css/package.json | 4 +- packages/dart/package.json | 4 +- packages/elixir/package.json | 4 +- packages/go/package.json | 4 +- packages/haskell/package.json | 4 +- packages/html/package.json | 4 +- packages/java/package.json | 4 +- packages/javascript/package.json | 4 +- packages/json/package.json | 4 +- packages/kotlin/package.json | 4 +- packages/lua/package.json | 4 +- packages/markdown/package.json | 4 +- packages/php/package.json | 4 +- packages/python/package.json | 4 +- packages/ruby/package.json | 4 +- packages/rust/package.json | 4 +- packages/scala/package.json | 4 +- packages/sql/package.json | 4 +- packages/swift/package.json | 4 +- packages/toml/package.json | 4 +- packages/tsx/package.json | 4 +- packages/typescript/package.json | 4 +- packages/yaml/package.json | 4 +- pnpm-lock.yaml | 118 +++++++++++----------- scripts/create-lang/template/package.json | 4 +- 30 files changed, 117 insertions(+), 117 deletions(-) diff --git a/packages/angular/package.json b/packages/angular/package.json index 0b45ac07..b936ca55 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-angular": "0.6.2", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/bash/package.json b/packages/bash/package.json index c25afd58..bcf715e0 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-bash": "0.25.0", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/c/package.json b/packages/c/package.json index 683fc633..7d6d3a84 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-c": "0.24.1", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/cpp/package.json b/packages/cpp/package.json index aa5f7952..61d84b18 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-cpp": "0.23.4" }, "publishConfig": { diff --git a/packages/csharp/package.json b/packages/csharp/package.json index e71fcf3d..3085ce39 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-c-sharp": "0.23.1", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/css/package.json b/packages/css/package.json index dd3b95d9..a7f13431 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-css": "0.23.2" }, "publishConfig": { diff --git a/packages/dart/package.json b/packages/dart/package.json index 53ac9e7d..9b56c184 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-dart": "1.0.0" }, "publishConfig": { diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 7717c989..52793d69 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-elixir": "0.3.4" }, "publishConfig": { diff --git a/packages/go/package.json b/packages/go/package.json index a9658e0f..22b1b3d0 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-go": "0.23.4", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/haskell/package.json b/packages/haskell/package.json index f2b5dfc4..6487205e 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-haskell": "0.23.1" }, "publishConfig": { diff --git a/packages/html/package.json b/packages/html/package.json index 71913716..56abf2a8 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-html": "0.23.2" }, "publishConfig": { diff --git a/packages/java/package.json b/packages/java/package.json index d11a6d0b..00e53f63 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-java": "0.23.5" }, "publishConfig": { diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 2b2c1b5f..cc1faf9b 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-javascript": "0.23.1" }, "publishConfig": { diff --git a/packages/json/package.json b/packages/json/package.json index 9a5d5a3d..bbc4fb2e 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-json": "0.24.8" }, "publishConfig": { diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 7b79cb4b..6436d5ef 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-kotlin": "0.3.8" }, "publishConfig": { diff --git a/packages/lua/package.json b/packages/lua/package.json index 0c0fc0d5..54c93986 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, "publishConfig": { diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 7bf55a63..60c8d1f8 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "@tree-sitter-grammars/tree-sitter-markdown": "0.3.2", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/php/package.json b/packages/php/package.json index ab568eed..4b2a8b1b 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-php": "0.23.12" }, "publishConfig": { diff --git a/packages/python/package.json b/packages/python/package.json index 2034ac10..90f99e36 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-python": "0.23.6" }, "publishConfig": { diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 25dcdd8c..e33b3201 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-ruby": "0.23.1" }, "publishConfig": { diff --git a/packages/rust/package.json b/packages/rust/package.json index 071c9f35..328d213b 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-rust": "0.23.2" }, "publishConfig": { diff --git a/packages/scala/package.json b/packages/scala/package.json index 8c1dd7d7..329aea47 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-scala": "0.24.0" }, "publishConfig": { diff --git a/packages/sql/package.json b/packages/sql/package.json index e721f7d3..db6eac28 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "@derekstride/tree-sitter-sql": "0.3.8", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/swift/package.json b/packages/swift/package.json index 5ea7f8f9..def71852 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-swift": "0.7.0" }, "publishConfig": { diff --git a/packages/toml/package.json b/packages/toml/package.json index 5b7ee3f5..64b6a753 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@tree-sitter-grammars/tree-sitter-toml": "0.7.0", "@ast-grep/nursery": "workspace:*", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/packages/tsx/package.json b/packages/tsx/package.json index a0711a82..8c5d0169 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "^0.23.2" }, "publishConfig": { diff --git a/packages/typescript/package.json b/packages/typescript/package.json index e5271722..c4129202 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6", + "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "0.23.2" }, "publishConfig": { diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 825b7037..dda6196c 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56f01c8d..372d4ce0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: 0.6.2 version: 0.6.2(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/bash: dependencies: @@ -47,8 +47,8 @@ importers: specifier: 0.25.0 version: 0.25.0 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/c: dependencies: @@ -63,8 +63,8 @@ importers: specifier: 0.24.1 version: 0.24.1 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/cpp: dependencies: @@ -76,8 +76,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-cpp: specifier: 0.23.4 version: 0.23.4 @@ -95,8 +95,8 @@ importers: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/css: dependencies: @@ -108,8 +108,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-css: specifier: 0.23.2 version: 0.23.2 @@ -124,8 +124,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-dart: specifier: 1.0.0 version: 1.0.0 @@ -140,8 +140,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-elixir: specifier: 0.3.4 version: 0.3.4(tree-sitter@0.21.1) @@ -156,8 +156,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-go: specifier: 0.23.4 version: 0.23.4(tree-sitter@0.21.1) @@ -172,8 +172,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-haskell: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -188,8 +188,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-html: specifier: 0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -204,8 +204,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-java: specifier: 0.23.5 version: 0.23.5(tree-sitter@0.21.1) @@ -220,8 +220,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-javascript: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -236,8 +236,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-json: specifier: 0.24.8 version: 0.24.8(tree-sitter@0.21.1) @@ -252,8 +252,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-kotlin: specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -271,8 +271,8 @@ importers: specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/markdown: dependencies: @@ -287,8 +287,8 @@ importers: specifier: 0.3.2 version: 0.3.2(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/php: dependencies: @@ -300,8 +300,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-php: specifier: 0.23.12 version: 0.23.12(tree-sitter@0.21.1) @@ -316,8 +316,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-python: specifier: 0.23.6 version: 0.23.6 @@ -332,8 +332,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-ruby: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -348,8 +348,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-rust: specifier: 0.23.2 version: 0.23.2 @@ -364,8 +364,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-scala: specifier: 0.24.0 version: 0.24.0(tree-sitter@0.21.1) @@ -383,8 +383,8 @@ importers: specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/swift: dependencies: @@ -396,8 +396,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-swift: specifier: 0.7.0 version: 0.7.0(tree-sitter@0.21.1) @@ -415,8 +415,8 @@ importers: specifier: 0.7.0 version: 0.7.0 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 packages/tsx: dependencies: @@ -428,8 +428,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-typescript: specifier: ^0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -444,8 +444,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 tree-sitter-typescript: specifier: 0.23.2 version: 0.23.2(tree-sitter@0.21.1) @@ -463,8 +463,8 @@ importers: specifier: 0.7.1 version: 0.7.1 tree-sitter-cli: - specifier: 0.25.6 - version: 0.25.6 + specifier: 0.25.8 + version: 0.25.8 scripts/create-lang: dependencies: @@ -1114,8 +1114,8 @@ packages: engines: {node: '>=12.0.0'} hasBin: true - tree-sitter-cli@0.25.6: - resolution: {integrity: sha512-UhkXRkMPtBgE4OatZtYVtDsT3HFUliqAJcs49XQaZv8d2sbeTzEhpJVpMaCqBR3HGhb1WpyoodaFXQaMuOLPEg==} + tree-sitter-cli@0.25.8: + resolution: {integrity: sha512-avR7qo4qT+dNv2jj4M2e79vfc2etbWK6/umWcRsnEX1LTRhUL6p5AgGe6dP7+cV/RYFFk/VBz1rJuVCk+w5H2A==} engines: {node: '>=12.0.0'} hasBin: true @@ -1861,7 +1861,7 @@ snapshots: tree-sitter-cli@0.23.2: {} - tree-sitter-cli@0.25.6: {} + tree-sitter-cli@0.25.8: {} tree-sitter-cpp@0.23.4: dependencies: diff --git a/scripts/create-lang/template/package.json b/scripts/create-lang/template/package.json index ebbb7def..7ae556fc 100644 --- a/scripts/create-lang/template/package.json +++ b/scripts/create-lang/template/package.json @@ -25,7 +25,7 @@ "@ast-grep/setup-lang": "0.0.3" }, "peerDependencies": { - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "peerDependenciesMeta": { "tree-sitter-cli": { @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-cli": "0.25.6" + "tree-sitter-cli": "0.25.8" }, "publishConfig": { "access": "public", From 49dc87c8b540ca19bafe8fa0c8dca8702c7063a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 15:44:32 -0400 Subject: [PATCH 22/55] fix(deps): update dependency @ast-grep/napi to v0.39.1 (#93) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 101 ++++++++++++++++++++++++++++++++++- scripts/nursery/package.json | 2 +- 2 files changed, 100 insertions(+), 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 372d4ce0..aac5b218 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -485,8 +485,8 @@ importers: scripts/nursery: dependencies: '@ast-grep/napi': - specifier: 0.38.5 - version: 0.38.5 + specifier: 0.39.1 + version: 0.39.1 devDependencies: '@types/node': specifier: 22.16.5 @@ -512,58 +512,116 @@ packages: cpu: [arm64] os: [darwin] + '@ast-grep/napi-darwin-arm64@0.39.1': + resolution: {integrity: sha512-g+Bf940b/k6/yrLwWTCXDaZ4Nt5NjUM30MJcwnBbTXsmlRIYnoFIktR8X7kS33DSCu7knT22QdF3B393mHoyVg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + '@ast-grep/napi-darwin-x64@0.38.5': resolution: {integrity: sha512-4AOenxM5lC9nzSnTPmmDDYUG3Rrh4VjbmWf6JbZPhvhdgMnKigbFVvv2BqhzxBtI8MxJ86jNmuI3KW1QYc+V1A==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] + '@ast-grep/napi-darwin-x64@0.39.1': + resolution: {integrity: sha512-jPtuBBnQT7BC+oA0UudC2nGUcIUQF//f1CKnz4DnEj3AebgsW8RAkIUTSw20Y6uhPTjbSQ9fx9AjDvbQZe/I5A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + '@ast-grep/napi-linux-arm64-gnu@0.38.5': resolution: {integrity: sha512-8ePpkH15Patg4PdwreB64YXaIynyaNm6RbnkMKnZ6jFYnAa00NeWZ7lv1vdD01q5pzI4k3jx6deBGEvgRZ8hww==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@ast-grep/napi-linux-arm64-gnu@0.39.1': + resolution: {integrity: sha512-N7wH7ExECtYLeXe6Q1/s7NZFCDGJQrkmQaYa2vooSFYZB1i4BAtFu92K3IzpTlMXxbwqrGIEZGPcRmZOYW68cA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@ast-grep/napi-linux-arm64-musl@0.38.5': resolution: {integrity: sha512-TG1e6AgRXksJuBMEVKV75h6aNoaE1IpIR4WB0CM6VTK84vjAlCh70XvFbqicowpCPJkWoQ2fhy4Ux+B8YykpJA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@ast-grep/napi-linux-arm64-musl@0.39.1': + resolution: {integrity: sha512-mc2yJV3mFVth1hwRwz3UTnAEVykRQhGMz8pfjC0GEistHqe6a18KYTIUwYFmQD300O/rLTCLvgV64ICzqD8k4A==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@ast-grep/napi-linux-x64-gnu@0.38.5': resolution: {integrity: sha512-BD8PEBras1EfbRHpZXUXJrAfaXcCL2ZZTgk+BNd/p//CWGqVQRbbVib5irRRETJf804ElXPD7uLV6IWeQP5u+w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@ast-grep/napi-linux-x64-gnu@0.39.1': + resolution: {integrity: sha512-xvIINrydi0WTU8yS48UhfHNv/xawF0Cjob2Km+UyVKgNZc5HDlAnn/BxXnTgvV6gla1ynC1FVmxHKmixoUnA3A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@ast-grep/napi-linux-x64-musl@0.38.5': resolution: {integrity: sha512-fJyehG0xPe9Hvp64o4N1gVIbJ3oBXvMaN81pXSTcMP9QI5v/H40igZ4XoPkobSGittPr7x3ooDv9WIwuzc4pxA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@ast-grep/napi-linux-x64-musl@0.39.1': + resolution: {integrity: sha512-ehAce6LVhZPS612lVH0unXgmSP2kyNI1hs7vXpboJTbZkuNTNn+vWBICSP6XaInsV1BqZ6VejAIgA42iH6BrqQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@ast-grep/napi-win32-arm64-msvc@0.38.5': resolution: {integrity: sha512-25wyag97kE6nv1hHaNuPgORYbSUndgsAUKCSarsEDI5BBp6h0YDdFY+VzM+SH62F0RBqj0bkpud38UblftfgFw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] + '@ast-grep/napi-win32-arm64-msvc@0.39.1': + resolution: {integrity: sha512-HWl/jX3RT69XR/2JNdv2L1Rh7YeXHvuwq8GVBJcWhNtj3wFT9h5h8MSzfWgPLLmB6VAhjulPrG1iU7LAjvWaYQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + '@ast-grep/napi-win32-ia32-msvc@0.38.5': resolution: {integrity: sha512-9ZmG9xAxxxMbDvhf2QQ0bq/e9BJ+TVXFsj9Fp5Ju7dkyCRFwLGquL/RapE/jz/L11zfu+Z7EVZfmp1RnmGxpWw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] + '@ast-grep/napi-win32-ia32-msvc@0.39.1': + resolution: {integrity: sha512-fivsR5Et5/UHQ/BArzQgeTV05J49JcB+vjZSi0H/6uiNoq2+GOcwPkdlEGGM3HdDH64olaeXgRku0L9993r1Qw==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + '@ast-grep/napi-win32-x64-msvc@0.38.5': resolution: {integrity: sha512-DNeLIwkK/BKyYX5ymmeioqpXOXGcOxj2OgLpWiyk/VawwQe6uGgrH97k3pRku513dzHKayfizvU2igjj9oTJuA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] + '@ast-grep/napi-win32-x64-msvc@0.39.1': + resolution: {integrity: sha512-e7+eTU2aTDgE6c+vrkCkiJLxvzHm2Keirp/cHOx69KgZSYVWbfGrPj8VpLBIUHHapI58BKzLd4j+yFdD51fryg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + '@ast-grep/napi@0.38.5': resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} engines: {node: '>= 10'} + '@ast-grep/napi@0.39.1': + resolution: {integrity: sha512-omVL1aWHuc/gCMqtJRHLKJMM1VFRnaHU18IxL0tKeQHQJGVRU15I6MKi6z8RAeey4CFVw26l+HlXdfHMWMIyWQ==} + engines: {node: '>= 10'} + '@ast-grep/nursery@0.0.5': resolution: {integrity: sha512-DJyr6VVs5q/HCOIgMqZcs6/axz9C4hIYcM4MuouRrO3rin84akAH5+TPLFP5MgI9gg5SBay5dmXoSnRkBSJxsw==} @@ -1282,30 +1340,57 @@ snapshots: '@ast-grep/napi-darwin-arm64@0.38.5': optional: true + '@ast-grep/napi-darwin-arm64@0.39.1': + optional: true + '@ast-grep/napi-darwin-x64@0.38.5': optional: true + '@ast-grep/napi-darwin-x64@0.39.1': + optional: true + '@ast-grep/napi-linux-arm64-gnu@0.38.5': optional: true + '@ast-grep/napi-linux-arm64-gnu@0.39.1': + optional: true + '@ast-grep/napi-linux-arm64-musl@0.38.5': optional: true + '@ast-grep/napi-linux-arm64-musl@0.39.1': + optional: true + '@ast-grep/napi-linux-x64-gnu@0.38.5': optional: true + '@ast-grep/napi-linux-x64-gnu@0.39.1': + optional: true + '@ast-grep/napi-linux-x64-musl@0.38.5': optional: true + '@ast-grep/napi-linux-x64-musl@0.39.1': + optional: true + '@ast-grep/napi-win32-arm64-msvc@0.38.5': optional: true + '@ast-grep/napi-win32-arm64-msvc@0.39.1': + optional: true + '@ast-grep/napi-win32-ia32-msvc@0.38.5': optional: true + '@ast-grep/napi-win32-ia32-msvc@0.39.1': + optional: true + '@ast-grep/napi-win32-x64-msvc@0.38.5': optional: true + '@ast-grep/napi-win32-x64-msvc@0.39.1': + optional: true + '@ast-grep/napi@0.38.5': optionalDependencies: '@ast-grep/napi-darwin-arm64': 0.38.5 @@ -1318,6 +1403,18 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.38.5 '@ast-grep/napi-win32-x64-msvc': 0.38.5 + '@ast-grep/napi@0.39.1': + optionalDependencies: + '@ast-grep/napi-darwin-arm64': 0.39.1 + '@ast-grep/napi-darwin-x64': 0.39.1 + '@ast-grep/napi-linux-arm64-gnu': 0.39.1 + '@ast-grep/napi-linux-arm64-musl': 0.39.1 + '@ast-grep/napi-linux-x64-gnu': 0.39.1 + '@ast-grep/napi-linux-x64-musl': 0.39.1 + '@ast-grep/napi-win32-arm64-msvc': 0.39.1 + '@ast-grep/napi-win32-ia32-msvc': 0.39.1 + '@ast-grep/napi-win32-x64-msvc': 0.39.1 + '@ast-grep/nursery@0.0.5': dependencies: '@ast-grep/napi': 0.38.5 diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index ce1e579d..9d0d049f 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -12,7 +12,7 @@ "prepublishOnly": "tsc" }, "dependencies": { - "@ast-grep/napi": "0.38.5" + "@ast-grep/napi": "0.39.1" }, "publishConfig": { "access": "public", From 0fce35d9f6ab04beee85229b91883680c94a9a35 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 15:45:01 -0400 Subject: [PATCH 23/55] chore(deps): update dependency @changesets/cli to v2.29.5 (#90) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aac5b218..da8a8a53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.9.4 '@changesets/cli': specifier: ^2.28.1 - version: 2.29.4 + version: 2.29.5 husky: specifier: 9.1.7 version: 9.1.7 @@ -688,14 +688,14 @@ packages: '@changesets/apply-release-plan@7.0.12': resolution: {integrity: sha512-EaET7As5CeuhTzvXTQCRZeBUcisoYPDDcXvgTE/2jmmypKp0RC7LxKj/yzqeh/1qFTZI7oDGFcL1PHRuQuketQ==} - '@changesets/assemble-release-plan@6.0.8': - resolution: {integrity: sha512-y8+8LvZCkKJdbUlpXFuqcavpzJR80PN0OIfn8HZdwK7Sh6MgLXm4hKY5vu6/NDoKp8lAlM4ERZCqRMLxP4m+MQ==} + '@changesets/assemble-release-plan@6.0.9': + resolution: {integrity: sha512-tPgeeqCHIwNo8sypKlS3gOPmsS3wP0zHt67JDuL20P4QcXiw/O4Hl7oXiuLnP9yg+rXLQ2sScdV1Kkzde61iSQ==} '@changesets/changelog-git@0.2.1': resolution: {integrity: sha512-x/xEleCFLH28c3bQeQIyeZf8lFXyDFVn1SgcBiR2Tw/r4IAWlk1fzxCEZ6NxQAjF2Nwtczoen3OA2qR+UawQ8Q==} - '@changesets/cli@2.29.4': - resolution: {integrity: sha512-VW30x9oiFp/un/80+5jLeWgEU6Btj8IqOgI+X/zAYu4usVOWXjPIK5jSSlt5jsCU7/6Z7AxEkarxBxGUqkAmNg==} + '@changesets/cli@2.29.5': + resolution: {integrity: sha512-0j0cPq3fgxt2dPdFsg4XvO+6L66RC0pZybT9F4dG5TBrLA3jA/1pNkdTXH9IBBVHkgsKrNKenI3n1mPyPlIydg==} hasBin: true '@changesets/config@3.1.1': @@ -707,8 +707,8 @@ packages: '@changesets/get-dependents-graph@2.1.3': resolution: {integrity: sha512-gphr+v0mv2I3Oxt19VdWRRUxq3sseyUpX9DaHpTUmLj92Y10AGy+XOtV+kbM6L/fDcpx7/ISDFK6T8A/P3lOdQ==} - '@changesets/get-release-plan@4.0.12': - resolution: {integrity: sha512-KukdEgaafnyGryUwpHG2kZ7xJquOmWWWk5mmoeQaSvZTWH1DC5D/Sw6ClgGFYtQnOMSQhgoEbDxAbpIIayKH1g==} + '@changesets/get-release-plan@4.0.13': + resolution: {integrity: sha512-DWG1pus72FcNeXkM12tx+xtExyH/c9I1z+2aXlObH3i9YA7+WZEVaiHzHl03thpvAgWTRaH64MpfHxozfF7Dvg==} '@changesets/get-version-range-type@0.4.0': resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} @@ -986,6 +986,10 @@ packages: resolution: {integrity: sha512-lytcDEdxKjGJPTLEfW4mYMigRezMlyJY8W4wxJK8zE533Jlb8L8dRuObJFWg2P+AuOIxoCgKF+2Oq4d4Zd0OUA==} engines: {node: ^18 || ^20 || >= 21} + node-addon-api@8.4.0: + resolution: {integrity: sha512-D9DI/gXHvVmjHS08SVch0Em8G5S1P+QWtU31appcKT/8wFSPRcdHadIFSAntdMMVM5zz+/DL+bL/gz3UDppqtg==} + engines: {node: ^18 || ^20 || >= 21} + node-gyp-build@4.8.4: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true @@ -1474,7 +1478,7 @@ snapshots: resolve-from: 5.0.0 semver: 7.7.2 - '@changesets/assemble-release-plan@6.0.8': + '@changesets/assemble-release-plan@6.0.9': dependencies: '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.3 @@ -1487,15 +1491,15 @@ snapshots: dependencies: '@changesets/types': 6.1.0 - '@changesets/cli@2.29.4': + '@changesets/cli@2.29.5': dependencies: '@changesets/apply-release-plan': 7.0.12 - '@changesets/assemble-release-plan': 6.0.8 + '@changesets/assemble-release-plan': 6.0.9 '@changesets/changelog-git': 0.2.1 '@changesets/config': 3.1.1 '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.3 - '@changesets/get-release-plan': 4.0.12 + '@changesets/get-release-plan': 4.0.13 '@changesets/git': 3.0.4 '@changesets/logger': 0.1.1 '@changesets/pre': 2.0.2 @@ -1539,9 +1543,9 @@ snapshots: picocolors: 1.1.1 semver: 7.7.2 - '@changesets/get-release-plan@4.0.12': + '@changesets/get-release-plan@4.0.13': dependencies: - '@changesets/assemble-release-plan': 6.0.8 + '@changesets/assemble-release-plan': 6.0.9 '@changesets/config': 3.1.1 '@changesets/pre': 2.0.2 '@changesets/read': 0.6.5 @@ -1824,6 +1828,8 @@ snapshots: node-addon-api@8.3.1: {} + node-addon-api@8.4.0: {} + node-gyp-build@4.8.4: {} os-tmpdir@1.0.2: {} @@ -2078,7 +2084,7 @@ snapshots: tree-sitter@0.21.1: dependencies: - node-addon-api: 8.3.1 + node-addon-api: 8.4.0 node-gyp-build: 4.8.4 typescript@5.8.3: {} From 089b3583c1fa5847e145c9adefd912aca43f6455 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 15:45:19 -0400 Subject: [PATCH 24/55] chore(deps): update mscharley/dependency-changesets-action action to v1.1.8 (#91) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/changeset.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index 89cf8dee..9712b264 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Update PR - uses: mscharley/dependency-changesets-action@v1.1.5 + uses: mscharley/dependency-changesets-action@v1.1.8 with: token: ${{ github.token }} use-conventional-commits: false From b89ffac3739475669f8650c84e7513f7f85df9fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 16:06:11 -0400 Subject: [PATCH 25/55] chore(deps): update dependency tree-sitter-swift to v0.7.1 (#92) * chore(deps): update dependency tree-sitter-swift to v0.7.1 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-92.md | 5 +++++ packages/swift/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/dependencies-GH-92.md diff --git a/.changeset/dependencies-GH-92.md b/.changeset/dependencies-GH-92.md new file mode 100644 index 00000000..33a5c4c9 --- /dev/null +++ b/.changeset/dependencies-GH-92.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-swift": patch +--- + +chore(deps): update dependency tree-sitter-swift to v0.7.1 diff --git a/packages/swift/package.json b/packages/swift/package.json index def71852..8cb1a46a 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.5", "tree-sitter-cli": "0.25.8", - "tree-sitter-swift": "0.7.0" + "tree-sitter-swift": "0.7.1" }, "publishConfig": { "access": "public", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da8a8a53..dc0b9ff9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -399,8 +399,8 @@ importers: specifier: 0.25.8 version: 0.25.8 tree-sitter-swift: - specifier: 0.7.0 - version: 0.7.0(tree-sitter@0.21.1) + specifier: 0.7.1 + version: 0.7.1(tree-sitter@0.21.1) packages/toml: dependencies: @@ -1302,8 +1302,8 @@ packages: tree-sitter: optional: true - tree-sitter-swift@0.7.0: - resolution: {integrity: sha512-cALPEQXdv60VBVTTCvvtJXNGcNchUr/olqtVPuEIovQ5yqRibnt1fNFxDD5ggcjEaA+IN1ggPdU3yT51ucesYw==} + tree-sitter-swift@0.7.1: + resolution: {integrity: sha512-pneKVTuGamaBsqqqfB9BvNQjktzh/0IVPR54jLB5Fq/JTDQwYHd0Wo6pVyZ5jAYpbztzq+rJ/rpL9ruxTmSoKw==} peerDependencies: tree-sitter: ^0.22.1 tree_sitter: '*' @@ -2066,7 +2066,7 @@ snapshots: optionalDependencies: tree-sitter: 0.21.1 - tree-sitter-swift@0.7.0(tree-sitter@0.21.1): + tree-sitter-swift@0.7.1(tree-sitter@0.21.1): dependencies: node-addon-api: 8.3.1 node-gyp-build: 4.8.4 From f1dc21d3cb5a82c0a94e94efbae4c07e33447556 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 16:23:48 -0400 Subject: [PATCH 26/55] chore(deps): update dependency tree-sitter-angular to v0.6.4 (#96) * chore(deps): update dependency tree-sitter-angular to v0.6.4 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-96.md | 5 +++++ packages/angular/package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 .changeset/dependencies-GH-96.md diff --git a/.changeset/dependencies-GH-96.md b/.changeset/dependencies-GH-96.md new file mode 100644 index 00000000..3e5deace --- /dev/null +++ b/.changeset/dependencies-GH-96.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-angular": patch +--- + +chore(deps): update dependency tree-sitter-angular to v0.6.4 diff --git a/packages/angular/package.json b/packages/angular/package.json index b936ca55..37edfc01 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@ast-grep/nursery": "0.0.5", - "tree-sitter-angular": "0.6.2", + "tree-sitter-angular": "0.6.4", "tree-sitter-cli": "0.25.8" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc0b9ff9..6619af3d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,8 +28,8 @@ importers: specifier: 0.0.5 version: 0.0.5 tree-sitter-angular: - specifier: 0.6.2 - version: 0.6.2(tree-sitter@0.21.1) + specifier: 0.6.4 + version: 0.6.4(tree-sitter@0.21.1) tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -1130,8 +1130,8 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - tree-sitter-angular@0.6.2: - resolution: {integrity: sha512-H63yGGwEJGC0HAKedbnexAWbLkz4TzgTZb2clJZN5BgEMpBk5CXQuOdWvaYpC67BVUuxoOFXZ/EWmIagyLIqYQ==} + tree-sitter-angular@0.6.4: + resolution: {integrity: sha512-nguYSWdbutN6KeUVMibXJcvwVqmgTUed2JRUg3D7B9g5doUoqQHvvdaP1xGCdcxV2YV3spNOz7ddLyURknJDzA==} peerDependencies: tree-sitter: ^0.21.1 tree_sitter: '*' @@ -1933,9 +1933,9 @@ snapshots: dependencies: is-number: 7.0.0 - tree-sitter-angular@0.6.2(tree-sitter@0.21.1): + tree-sitter-angular@0.6.4(tree-sitter@0.21.1): dependencies: - node-addon-api: 8.3.1 + node-addon-api: 8.4.0 node-gyp-build: 4.8.4 tree-sitter: 0.21.1 tree-sitter-html: 0.23.2(tree-sitter@0.21.1) @@ -1954,7 +1954,7 @@ snapshots: tree-sitter-c@0.23.5: dependencies: - node-addon-api: 8.3.0 + node-addon-api: 8.4.0 node-gyp-build: 4.8.4 tree-sitter-c@0.24.1: From 750bf175ba7c4a08222d2d31c65dbeb6c7c090f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Jul 2025 16:24:07 -0400 Subject: [PATCH 27/55] chore(deps): update mcr.microsoft.com/devcontainers/javascript-node docker tag to v3 (#94) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f398f2dd..4339a86c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Node.js", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", + "image": "mcr.microsoft.com/devcontainers/javascript-node:3-22-bookworm", // Features to add to the dev container. More info: https://containers.dev/features. // "features": { From 3431ccb9598500ab522785bdf62a11b8fca8cbef Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 27 Jul 2025 16:45:17 -0400 Subject: [PATCH 28/55] fix: use oxc + dprint --- .oxlintrc.json | 7 ++ biome.json | 36 ------ dprint.json | 41 +++++++ package.json | 22 ++-- packages/sql/nursery.js | 2 +- pnpm-lock.yaml | 265 ++++++++++++++++++++++++++-------------- 6 files changed, 237 insertions(+), 136 deletions(-) create mode 100644 .oxlintrc.json delete mode 100644 biome.json create mode 100644 dprint.json diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 00000000..9de596da --- /dev/null +++ b/.oxlintrc.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + "node_modules", + "dist" + ] +} + diff --git a/biome.json b/biome.json deleted file mode 100644 index 8ca92707..00000000 --- a/biome.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", - "vcs": { - "enabled": true, - "clientKind": "git", - "useIgnoreFile": true - }, - "files": { - "ignoreUnknown": false, - "ignore": [] - }, - "formatter": { - "enabled": true, - "indentStyle": "space" - }, - "organizeImports": { - "enabled": true - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true, - "style": { - "useTemplate": "off" - } - } - }, - "javascript": { - "formatter": { - "arrowParentheses": "asNeeded", - "quoteStyle": "single", - "semicolons": "asNeeded", - "trailingCommas": "all" - } - } -} diff --git a/dprint.json b/dprint.json new file mode 100644 index 00000000..99e09621 --- /dev/null +++ b/dprint.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://dprint.dev/schemas/v0.json", + "projectType": "openSource", + "incremental": true, + "typescript": { + "useTabs": false, + "indentWidth": 2, + "lineWidth": 100, + "semiColons": "asi", + "quoteStyle": "preferSingle", + "nextControlFlowPosition": "sameLine", + "operatorPosition": "maintain", + "singleBodyPosition": "maintain", + "trailingCommas": "onlyMultiLine", + "useBraces": "whenNotSingleLine", + "bracePosition": "sameLineUnlessHanging", + "spaceSurroundingProperties": true, + "objectExpression.spaceSurroundingProperties": true, + "importDeclaration.spaceSurroundingNamedImports": true, + "exportDeclaration.spaceSurroundingNamedExports": true + }, + "json": { + "useTabs": false, + "indentWidth": 2, + "lineWidth": 100 + }, + "includes": [ + "**/*.{ts,tsx,js,json,yaml,yml}" + ], + "excludes": [ + "node_modules", + "dist", + "pkg", + "target", + "**/*.d.ts" + ], + "plugins": [ + "https://plugins.dprint.dev/typescript-0.93.0.wasm", + "https://plugins.dprint.dev/json-0.19.3.wasm" + ] +} diff --git a/package.json b/package.json index 842d659b..a334d573 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,18 @@ { "name": "@ast-grep/langs", "private": true, - "workspaces": ["packages/*", "scripts/*"], + "workspaces": [ + "packages/*", + "scripts/*" + ], "version": "0.0.1", "description": "Monorepo for `@ast-grep/lang-*` packages", "scripts": { "postinstall": "pnpm -r compile-ts", - "format": "biome format --write", - "format:ci": "biome format", - "lint": "biome lint --fix", - "lint:ci": "biome lint", + "format": "dprint fmt", + "format:ci": "dprint check", + "lint": "oxlint --fix", + "lint:ci": "oxlint", "changeset": "changeset", "version": "changeset version", "prepare": "husky" @@ -18,11 +21,14 @@ "author": "Herrington Darkholme", "license": "MIT", "devDependencies": { - "@biomejs/biome": "1.9.4", "@changesets/cli": "^2.28.1", - "husky": "9.1.7" + "dprint": "0.50.1", + "husky": "9.1.7", + "oxlint": "1.8.0" }, "pnpm": { - "onlyBuiltDependencies": ["tree-sitter-cli"] + "onlyBuiltDependencies": [ + "tree-sitter-cli" + ] } } diff --git a/packages/sql/nursery.js b/packages/sql/nursery.js index 63e4fb5c..f2696b97 100644 --- a/packages/sql/nursery.js +++ b/packages/sql/nursery.js @@ -6,7 +6,7 @@ setup({ name: 'sql', treeSitterPackage: '@derekstride/tree-sitter-sql', languageRegistration, - testRunner: parse => { + testRunner: _parse => { // add test here }, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6619af3d..bad7903a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,15 +8,18 @@ importers: .: devDependencies: - '@biomejs/biome': - specifier: 1.9.4 - version: 1.9.4 '@changesets/cli': specifier: ^2.28.1 version: 2.29.5 + dprint: + specifier: 0.50.1 + version: 0.50.1 husky: specifier: 9.1.7 version: 9.1.7 + oxlint: + specifier: 1.8.0 + version: 1.8.0 packages/angular: dependencies: @@ -632,59 +635,6 @@ packages: resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==} engines: {node: '>=6.9.0'} - '@biomejs/biome@1.9.4': - resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==} - engines: {node: '>=14.21.3'} - hasBin: true - - '@biomejs/cli-darwin-arm64@1.9.4': - resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [darwin] - - '@biomejs/cli-darwin-x64@1.9.4': - resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [darwin] - - '@biomejs/cli-linux-arm64-musl@1.9.4': - resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - - '@biomejs/cli-linux-arm64@1.9.4': - resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - - '@biomejs/cli-linux-x64-musl@1.9.4': - resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - - '@biomejs/cli-linux-x64@1.9.4': - resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - - '@biomejs/cli-win32-arm64@1.9.4': - resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [win32] - - '@biomejs/cli-win32-x64@1.9.4': - resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [win32] - '@changesets/apply-release-plan@7.0.12': resolution: {integrity: sha512-EaET7As5CeuhTzvXTQCRZeBUcisoYPDDcXvgTE/2jmmypKp0RC7LxKj/yzqeh/1qFTZI7oDGFcL1PHRuQuketQ==} @@ -749,6 +699,51 @@ packages: tree_sitter: optional: true + '@dprint/darwin-arm64@0.50.1': + resolution: {integrity: sha512-NNKf3dxXn567pd/hpCVLHLbC0dI7s3YvQnUEwjRTOAQVMp6O7/ME+Tg1RPGsDP1IB+Y2fIYSM4qmG02zQrqjAQ==} + cpu: [arm64] + os: [darwin] + + '@dprint/darwin-x64@0.50.1': + resolution: {integrity: sha512-PcY75U3UC/0CLOxWzE0zZJZ2PxzUM5AX2baYL1ovgDGCfqO1H0hINiyxfx/8ncGgPojWBkLs+zrcFiGnXx7BQg==} + cpu: [x64] + os: [darwin] + + '@dprint/linux-arm64-glibc@0.50.1': + resolution: {integrity: sha512-q0TOGy9FsoSKsEQ4sIMKyFweF5M8rW1S5OfwJDNRR2TU2riWByU9TKYIZUzg53iuwYKRypr/kJ5kdbl516afRQ==} + cpu: [arm64] + os: [linux] + + '@dprint/linux-arm64-musl@0.50.1': + resolution: {integrity: sha512-XRtxN2cA9rc06WFzzVPDIZYGGLmUXqpVf3F0XhhHV77ikQLJZ5reF4xBOQ+0HjJ/zy8W/HzuGDAHedWyCrRf9g==} + cpu: [arm64] + os: [linux] + + '@dprint/linux-riscv64-glibc@0.50.1': + resolution: {integrity: sha512-vAk/eYhSjA3LJ/yuYgxkHamiK8+m6YdqVBO/Ka+i16VxyjQyOdcMKBkrLCIqSxgyXd6b8raf9wM59HJbaIpoOg==} + cpu: [riscv64] + os: [linux] + + '@dprint/linux-x64-glibc@0.50.1': + resolution: {integrity: sha512-EpW5KLekaq4hXmKBWWtfBgZ244S4C+vFmMOd1YaGi8+f0hmPTJzVWLdIgpO2ZwfPQ5iycaVI/JS514PQmXPOvg==} + cpu: [x64] + os: [linux] + + '@dprint/linux-x64-musl@0.50.1': + resolution: {integrity: sha512-assISBbaKKL8LkjrIy/5tpE157MVW6HbyIKAjTtg3tPNM3lDn1oH3twuGtK9WBsN/VoEP3QMZVauolcUJT/VOg==} + cpu: [x64] + os: [linux] + + '@dprint/win32-arm64@0.50.1': + resolution: {integrity: sha512-ZeaRMQYoFjrsO3lvI1SqzDWDGH1GGXWmNSeXvcFuAf2OgYQJWMBlLotCKiHNJ3uyYneoyhTg2tv9QkApNkZV4Q==} + cpu: [arm64] + os: [win32] + + '@dprint/win32-x64@0.50.1': + resolution: {integrity: sha512-pMm8l/hRZ9zYylKw/yCaYkSV3btYB9UyMDbWqyxNthkQ1gckWrk17VTI6WjwwQuHD4Iaz5JgAYLS36hlUzWkxA==} + cpu: [x64] + os: [win32] + '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -767,6 +762,46 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@oxlint/darwin-arm64@1.8.0': + resolution: {integrity: sha512-1juYJF1xqRNkswzDSN1V44NoZ+O2Mkc9LjbkDB/UErb8dxTqFhCZC3CQR6Em55/tys1FtajXgK3B+ykWnY9HNQ==} + cpu: [arm64] + os: [darwin] + + '@oxlint/darwin-x64@1.8.0': + resolution: {integrity: sha512-5b7J/XE2eGhx3+vw6IFuuL0BbIF3wRzo4SWHVXN9rO3WYq2YpoHToY4C5WMWb8toVZcoJlx4Y1lq3IO2V78zTg==} + cpu: [x64] + os: [darwin] + + '@oxlint/linux-arm64-gnu@1.8.0': + resolution: {integrity: sha512-pzfk9IZBbYuIYn4sbT//Vox8B8e8hOZPkIQnNAdzhpGtRjV4NYOgNL5/h2QZC+ecmxl8H+Gi9WV6dyKjFrBtcw==} + cpu: [arm64] + os: [linux] + + '@oxlint/linux-arm64-musl@1.8.0': + resolution: {integrity: sha512-6rpaeAG271wbUNM+WeJhdvJDDMwfoenm7rPY304dxnC+fcuR8Q0LSv09dGeNWrsqjjZuDP9R10qR154nysBxFg==} + cpu: [arm64] + os: [linux] + + '@oxlint/linux-x64-gnu@1.8.0': + resolution: {integrity: sha512-qPEF8tKMu+63b58gPfwU3KyJf2z9KyorbrC0yGXFHQLzRPEtrh6bAjf+AzCs3n8WhDR1K6jPgcPT4Sp8bahCyQ==} + cpu: [x64] + os: [linux] + + '@oxlint/linux-x64-musl@1.8.0': + resolution: {integrity: sha512-JyErk/LsLg/tA3XkHhU8VIxahOdq56L99mbpMFGLTkOQgtnhY2MDAYULVgOuFFX3v6Q02o4mpIR/SwW/tRnZlg==} + cpu: [x64] + os: [linux] + + '@oxlint/win32-arm64@1.8.0': + resolution: {integrity: sha512-QvhtDAU9bBdC2m5xO+ibKyMG4KZR44wB0vDbQ5YkQxJiuXrlleHLyz0+saFzVYQ/Fvc0QgIRTIwiVz9dzxidVw==} + cpu: [arm64] + os: [win32] + + '@oxlint/win32-x64@1.8.0': + resolution: {integrity: sha512-veXJXgF905UOvuxtmvzM328b4Itm8Fyu+lUq4PagXOmyRScevaVUXq6++ui3A/Gxd8yo0SHspHCbYkpuvJkXqQ==} + cpu: [x64] + os: [win32] + '@tree-sitter-grammars/tree-sitter-lua@0.2.0': resolution: {integrity: sha512-VPk971J3hBUNr7CpZJvgTU5UmEkW8iMQ0Sk6br4O3xL00XFEO4PCjSSGeYYakRgPAJiIR8J594UcBK+7ilBvqw==} peerDependencies: @@ -852,6 +887,10 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} + dprint@0.50.1: + resolution: {integrity: sha512-s+kUyQp2rGpwsM3vVmXySOY3v1NjYyRpKfQZdP4rfNTz6zQuICSO6nqIXNm3YdK1MwNFR/EXSFMuE1YPuulhow==} + hasBin: true + enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -1001,6 +1040,11 @@ packages: outdent@0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} + oxlint@1.8.0: + resolution: {integrity: sha512-kDC3zuplBM35GbrZ/3rRdDrZ6unpUkUjM8P3VSbyLgaYh2xZeg0TLLDbYALNAUyChVonNafXzgHZmbwnHfrTRg==} + engines: {node: '>=8.*'} + hasBin: true + p-filter@2.1.0: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} @@ -1427,41 +1471,6 @@ snapshots: '@babel/runtime@7.27.6': {} - '@biomejs/biome@1.9.4': - optionalDependencies: - '@biomejs/cli-darwin-arm64': 1.9.4 - '@biomejs/cli-darwin-x64': 1.9.4 - '@biomejs/cli-linux-arm64': 1.9.4 - '@biomejs/cli-linux-arm64-musl': 1.9.4 - '@biomejs/cli-linux-x64': 1.9.4 - '@biomejs/cli-linux-x64-musl': 1.9.4 - '@biomejs/cli-win32-arm64': 1.9.4 - '@biomejs/cli-win32-x64': 1.9.4 - - '@biomejs/cli-darwin-arm64@1.9.4': - optional: true - - '@biomejs/cli-darwin-x64@1.9.4': - optional: true - - '@biomejs/cli-linux-arm64-musl@1.9.4': - optional: true - - '@biomejs/cli-linux-arm64@1.9.4': - optional: true - - '@biomejs/cli-linux-x64-musl@1.9.4': - optional: true - - '@biomejs/cli-linux-x64@1.9.4': - optional: true - - '@biomejs/cli-win32-arm64@1.9.4': - optional: true - - '@biomejs/cli-win32-x64@1.9.4': - optional: true - '@changesets/apply-release-plan@7.0.12': dependencies: '@changesets/config': 3.1.1 @@ -1610,6 +1619,33 @@ snapshots: node-gyp-build: 4.8.4 tree-sitter: 0.21.1 + '@dprint/darwin-arm64@0.50.1': + optional: true + + '@dprint/darwin-x64@0.50.1': + optional: true + + '@dprint/linux-arm64-glibc@0.50.1': + optional: true + + '@dprint/linux-arm64-musl@0.50.1': + optional: true + + '@dprint/linux-riscv64-glibc@0.50.1': + optional: true + + '@dprint/linux-x64-glibc@0.50.1': + optional: true + + '@dprint/linux-x64-musl@0.50.1': + optional: true + + '@dprint/win32-arm64@0.50.1': + optional: true + + '@dprint/win32-x64@0.50.1': + optional: true + '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.27.6 @@ -1638,6 +1674,30 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.19.1 + '@oxlint/darwin-arm64@1.8.0': + optional: true + + '@oxlint/darwin-x64@1.8.0': + optional: true + + '@oxlint/linux-arm64-gnu@1.8.0': + optional: true + + '@oxlint/linux-arm64-musl@1.8.0': + optional: true + + '@oxlint/linux-x64-gnu@1.8.0': + optional: true + + '@oxlint/linux-x64-musl@1.8.0': + optional: true + + '@oxlint/win32-arm64@1.8.0': + optional: true + + '@oxlint/win32-x64@1.8.0': + optional: true + '@tree-sitter-grammars/tree-sitter-lua@0.2.0(tree-sitter@0.21.1)': dependencies: node-addon-api: 8.3.1 @@ -1705,6 +1765,18 @@ snapshots: dependencies: path-type: 4.0.0 + dprint@0.50.1: + optionalDependencies: + '@dprint/darwin-arm64': 0.50.1 + '@dprint/darwin-x64': 0.50.1 + '@dprint/linux-arm64-glibc': 0.50.1 + '@dprint/linux-arm64-musl': 0.50.1 + '@dprint/linux-riscv64-glibc': 0.50.1 + '@dprint/linux-x64-glibc': 0.50.1 + '@dprint/linux-x64-musl': 0.50.1 + '@dprint/win32-arm64': 0.50.1 + '@dprint/win32-x64': 0.50.1 + enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 @@ -1836,6 +1908,17 @@ snapshots: outdent@0.5.0: {} + oxlint@1.8.0: + optionalDependencies: + '@oxlint/darwin-arm64': 1.8.0 + '@oxlint/darwin-x64': 1.8.0 + '@oxlint/linux-arm64-gnu': 1.8.0 + '@oxlint/linux-arm64-musl': 1.8.0 + '@oxlint/linux-x64-gnu': 1.8.0 + '@oxlint/linux-x64-musl': 1.8.0 + '@oxlint/win32-arm64': 1.8.0 + '@oxlint/win32-x64': 1.8.0 + p-filter@2.1.0: dependencies: p-map: 2.1.0 From fcb17a044a4a617e4175159ff5a08f6e074c6aa7 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 27 Jul 2025 16:46:12 -0400 Subject: [PATCH 29/55] fix: update format --- .oxlintrc.json | 1 - scripts/create-lang/index.ts | 6 +++--- scripts/nursery/index.ts | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 9de596da..25074c1c 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -4,4 +4,3 @@ "dist" ] } - diff --git a/scripts/create-lang/index.ts b/scripts/create-lang/index.ts index f5975889..d46f9126 100644 --- a/scripts/create-lang/index.ts +++ b/scripts/create-lang/index.ts @@ -1,7 +1,7 @@ -import prompts from 'prompts' -import path from 'node:path' -import fs from 'node:fs/promises' import { execSync } from 'node:child_process' +import fs from 'node:fs/promises' +import path from 'node:path' +import prompts from 'prompts' function required(s: string): string | true { if (s.length === 0) { diff --git a/scripts/nursery/index.ts b/scripts/nursery/index.ts index 1255b867..9a3128d3 100644 --- a/scripts/nursery/index.ts +++ b/scripts/nursery/index.ts @@ -118,8 +118,7 @@ function generateLangNodeTypes(setupConfig: SetupConfig) { try { const nodeTypes = readLangNodeTypes(dirname) const nodeTypeMap = processNodeTypes(nodeTypes) - const fileContent = - `// Auto-generated from ${treeSitterPackage}` + + const fileContent = `// Auto-generated from ${treeSitterPackage}` + '\n' + `type ${lang}Types = ${JSON.stringify(nodeTypeMap, null, 2)};` + '\n' + From f25ac38fc848ce6dd972711b24711c410d9df82c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 27 Jul 2025 16:49:00 -0400 Subject: [PATCH 30/55] fix(deps): update dependency @ast-grep/napi to v0.39.2 (#99) * fix(deps): update dependency @ast-grep/napi to v0.39.2 * chore(deps): changeset for dependency update --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/dependencies-GH-99.md | 5 ++ pnpm-lock.yaml | 82 ++++++++++++++++---------------- scripts/nursery/package.json | 2 +- 3 files changed, 47 insertions(+), 42 deletions(-) create mode 100644 .changeset/dependencies-GH-99.md diff --git a/.changeset/dependencies-GH-99.md b/.changeset/dependencies-GH-99.md new file mode 100644 index 00000000..3532fcf6 --- /dev/null +++ b/.changeset/dependencies-GH-99.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/nursery": patch +--- + +fix(deps): update dependency @ast-grep/napi to v0.39.2 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bad7903a..c75a692e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -488,8 +488,8 @@ importers: scripts/nursery: dependencies: '@ast-grep/napi': - specifier: 0.39.1 - version: 0.39.1 + specifier: 0.39.2 + version: 0.39.2 devDependencies: '@types/node': specifier: 22.16.5 @@ -515,8 +515,8 @@ packages: cpu: [arm64] os: [darwin] - '@ast-grep/napi-darwin-arm64@0.39.1': - resolution: {integrity: sha512-g+Bf940b/k6/yrLwWTCXDaZ4Nt5NjUM30MJcwnBbTXsmlRIYnoFIktR8X7kS33DSCu7knT22QdF3B393mHoyVg==} + '@ast-grep/napi-darwin-arm64@0.39.2': + resolution: {integrity: sha512-/tCV3ORHL1gAiepOF7i/KsZOfe14vnfz+pr6npDzffpTgPZ8tp/bTkHtytUu+xw7ow7ZoAwNd75lvNkCDy6qYw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -527,8 +527,8 @@ packages: cpu: [x64] os: [darwin] - '@ast-grep/napi-darwin-x64@0.39.1': - resolution: {integrity: sha512-jPtuBBnQT7BC+oA0UudC2nGUcIUQF//f1CKnz4DnEj3AebgsW8RAkIUTSw20Y6uhPTjbSQ9fx9AjDvbQZe/I5A==} + '@ast-grep/napi-darwin-x64@0.39.2': + resolution: {integrity: sha512-MJqaI7JTqbNMUcAvxKIdCgdRVSew/RLnxXkBO6G89SznVgdX3lRXyzPw/trhGcCWR1dByFN/Ne2LyusgjrbGdg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -539,8 +539,8 @@ packages: cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-gnu@0.39.1': - resolution: {integrity: sha512-N7wH7ExECtYLeXe6Q1/s7NZFCDGJQrkmQaYa2vooSFYZB1i4BAtFu92K3IzpTlMXxbwqrGIEZGPcRmZOYW68cA==} + '@ast-grep/napi-linux-arm64-gnu@0.39.2': + resolution: {integrity: sha512-TbC+OQD+qp1qIqDVvFPQqBPCouS17HtIs0DUn5rDvnXlzNGNd7SZNGT+Gr+hfmOBw3qgzWTSo+tI8H/FrUMG4w==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -551,8 +551,8 @@ packages: cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.39.1': - resolution: {integrity: sha512-mc2yJV3mFVth1hwRwz3UTnAEVykRQhGMz8pfjC0GEistHqe6a18KYTIUwYFmQD300O/rLTCLvgV64ICzqD8k4A==} + '@ast-grep/napi-linux-arm64-musl@0.39.2': + resolution: {integrity: sha512-AFosOAD+9f7lZJPvEh0w32Yy7DJOmOs+PlQzFiBimpsb6gjnjx9NZLwrwMEmW9aKPI6469QKP7DIVASNPozYGw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -563,8 +563,8 @@ packages: cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.39.1': - resolution: {integrity: sha512-xvIINrydi0WTU8yS48UhfHNv/xawF0Cjob2Km+UyVKgNZc5HDlAnn/BxXnTgvV6gla1ynC1FVmxHKmixoUnA3A==} + '@ast-grep/napi-linux-x64-gnu@0.39.2': + resolution: {integrity: sha512-qS9V2ZBiRnvhDHEAEOeO5K7Fn84+u/pqGKxDDcGZKzmp0Z27nvZR7pIybPiWgMh802G4o+iIHeRqPJgfEq7iqg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -575,8 +575,8 @@ packages: cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-musl@0.39.1': - resolution: {integrity: sha512-ehAce6LVhZPS612lVH0unXgmSP2kyNI1hs7vXpboJTbZkuNTNn+vWBICSP6XaInsV1BqZ6VejAIgA42iH6BrqQ==} + '@ast-grep/napi-linux-x64-musl@0.39.2': + resolution: {integrity: sha512-GbErl6NOwvWFqrZKUG+pdHiVKIgcpOIHOn8lBjcR06PA2Mgx44EyqkhzRXa55mjoxgOM80n//ZnhGwxVXhnSqQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -587,8 +587,8 @@ packages: cpu: [arm64] os: [win32] - '@ast-grep/napi-win32-arm64-msvc@0.39.1': - resolution: {integrity: sha512-HWl/jX3RT69XR/2JNdv2L1Rh7YeXHvuwq8GVBJcWhNtj3wFT9h5h8MSzfWgPLLmB6VAhjulPrG1iU7LAjvWaYQ==} + '@ast-grep/napi-win32-arm64-msvc@0.39.2': + resolution: {integrity: sha512-OHMDi9C3FbmfFHbHsIeTJw/EdxpYq7bpcLVhsnP10FOPhpr/8L+w8trO9pQ9NlwCRDP8JL53UzDfBmrZPRgWgg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -599,8 +599,8 @@ packages: cpu: [ia32] os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.39.1': - resolution: {integrity: sha512-fivsR5Et5/UHQ/BArzQgeTV05J49JcB+vjZSi0H/6uiNoq2+GOcwPkdlEGGM3HdDH64olaeXgRku0L9993r1Qw==} + '@ast-grep/napi-win32-ia32-msvc@0.39.2': + resolution: {integrity: sha512-htbGo7d0GPCLDTtXoKP38Rgn5MgLSCO2YXZaxQ7vq8QKfeussBcIr0yfbwUu4gDFhpSM7DPzDfHUTX/YDcD2fw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -611,8 +611,8 @@ packages: cpu: [x64] os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.39.1': - resolution: {integrity: sha512-e7+eTU2aTDgE6c+vrkCkiJLxvzHm2Keirp/cHOx69KgZSYVWbfGrPj8VpLBIUHHapI58BKzLd4j+yFdD51fryg==} + '@ast-grep/napi-win32-x64-msvc@0.39.2': + resolution: {integrity: sha512-geqOguM9gpHB9P9p9HcV+Lnq8dU6srYe3tVYQ9Wssxk/u1ZB9/DDUYgoW51tMXdWqfXEVt4KetAfiTHOOhOi4Q==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -621,8 +621,8 @@ packages: resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} engines: {node: '>= 10'} - '@ast-grep/napi@0.39.1': - resolution: {integrity: sha512-omVL1aWHuc/gCMqtJRHLKJMM1VFRnaHU18IxL0tKeQHQJGVRU15I6MKi6z8RAeey4CFVw26l+HlXdfHMWMIyWQ==} + '@ast-grep/napi@0.39.2': + resolution: {integrity: sha512-q6ryspY37PKLrfx+jNQrnR1qYTahRQO2yAvlDK6X4b4AHRtg7mXlaccHGpAFtkTZLhdkI9nl1WHsuqmKx1HWhw==} engines: {node: '>= 10'} '@ast-grep/nursery@0.0.5': @@ -1388,55 +1388,55 @@ snapshots: '@ast-grep/napi-darwin-arm64@0.38.5': optional: true - '@ast-grep/napi-darwin-arm64@0.39.1': + '@ast-grep/napi-darwin-arm64@0.39.2': optional: true '@ast-grep/napi-darwin-x64@0.38.5': optional: true - '@ast-grep/napi-darwin-x64@0.39.1': + '@ast-grep/napi-darwin-x64@0.39.2': optional: true '@ast-grep/napi-linux-arm64-gnu@0.38.5': optional: true - '@ast-grep/napi-linux-arm64-gnu@0.39.1': + '@ast-grep/napi-linux-arm64-gnu@0.39.2': optional: true '@ast-grep/napi-linux-arm64-musl@0.38.5': optional: true - '@ast-grep/napi-linux-arm64-musl@0.39.1': + '@ast-grep/napi-linux-arm64-musl@0.39.2': optional: true '@ast-grep/napi-linux-x64-gnu@0.38.5': optional: true - '@ast-grep/napi-linux-x64-gnu@0.39.1': + '@ast-grep/napi-linux-x64-gnu@0.39.2': optional: true '@ast-grep/napi-linux-x64-musl@0.38.5': optional: true - '@ast-grep/napi-linux-x64-musl@0.39.1': + '@ast-grep/napi-linux-x64-musl@0.39.2': optional: true '@ast-grep/napi-win32-arm64-msvc@0.38.5': optional: true - '@ast-grep/napi-win32-arm64-msvc@0.39.1': + '@ast-grep/napi-win32-arm64-msvc@0.39.2': optional: true '@ast-grep/napi-win32-ia32-msvc@0.38.5': optional: true - '@ast-grep/napi-win32-ia32-msvc@0.39.1': + '@ast-grep/napi-win32-ia32-msvc@0.39.2': optional: true '@ast-grep/napi-win32-x64-msvc@0.38.5': optional: true - '@ast-grep/napi-win32-x64-msvc@0.39.1': + '@ast-grep/napi-win32-x64-msvc@0.39.2': optional: true '@ast-grep/napi@0.38.5': @@ -1451,17 +1451,17 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.38.5 '@ast-grep/napi-win32-x64-msvc': 0.38.5 - '@ast-grep/napi@0.39.1': + '@ast-grep/napi@0.39.2': optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.39.1 - '@ast-grep/napi-darwin-x64': 0.39.1 - '@ast-grep/napi-linux-arm64-gnu': 0.39.1 - '@ast-grep/napi-linux-arm64-musl': 0.39.1 - '@ast-grep/napi-linux-x64-gnu': 0.39.1 - '@ast-grep/napi-linux-x64-musl': 0.39.1 - '@ast-grep/napi-win32-arm64-msvc': 0.39.1 - '@ast-grep/napi-win32-ia32-msvc': 0.39.1 - '@ast-grep/napi-win32-x64-msvc': 0.39.1 + '@ast-grep/napi-darwin-arm64': 0.39.2 + '@ast-grep/napi-darwin-x64': 0.39.2 + '@ast-grep/napi-linux-arm64-gnu': 0.39.2 + '@ast-grep/napi-linux-arm64-musl': 0.39.2 + '@ast-grep/napi-linux-x64-gnu': 0.39.2 + '@ast-grep/napi-linux-x64-musl': 0.39.2 + '@ast-grep/napi-win32-arm64-msvc': 0.39.2 + '@ast-grep/napi-win32-ia32-msvc': 0.39.2 + '@ast-grep/napi-win32-x64-msvc': 0.39.2 '@ast-grep/nursery@0.0.5': dependencies: diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 9d0d049f..8b4b7e94 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -12,7 +12,7 @@ "prepublishOnly": "tsc" }, "dependencies": { - "@ast-grep/napi": "0.39.1" + "@ast-grep/napi": "0.39.2" }, "publishConfig": { "access": "public", From fbe2c1ba5ee90749c2a207d7dda0903d79641873 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 27 Jul 2025 17:10:12 -0400 Subject: [PATCH 31/55] chore: update version --- .changeset/dependencies-GH-92.md | 5 ----- .changeset/dependencies-GH-96.md | 5 ----- .changeset/dependencies-GH-99.md | 5 ----- packages/angular/CHANGELOG.md | 6 ++++++ packages/angular/package.json | 13 +++++++++---- packages/bash/package.json | 12 +++++++++--- packages/c/package.json | 12 +++++++++--- packages/cpp/package.json | 12 +++++++++--- packages/csharp/package.json | 12 +++++++++--- packages/css/package.json | 12 +++++++++--- packages/dart/package.json | 12 +++++++++--- packages/elixir/package.json | 12 +++++++++--- packages/go/package.json | 12 +++++++++--- packages/haskell/package.json | 12 +++++++++--- packages/html/package.json | 12 +++++++++--- packages/java/package.json | 12 +++++++++--- packages/javascript/package.json | 12 +++++++++--- packages/json/package.json | 12 +++++++++--- packages/kotlin/package.json | 12 +++++++++--- packages/lua/package.json | 12 +++++++++--- packages/markdown/package.json | 12 +++++++++--- packages/php/package.json | 12 +++++++++--- packages/python/package.json | 12 +++++++++--- packages/ruby/package.json | 12 +++++++++--- packages/rust/package.json | 12 +++++++++--- packages/scala/package.json | 12 +++++++++--- packages/sql/package.json | 11 ++++++++--- packages/swift/CHANGELOG.md | 6 ++++++ packages/swift/package.json | 14 ++++++++++---- packages/toml/package.json | 9 +++++++-- packages/tsx/package.json | 12 +++++++++--- packages/typescript/package.json | 12 +++++++++--- packages/yaml/package.json | 12 +++++++++--- scripts/nursery/CHANGELOG.md | 6 ++++++ scripts/nursery/package.json | 2 +- 35 files changed, 269 insertions(+), 101 deletions(-) delete mode 100644 .changeset/dependencies-GH-92.md delete mode 100644 .changeset/dependencies-GH-96.md delete mode 100644 .changeset/dependencies-GH-99.md diff --git a/.changeset/dependencies-GH-92.md b/.changeset/dependencies-GH-92.md deleted file mode 100644 index 33a5c4c9..00000000 --- a/.changeset/dependencies-GH-92.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-swift": patch ---- - -chore(deps): update dependency tree-sitter-swift to v0.7.1 diff --git a/.changeset/dependencies-GH-96.md b/.changeset/dependencies-GH-96.md deleted file mode 100644 index 3e5deace..00000000 --- a/.changeset/dependencies-GH-96.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/lang-angular": patch ---- - -chore(deps): update dependency tree-sitter-angular to v0.6.4 diff --git a/.changeset/dependencies-GH-99.md b/.changeset/dependencies-GH-99.md deleted file mode 100644 index 3532fcf6..00000000 --- a/.changeset/dependencies-GH-99.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ast-grep/nursery": patch ---- - -fix(deps): update dependency @ast-grep/napi to v0.39.2 diff --git a/packages/angular/CHANGELOG.md b/packages/angular/CHANGELOG.md index 2cf41908..946468e6 100644 --- a/packages/angular/CHANGELOG.md +++ b/packages/angular/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-angular +## 0.0.5 + +### Patch Changes + +- f1dc21d: chore(deps): update dependency tree-sitter-angular to v0.6.4 + ## 0.0.4 ### Patch Changes diff --git a/packages/angular/package.json b/packages/angular/package.json index 37edfc01..a9646ab2 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-angular", - "version": "0.0.4", + "version": "0.0.5", "description": "", "main": "index.js", "scripts": { @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-angular": "0.6.4", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,8 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["tree-sitter-cli"] + "onlyBuiltDependencies": [ + "tree-sitter-cli" + ] } } diff --git a/packages/bash/package.json b/packages/bash/package.json index bcf715e0..50c0da22 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-bash": "0.25.0", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-bash", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-bash", + "tree-sitter-cli" + ] } } diff --git a/packages/c/package.json b/packages/c/package.json index 7d6d3a84..0d566743 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-c": "0.24.1", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-c", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-c", + "tree-sitter-cli" + ] } } diff --git a/packages/cpp/package.json b/packages/cpp/package.json index 61d84b18..b4434f71 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-cpp": "0.23.4" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-cpp", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-cpp", + "tree-sitter-cli" + ] } } diff --git a/packages/csharp/package.json b/packages/csharp/package.json index 3085ce39..c1ed091f 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-c-sharp": "0.23.1", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-csharp", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-csharp", + "tree-sitter-cli" + ] } } diff --git a/packages/css/package.json b/packages/css/package.json index a7f13431..995d5f2e 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-css": "0.23.2" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-css", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-css", + "tree-sitter-cli" + ] } } diff --git a/packages/dart/package.json b/packages/dart/package.json index 9b56c184..205094fe 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-dart": "1.0.0" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-dart", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-dart", + "tree-sitter-cli" + ] } } diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 52793d69..fc007ff1 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-elixir": "0.3.4" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-elixir", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-elixir", + "tree-sitter-cli" + ] } } diff --git a/packages/go/package.json b/packages/go/package.json index 22b1b3d0..e98dc6d8 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-go": "0.23.4", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-go", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-go", + "tree-sitter-cli" + ] } } diff --git a/packages/haskell/package.json b/packages/haskell/package.json index 6487205e..d2fec6f8 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-haskell": "0.23.1" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-haskell", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-haskell", + "tree-sitter-cli" + ] } } diff --git a/packages/html/package.json b/packages/html/package.json index 56abf2a8..b14e2fa8 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-html": "0.23.2" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-html", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-html", + "tree-sitter-cli" + ] } } diff --git a/packages/java/package.json b/packages/java/package.json index 00e53f63..0982d5b6 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-java": "0.23.5" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-java", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-java", + "tree-sitter-cli" + ] } } diff --git a/packages/javascript/package.json b/packages/javascript/package.json index cc1faf9b..9df5b324 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-javascript": "0.23.1" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-javascript", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-javascript", + "tree-sitter-cli" + ] } } diff --git a/packages/json/package.json b/packages/json/package.json index bbc4fb2e..e8557cb7 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-json": "0.24.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-json", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-json", + "tree-sitter-cli" + ] } } diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 6436d5ef..45dac62c 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-kotlin": "0.3.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-kotlin", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-kotlin", + "tree-sitter-cli" + ] } } diff --git a/packages/lua/package.json b/packages/lua/package.json index 54c93986..6d897e0c 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-lua", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-lua", + "tree-sitter-cli" + ] } } diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 60c8d1f8..4b8699a3 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "@tree-sitter-grammars/tree-sitter-markdown": "0.3.2", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-markdown", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-markdown", + "tree-sitter-cli" + ] } } diff --git a/packages/php/package.json b/packages/php/package.json index 4b2a8b1b..5fd118f7 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-php": "0.23.12" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-php", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-php", + "tree-sitter-cli" + ] } } diff --git a/packages/python/package.json b/packages/python/package.json index 90f99e36..c0469e4d 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-python": "0.23.6" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-python", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-python", + "tree-sitter-cli" + ] } } diff --git a/packages/ruby/package.json b/packages/ruby/package.json index e33b3201..8bc9eddd 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-ruby": "0.23.1" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-ruby", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-ruby", + "tree-sitter-cli" + ] } } diff --git a/packages/rust/package.json b/packages/rust/package.json index 328d213b..5f0c2c8b 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-rust": "0.23.2" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-rust", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-rust", + "tree-sitter-cli" + ] } } diff --git a/packages/scala/package.json b/packages/scala/package.json index 329aea47..7a9dd00c 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-scala": "0.24.0" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-scala", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-scala", + "tree-sitter-cli" + ] } } diff --git a/packages/sql/package.json b/packages/sql/package.json index db6eac28..d90da1b6 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "@derekstride/tree-sitter-sql": "0.3.8", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,8 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["tree-sitter-cli"] + "onlyBuiltDependencies": [ + "tree-sitter-cli" + ] } } diff --git a/packages/swift/CHANGELOG.md b/packages/swift/CHANGELOG.md index 4ee9b081..02bb114c 100644 --- a/packages/swift/CHANGELOG.md +++ b/packages/swift/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-swift +## 0.0.4 + +### Patch Changes + +- b89ffac: chore(deps): update dependency tree-sitter-swift to v0.7.1 + ## 0.0.3 ### Patch Changes diff --git a/packages/swift/package.json b/packages/swift/package.json index 8cb1a46a..fe2e6bd9 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-swift", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-swift": "0.7.1" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-swift", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-swift", + "tree-sitter-cli" + ] } } diff --git a/packages/toml/package.json b/packages/toml/package.json index 64b6a753..f92b162b 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -42,6 +45,8 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["tree-sitter-cli"] + "onlyBuiltDependencies": [ + "tree-sitter-cli" + ] } } diff --git a/packages/tsx/package.json b/packages/tsx/package.json index 8c5d0169..ad3cec87 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "^0.23.2" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-tsx", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-tsx", + "tree-sitter-cli" + ] } } diff --git a/packages/typescript/package.json b/packages/typescript/package.json index c4129202..c0aa420a 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "0.23.2" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-typescript", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-typescript", + "tree-sitter-cli" + ] } } diff --git a/packages/yaml/package.json b/packages/yaml/package.json index dda6196c..87a7b994 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -18,7 +18,10 @@ "src", "prebuilds" ], - "keywords": ["ast-grep", "ast-grep-lang"], + "keywords": [ + "ast-grep", + "ast-grep-lang" + ], "author": "", "license": "ISC", "dependencies": { @@ -33,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.6", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", "tree-sitter-cli": "0.25.8" }, @@ -42,6 +45,9 @@ "registry": "https://registry.npmjs.org/" }, "pnpm": { - "onlyBuiltDependencies": ["@ast-grep/lang-yaml", "tree-sitter-cli"] + "onlyBuiltDependencies": [ + "@ast-grep/lang-yaml", + "tree-sitter-cli" + ] } } diff --git a/scripts/nursery/CHANGELOG.md b/scripts/nursery/CHANGELOG.md index e1a70741..0f94c969 100644 --- a/scripts/nursery/CHANGELOG.md +++ b/scripts/nursery/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/nursery +## 0.0.6 + +### Patch Changes + +- f25ac38: fix(deps): update dependency @ast-grep/napi to v0.39.2 + ## 0.0.5 ### Patch Changes diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 8b4b7e94..d1a01536 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/nursery", - "version": "0.0.5", + "version": "0.0.6", "private": false, "description": "", "main": "index.js", From 6899f27655792fffa3937d68d1c22c2e5c376eca Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Sun, 27 Jul 2025 17:12:55 -0400 Subject: [PATCH 32/55] fix: update lock --- pnpm-lock.yaml | 213 ++++++++++++++----------------------------------- 1 file changed, 58 insertions(+), 155 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c75a692e..44fffa41 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,8 +28,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-angular: specifier: 0.6.4 version: 0.6.4(tree-sitter@0.21.1) @@ -44,8 +44,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-bash: specifier: 0.25.0 version: 0.25.0 @@ -60,8 +60,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-c: specifier: 0.24.1 version: 0.24.1 @@ -76,8 +76,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -92,8 +92,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-c-sharp: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -108,8 +108,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -124,8 +124,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -140,8 +140,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -156,8 +156,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -172,8 +172,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -188,8 +188,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -204,8 +204,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -220,8 +220,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -236,8 +236,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -252,8 +252,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -268,8 +268,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 '@tree-sitter-grammars/tree-sitter-lua': specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) @@ -284,8 +284,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 '@tree-sitter-grammars/tree-sitter-markdown': specifier: 0.3.2 version: 0.3.2(tree-sitter@0.21.1) @@ -300,8 +300,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -316,8 +316,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -332,8 +332,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -348,8 +348,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -364,8 +364,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -380,8 +380,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 '@derekstride/tree-sitter-sql': specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -396,8 +396,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -428,8 +428,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -444,8 +444,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -460,8 +460,8 @@ importers: version: 0.0.3 devDependencies: '@ast-grep/nursery': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 '@tree-sitter-grammars/tree-sitter-yaml': specifier: 0.7.1 version: 0.7.1 @@ -509,124 +509,66 @@ importers: packages: - '@ast-grep/napi-darwin-arm64@0.38.5': - resolution: {integrity: sha512-Ky60f2O2Od7ySDLF8QOPX5PvdNw/1DGlqxLvKYF1wJUMAY3/7ZRGxDSZ+m3BwvYCMhvKCLWSthQ3eMuZyEUZzQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@ast-grep/napi-darwin-arm64@0.39.2': resolution: {integrity: sha512-/tCV3ORHL1gAiepOF7i/KsZOfe14vnfz+pr6npDzffpTgPZ8tp/bTkHtytUu+xw7ow7ZoAwNd75lvNkCDy6qYw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@ast-grep/napi-darwin-x64@0.38.5': - resolution: {integrity: sha512-4AOenxM5lC9nzSnTPmmDDYUG3Rrh4VjbmWf6JbZPhvhdgMnKigbFVvv2BqhzxBtI8MxJ86jNmuI3KW1QYc+V1A==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@ast-grep/napi-darwin-x64@0.39.2': resolution: {integrity: sha512-MJqaI7JTqbNMUcAvxKIdCgdRVSew/RLnxXkBO6G89SznVgdX3lRXyzPw/trhGcCWR1dByFN/Ne2LyusgjrbGdg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@ast-grep/napi-linux-arm64-gnu@0.38.5': - resolution: {integrity: sha512-8ePpkH15Patg4PdwreB64YXaIynyaNm6RbnkMKnZ6jFYnAa00NeWZ7lv1vdD01q5pzI4k3jx6deBGEvgRZ8hww==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@ast-grep/napi-linux-arm64-gnu@0.39.2': resolution: {integrity: sha512-TbC+OQD+qp1qIqDVvFPQqBPCouS17HtIs0DUn5rDvnXlzNGNd7SZNGT+Gr+hfmOBw3qgzWTSo+tI8H/FrUMG4w==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.38.5': - resolution: {integrity: sha512-TG1e6AgRXksJuBMEVKV75h6aNoaE1IpIR4WB0CM6VTK84vjAlCh70XvFbqicowpCPJkWoQ2fhy4Ux+B8YykpJA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@ast-grep/napi-linux-arm64-musl@0.39.2': resolution: {integrity: sha512-AFosOAD+9f7lZJPvEh0w32Yy7DJOmOs+PlQzFiBimpsb6gjnjx9NZLwrwMEmW9aKPI6469QKP7DIVASNPozYGw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.38.5': - resolution: {integrity: sha512-BD8PEBras1EfbRHpZXUXJrAfaXcCL2ZZTgk+BNd/p//CWGqVQRbbVib5irRRETJf804ElXPD7uLV6IWeQP5u+w==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@ast-grep/napi-linux-x64-gnu@0.39.2': resolution: {integrity: sha512-qS9V2ZBiRnvhDHEAEOeO5K7Fn84+u/pqGKxDDcGZKzmp0Z27nvZR7pIybPiWgMh802G4o+iIHeRqPJgfEq7iqg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@ast-grep/napi-linux-x64-musl@0.38.5': - resolution: {integrity: sha512-fJyehG0xPe9Hvp64o4N1gVIbJ3oBXvMaN81pXSTcMP9QI5v/H40igZ4XoPkobSGittPr7x3ooDv9WIwuzc4pxA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@ast-grep/napi-linux-x64-musl@0.39.2': resolution: {integrity: sha512-GbErl6NOwvWFqrZKUG+pdHiVKIgcpOIHOn8lBjcR06PA2Mgx44EyqkhzRXa55mjoxgOM80n//ZnhGwxVXhnSqQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@ast-grep/napi-win32-arm64-msvc@0.38.5': - resolution: {integrity: sha512-25wyag97kE6nv1hHaNuPgORYbSUndgsAUKCSarsEDI5BBp6h0YDdFY+VzM+SH62F0RBqj0bkpud38UblftfgFw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@ast-grep/napi-win32-arm64-msvc@0.39.2': resolution: {integrity: sha512-OHMDi9C3FbmfFHbHsIeTJw/EdxpYq7bpcLVhsnP10FOPhpr/8L+w8trO9pQ9NlwCRDP8JL53UzDfBmrZPRgWgg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.38.5': - resolution: {integrity: sha512-9ZmG9xAxxxMbDvhf2QQ0bq/e9BJ+TVXFsj9Fp5Ju7dkyCRFwLGquL/RapE/jz/L11zfu+Z7EVZfmp1RnmGxpWw==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.39.2': resolution: {integrity: sha512-htbGo7d0GPCLDTtXoKP38Rgn5MgLSCO2YXZaxQ7vq8QKfeussBcIr0yfbwUu4gDFhpSM7DPzDfHUTX/YDcD2fw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.38.5': - resolution: {integrity: sha512-DNeLIwkK/BKyYX5ymmeioqpXOXGcOxj2OgLpWiyk/VawwQe6uGgrH97k3pRku513dzHKayfizvU2igjj9oTJuA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.39.2': resolution: {integrity: sha512-geqOguM9gpHB9P9p9HcV+Lnq8dU6srYe3tVYQ9Wssxk/u1ZB9/DDUYgoW51tMXdWqfXEVt4KetAfiTHOOhOi4Q==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@ast-grep/napi@0.38.5': - resolution: {integrity: sha512-lhuekQ5khQd70GaHatR+Ge4AcYtdYjzO372TlXI7cQOdvDcrL5MOR7CnQXvUe1cuJHTx2UJd42KK6z6Qza8Tjw==} - engines: {node: '>= 10'} - '@ast-grep/napi@0.39.2': resolution: {integrity: sha512-q6ryspY37PKLrfx+jNQrnR1qYTahRQO2yAvlDK6X4b4AHRtg7mXlaccHGpAFtkTZLhdkI9nl1WHsuqmKx1HWhw==} engines: {node: '>= 10'} - '@ast-grep/nursery@0.0.5': - resolution: {integrity: sha512-DJyr6VVs5q/HCOIgMqZcs6/axz9C4hIYcM4MuouRrO3rin84akAH5+TPLFP5MgI9gg5SBay5dmXoSnRkBSJxsw==} + '@ast-grep/nursery@0.0.6': + resolution: {integrity: sha512-ZYgS/caY5X7RF2kNX86OW8fIO14nfI+4/zEWt5QTQkcrZw2pSJwuASHPGWiIETAqNEnKvtglKcSDgrwHVxVP/w==} '@ast-grep/setup-lang@0.0.3': resolution: {integrity: sha512-+ZNOuf0r7ABVwOANrrQpUrUv7xyuhsZGyQ88WZCH/euQmIEvSH3JsUFevg/60M7hi8NVh4vfSQs6ajTpumSzxg==} @@ -1385,72 +1327,33 @@ packages: snapshots: - '@ast-grep/napi-darwin-arm64@0.38.5': - optional: true - '@ast-grep/napi-darwin-arm64@0.39.2': optional: true - '@ast-grep/napi-darwin-x64@0.38.5': - optional: true - '@ast-grep/napi-darwin-x64@0.39.2': optional: true - '@ast-grep/napi-linux-arm64-gnu@0.38.5': - optional: true - '@ast-grep/napi-linux-arm64-gnu@0.39.2': optional: true - '@ast-grep/napi-linux-arm64-musl@0.38.5': - optional: true - '@ast-grep/napi-linux-arm64-musl@0.39.2': optional: true - '@ast-grep/napi-linux-x64-gnu@0.38.5': - optional: true - '@ast-grep/napi-linux-x64-gnu@0.39.2': optional: true - '@ast-grep/napi-linux-x64-musl@0.38.5': - optional: true - '@ast-grep/napi-linux-x64-musl@0.39.2': optional: true - '@ast-grep/napi-win32-arm64-msvc@0.38.5': - optional: true - '@ast-grep/napi-win32-arm64-msvc@0.39.2': optional: true - '@ast-grep/napi-win32-ia32-msvc@0.38.5': - optional: true - '@ast-grep/napi-win32-ia32-msvc@0.39.2': optional: true - '@ast-grep/napi-win32-x64-msvc@0.38.5': - optional: true - '@ast-grep/napi-win32-x64-msvc@0.39.2': optional: true - '@ast-grep/napi@0.38.5': - optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.38.5 - '@ast-grep/napi-darwin-x64': 0.38.5 - '@ast-grep/napi-linux-arm64-gnu': 0.38.5 - '@ast-grep/napi-linux-arm64-musl': 0.38.5 - '@ast-grep/napi-linux-x64-gnu': 0.38.5 - '@ast-grep/napi-linux-x64-musl': 0.38.5 - '@ast-grep/napi-win32-arm64-msvc': 0.38.5 - '@ast-grep/napi-win32-ia32-msvc': 0.38.5 - '@ast-grep/napi-win32-x64-msvc': 0.38.5 - '@ast-grep/napi@0.39.2': optionalDependencies: '@ast-grep/napi-darwin-arm64': 0.39.2 @@ -1463,9 +1366,9 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.39.2 '@ast-grep/napi-win32-x64-msvc': 0.39.2 - '@ast-grep/nursery@0.0.5': + '@ast-grep/nursery@0.0.6': dependencies: - '@ast-grep/napi': 0.38.5 + '@ast-grep/napi': 0.39.2 '@ast-grep/setup-lang@0.0.3': {} From 4164ad576547d82025033c561c44dbafa19e1e53 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Aug 2025 23:24:01 -0400 Subject: [PATCH 33/55] chore(deps): update dependency typescript to v5.9.2 (#103) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 44fffa41..e8974c8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -483,7 +483,7 @@ importers: version: 2.4.9 typescript: specifier: ^5.7.3 - version: 5.8.3 + version: 5.9.2 scripts/nursery: dependencies: @@ -496,7 +496,7 @@ importers: version: 22.16.5 typescript: specifier: ^5.7.3 - version: 5.8.3 + version: 5.9.2 scripts/setup: devDependencies: @@ -505,7 +505,7 @@ importers: version: 22.16.5 typescript: specifier: ^5.7.3 - version: 5.8.3 + version: 5.9.2 packages: @@ -971,6 +971,10 @@ packages: resolution: {integrity: sha512-D9DI/gXHvVmjHS08SVch0Em8G5S1P+QWtU31appcKT/8wFSPRcdHadIFSAntdMMVM5zz+/DL+bL/gz3UDppqtg==} engines: {node: ^18 || ^20 || >= 21} + node-addon-api@8.5.0: + resolution: {integrity: sha512-/bRZty2mXUIFY/xU5HLvveNHlswNJej+RnxBjOMkidWfwZzgTbPG1E3K5TOxRLOR+5hX7bSofy8yf1hZevMS8A==} + engines: {node: ^18 || ^20 || >= 21} + node-gyp-build@4.8.4: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true @@ -1308,8 +1312,8 @@ packages: tree-sitter@0.21.1: resolution: {integrity: sha512-7dxoA6kYvtgWw80265MyqJlkRl4yawIjO7S5MigytjELkX43fV2WsAXzsNfO7sBpPPCF5Gp0+XzHk0DwLCq3xQ==} - typescript@5.8.3: - resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + typescript@5.9.2: + resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==} engines: {node: '>=14.17'} hasBin: true @@ -1805,6 +1809,8 @@ snapshots: node-addon-api@8.4.0: {} + node-addon-api@8.5.0: {} + node-gyp-build@4.8.4: {} os-tmpdir@1.0.2: {} @@ -2070,10 +2076,10 @@ snapshots: tree-sitter@0.21.1: dependencies: - node-addon-api: 8.4.0 + node-addon-api: 8.5.0 node-gyp-build: 4.8.4 - typescript@5.8.3: {} + typescript@5.9.2: {} undici-types@6.21.0: {} From 6895b7058a2216d8a3ecbff80d3915666dc48975 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Aug 2025 23:24:10 -0400 Subject: [PATCH 34/55] chore(deps): update actions/download-artifact action to v5 (#105) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d44f1812..a7b423c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: - name: Install dependencies run: pnpm install - name: Download binaries - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: path: ${{inputs.directory}}/prebuilds pattern: prebuild-* From 5b51a4ecb14e29ab4355e81e5441cfee565842c2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Aug 2025 23:24:20 -0400 Subject: [PATCH 35/55] chore(deps): update dependency @types/node to v22.17.1 (#102) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 20 ++++++++++---------- scripts/create-lang/package.json | 2 +- scripts/nursery/package.json | 2 +- scripts/setup/package.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8974c8c..80eaed42 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -476,8 +476,8 @@ importers: version: 2.4.2 devDependencies: '@types/node': - specifier: 22.16.5 - version: 22.16.5 + specifier: 22.17.1 + version: 22.17.1 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -492,8 +492,8 @@ importers: version: 0.39.2 devDependencies: '@types/node': - specifier: 22.16.5 - version: 22.16.5 + specifier: 22.17.1 + version: 22.17.1 typescript: specifier: ^5.7.3 version: 5.9.2 @@ -501,8 +501,8 @@ importers: scripts/setup: devDependencies: '@types/node': - specifier: 22.16.5 - version: 22.16.5 + specifier: 22.17.1 + version: 22.17.1 typescript: specifier: ^5.7.3 version: 5.9.2 @@ -781,8 +781,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.16.5': - resolution: {integrity: sha512-bJFoMATwIGaxxx8VJPeM8TonI8t579oRvgAuT8zFugJsJZgzqv0Fu8Mhp68iecjzG7cnN3mO2dJQ5uUM2EFrgQ==} + '@types/node@22.17.1': + resolution: {integrity: sha512-y3tBaz+rjspDTylNjAX37jEC3TETEFGNJL6uQDxwF9/8GLLIjW1rvVHlynyuUKMnMr1Roq8jOv3vkopBjC4/VA==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1629,13 +1629,13 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.16.5': + '@types/node@22.17.1': dependencies: undici-types: 6.21.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.16.5 + '@types/node': 22.17.1 kleur: 3.0.3 ansi-colors@4.1.3: {} diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index 2d03a479..77ae806b 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -28,7 +28,7 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { - "@types/node": "22.16.5", + "@types/node": "22.17.1", "@types/prompts": "^2.4.9", "typescript": "^5.7.3" } diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index d1a01536..779e9f4f 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -20,6 +20,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.16.5" + "@types/node": "22.17.1" } } diff --git a/scripts/setup/package.json b/scripts/setup/package.json index d0153474..7af4eaa2 100644 --- a/scripts/setup/package.json +++ b/scripts/setup/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "typescript": "^5.7.3", - "@types/node": "22.16.5" + "@types/node": "22.17.1" } } From 7ef4c6c739841adb243e69e94c88a1251f07c034 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 9 Aug 2025 13:28:05 +0000 Subject: [PATCH 36/55] chore(deps): update dependency oxlint to v1.11.1 --- package.json | 2 +- pnpm-lock.yaml | 131 +++++++++++++++++++++++++++++++++++-------------- 2 files changed, 95 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index a334d573..8e7c6d23 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@changesets/cli": "^2.28.1", "dprint": "0.50.1", "husky": "9.1.7", - "oxlint": "1.8.0" + "oxlint": "1.11.1" }, "pnpm": { "onlyBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 80eaed42..8ab72d58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 9.1.7 version: 9.1.7 oxlint: - specifier: 1.8.0 - version: 1.8.0 + specifier: 1.11.1 + version: 1.11.1 packages/angular: dependencies: @@ -704,43 +704,67 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oxlint/darwin-arm64@1.8.0': - resolution: {integrity: sha512-1juYJF1xqRNkswzDSN1V44NoZ+O2Mkc9LjbkDB/UErb8dxTqFhCZC3CQR6Em55/tys1FtajXgK3B+ykWnY9HNQ==} + '@oxlint-tsgolint/darwin-arm64@0.0.1': + resolution: {integrity: sha512-DhPovgw2MVvQhU4uyrrgBUqRkmh6V66zItbpWu352B0f9LW0tFm2cXcTDR1QkDo1m9B6YV7qR9IPI2/q7gLDeA==} + os: [darwin] + + '@oxlint-tsgolint/darwin-x64@0.0.1': + resolution: {integrity: sha512-/T+STn40ebdHM7Cz6bVITynBHNWnRGKyz8CcbUDdiehhD0CTlwwNeKCKA4beQ1t/Dvc3JG6pV8dwv/2cmd+DYg==} + os: [darwin] + + '@oxlint-tsgolint/linux-arm64@0.0.1': + resolution: {integrity: sha512-xp8KdgxyqLB31ISPep0LDJgyE3ucxcLc8LdlqjO+Z9k2RR0MkFs1bgpXROn5KX1eZGO5OYRdbgVX+s43TI7Dhw==} + os: [linux] + + '@oxlint-tsgolint/linux-x64@0.0.1': + resolution: {integrity: sha512-6OG1DFbg1xP5UmuWynUnVkay5WbH44aiwDhIAIR8+V50Ijzzyx87CGxKbn1k0YsfaQIji5SgZi0WMiJQ5LTR2A==} + os: [linux] + + '@oxlint-tsgolint/win32-arm64@0.0.1': + resolution: {integrity: sha512-szngA1G3b9DyO6NZ7qUBl8EXBt+9F6cLQ4/kdiIUwk+5LELCjFbpg2s7eGPYZaCJjf30Vo9GlTqe5HFjddvrXg==} + os: [win32] + + '@oxlint-tsgolint/win32-x64@0.0.1': + resolution: {integrity: sha512-anzDRE1w3Vl/aSBLiOwnwzz17GJaXJr+X3OTWwwV9cHg+TWEhLpUDo+d2pAoulCHoZTjN/k8A9wHg0IGuqnOfA==} + os: [win32] + + '@oxlint/darwin-arm64@1.11.1': + resolution: {integrity: sha512-/9ohoWJoPHLXDBRQqPn3jIwB2QXt+Pv6dR1r6fmrcm5RiTyqf40zK10gMDl8rbw8ONmzgrevdxweV0iRuC9pcQ==} cpu: [arm64] os: [darwin] - '@oxlint/darwin-x64@1.8.0': - resolution: {integrity: sha512-5b7J/XE2eGhx3+vw6IFuuL0BbIF3wRzo4SWHVXN9rO3WYq2YpoHToY4C5WMWb8toVZcoJlx4Y1lq3IO2V78zTg==} + '@oxlint/darwin-x64@1.11.1': + resolution: {integrity: sha512-snwKjdJO+mGwp2xYBxdwJorad4ZVeZDq2FV3ZcgvqCmf6pg+eJdm/jtlfXb44KfEDlBCvMa0zV48bjY+tg31rA==} cpu: [x64] os: [darwin] - '@oxlint/linux-arm64-gnu@1.8.0': - resolution: {integrity: sha512-pzfk9IZBbYuIYn4sbT//Vox8B8e8hOZPkIQnNAdzhpGtRjV4NYOgNL5/h2QZC+ecmxl8H+Gi9WV6dyKjFrBtcw==} + '@oxlint/linux-arm64-gnu@1.11.1': + resolution: {integrity: sha512-WI3LcUlowzlu2wQb0XRIq1Zv1AMkQDrU7+zHVtiokFbjyioUcSOomwN+ntlZozPwFRbuLUXL+wq5qePnLhE90Q==} cpu: [arm64] os: [linux] - '@oxlint/linux-arm64-musl@1.8.0': - resolution: {integrity: sha512-6rpaeAG271wbUNM+WeJhdvJDDMwfoenm7rPY304dxnC+fcuR8Q0LSv09dGeNWrsqjjZuDP9R10qR154nysBxFg==} + '@oxlint/linux-arm64-musl@1.11.1': + resolution: {integrity: sha512-Fc4gW7nf8dGOvsvTqIJDCvWiDCxQtnX3KDM69G+0d23ljiXdi2/EEcWNcvobBwi0CqlpO+TdQiRYDLHEJxSRfA==} cpu: [arm64] os: [linux] - '@oxlint/linux-x64-gnu@1.8.0': - resolution: {integrity: sha512-qPEF8tKMu+63b58gPfwU3KyJf2z9KyorbrC0yGXFHQLzRPEtrh6bAjf+AzCs3n8WhDR1K6jPgcPT4Sp8bahCyQ==} + '@oxlint/linux-x64-gnu@1.11.1': + resolution: {integrity: sha512-3UNP5PAE/IHWMSfrwybMbjppQXMveFzLMMZjGk8tEAm9aj4yeX6Z3O+ns6fQHStbb6PyrDMncAyNl/qxUfmp7A==} cpu: [x64] os: [linux] - '@oxlint/linux-x64-musl@1.8.0': - resolution: {integrity: sha512-JyErk/LsLg/tA3XkHhU8VIxahOdq56L99mbpMFGLTkOQgtnhY2MDAYULVgOuFFX3v6Q02o4mpIR/SwW/tRnZlg==} + '@oxlint/linux-x64-musl@1.11.1': + resolution: {integrity: sha512-CmRm8rFT6MwKvcpcw1IM+QHtyh3iOKRewJn3VOHYlRzw+VKQuvUbUnWHgROtr6V8UOiRkrSy3Mvo/d5Fc+r/lw==} cpu: [x64] os: [linux] - '@oxlint/win32-arm64@1.8.0': - resolution: {integrity: sha512-QvhtDAU9bBdC2m5xO+ibKyMG4KZR44wB0vDbQ5YkQxJiuXrlleHLyz0+saFzVYQ/Fvc0QgIRTIwiVz9dzxidVw==} + '@oxlint/win32-arm64@1.11.1': + resolution: {integrity: sha512-htSR1NHMnRV5qXDoZJcFxKObgLyBvA4g9eIhzDTsTyw7e2ZDR/SVOli2IZB31ghCwEYcSV7yoZgfOgjNbgvDJA==} cpu: [arm64] os: [win32] - '@oxlint/win32-x64@1.8.0': - resolution: {integrity: sha512-veXJXgF905UOvuxtmvzM328b4Itm8Fyu+lUq4PagXOmyRScevaVUXq6++ui3A/Gxd8yo0SHspHCbYkpuvJkXqQ==} + '@oxlint/win32-x64@1.11.1': + resolution: {integrity: sha512-yjWjx0kf6+osvXdqdkLmSwPxvN9bJ+0sr+KLEgxCAZxfqy9nNTuflIwk6x5sm6lS4+qzCY7RrMYcksQ6Ky+0CA==} cpu: [x64] os: [win32] @@ -986,8 +1010,12 @@ packages: outdent@0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} - oxlint@1.8.0: - resolution: {integrity: sha512-kDC3zuplBM35GbrZ/3rRdDrZ6unpUkUjM8P3VSbyLgaYh2xZeg0TLLDbYALNAUyChVonNafXzgHZmbwnHfrTRg==} + oxlint-tsgolint@0.0.1: + resolution: {integrity: sha512-gH6EpIr2oBVperOONVzTTNYmOu6pYPipVyzWB+CfYO13vH+6O9kINUyG4rr3RXDaKdTx8UvxgRORXdSGH1iydA==} + hasBin: true + + oxlint@1.11.1: + resolution: {integrity: sha512-24c8BHX2deW0H7GAjkHP28+W4P3qO+2l0R/wz8jj+D4Sq/eC+K2Zyu6uN3bVXeHfG3z4U8shWD5hE+yPMisPDA==} engines: {node: '>=8.*'} hasBin: true @@ -1581,28 +1609,46 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.19.1 - '@oxlint/darwin-arm64@1.8.0': + '@oxlint-tsgolint/darwin-arm64@0.0.1': optional: true - '@oxlint/darwin-x64@1.8.0': + '@oxlint-tsgolint/darwin-x64@0.0.1': optional: true - '@oxlint/linux-arm64-gnu@1.8.0': + '@oxlint-tsgolint/linux-arm64@0.0.1': optional: true - '@oxlint/linux-arm64-musl@1.8.0': + '@oxlint-tsgolint/linux-x64@0.0.1': optional: true - '@oxlint/linux-x64-gnu@1.8.0': + '@oxlint-tsgolint/win32-arm64@0.0.1': optional: true - '@oxlint/linux-x64-musl@1.8.0': + '@oxlint-tsgolint/win32-x64@0.0.1': optional: true - '@oxlint/win32-arm64@1.8.0': + '@oxlint/darwin-arm64@1.11.1': optional: true - '@oxlint/win32-x64@1.8.0': + '@oxlint/darwin-x64@1.11.1': + optional: true + + '@oxlint/linux-arm64-gnu@1.11.1': + optional: true + + '@oxlint/linux-arm64-musl@1.11.1': + optional: true + + '@oxlint/linux-x64-gnu@1.11.1': + optional: true + + '@oxlint/linux-x64-musl@1.11.1': + optional: true + + '@oxlint/win32-arm64@1.11.1': + optional: true + + '@oxlint/win32-x64@1.11.1': optional: true '@tree-sitter-grammars/tree-sitter-lua@0.2.0(tree-sitter@0.21.1)': @@ -1817,16 +1863,27 @@ snapshots: outdent@0.5.0: {} - oxlint@1.8.0: + oxlint-tsgolint@0.0.1: + optionalDependencies: + '@oxlint-tsgolint/darwin-arm64': 0.0.1 + '@oxlint-tsgolint/darwin-x64': 0.0.1 + '@oxlint-tsgolint/linux-arm64': 0.0.1 + '@oxlint-tsgolint/linux-x64': 0.0.1 + '@oxlint-tsgolint/win32-arm64': 0.0.1 + '@oxlint-tsgolint/win32-x64': 0.0.1 + optional: true + + oxlint@1.11.1: optionalDependencies: - '@oxlint/darwin-arm64': 1.8.0 - '@oxlint/darwin-x64': 1.8.0 - '@oxlint/linux-arm64-gnu': 1.8.0 - '@oxlint/linux-arm64-musl': 1.8.0 - '@oxlint/linux-x64-gnu': 1.8.0 - '@oxlint/linux-x64-musl': 1.8.0 - '@oxlint/win32-arm64': 1.8.0 - '@oxlint/win32-x64': 1.8.0 + '@oxlint/darwin-arm64': 1.11.1 + '@oxlint/darwin-x64': 1.11.1 + '@oxlint/linux-arm64-gnu': 1.11.1 + '@oxlint/linux-arm64-musl': 1.11.1 + '@oxlint/linux-x64-gnu': 1.11.1 + '@oxlint/linux-x64-musl': 1.11.1 + '@oxlint/win32-arm64': 1.11.1 + '@oxlint/win32-x64': 1.11.1 + oxlint-tsgolint: 0.0.1 p-filter@2.1.0: dependencies: From ad99863c2eb196f641c5c7c2421e03ae1b21bc47 Mon Sep 17 00:00:00 2001 From: macabeus Date: Tue, 12 Aug 2025 00:17:54 +0100 Subject: [PATCH 37/55] fix bundling for other archs --- packages/c/index.js | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/packages/c/index.js b/packages/c/index.js index 51477c65..a03f5136 100644 --- a/packages/c/index.js +++ b/packages/c/index.js @@ -1,5 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') + +function getNativePath() { + if (process.platform === 'win32') { + if (process.arch === 'x64') { + return 'prebuilds/prebuild-Windows-X64/parser.so' + } + + throw new Error(`Unsupported architecture on Windows: ${process.arch}`) + } else if (process.platform === 'darwin') { + if (process.arch === 'arm64') { + return 'prebuilds/prebuild-macOS-ARM64/parser.so'; + } + + throw new Error(`Unsupported architecture on macOS: ${process.arch}`) + } else if (process.platform === 'linux') { + if (process.arch === 'x64') { + return 'prebuilds/prebuild-Linux-X64/parser.so'; + } + + throw new Error(`Unsupported architecture on Linux: ${process.arch}`) + } + + throw new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`) +} + +const libPath = path.join(__dirname, getNativePath()) module.exports = { libraryPath: libPath, From 2cf03e273f074da8121c12c14825fb156f339e1f Mon Sep 17 00:00:00 2001 From: macabeus Date: Thu, 14 Aug 2025 00:41:08 +0100 Subject: [PATCH 38/55] apply pr suggestions --- packages/c/index.js | 39 ++++++++++++++++++--------------------- scripts/setup/index.ts | 10 ++-------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/packages/c/index.js b/packages/c/index.js index a03f5136..cbcedfbf 100644 --- a/packages/c/index.js +++ b/packages/c/index.js @@ -1,33 +1,30 @@ const path = require('node:path') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') -function getNativePath() { - if (process.platform === 'win32') { - if (process.arch === 'x64') { - return 'prebuilds/prebuild-Windows-X64/parser.so' - } - - throw new Error(`Unsupported architecture on Windows: ${process.arch}`) - } else if (process.platform === 'darwin') { - if (process.arch === 'arm64') { - return 'prebuilds/prebuild-macOS-ARM64/parser.so'; - } - - throw new Error(`Unsupported architecture on macOS: ${process.arch}`) - } else if (process.platform === 'linux') { - if (process.arch === 'x64') { - return 'prebuilds/prebuild-Linux-X64/parser.so'; - } +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } - throw new Error(`Unsupported architecture on Linux: ${process.arch}`) + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; } - throw new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`) + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); } -const libPath = path.join(__dirname, getNativePath()) +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['c', 'h'], languageSymbol: 'tree_sitter_c', expandoChar: '_', diff --git a/scripts/setup/index.ts b/scripts/setup/index.ts index 96ce6a8a..a6249c16 100644 --- a/scripts/setup/index.ts +++ b/scripts/setup/index.ts @@ -19,15 +19,9 @@ interface SetupConfig { */ function postinstall(config: SetupConfig) { const dir = config.dirname - const parser = path.join(dir, 'parser.so') - if (fs.existsSync(parser)) { - log('parser already exists, skipping build') - return - } const prebuild = resolvePrebuild(dir) if (prebuild) { - log('copying prebuild parser') - fs.copyFileSync(prebuild, parser) + log('prebuild found, do not need to build') return } try { @@ -84,4 +78,4 @@ function resolvePrebuild(dir: string) { return prebuild } -export { postinstall } +export { postinstall, resolvePrebuild } From 33bda95070e85056784fe6a95d91d4844053d5ca Mon Sep 17 00:00:00 2001 From: macabeus Date: Thu, 14 Aug 2025 01:05:31 +0100 Subject: [PATCH 39/55] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f5482428..e5f4c99d 100644 --- a/README.md +++ b/README.md @@ -73,5 +73,5 @@ It is used to copy and test the tree-sitter grammars. ### `scripts/setup` A postinstall script to setup parser dynamic library for the `@ast-grep/lang-*` packages. -If there is prebuild available, it will copy the dynamic library according to the platform and architecture. +If there is prebuild available, it does nothing. If there is no prebuild available, it will build the dynamic library from the tree-sitter grammar files. From 306444d9be84c4b7430bc71a4346a2a0b5ddbaa6 Mon Sep 17 00:00:00 2001 From: macabeus Date: Thu, 14 Aug 2025 01:13:32 +0100 Subject: [PATCH 40/55] update other langs --- packages/angular/index.js | 26 ++++++++++++++++++++++++-- packages/bash/index.js | 26 ++++++++++++++++++++++++-- packages/cpp/index.js | 26 ++++++++++++++++++++++++-- packages/csharp/index.js | 26 ++++++++++++++++++++++++-- packages/css/index.js | 26 ++++++++++++++++++++++++-- packages/dart/index.js | 26 ++++++++++++++++++++++++-- packages/elixir/index.js | 26 ++++++++++++++++++++++++-- packages/go/index.js | 26 ++++++++++++++++++++++++-- packages/haskell/index.js | 26 ++++++++++++++++++++++++-- packages/html/index.js | 26 ++++++++++++++++++++++++-- packages/java/index.js | 26 ++++++++++++++++++++++++-- packages/javascript/index.js | 26 ++++++++++++++++++++++++-- packages/json/index.js | 26 ++++++++++++++++++++++++-- packages/kotlin/index.js | 26 ++++++++++++++++++++++++-- packages/lua/index.js | 26 ++++++++++++++++++++++++-- packages/markdown/index.js | 26 ++++++++++++++++++++++++-- packages/php/index.js | 26 ++++++++++++++++++++++++-- packages/python/index.js | 26 ++++++++++++++++++++++++-- packages/ruby/index.js | 26 ++++++++++++++++++++++++-- packages/rust/index.js | 26 ++++++++++++++++++++++++-- packages/scala/index.js | 26 ++++++++++++++++++++++++-- packages/sql/index.js | 26 ++++++++++++++++++++++++-- packages/swift/index.js | 26 ++++++++++++++++++++++++-- packages/toml/index.js | 26 ++++++++++++++++++++++++-- packages/tsx/index.js | 26 ++++++++++++++++++++++++-- packages/typescript/index.js | 26 ++++++++++++++++++++++++-- packages/yaml/index.js | 26 ++++++++++++++++++++++++-- 27 files changed, 648 insertions(+), 54 deletions(-) diff --git a/packages/angular/index.js b/packages/angular/index.js index b090f1f0..1317efba 100644 --- a/packages/angular/index.js +++ b/packages/angular/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['html'], languageSymbol: 'tree_sitter_angular', expandoChar: 'z', diff --git a/packages/bash/index.js b/packages/bash/index.js index 9056f2d7..3e2e4679 100644 --- a/packages/bash/index.js +++ b/packages/bash/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: [ 'bash', 'bats', diff --git a/packages/cpp/index.js b/packages/cpp/index.js index 78037f63..f450259f 100644 --- a/packages/cpp/index.js +++ b/packages/cpp/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['cc', 'hpp', 'cpp', 'hh', 'cxx', 'cu', 'ino'], languageSymbol: 'tree_sitter_cpp', expandoChar: '_', diff --git a/packages/csharp/index.js b/packages/csharp/index.js index b7f177b0..5c54295e 100644 --- a/packages/csharp/index.js +++ b/packages/csharp/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['cs'], languageSymbol: 'tree_sitter_c_sharp', expandoChar: 'µ', diff --git a/packages/css/index.js b/packages/css/index.js index 3784f5cb..8c83c0c3 100644 --- a/packages/css/index.js +++ b/packages/css/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['css', 'scss'], languageSymbol: 'tree_sitter_css', expandoChar: '$', diff --git a/packages/dart/index.js b/packages/dart/index.js index 085f47ed..bb1c2794 100644 --- a/packages/dart/index.js +++ b/packages/dart/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['dart'], languageSymbol: 'tree_sitter_dart', expandoChar: '$', diff --git a/packages/elixir/index.js b/packages/elixir/index.js index 4e74a540..c1c6b99f 100644 --- a/packages/elixir/index.js +++ b/packages/elixir/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['ex', 'exs'], languageSymbol: 'tree_sitter_elixir', expandoChar: 'µ', diff --git a/packages/go/index.js b/packages/go/index.js index b0c93554..a119e619 100644 --- a/packages/go/index.js +++ b/packages/go/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['go'], languageSymbol: 'tree_sitter_go', expandoChar: 'µ', diff --git a/packages/haskell/index.js b/packages/haskell/index.js index 1f0eac54..53ac7186 100644 --- a/packages/haskell/index.js +++ b/packages/haskell/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['hs'], languageSymbol: 'tree_sitter_haskell', expandoChar: 'µ', diff --git a/packages/html/index.js b/packages/html/index.js index a6944b25..2571319a 100644 --- a/packages/html/index.js +++ b/packages/html/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['html', 'htm', 'xhtml'], languageSymbol: 'tree_sitter_html', expandoChar: 'z', diff --git a/packages/java/index.js b/packages/java/index.js index 3455a227..88df48bc 100644 --- a/packages/java/index.js +++ b/packages/java/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['java'], languageSymbol: 'tree_sitter_java', expandoChar: '$', diff --git a/packages/javascript/index.js b/packages/javascript/index.js index 1c3ddecb..ac0fe3d7 100644 --- a/packages/javascript/index.js +++ b/packages/javascript/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['cjs', 'js', 'mjs', 'jsx'], languageSymbol: 'tree_sitter_javascript', expandoChar: '$', diff --git a/packages/json/index.js b/packages/json/index.js index e8507b0c..9d57be39 100644 --- a/packages/json/index.js +++ b/packages/json/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['json'], languageSymbol: 'tree_sitter_json', expandoChar: '$', diff --git a/packages/kotlin/index.js b/packages/kotlin/index.js index 545970bb..2802bc4e 100644 --- a/packages/kotlin/index.js +++ b/packages/kotlin/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['kt', 'ktm', 'kts'], languageSymbol: 'tree_sitter_kotlin', expandoChar: 'µ', diff --git a/packages/lua/index.js b/packages/lua/index.js index d3936b5d..e555fafa 100644 --- a/packages/lua/index.js +++ b/packages/lua/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, treeSitterPackage: '@tree-sitter-grammars/tree-sitter-lua', extensions: ['lua'], languageSymbol: 'tree_sitter_lua', diff --git a/packages/markdown/index.js b/packages/markdown/index.js index 614552bd..10b7c71b 100644 --- a/packages/markdown/index.js +++ b/packages/markdown/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['md'], languageSymbol: 'tree_sitter_markdown', expandoChar: '$', diff --git a/packages/php/index.js b/packages/php/index.js index e64d7c01..1b5c5738 100644 --- a/packages/php/index.js +++ b/packages/php/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['php'], languageSymbol: 'tree_sitter_php', expandoChar: '$', diff --git a/packages/python/index.js b/packages/python/index.js index cc6f1aa7..6bb5dc27 100644 --- a/packages/python/index.js +++ b/packages/python/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['py'], languageSymbol: 'tree_sitter_python', expandoChar: 'µ', diff --git a/packages/ruby/index.js b/packages/ruby/index.js index 8439f3ac..51181f11 100644 --- a/packages/ruby/index.js +++ b/packages/ruby/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['rb', 'rbw', 'gemspec'], languageSymbol: 'tree_sitter_ruby', expandoChar: 'µ', diff --git a/packages/rust/index.js b/packages/rust/index.js index a7ba3aa3..4e13db12 100644 --- a/packages/rust/index.js +++ b/packages/rust/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['rs'], languageSymbol: 'tree_sitter_rust', expandoChar: 'µ', diff --git a/packages/scala/index.js b/packages/scala/index.js index 35e3a531..0e0939da 100644 --- a/packages/scala/index.js +++ b/packages/scala/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['scala', 'sc', 'sbt'], languageSymbol: 'tree_sitter_scala', expandoChar: '$', diff --git a/packages/sql/index.js b/packages/sql/index.js index 5752ec12..f0a96fdf 100644 --- a/packages/sql/index.js +++ b/packages/sql/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['sql'], languageSymbol: 'tree_sitter_sql', expandoChar: '_', diff --git a/packages/swift/index.js b/packages/swift/index.js index 7ae6938d..50ead99c 100644 --- a/packages/swift/index.js +++ b/packages/swift/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['swift'], languageSymbol: 'tree_sitter_swift', expandoChar: 'µ', diff --git a/packages/toml/index.js b/packages/toml/index.js index 61e2cdad..74c46dde 100644 --- a/packages/toml/index.js +++ b/packages/toml/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['toml'], languageSymbol: 'tree_sitter_toml', expandoChar: '_', diff --git a/packages/tsx/index.js b/packages/tsx/index.js index 3756a12e..2b23b793 100644 --- a/packages/tsx/index.js +++ b/packages/tsx/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['tsx'], languageSymbol: 'tree_sitter_tsx', expandoChar: '$', diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 9ba05f8e..ec4abffb 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['ts', 'cts', 'mts'], languageSymbol: 'tree_sitter_typescript', expandoChar: '$', diff --git a/packages/yaml/index.js b/packages/yaml/index.js index 28b77240..a638ee7e 100644 --- a/packages/yaml/index.js +++ b/packages/yaml/index.js @@ -1,8 +1,30 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: ['yaml', 'yml'], languageSymbol: 'tree_sitter_yaml', expandoChar: '$', From 13682f10ab6b644ec7923ce3c9b4174fa5f7eac7 Mon Sep 17 00:00:00 2001 From: macabeus Date: Thu, 14 Aug 2025 01:13:40 +0100 Subject: [PATCH 41/55] update template --- scripts/create-lang/template/index.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/scripts/create-lang/template/index.js b/scripts/create-lang/template/index.js index 8a63a1b7..9cc89072 100644 --- a/scripts/create-lang/template/index.js +++ b/scripts/create-lang/template/index.js @@ -1,8 +1,28 @@ const path = require('node:path') -const libPath = path.join(__dirname, 'parser.so') + +function getLibPath() { + const prebuild = resolvePrebuild(__dirname) + if (prebuild) { + return prebuild; + } + + const native = path.join(__dirname, 'parser.so'); + if (fs.existsSync(native)) { + return native; + } + + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); +} + +let libPath; module.exports = { - libraryPath: libPath, + get libraryPath() { + if (!libPath) { + libPath = getLibPath(); + } + return libPath; + }, extensions: $$EXTENSIONS$$, languageSymbol: 'tree_sitter_$$NAME$$', expandoChar: '$$EXPANDO_CHAR$$', From c0c69a2b27e47dffc58387d30e9c8012422b896d Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 22:32:40 -0400 Subject: [PATCH 42/55] fix: update package --- .changeset/major-sites-lead.md | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .changeset/major-sites-lead.md diff --git a/.changeset/major-sites-lead.md b/.changeset/major-sites-lead.md new file mode 100644 index 00000000..1e9bafa5 --- /dev/null +++ b/.changeset/major-sites-lead.md @@ -0,0 +1,35 @@ +--- +"@ast-grep/lang-angular": patch +"@ast-grep/lang-bash": patch +"@ast-grep/lang-c": patch +"@ast-grep/lang-cpp": patch +"@ast-grep/lang-csharp": patch +"@ast-grep/lang-css": patch +"@ast-grep/lang-dart": patch +"@ast-grep/lang-elixir": patch +"@ast-grep/lang-go": patch +"@ast-grep/lang-haskell": patch +"@ast-grep/lang-html": patch +"@ast-grep/lang-java": patch +"@ast-grep/lang-javascript": patch +"@ast-grep/lang-json": patch +"@ast-grep/lang-kotlin": patch +"@ast-grep/lang-lua": patch +"@ast-grep/lang-markdown": patch +"@ast-grep/lang-php": patch +"@ast-grep/lang-python": patch +"@ast-grep/lang-ruby": patch +"@ast-grep/lang-rust": patch +"@ast-grep/lang-scala": patch +"@ast-grep/lang-sql": patch +"@ast-grep/lang-swift": patch +"@ast-grep/lang-toml": patch +"@ast-grep/lang-tsx": patch +"@ast-grep/lang-typescript": patch +"@ast-grep/lang-yaml": patch +"@ast-grep/create-lang": patch +"@ast-grep/nursery": patch +"@ast-grep/setup-lang": patch +--- + +enable runtime platform detection From e568889a9af8eaef6525f01c3d1ba2d7f8d2abc1 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 22:34:33 -0400 Subject: [PATCH 43/55] fix: update tempalte --- scripts/create-lang/template/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/create-lang/template/index.js b/scripts/create-lang/template/index.js index 9cc89072..eccae7c9 100644 --- a/scripts/create-lang/template/index.js +++ b/scripts/create-lang/template/index.js @@ -1,4 +1,6 @@ const path = require('node:path') +const fs = require('node:fs') +const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) From ee9b87290c86443f4c18adc27d544ffe9c10d4d4 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 22:54:13 -0400 Subject: [PATCH 44/55] chore: manual bump version --- .changeset/major-sites-lead.md | 3 --- scripts/create-lang/package.json | 2 +- scripts/create-lang/template/package.json | 4 ++-- scripts/nursery/package.json | 2 +- scripts/setup/package.json | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.changeset/major-sites-lead.md b/.changeset/major-sites-lead.md index 1e9bafa5..3e6d0ff6 100644 --- a/.changeset/major-sites-lead.md +++ b/.changeset/major-sites-lead.md @@ -27,9 +27,6 @@ "@ast-grep/lang-tsx": patch "@ast-grep/lang-typescript": patch "@ast-grep/lang-yaml": patch -"@ast-grep/create-lang": patch -"@ast-grep/nursery": patch -"@ast-grep/setup-lang": patch --- enable runtime platform detection diff --git a/scripts/create-lang/package.json b/scripts/create-lang/package.json index 77ae806b..8870d683 100644 --- a/scripts/create-lang/package.json +++ b/scripts/create-lang/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/create-lang", - "version": "0.0.6", + "version": "0.0.7", "private": false, "description": "", "main": "index.js", diff --git a/scripts/create-lang/template/package.json b/scripts/create-lang/template/package.json index 7ae556fc..5d363440 100644 --- a/scripts/create-lang/template/package.json +++ b/scripts/create-lang/template/package.json @@ -22,7 +22,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -33,7 +33,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.5", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8" }, "publishConfig": { diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 779e9f4f..6f9289dc 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/nursery", - "version": "0.0.6", + "version": "0.0.7", "private": false, "description": "", "main": "index.js", diff --git a/scripts/setup/package.json b/scripts/setup/package.json index 7af4eaa2..17326a53 100644 --- a/scripts/setup/package.json +++ b/scripts/setup/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/setup-lang", - "version": "0.0.3", + "version": "0.0.4", "private": false, "description": "", "main": "index.js", From 26b45a48446823bbceee979f2b26cff9f6da98f0 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 23:02:29 -0400 Subject: [PATCH 45/55] chore: bump version fix #111 --- packages/angular/package.json | 4 +- packages/bash/package.json | 4 +- packages/c/package.json | 4 +- packages/cpp/package.json | 4 +- packages/csharp/package.json | 4 +- packages/css/package.json | 4 +- packages/dart/package.json | 4 +- packages/elixir/package.json | 4 +- packages/go/package.json | 4 +- packages/haskell/package.json | 4 +- packages/html/package.json | 4 +- packages/java/package.json | 4 +- packages/javascript/package.json | 4 +- packages/json/package.json | 4 +- packages/kotlin/package.json | 4 +- packages/lua/package.json | 4 +- packages/markdown/package.json | 4 +- packages/php/package.json | 4 +- packages/python/package.json | 4 +- packages/ruby/package.json | 4 +- packages/rust/package.json | 4 +- packages/scala/package.json | 4 +- packages/sql/package.json | 4 +- packages/swift/package.json | 4 +- packages/toml/package.json | 2 +- packages/tsx/package.json | 4 +- packages/typescript/package.json | 4 +- packages/yaml/package.json | 4 +- pnpm-lock.yaml | 232 +++++++++++++++---------------- 29 files changed, 171 insertions(+), 171 deletions(-) diff --git a/packages/angular/package.json b/packages/angular/package.json index a9646ab2..0d53cf53 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-angular": "0.6.4", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/bash/package.json b/packages/bash/package.json index 50c0da22..ed2ecfe8 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-bash": "0.25.0", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/c/package.json b/packages/c/package.json index 0d566743..70da9114 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-c": "0.24.1", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/cpp/package.json b/packages/cpp/package.json index b4434f71..3b757c17 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-cpp": "0.23.4" }, diff --git a/packages/csharp/package.json b/packages/csharp/package.json index c1ed091f..f017b77f 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-c-sharp": "0.23.1", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/css/package.json b/packages/css/package.json index 995d5f2e..1b84146c 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-css": "0.23.2" }, diff --git a/packages/dart/package.json b/packages/dart/package.json index 205094fe..c9f94f6e 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-dart": "1.0.0" }, diff --git a/packages/elixir/package.json b/packages/elixir/package.json index fc007ff1..32bc125f 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-elixir": "0.3.4" }, diff --git a/packages/go/package.json b/packages/go/package.json index e98dc6d8..d9e7571e 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-go": "0.23.4", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/haskell/package.json b/packages/haskell/package.json index d2fec6f8..d8a7eea5 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-haskell": "0.23.1" }, diff --git a/packages/html/package.json b/packages/html/package.json index b14e2fa8..4e6e84fb 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-html": "0.23.2" }, diff --git a/packages/java/package.json b/packages/java/package.json index 0982d5b6..668230e8 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-java": "0.23.5" }, diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 9df5b324..742088dd 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-javascript": "0.23.1" }, diff --git a/packages/json/package.json b/packages/json/package.json index e8557cb7..9353f61b 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-json": "0.24.8" }, diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 45dac62c..90f20960 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-kotlin": "0.3.8" }, diff --git a/packages/lua/package.json b/packages/lua/package.json index 6d897e0c..c8d568d8 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "@tree-sitter-grammars/tree-sitter-lua": "0.2.0" }, diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 4b8699a3..1e71c796 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "@tree-sitter-grammars/tree-sitter-markdown": "0.3.2", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/php/package.json b/packages/php/package.json index 5fd118f7..e5b30bff 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-php": "0.23.12" }, diff --git a/packages/python/package.json b/packages/python/package.json index c0469e4d..65988883 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-python": "0.23.6" }, diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 8bc9eddd..df2120d5 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-ruby": "0.23.1" }, diff --git a/packages/rust/package.json b/packages/rust/package.json index 5f0c2c8b..f0315c1d 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-rust": "0.23.2" }, diff --git a/packages/scala/package.json b/packages/scala/package.json index 7a9dd00c..ad44bd0c 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-scala": "0.24.0" }, diff --git a/packages/sql/package.json b/packages/sql/package.json index d90da1b6..df500b81 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "@derekstride/tree-sitter-sql": "0.3.8", "tree-sitter-cli": "0.25.8" }, diff --git a/packages/swift/package.json b/packages/swift/package.json index fe2e6bd9..af49f2cf 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-swift": "0.7.1" }, diff --git a/packages/toml/package.json b/packages/toml/package.json index f92b162b..9f6dc860 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" diff --git a/packages/tsx/package.json b/packages/tsx/package.json index ad3cec87..2a43fa57 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "^0.23.2" }, diff --git a/packages/typescript/package.json b/packages/typescript/package.json index c0aa420a..32cebfc7 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", "tree-sitter-typescript": "0.23.2" }, diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 87a7b994..88a05f7d 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -25,7 +25,7 @@ "author": "", "license": "ISC", "dependencies": { - "@ast-grep/setup-lang": "0.0.3" + "@ast-grep/setup-lang": "0.0.4" }, "peerDependencies": { "tree-sitter-cli": "0.25.8" @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@ast-grep/nursery": "0.0.6", + "@ast-grep/nursery": "0.0.7", "@tree-sitter-grammars/tree-sitter-yaml": "0.7.1", "tree-sitter-cli": "0.25.8" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ab72d58..42533049 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,12 +24,12 @@ importers: packages/angular: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-angular: specifier: 0.6.4 version: 0.6.4(tree-sitter@0.21.1) @@ -40,12 +40,12 @@ importers: packages/bash: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-bash: specifier: 0.25.0 version: 0.25.0 @@ -56,12 +56,12 @@ importers: packages/c: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-c: specifier: 0.24.1 version: 0.24.1 @@ -72,12 +72,12 @@ importers: packages/cpp: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -88,12 +88,12 @@ importers: packages/csharp: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-c-sharp: specifier: 0.23.1 version: 0.23.1(tree-sitter@0.21.1) @@ -104,12 +104,12 @@ importers: packages/css: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -120,12 +120,12 @@ importers: packages/dart: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -136,12 +136,12 @@ importers: packages/elixir: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -152,12 +152,12 @@ importers: packages/go: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -168,12 +168,12 @@ importers: packages/haskell: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -184,12 +184,12 @@ importers: packages/html: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -200,12 +200,12 @@ importers: packages/java: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -216,12 +216,12 @@ importers: packages/javascript: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -232,12 +232,12 @@ importers: packages/json: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -248,12 +248,12 @@ importers: packages/kotlin: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -264,12 +264,12 @@ importers: packages/lua: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 '@tree-sitter-grammars/tree-sitter-lua': specifier: 0.2.0 version: 0.2.0(tree-sitter@0.21.1) @@ -280,12 +280,12 @@ importers: packages/markdown: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 '@tree-sitter-grammars/tree-sitter-markdown': specifier: 0.3.2 version: 0.3.2(tree-sitter@0.21.1) @@ -296,12 +296,12 @@ importers: packages/php: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -312,12 +312,12 @@ importers: packages/python: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -328,12 +328,12 @@ importers: packages/ruby: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -344,12 +344,12 @@ importers: packages/rust: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -360,12 +360,12 @@ importers: packages/scala: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -376,12 +376,12 @@ importers: packages/sql: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 '@derekstride/tree-sitter-sql': specifier: 0.3.8 version: 0.3.8(tree-sitter@0.21.1) @@ -392,12 +392,12 @@ importers: packages/swift: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -408,8 +408,8 @@ importers: packages/toml: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': specifier: workspace:* @@ -424,12 +424,12 @@ importers: packages/tsx: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -440,12 +440,12 @@ importers: packages/typescript: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 tree-sitter-cli: specifier: 0.25.8 version: 0.25.8 @@ -456,12 +456,12 @@ importers: packages/yaml: dependencies: '@ast-grep/setup-lang': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 devDependencies: '@ast-grep/nursery': - specifier: 0.0.6 - version: 0.0.6 + specifier: 0.0.7 + version: 0.0.7 '@tree-sitter-grammars/tree-sitter-yaml': specifier: 0.7.1 version: 0.7.1 @@ -567,11 +567,11 @@ packages: resolution: {integrity: sha512-q6ryspY37PKLrfx+jNQrnR1qYTahRQO2yAvlDK6X4b4AHRtg7mXlaccHGpAFtkTZLhdkI9nl1WHsuqmKx1HWhw==} engines: {node: '>= 10'} - '@ast-grep/nursery@0.0.6': - resolution: {integrity: sha512-ZYgS/caY5X7RF2kNX86OW8fIO14nfI+4/zEWt5QTQkcrZw2pSJwuASHPGWiIETAqNEnKvtglKcSDgrwHVxVP/w==} + '@ast-grep/nursery@0.0.7': + resolution: {integrity: sha512-M+AP0PqSytoTtaP/fXW4WZFvpLpJPdb6Tu7CFasNgs9objQa3vzJaB956bHs0edciHFYLzELASGox8vydG2sLw==} - '@ast-grep/setup-lang@0.0.3': - resolution: {integrity: sha512-+ZNOuf0r7ABVwOANrrQpUrUv7xyuhsZGyQ88WZCH/euQmIEvSH3JsUFevg/60M7hi8NVh4vfSQs6ajTpumSzxg==} + '@ast-grep/setup-lang@0.0.4': + resolution: {integrity: sha512-us5L9CU4pc/yLQbO82v7gkpwa66qRoQRJ3P+s36EC6ZXiYpQVbd13PLgh9bQ/LhGljEb/pcli0uclN/+S3IMSw==} '@babel/runtime@7.27.6': resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==} @@ -1398,11 +1398,11 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.39.2 '@ast-grep/napi-win32-x64-msvc': 0.39.2 - '@ast-grep/nursery@0.0.6': + '@ast-grep/nursery@0.0.7': dependencies: '@ast-grep/napi': 0.39.2 - '@ast-grep/setup-lang@0.0.3': {} + '@ast-grep/setup-lang@0.0.4': {} '@babel/runtime@7.27.6': {} From 8d7d14b404c595bd5123371100068fc074ec8fea Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 23:05:15 -0400 Subject: [PATCH 46/55] fix: fix formatting --- packages/angular/index.js | 14 +++++++------- packages/bash/index.js | 14 +++++++------- packages/c/index.js | 14 +++++++------- packages/cpp/index.js | 14 +++++++------- packages/csharp/index.js | 14 +++++++------- packages/css/index.js | 14 +++++++------- packages/dart/index.js | 14 +++++++------- packages/elixir/index.js | 14 +++++++------- packages/go/index.js | 14 +++++++------- packages/haskell/index.js | 14 +++++++------- packages/html/index.js | 14 +++++++------- packages/java/index.js | 14 +++++++------- packages/javascript/index.js | 14 +++++++------- packages/json/index.js | 14 +++++++------- packages/kotlin/index.js | 14 +++++++------- packages/lua/index.js | 14 +++++++------- packages/markdown/index.js | 14 +++++++------- packages/php/index.js | 14 +++++++------- packages/python/index.js | 14 +++++++------- packages/ruby/index.js | 14 +++++++------- packages/rust/index.js | 14 +++++++------- packages/scala/index.js | 14 +++++++------- packages/sql/index.js | 14 +++++++------- packages/swift/index.js | 14 +++++++------- packages/toml/index.js | 14 +++++++------- packages/tsx/index.js | 14 +++++++------- packages/typescript/index.js | 14 +++++++------- packages/yaml/index.js | 14 +++++++------- 28 files changed, 196 insertions(+), 196 deletions(-) diff --git a/packages/angular/index.js b/packages/angular/index.js index 1317efba..0bc847db 100644 --- a/packages/angular/index.js +++ b/packages/angular/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['html'], languageSymbol: 'tree_sitter_angular', diff --git a/packages/bash/index.js b/packages/bash/index.js index 3e2e4679..e24a49cb 100644 --- a/packages/bash/index.js +++ b/packages/bash/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: [ 'bash', diff --git a/packages/c/index.js b/packages/c/index.js index cbcedfbf..81a08873 100644 --- a/packages/c/index.js +++ b/packages/c/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['c', 'h'], languageSymbol: 'tree_sitter_c', diff --git a/packages/cpp/index.js b/packages/cpp/index.js index f450259f..151e876d 100644 --- a/packages/cpp/index.js +++ b/packages/cpp/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['cc', 'hpp', 'cpp', 'hh', 'cxx', 'cu', 'ino'], languageSymbol: 'tree_sitter_cpp', diff --git a/packages/csharp/index.js b/packages/csharp/index.js index 5c54295e..a554980b 100644 --- a/packages/csharp/index.js +++ b/packages/csharp/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['cs'], languageSymbol: 'tree_sitter_c_sharp', diff --git a/packages/css/index.js b/packages/css/index.js index 8c83c0c3..b29dfa3f 100644 --- a/packages/css/index.js +++ b/packages/css/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['css', 'scss'], languageSymbol: 'tree_sitter_css', diff --git a/packages/dart/index.js b/packages/dart/index.js index bb1c2794..d4b6c269 100644 --- a/packages/dart/index.js +++ b/packages/dart/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['dart'], languageSymbol: 'tree_sitter_dart', diff --git a/packages/elixir/index.js b/packages/elixir/index.js index c1c6b99f..e60cf2ae 100644 --- a/packages/elixir/index.js +++ b/packages/elixir/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['ex', 'exs'], languageSymbol: 'tree_sitter_elixir', diff --git a/packages/go/index.js b/packages/go/index.js index a119e619..eab674fd 100644 --- a/packages/go/index.js +++ b/packages/go/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['go'], languageSymbol: 'tree_sitter_go', diff --git a/packages/haskell/index.js b/packages/haskell/index.js index 53ac7186..a21a5951 100644 --- a/packages/haskell/index.js +++ b/packages/haskell/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['hs'], languageSymbol: 'tree_sitter_haskell', diff --git a/packages/html/index.js b/packages/html/index.js index 2571319a..1fd1c80c 100644 --- a/packages/html/index.js +++ b/packages/html/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['html', 'htm', 'xhtml'], languageSymbol: 'tree_sitter_html', diff --git a/packages/java/index.js b/packages/java/index.js index 88df48bc..5b167a5d 100644 --- a/packages/java/index.js +++ b/packages/java/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['java'], languageSymbol: 'tree_sitter_java', diff --git a/packages/javascript/index.js b/packages/javascript/index.js index ac0fe3d7..0f746e26 100644 --- a/packages/javascript/index.js +++ b/packages/javascript/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['cjs', 'js', 'mjs', 'jsx'], languageSymbol: 'tree_sitter_javascript', diff --git a/packages/json/index.js b/packages/json/index.js index 9d57be39..4e8542dd 100644 --- a/packages/json/index.js +++ b/packages/json/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['json'], languageSymbol: 'tree_sitter_json', diff --git a/packages/kotlin/index.js b/packages/kotlin/index.js index 2802bc4e..d4c8fe37 100644 --- a/packages/kotlin/index.js +++ b/packages/kotlin/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['kt', 'ktm', 'kts'], languageSymbol: 'tree_sitter_kotlin', diff --git a/packages/lua/index.js b/packages/lua/index.js index e555fafa..be3bdd0b 100644 --- a/packages/lua/index.js +++ b/packages/lua/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, treeSitterPackage: '@tree-sitter-grammars/tree-sitter-lua', extensions: ['lua'], diff --git a/packages/markdown/index.js b/packages/markdown/index.js index 10b7c71b..e87ec8f1 100644 --- a/packages/markdown/index.js +++ b/packages/markdown/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['md'], languageSymbol: 'tree_sitter_markdown', diff --git a/packages/php/index.js b/packages/php/index.js index 1b5c5738..8e84d343 100644 --- a/packages/php/index.js +++ b/packages/php/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['php'], languageSymbol: 'tree_sitter_php', diff --git a/packages/python/index.js b/packages/python/index.js index 6bb5dc27..c674eefb 100644 --- a/packages/python/index.js +++ b/packages/python/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['py'], languageSymbol: 'tree_sitter_python', diff --git a/packages/ruby/index.js b/packages/ruby/index.js index 51181f11..f7b00be2 100644 --- a/packages/ruby/index.js +++ b/packages/ruby/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['rb', 'rbw', 'gemspec'], languageSymbol: 'tree_sitter_ruby', diff --git a/packages/rust/index.js b/packages/rust/index.js index 4e13db12..6f0b6f1c 100644 --- a/packages/rust/index.js +++ b/packages/rust/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['rs'], languageSymbol: 'tree_sitter_rust', diff --git a/packages/scala/index.js b/packages/scala/index.js index 0e0939da..a0109447 100644 --- a/packages/scala/index.js +++ b/packages/scala/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['scala', 'sc', 'sbt'], languageSymbol: 'tree_sitter_scala', diff --git a/packages/sql/index.js b/packages/sql/index.js index f0a96fdf..0b30f019 100644 --- a/packages/sql/index.js +++ b/packages/sql/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['sql'], languageSymbol: 'tree_sitter_sql', diff --git a/packages/swift/index.js b/packages/swift/index.js index 50ead99c..6d7173bb 100644 --- a/packages/swift/index.js +++ b/packages/swift/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['swift'], languageSymbol: 'tree_sitter_swift', diff --git a/packages/toml/index.js b/packages/toml/index.js index 74c46dde..b9b35af8 100644 --- a/packages/toml/index.js +++ b/packages/toml/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['toml'], languageSymbol: 'tree_sitter_toml', diff --git a/packages/tsx/index.js b/packages/tsx/index.js index 2b23b793..0154bd4f 100644 --- a/packages/tsx/index.js +++ b/packages/tsx/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['tsx'], languageSymbol: 'tree_sitter_tsx', diff --git a/packages/typescript/index.js b/packages/typescript/index.js index ec4abffb..7a287079 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['ts', 'cts', 'mts'], languageSymbol: 'tree_sitter_typescript', diff --git a/packages/yaml/index.js b/packages/yaml/index.js index a638ee7e..f37e2297 100644 --- a/packages/yaml/index.js +++ b/packages/yaml/index.js @@ -5,25 +5,25 @@ const { resolvePrebuild } = require('@ast-grep/setup-lang') function getLibPath() { const prebuild = resolvePrebuild(__dirname) if (prebuild) { - return prebuild; + return prebuild } - const native = path.join(__dirname, 'parser.so'); + const native = path.join(__dirname, 'parser.so') if (fs.existsSync(native)) { - return native; + return native } - throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.'); + throw new Error('No parser found. Please ensure the parser is built or a prebuild is available.') } -let libPath; +let libPath module.exports = { get libraryPath() { if (!libPath) { - libPath = getLibPath(); + libPath = getLibPath() } - return libPath; + return libPath }, extensions: ['yaml', 'yml'], languageSymbol: 'tree_sitter_yaml', From 5f712c7f3458db9cd8b018efbe992af816d7da42 Mon Sep 17 00:00:00 2001 From: HerringtonDarkholme <2883231+HerringtonDarkholme@users.noreply.github.com> Date: Wed, 13 Aug 2025 23:12:14 -0400 Subject: [PATCH 47/55] chore: bump version --- .changeset/major-sites-lead.md | 32 -------------------------------- packages/angular/CHANGELOG.md | 6 ++++++ packages/angular/package.json | 2 +- packages/bash/CHANGELOG.md | 6 ++++++ packages/bash/package.json | 2 +- packages/c/CHANGELOG.md | 6 ++++++ packages/c/package.json | 2 +- packages/cpp/CHANGELOG.md | 6 ++++++ packages/cpp/package.json | 2 +- packages/csharp/CHANGELOG.md | 6 ++++++ packages/csharp/package.json | 2 +- packages/css/CHANGELOG.md | 6 ++++++ packages/css/package.json | 2 +- packages/dart/CHANGELOG.md | 6 ++++++ packages/dart/package.json | 2 +- packages/elixir/CHANGELOG.md | 6 ++++++ packages/elixir/package.json | 2 +- packages/go/CHANGELOG.md | 6 ++++++ packages/go/package.json | 2 +- packages/haskell/CHANGELOG.md | 6 ++++++ packages/haskell/package.json | 2 +- packages/html/CHANGELOG.md | 6 ++++++ packages/html/package.json | 2 +- packages/java/CHANGELOG.md | 6 ++++++ packages/java/package.json | 2 +- packages/javascript/CHANGELOG.md | 6 ++++++ packages/javascript/package.json | 2 +- packages/json/CHANGELOG.md | 6 ++++++ packages/json/package.json | 2 +- packages/kotlin/CHANGELOG.md | 6 ++++++ packages/kotlin/package.json | 2 +- packages/lua/CHANGELOG.md | 6 ++++++ packages/lua/package.json | 2 +- packages/markdown/CHANGELOG.md | 7 +++++++ packages/markdown/package.json | 2 +- packages/php/CHANGELOG.md | 6 ++++++ packages/php/package.json | 2 +- packages/python/CHANGELOG.md | 6 ++++++ packages/python/package.json | 2 +- packages/ruby/CHANGELOG.md | 6 ++++++ packages/ruby/package.json | 2 +- packages/rust/CHANGELOG.md | 6 ++++++ packages/rust/package.json | 2 +- packages/scala/CHANGELOG.md | 6 ++++++ packages/scala/package.json | 2 +- packages/sql/CHANGELOG.md | 6 ++++++ packages/sql/package.json | 2 +- packages/swift/CHANGELOG.md | 6 ++++++ packages/swift/package.json | 2 +- packages/toml/CHANGELOG.md | 6 ++++++ packages/toml/package.json | 2 +- packages/tsx/CHANGELOG.md | 6 ++++++ packages/tsx/package.json | 2 +- packages/typescript/CHANGELOG.md | 6 ++++++ packages/typescript/package.json | 2 +- packages/yaml/CHANGELOG.md | 6 ++++++ packages/yaml/package.json | 2 +- 57 files changed, 197 insertions(+), 60 deletions(-) delete mode 100644 .changeset/major-sites-lead.md create mode 100644 packages/markdown/CHANGELOG.md diff --git a/.changeset/major-sites-lead.md b/.changeset/major-sites-lead.md deleted file mode 100644 index 3e6d0ff6..00000000 --- a/.changeset/major-sites-lead.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -"@ast-grep/lang-angular": patch -"@ast-grep/lang-bash": patch -"@ast-grep/lang-c": patch -"@ast-grep/lang-cpp": patch -"@ast-grep/lang-csharp": patch -"@ast-grep/lang-css": patch -"@ast-grep/lang-dart": patch -"@ast-grep/lang-elixir": patch -"@ast-grep/lang-go": patch -"@ast-grep/lang-haskell": patch -"@ast-grep/lang-html": patch -"@ast-grep/lang-java": patch -"@ast-grep/lang-javascript": patch -"@ast-grep/lang-json": patch -"@ast-grep/lang-kotlin": patch -"@ast-grep/lang-lua": patch -"@ast-grep/lang-markdown": patch -"@ast-grep/lang-php": patch -"@ast-grep/lang-python": patch -"@ast-grep/lang-ruby": patch -"@ast-grep/lang-rust": patch -"@ast-grep/lang-scala": patch -"@ast-grep/lang-sql": patch -"@ast-grep/lang-swift": patch -"@ast-grep/lang-toml": patch -"@ast-grep/lang-tsx": patch -"@ast-grep/lang-typescript": patch -"@ast-grep/lang-yaml": patch ---- - -enable runtime platform detection diff --git a/packages/angular/CHANGELOG.md b/packages/angular/CHANGELOG.md index 946468e6..3a7c3757 100644 --- a/packages/angular/CHANGELOG.md +++ b/packages/angular/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-angular +## 0.0.6 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.5 ### Patch Changes diff --git a/packages/angular/package.json b/packages/angular/package.json index 0d53cf53..c8dfbfaf 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-angular", - "version": "0.0.5", + "version": "0.0.6", "description": "", "main": "index.js", "scripts": { diff --git a/packages/bash/CHANGELOG.md b/packages/bash/CHANGELOG.md index 6df21592..d645898f 100644 --- a/packages/bash/CHANGELOG.md +++ b/packages/bash/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-bash +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/bash/package.json b/packages/bash/package.json index ed2ecfe8..78baa9f1 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-bash", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/c/CHANGELOG.md b/packages/c/CHANGELOG.md index 867c73b7..9f9e67a4 100644 --- a/packages/c/CHANGELOG.md +++ b/packages/c/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-c +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/c/package.json b/packages/c/package.json index 70da9114..2f8c9787 100644 --- a/packages/c/package.json +++ b/packages/c/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-c", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/cpp/CHANGELOG.md b/packages/cpp/CHANGELOG.md index 1436d5f5..0fe5fdcc 100644 --- a/packages/cpp/CHANGELOG.md +++ b/packages/cpp/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-cpp +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/cpp/package.json b/packages/cpp/package.json index 3b757c17..130235e2 100644 --- a/packages/cpp/package.json +++ b/packages/cpp/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-cpp", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/csharp/CHANGELOG.md b/packages/csharp/CHANGELOG.md index 69bee881..9e552e08 100644 --- a/packages/csharp/CHANGELOG.md +++ b/packages/csharp/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-csharp +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/csharp/package.json b/packages/csharp/package.json index f017b77f..0997dacb 100644 --- a/packages/csharp/package.json +++ b/packages/csharp/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-csharp", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index 790ae82e..e5bb6acb 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-css +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/css/package.json b/packages/css/package.json index 1b84146c..b75abc9c 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-css", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index ceef9a97..6ae58d39 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-dart +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/dart/package.json b/packages/dart/package.json index c9f94f6e..3ccbb026 100644 --- a/packages/dart/package.json +++ b/packages/dart/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-dart", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/elixir/CHANGELOG.md b/packages/elixir/CHANGELOG.md index a96393fd..61ddb300 100644 --- a/packages/elixir/CHANGELOG.md +++ b/packages/elixir/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-elixir +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/elixir/package.json b/packages/elixir/package.json index 32bc125f..55c72da5 100644 --- a/packages/elixir/package.json +++ b/packages/elixir/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-elixir", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/go/CHANGELOG.md b/packages/go/CHANGELOG.md index 2afc44a3..8b90bb9c 100644 --- a/packages/go/CHANGELOG.md +++ b/packages/go/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-go +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/go/package.json b/packages/go/package.json index d9e7571e..eac2ac8b 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-go", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/haskell/CHANGELOG.md b/packages/haskell/CHANGELOG.md index 95873a35..2ebab714 100644 --- a/packages/haskell/CHANGELOG.md +++ b/packages/haskell/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-haskell +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/haskell/package.json b/packages/haskell/package.json index d8a7eea5..5cd21eaa 100644 --- a/packages/haskell/package.json +++ b/packages/haskell/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-haskell", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index bac4428d..44d08bca 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-html +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/html/package.json b/packages/html/package.json index 4e6e84fb..cdd21de1 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-html", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/java/CHANGELOG.md b/packages/java/CHANGELOG.md index caabc4b9..b3d83950 100644 --- a/packages/java/CHANGELOG.md +++ b/packages/java/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-java +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/java/package.json b/packages/java/package.json index 668230e8..3e557999 100644 --- a/packages/java/package.json +++ b/packages/java/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-java", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/javascript/CHANGELOG.md b/packages/javascript/CHANGELOG.md index 5657924b..87acdb1d 100644 --- a/packages/javascript/CHANGELOG.md +++ b/packages/javascript/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-javascript +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 742088dd..d9d3dd9d 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-javascript", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/json/CHANGELOG.md b/packages/json/CHANGELOG.md index 83c3faa0..3b306b73 100644 --- a/packages/json/CHANGELOG.md +++ b/packages/json/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-json +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/json/package.json b/packages/json/package.json index 9353f61b..918a0630 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-json", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/kotlin/CHANGELOG.md b/packages/kotlin/CHANGELOG.md index 8da8be79..0d7e16e6 100644 --- a/packages/kotlin/CHANGELOG.md +++ b/packages/kotlin/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-kotlin +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/kotlin/package.json b/packages/kotlin/package.json index 90f20960..e6f44b2b 100644 --- a/packages/kotlin/package.json +++ b/packages/kotlin/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-kotlin", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/lua/CHANGELOG.md b/packages/lua/CHANGELOG.md index 360c8ef1..2621f55b 100644 --- a/packages/lua/CHANGELOG.md +++ b/packages/lua/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-lua +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/lua/package.json b/packages/lua/package.json index c8d568d8..d088e835 100644 --- a/packages/lua/package.json +++ b/packages/lua/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-lua", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/markdown/CHANGELOG.md b/packages/markdown/CHANGELOG.md new file mode 100644 index 00000000..713bb50b --- /dev/null +++ b/packages/markdown/CHANGELOG.md @@ -0,0 +1,7 @@ +# @ast-grep/lang-markdown + +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 1e71c796..8944c598 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-markdown", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/php/CHANGELOG.md b/packages/php/CHANGELOG.md index 9e89899a..87448315 100644 --- a/packages/php/CHANGELOG.md +++ b/packages/php/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-php +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/php/package.json b/packages/php/package.json index e5b30bff..553c4f9c 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-php", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/python/CHANGELOG.md b/packages/python/CHANGELOG.md index 20280111..ea3fcdc0 100644 --- a/packages/python/CHANGELOG.md +++ b/packages/python/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-python +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/python/package.json b/packages/python/package.json index 65988883..36c45089 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-python", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/packages/ruby/CHANGELOG.md b/packages/ruby/CHANGELOG.md index e6564444..61509f6d 100644 --- a/packages/ruby/CHANGELOG.md +++ b/packages/ruby/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-ruby +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/ruby/package.json b/packages/ruby/package.json index df2120d5..c9525c36 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-ruby", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/rust/CHANGELOG.md b/packages/rust/CHANGELOG.md index d0c3cef8..97fbc5a8 100644 --- a/packages/rust/CHANGELOG.md +++ b/packages/rust/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-rust +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/rust/package.json b/packages/rust/package.json index f0315c1d..82214b57 100644 --- a/packages/rust/package.json +++ b/packages/rust/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-rust", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/scala/CHANGELOG.md b/packages/scala/CHANGELOG.md index 882bee30..3962f343 100644 --- a/packages/scala/CHANGELOG.md +++ b/packages/scala/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-scala +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/scala/package.json b/packages/scala/package.json index ad44bd0c..036433c8 100644 --- a/packages/scala/package.json +++ b/packages/scala/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-scala", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/sql/CHANGELOG.md b/packages/sql/CHANGELOG.md index ca50e14c..12fb6157 100644 --- a/packages/sql/CHANGELOG.md +++ b/packages/sql/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-sql +## 0.0.5 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.4 ### Patch Changes diff --git a/packages/sql/package.json b/packages/sql/package.json index df500b81..62e45613 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-sql", - "version": "0.0.4", + "version": "0.0.5", "description": "", "main": "index.js", "scripts": { diff --git a/packages/swift/CHANGELOG.md b/packages/swift/CHANGELOG.md index 02bb114c..9c69bb23 100644 --- a/packages/swift/CHANGELOG.md +++ b/packages/swift/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-swift +## 0.0.5 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.4 ### Patch Changes diff --git a/packages/swift/package.json b/packages/swift/package.json index af49f2cf..4168d956 100644 --- a/packages/swift/package.json +++ b/packages/swift/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-swift", - "version": "0.0.4", + "version": "0.0.5", "description": "", "main": "index.js", "scripts": { diff --git a/packages/toml/CHANGELOG.md b/packages/toml/CHANGELOG.md index 41ffdcd4..e5332dd6 100644 --- a/packages/toml/CHANGELOG.md +++ b/packages/toml/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-toml +## 0.0.6 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.5 ### Patch Changes diff --git a/packages/toml/package.json b/packages/toml/package.json index 9f6dc860..e18a560e 100644 --- a/packages/toml/package.json +++ b/packages/toml/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-toml", - "version": "0.0.5", + "version": "0.0.6", "description": "", "main": "index.js", "scripts": { diff --git a/packages/tsx/CHANGELOG.md b/packages/tsx/CHANGELOG.md index 62a00388..fb2fd0dd 100644 --- a/packages/tsx/CHANGELOG.md +++ b/packages/tsx/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-tsx +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/tsx/package.json b/packages/tsx/package.json index 2a43fa57..0a8d13ec 100644 --- a/packages/tsx/package.json +++ b/packages/tsx/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-tsx", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 7264dc93..e31bafe4 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-typescript +## 0.0.4 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.3 ### Patch Changes diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 32cebfc7..268c3759 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-typescript", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "index.js", "scripts": { diff --git a/packages/yaml/CHANGELOG.md b/packages/yaml/CHANGELOG.md index 44519c67..7a01ccd2 100644 --- a/packages/yaml/CHANGELOG.md +++ b/packages/yaml/CHANGELOG.md @@ -1,5 +1,11 @@ # @ast-grep/lang-yaml +## 0.0.3 + +### Patch Changes + +- c0c69a2: enable runtime platform detection + ## 0.0.2 ### Patch Changes diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 88a05f7d..5d7cc013 100644 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -1,6 +1,6 @@ { "name": "@ast-grep/lang-yaml", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "index.js", "scripts": { From bc0bccd34db2ca27def4e12e175e08523a3a1362 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 15:05:44 +0000 Subject: [PATCH 48/55] chore(deps): update actions/checkout action to v5 --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 302534e0..9cbbbe38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install pnpm uses: pnpm/action-setup@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7b423c1..10e4ea33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: - macos-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install pnpm uses: pnpm/action-setup@v4 with: @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install pnpm uses: pnpm/action-setup@v4 with: From b0178a8cee7fc0497085e4ceca42c1cadf8cfa8b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 10:43:02 +0000 Subject: [PATCH 49/55] chore(deps): update dependency oxlint to v1.11.2 --- package.json | 2 +- pnpm-lock.yaml | 74 +++++++++++++++++++++++++------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index 8e7c6d23..fb452cad 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@changesets/cli": "^2.28.1", "dprint": "0.50.1", "husky": "9.1.7", - "oxlint": "1.11.1" + "oxlint": "1.11.2" }, "pnpm": { "onlyBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42533049..1ad743e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 9.1.7 version: 9.1.7 oxlint: - specifier: 1.11.1 - version: 1.11.1 + specifier: 1.11.2 + version: 1.11.2 packages/angular: dependencies: @@ -728,43 +728,43 @@ packages: resolution: {integrity: sha512-anzDRE1w3Vl/aSBLiOwnwzz17GJaXJr+X3OTWwwV9cHg+TWEhLpUDo+d2pAoulCHoZTjN/k8A9wHg0IGuqnOfA==} os: [win32] - '@oxlint/darwin-arm64@1.11.1': - resolution: {integrity: sha512-/9ohoWJoPHLXDBRQqPn3jIwB2QXt+Pv6dR1r6fmrcm5RiTyqf40zK10gMDl8rbw8ONmzgrevdxweV0iRuC9pcQ==} + '@oxlint/darwin-arm64@1.11.2': + resolution: {integrity: sha512-eJZ1VKaS9qj44FTus3qTu790xMnJ/GViJcoVF3zNux5m3lOiWhwJB149+P7a7LcTowNdc26i1DmwcWxUllPwZw==} cpu: [arm64] os: [darwin] - '@oxlint/darwin-x64@1.11.1': - resolution: {integrity: sha512-snwKjdJO+mGwp2xYBxdwJorad4ZVeZDq2FV3ZcgvqCmf6pg+eJdm/jtlfXb44KfEDlBCvMa0zV48bjY+tg31rA==} + '@oxlint/darwin-x64@1.11.2': + resolution: {integrity: sha512-KH9BJ5ObkReIr00IbGaImqL2q4CCjIAk9HxgULvWpjSnqUL7OgJFZAabb9Z5ZS0+RyZrKUtd1ZU/Ackb6k4G3Q==} cpu: [x64] os: [darwin] - '@oxlint/linux-arm64-gnu@1.11.1': - resolution: {integrity: sha512-WI3LcUlowzlu2wQb0XRIq1Zv1AMkQDrU7+zHVtiokFbjyioUcSOomwN+ntlZozPwFRbuLUXL+wq5qePnLhE90Q==} + '@oxlint/linux-arm64-gnu@1.11.2': + resolution: {integrity: sha512-nIhyGApnEuqLazaSwvEkg5pMm2rlBPJccAGrNmJPcMukKbD5fUYyuCvkm9CFUqTm1+MIYrs5bTeRhnDSEa2mYw==} cpu: [arm64] os: [linux] - '@oxlint/linux-arm64-musl@1.11.1': - resolution: {integrity: sha512-Fc4gW7nf8dGOvsvTqIJDCvWiDCxQtnX3KDM69G+0d23ljiXdi2/EEcWNcvobBwi0CqlpO+TdQiRYDLHEJxSRfA==} + '@oxlint/linux-arm64-musl@1.11.2': + resolution: {integrity: sha512-ifrqaBwVYt3g6GUbIwF9G9pTvkIvbs47F47oSjVogdy5hn2yEEi1zxyYGV9AFF3zVMgp2xDIO8G/gTuz1WPHkg==} cpu: [arm64] os: [linux] - '@oxlint/linux-x64-gnu@1.11.1': - resolution: {integrity: sha512-3UNP5PAE/IHWMSfrwybMbjppQXMveFzLMMZjGk8tEAm9aj4yeX6Z3O+ns6fQHStbb6PyrDMncAyNl/qxUfmp7A==} + '@oxlint/linux-x64-gnu@1.11.2': + resolution: {integrity: sha512-yWCgoOQ0xA/AxJ7ruLMR/YMKYEwV048vrWftZGCjKPYgZeZe9bpghAoRlLi6qjw7ReNpctk9Ho+l35TYXNqhzA==} cpu: [x64] os: [linux] - '@oxlint/linux-x64-musl@1.11.1': - resolution: {integrity: sha512-CmRm8rFT6MwKvcpcw1IM+QHtyh3iOKRewJn3VOHYlRzw+VKQuvUbUnWHgROtr6V8UOiRkrSy3Mvo/d5Fc+r/lw==} + '@oxlint/linux-x64-musl@1.11.2': + resolution: {integrity: sha512-nYer9TaY/gC+kVwOfb9DxZh0dNdqFI8ax/MD9TwH8p3ZnWuUe1Ocfpg0V94tuPoGxHFqcXU7GRD1cTvREHfcTg==} cpu: [x64] os: [linux] - '@oxlint/win32-arm64@1.11.1': - resolution: {integrity: sha512-htSR1NHMnRV5qXDoZJcFxKObgLyBvA4g9eIhzDTsTyw7e2ZDR/SVOli2IZB31ghCwEYcSV7yoZgfOgjNbgvDJA==} + '@oxlint/win32-arm64@1.11.2': + resolution: {integrity: sha512-zbfZ7r68MyxQ2GAg/jFzIQCFrL8lcwnxfIEqY+V16/Xcd1rZVfMH3PwJMloib26pOLH6/RUlC5IjdVo8icadHA==} cpu: [arm64] os: [win32] - '@oxlint/win32-x64@1.11.1': - resolution: {integrity: sha512-yjWjx0kf6+osvXdqdkLmSwPxvN9bJ+0sr+KLEgxCAZxfqy9nNTuflIwk6x5sm6lS4+qzCY7RrMYcksQ6Ky+0CA==} + '@oxlint/win32-x64@1.11.2': + resolution: {integrity: sha512-eSATaCIUwdh+t9gu9xoETjh+0PYwjVSLtnZ20XakKNjvee4KmQbWXCxXyA1vz1E0qxiUX/fYqsaOHueIwQ2LVA==} cpu: [x64] os: [win32] @@ -1014,8 +1014,8 @@ packages: resolution: {integrity: sha512-gH6EpIr2oBVperOONVzTTNYmOu6pYPipVyzWB+CfYO13vH+6O9kINUyG4rr3RXDaKdTx8UvxgRORXdSGH1iydA==} hasBin: true - oxlint@1.11.1: - resolution: {integrity: sha512-24c8BHX2deW0H7GAjkHP28+W4P3qO+2l0R/wz8jj+D4Sq/eC+K2Zyu6uN3bVXeHfG3z4U8shWD5hE+yPMisPDA==} + oxlint@1.11.2: + resolution: {integrity: sha512-/MDUxbel5vrwxWgiGU6hZzhDiTv0TUlyZak+WP+SaTO709du+6F07zCDvYj5lgkAnEcFbdrUlA67HEnleGR0Zw==} engines: {node: '>=8.*'} hasBin: true @@ -1627,28 +1627,28 @@ snapshots: '@oxlint-tsgolint/win32-x64@0.0.1': optional: true - '@oxlint/darwin-arm64@1.11.1': + '@oxlint/darwin-arm64@1.11.2': optional: true - '@oxlint/darwin-x64@1.11.1': + '@oxlint/darwin-x64@1.11.2': optional: true - '@oxlint/linux-arm64-gnu@1.11.1': + '@oxlint/linux-arm64-gnu@1.11.2': optional: true - '@oxlint/linux-arm64-musl@1.11.1': + '@oxlint/linux-arm64-musl@1.11.2': optional: true - '@oxlint/linux-x64-gnu@1.11.1': + '@oxlint/linux-x64-gnu@1.11.2': optional: true - '@oxlint/linux-x64-musl@1.11.1': + '@oxlint/linux-x64-musl@1.11.2': optional: true - '@oxlint/win32-arm64@1.11.1': + '@oxlint/win32-arm64@1.11.2': optional: true - '@oxlint/win32-x64@1.11.1': + '@oxlint/win32-x64@1.11.2': optional: true '@tree-sitter-grammars/tree-sitter-lua@0.2.0(tree-sitter@0.21.1)': @@ -1873,16 +1873,16 @@ snapshots: '@oxlint-tsgolint/win32-x64': 0.0.1 optional: true - oxlint@1.11.1: + oxlint@1.11.2: optionalDependencies: - '@oxlint/darwin-arm64': 1.11.1 - '@oxlint/darwin-x64': 1.11.1 - '@oxlint/linux-arm64-gnu': 1.11.1 - '@oxlint/linux-arm64-musl': 1.11.1 - '@oxlint/linux-x64-gnu': 1.11.1 - '@oxlint/linux-x64-musl': 1.11.1 - '@oxlint/win32-arm64': 1.11.1 - '@oxlint/win32-x64': 1.11.1 + '@oxlint/darwin-arm64': 1.11.2 + '@oxlint/darwin-x64': 1.11.2 + '@oxlint/linux-arm64-gnu': 1.11.2 + '@oxlint/linux-arm64-musl': 1.11.2 + '@oxlint/linux-x64-gnu': 1.11.2 + '@oxlint/linux-x64-musl': 1.11.2 + '@oxlint/win32-arm64': 1.11.2 + '@oxlint/win32-x64': 1.11.2 oxlint-tsgolint: 0.0.1 p-filter@2.1.0: From ea0cda2a2aba626d843e6cf09723631b2cee60ca Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 15:05:38 +0000 Subject: [PATCH 50/55] chore(deps): update dependency tree-sitter-php to v0.24.0 --- packages/php/package.json | 2 +- pnpm-lock.yaml | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/php/package.json b/packages/php/package.json index 553c4f9c..fd929ce9 100644 --- a/packages/php/package.json +++ b/packages/php/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@ast-grep/nursery": "0.0.7", "tree-sitter-cli": "0.25.8", - "tree-sitter-php": "0.23.12" + "tree-sitter-php": "0.24.0" }, "publishConfig": { "access": "public", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1ad743e9..4034acea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -306,8 +306,8 @@ importers: specifier: 0.25.8 version: 0.25.8 tree-sitter-php: - specifier: 0.23.12 - version: 0.23.12(tree-sitter@0.21.1) + specifier: 0.24.0 + version: 0.24.0 packages/python: dependencies: @@ -1280,10 +1280,10 @@ packages: tree_sitter: optional: true - tree-sitter-php@0.23.12: - resolution: {integrity: sha512-VwkBVOahhC2NYXK/Fuqq30NxuL/6c2hmbxEF4jrB7AyR5rLc7nT27mzF3qoi+pqx9Gy2AbXnGezF7h4MeM6YRA==} + tree-sitter-php@0.24.0: + resolution: {integrity: sha512-IeQuk88eN+KP8WxE2iCAaVoWEaLOKiBCBhcNBnHFpWqO1zJWWaaVLj+uD2zQdY1V/lLCLRbBjMNF+RjJYUXx0A==} peerDependencies: - tree-sitter: ^0.21.1 + tree-sitter: ^0.22.4 peerDependenciesMeta: tree-sitter: optional: true @@ -2084,12 +2084,10 @@ snapshots: node-gyp-build: 4.8.4 tree-sitter: 0.21.1 - tree-sitter-php@0.23.12(tree-sitter@0.21.1): + tree-sitter-php@0.24.0: dependencies: - node-addon-api: 8.3.1 + node-addon-api: 8.5.0 node-gyp-build: 4.8.4 - optionalDependencies: - tree-sitter: 0.21.1 tree-sitter-python@0.23.6: dependencies: From 159d98bf363b483460fc43ab280db32df5817d4c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 03:46:02 +0000 Subject: [PATCH 51/55] chore(deps): changeset for dependency update --- .changeset/dependencies-GH-107.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/dependencies-GH-107.md diff --git a/.changeset/dependencies-GH-107.md b/.changeset/dependencies-GH-107.md new file mode 100644 index 00000000..a8f9578a --- /dev/null +++ b/.changeset/dependencies-GH-107.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/lang-php": patch +--- + +chore(deps): update dependency tree-sitter-php to v0.24.0 From 7296397dd04af780cd7500a755e27bd9f4891215 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 03:46:07 +0000 Subject: [PATCH 52/55] fix(deps): update dependency @ast-grep/napi to v0.39.3 --- pnpm-lock.yaml | 101 ++++++++++++++++++++++++++++++++++- scripts/nursery/package.json | 2 +- 2 files changed, 100 insertions(+), 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4034acea..5fde4c94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -488,8 +488,8 @@ importers: scripts/nursery: dependencies: '@ast-grep/napi': - specifier: 0.39.2 - version: 0.39.2 + specifier: 0.39.3 + version: 0.39.3 devDependencies: '@types/node': specifier: 22.17.1 @@ -515,58 +515,116 @@ packages: cpu: [arm64] os: [darwin] + '@ast-grep/napi-darwin-arm64@0.39.3': + resolution: {integrity: sha512-XfTqyDOOyYzAJo0ZOLowrWKnwIB2q6PpFJG1EZFWLkMB54nHub+XDseLxA33uy3O4TpereMaJwUYBDFmOlDqtg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + '@ast-grep/napi-darwin-x64@0.39.2': resolution: {integrity: sha512-MJqaI7JTqbNMUcAvxKIdCgdRVSew/RLnxXkBO6G89SznVgdX3lRXyzPw/trhGcCWR1dByFN/Ne2LyusgjrbGdg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] + '@ast-grep/napi-darwin-x64@0.39.3': + resolution: {integrity: sha512-uncDaz0wJWPHRSB76cllFzVVqJJoN2KisbJKvoBoX7yTCtQtOloWpLf+V+RM7KLzk9sruhDZeWqV2929MgUGTw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + '@ast-grep/napi-linux-arm64-gnu@0.39.2': resolution: {integrity: sha512-TbC+OQD+qp1qIqDVvFPQqBPCouS17HtIs0DUn5rDvnXlzNGNd7SZNGT+Gr+hfmOBw3qgzWTSo+tI8H/FrUMG4w==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@ast-grep/napi-linux-arm64-gnu@0.39.3': + resolution: {integrity: sha512-ciNe9s54JUtttFtsdkBmexdZroX0WwgYgj8CE0qscGs5u1fjaEaQghgwR8l9DnckAm556S6KpszFhscTj69vNA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@ast-grep/napi-linux-arm64-musl@0.39.2': resolution: {integrity: sha512-AFosOAD+9f7lZJPvEh0w32Yy7DJOmOs+PlQzFiBimpsb6gjnjx9NZLwrwMEmW9aKPI6469QKP7DIVASNPozYGw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + '@ast-grep/napi-linux-arm64-musl@0.39.3': + resolution: {integrity: sha512-K5rXJmaQ06H5PGCeSRTTiqszkFcEgRSryJYVs/5r/xj5scZwM7Xme+D6gc7FD/x2CuQ5cPQAJeH698zGbPV2Zg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + '@ast-grep/napi-linux-x64-gnu@0.39.2': resolution: {integrity: sha512-qS9V2ZBiRnvhDHEAEOeO5K7Fn84+u/pqGKxDDcGZKzmp0Z27nvZR7pIybPiWgMh802G4o+iIHeRqPJgfEq7iqg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@ast-grep/napi-linux-x64-gnu@0.39.3': + resolution: {integrity: sha512-5xHCVTYj2sOsv0FriSpymrNx9FX5qOxjFKYkDwmJsTiAiENmmFyELNyfAN3ONeEpsV3kBJAZ0BBmd1KcBVOwRQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@ast-grep/napi-linux-x64-musl@0.39.2': resolution: {integrity: sha512-GbErl6NOwvWFqrZKUG+pdHiVKIgcpOIHOn8lBjcR06PA2Mgx44EyqkhzRXa55mjoxgOM80n//ZnhGwxVXhnSqQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + '@ast-grep/napi-linux-x64-musl@0.39.3': + resolution: {integrity: sha512-6sD1YRKhios38r0muRX2AMIZDinaiRfF31rE4L2gMP0IeJm5s4uJKqVa6eoBAMyGgZlhne1ySNwJ06HBxgIqRw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + '@ast-grep/napi-win32-arm64-msvc@0.39.2': resolution: {integrity: sha512-OHMDi9C3FbmfFHbHsIeTJw/EdxpYq7bpcLVhsnP10FOPhpr/8L+w8trO9pQ9NlwCRDP8JL53UzDfBmrZPRgWgg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] + '@ast-grep/napi-win32-arm64-msvc@0.39.3': + resolution: {integrity: sha512-3f5jrd6ar7RfD+djCxgf4QCRjVVOsyuU4lnwzFpdEcuZPVdI6jTzCoXg7D5bDkHeml8ZO6ojezkty74PbJZm4g==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + '@ast-grep/napi-win32-ia32-msvc@0.39.2': resolution: {integrity: sha512-htbGo7d0GPCLDTtXoKP38Rgn5MgLSCO2YXZaxQ7vq8QKfeussBcIr0yfbwUu4gDFhpSM7DPzDfHUTX/YDcD2fw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] + '@ast-grep/napi-win32-ia32-msvc@0.39.3': + resolution: {integrity: sha512-h5qtHRnV8KaAFRQWff1PkRctFueRTEDSrBnr18xQTShbRdUEzQApoEPsGRWnpuOJzBDgTYkkX3XDEQy8tVFJyg==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + '@ast-grep/napi-win32-x64-msvc@0.39.2': resolution: {integrity: sha512-geqOguM9gpHB9P9p9HcV+Lnq8dU6srYe3tVYQ9Wssxk/u1ZB9/DDUYgoW51tMXdWqfXEVt4KetAfiTHOOhOi4Q==} engines: {node: '>= 10'} cpu: [x64] os: [win32] + '@ast-grep/napi-win32-x64-msvc@0.39.3': + resolution: {integrity: sha512-syA3xRMS25RiSCJ1JWP5D00UwFvJSoQgHP4O5BGreouRqRpQlJr4CD4Sdf+UuHHwGbDYb652SoEKsi1rHo0M/Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + '@ast-grep/napi@0.39.2': resolution: {integrity: sha512-q6ryspY37PKLrfx+jNQrnR1qYTahRQO2yAvlDK6X4b4AHRtg7mXlaccHGpAFtkTZLhdkI9nl1WHsuqmKx1HWhw==} engines: {node: '>= 10'} + '@ast-grep/napi@0.39.3': + resolution: {integrity: sha512-Y+16O9AbeR+yr5qnVpXHXHv/3EG2IPGCIbvxYo4MZpFSAmUBYibiLP0GljK5TWkQz6y4u5eHso3F13evyww4rw==} + engines: {node: '>= 10'} + '@ast-grep/nursery@0.0.7': resolution: {integrity: sha512-M+AP0PqSytoTtaP/fXW4WZFvpLpJPdb6Tu7CFasNgs9objQa3vzJaB956bHs0edciHFYLzELASGox8vydG2sLw==} @@ -1362,30 +1420,57 @@ snapshots: '@ast-grep/napi-darwin-arm64@0.39.2': optional: true + '@ast-grep/napi-darwin-arm64@0.39.3': + optional: true + '@ast-grep/napi-darwin-x64@0.39.2': optional: true + '@ast-grep/napi-darwin-x64@0.39.3': + optional: true + '@ast-grep/napi-linux-arm64-gnu@0.39.2': optional: true + '@ast-grep/napi-linux-arm64-gnu@0.39.3': + optional: true + '@ast-grep/napi-linux-arm64-musl@0.39.2': optional: true + '@ast-grep/napi-linux-arm64-musl@0.39.3': + optional: true + '@ast-grep/napi-linux-x64-gnu@0.39.2': optional: true + '@ast-grep/napi-linux-x64-gnu@0.39.3': + optional: true + '@ast-grep/napi-linux-x64-musl@0.39.2': optional: true + '@ast-grep/napi-linux-x64-musl@0.39.3': + optional: true + '@ast-grep/napi-win32-arm64-msvc@0.39.2': optional: true + '@ast-grep/napi-win32-arm64-msvc@0.39.3': + optional: true + '@ast-grep/napi-win32-ia32-msvc@0.39.2': optional: true + '@ast-grep/napi-win32-ia32-msvc@0.39.3': + optional: true + '@ast-grep/napi-win32-x64-msvc@0.39.2': optional: true + '@ast-grep/napi-win32-x64-msvc@0.39.3': + optional: true + '@ast-grep/napi@0.39.2': optionalDependencies: '@ast-grep/napi-darwin-arm64': 0.39.2 @@ -1398,6 +1483,18 @@ snapshots: '@ast-grep/napi-win32-ia32-msvc': 0.39.2 '@ast-grep/napi-win32-x64-msvc': 0.39.2 + '@ast-grep/napi@0.39.3': + optionalDependencies: + '@ast-grep/napi-darwin-arm64': 0.39.3 + '@ast-grep/napi-darwin-x64': 0.39.3 + '@ast-grep/napi-linux-arm64-gnu': 0.39.3 + '@ast-grep/napi-linux-arm64-musl': 0.39.3 + '@ast-grep/napi-linux-x64-gnu': 0.39.3 + '@ast-grep/napi-linux-x64-musl': 0.39.3 + '@ast-grep/napi-win32-arm64-msvc': 0.39.3 + '@ast-grep/napi-win32-ia32-msvc': 0.39.3 + '@ast-grep/napi-win32-x64-msvc': 0.39.3 + '@ast-grep/nursery@0.0.7': dependencies: '@ast-grep/napi': 0.39.2 diff --git a/scripts/nursery/package.json b/scripts/nursery/package.json index 6f9289dc..b7c48064 100644 --- a/scripts/nursery/package.json +++ b/scripts/nursery/package.json @@ -12,7 +12,7 @@ "prepublishOnly": "tsc" }, "dependencies": { - "@ast-grep/napi": "0.39.2" + "@ast-grep/napi": "0.39.3" }, "publishConfig": { "access": "public", From 415367f63d639427c04442cb6176b5891c90c51d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 03:46:16 +0000 Subject: [PATCH 53/55] chore(deps): changeset for dependency update --- .changeset/dependencies-GH-104.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/dependencies-GH-104.md diff --git a/.changeset/dependencies-GH-104.md b/.changeset/dependencies-GH-104.md new file mode 100644 index 00000000..a6eb2d48 --- /dev/null +++ b/.changeset/dependencies-GH-104.md @@ -0,0 +1,5 @@ +--- +"@ast-grep/nursery": patch +--- + +fix(deps): update dependency @ast-grep/napi to v0.39.3 From dcc447ec3bfc2bdc7e6837fa20dbde1f078cc6f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 17 Aug 2025 09:10:12 +0000 Subject: [PATCH 54/55] chore(deps): update dependency oxlint to v1.12.0 --- package.json | 2 +- pnpm-lock.yaml | 74 +++++++++++++++++++++++++------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index fb452cad..6d285cb8 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@changesets/cli": "^2.28.1", "dprint": "0.50.1", "husky": "9.1.7", - "oxlint": "1.11.2" + "oxlint": "1.12.0" }, "pnpm": { "onlyBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5fde4c94..77fdfa25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 9.1.7 version: 9.1.7 oxlint: - specifier: 1.11.2 - version: 1.11.2 + specifier: 1.12.0 + version: 1.12.0 packages/angular: dependencies: @@ -786,43 +786,43 @@ packages: resolution: {integrity: sha512-anzDRE1w3Vl/aSBLiOwnwzz17GJaXJr+X3OTWwwV9cHg+TWEhLpUDo+d2pAoulCHoZTjN/k8A9wHg0IGuqnOfA==} os: [win32] - '@oxlint/darwin-arm64@1.11.2': - resolution: {integrity: sha512-eJZ1VKaS9qj44FTus3qTu790xMnJ/GViJcoVF3zNux5m3lOiWhwJB149+P7a7LcTowNdc26i1DmwcWxUllPwZw==} + '@oxlint/darwin-arm64@1.12.0': + resolution: {integrity: sha512-Pv+Ho1uq2ny8g2P6JgQpaIUF1FHPL32DfOlZhKqmzDT3PydtFvZp/7zNyJE3BIXeTOOOG1Eg12hjZHMLsWxyNw==} cpu: [arm64] os: [darwin] - '@oxlint/darwin-x64@1.11.2': - resolution: {integrity: sha512-KH9BJ5ObkReIr00IbGaImqL2q4CCjIAk9HxgULvWpjSnqUL7OgJFZAabb9Z5ZS0+RyZrKUtd1ZU/Ackb6k4G3Q==} + '@oxlint/darwin-x64@1.12.0': + resolution: {integrity: sha512-kNXPH/7jXjX4pawrEWXQHOasOdOsrYKhskA1qYwLYcv/COVSoxOSElkQtQa+KxN5zzt3F02kBdWDndLpgJLbLQ==} cpu: [x64] os: [darwin] - '@oxlint/linux-arm64-gnu@1.11.2': - resolution: {integrity: sha512-nIhyGApnEuqLazaSwvEkg5pMm2rlBPJccAGrNmJPcMukKbD5fUYyuCvkm9CFUqTm1+MIYrs5bTeRhnDSEa2mYw==} + '@oxlint/linux-arm64-gnu@1.12.0': + resolution: {integrity: sha512-U7NETs02K55ZyDlgdhx4lWeFYbkUKcL+YcG+Ak70EyEt/BKIIVt4B84VdV1JzC71FErUipDYAwPJmxMREXr4Sg==} cpu: [arm64] os: [linux] - '@oxlint/linux-arm64-musl@1.11.2': - resolution: {integrity: sha512-ifrqaBwVYt3g6GUbIwF9G9pTvkIvbs47F47oSjVogdy5hn2yEEi1zxyYGV9AFF3zVMgp2xDIO8G/gTuz1WPHkg==} + '@oxlint/linux-arm64-musl@1.12.0': + resolution: {integrity: sha512-e4Pb2eZu3V2BsiX4t4gyv9iJ8+KRT6bkoWM5uC9BLX7edsVchwLwL6LB2vPYusYdPPrxdjlFCg6ni+9wlw7FbQ==} cpu: [arm64] os: [linux] - '@oxlint/linux-x64-gnu@1.11.2': - resolution: {integrity: sha512-yWCgoOQ0xA/AxJ7ruLMR/YMKYEwV048vrWftZGCjKPYgZeZe9bpghAoRlLi6qjw7ReNpctk9Ho+l35TYXNqhzA==} + '@oxlint/linux-x64-gnu@1.12.0': + resolution: {integrity: sha512-qJK98Dj/z7Nbm0xoz0nCCMFGy0W/kLewPzOK5QENxuUoQQ6ymt7/75rXOuTwAZJ6JFTarqfSuMAA0pka6Tmytw==} cpu: [x64] os: [linux] - '@oxlint/linux-x64-musl@1.11.2': - resolution: {integrity: sha512-nYer9TaY/gC+kVwOfb9DxZh0dNdqFI8ax/MD9TwH8p3ZnWuUe1Ocfpg0V94tuPoGxHFqcXU7GRD1cTvREHfcTg==} + '@oxlint/linux-x64-musl@1.12.0': + resolution: {integrity: sha512-jNeltpHc1eonSev/bWKipJ7FI6+Rc7EXh6Y7E0pm8e95sc1klFA29FFVs3FjMA6CCa+SRT0u0nnNTTAtf2QOiQ==} cpu: [x64] os: [linux] - '@oxlint/win32-arm64@1.11.2': - resolution: {integrity: sha512-zbfZ7r68MyxQ2GAg/jFzIQCFrL8lcwnxfIEqY+V16/Xcd1rZVfMH3PwJMloib26pOLH6/RUlC5IjdVo8icadHA==} + '@oxlint/win32-arm64@1.12.0': + resolution: {integrity: sha512-T3fpNZJ3Q9YGgJTKc1YyvGoomSXnrV5mREz0QACE06zUzfS8EWyaYc/GN17FhHvQ4uQk/1xLgnM6FPsuLMeRhw==} cpu: [arm64] os: [win32] - '@oxlint/win32-x64@1.11.2': - resolution: {integrity: sha512-eSATaCIUwdh+t9gu9xoETjh+0PYwjVSLtnZ20XakKNjvee4KmQbWXCxXyA1vz1E0qxiUX/fYqsaOHueIwQ2LVA==} + '@oxlint/win32-x64@1.12.0': + resolution: {integrity: sha512-2eC4XQ1SMM2z7bCDG+Ifrn5GrvP6fkL0FGi4ZwDCrx6fwb1byFrXgSUNIPiqiiqBBrFRMKlXzU9zD6IjuFlUOg==} cpu: [x64] os: [win32] @@ -1072,8 +1072,8 @@ packages: resolution: {integrity: sha512-gH6EpIr2oBVperOONVzTTNYmOu6pYPipVyzWB+CfYO13vH+6O9kINUyG4rr3RXDaKdTx8UvxgRORXdSGH1iydA==} hasBin: true - oxlint@1.11.2: - resolution: {integrity: sha512-/MDUxbel5vrwxWgiGU6hZzhDiTv0TUlyZak+WP+SaTO709du+6F07zCDvYj5lgkAnEcFbdrUlA67HEnleGR0Zw==} + oxlint@1.12.0: + resolution: {integrity: sha512-tBQ9aB00aYLlGXE21WJHnKQAI8xoi2V6Eiz/WvGV7FwU9YLYuNOurEEVbfoS5u0ODX8GLvGWj1fdHh5Rb74Kkw==} engines: {node: '>=8.*'} hasBin: true @@ -1724,28 +1724,28 @@ snapshots: '@oxlint-tsgolint/win32-x64@0.0.1': optional: true - '@oxlint/darwin-arm64@1.11.2': + '@oxlint/darwin-arm64@1.12.0': optional: true - '@oxlint/darwin-x64@1.11.2': + '@oxlint/darwin-x64@1.12.0': optional: true - '@oxlint/linux-arm64-gnu@1.11.2': + '@oxlint/linux-arm64-gnu@1.12.0': optional: true - '@oxlint/linux-arm64-musl@1.11.2': + '@oxlint/linux-arm64-musl@1.12.0': optional: true - '@oxlint/linux-x64-gnu@1.11.2': + '@oxlint/linux-x64-gnu@1.12.0': optional: true - '@oxlint/linux-x64-musl@1.11.2': + '@oxlint/linux-x64-musl@1.12.0': optional: true - '@oxlint/win32-arm64@1.11.2': + '@oxlint/win32-arm64@1.12.0': optional: true - '@oxlint/win32-x64@1.11.2': + '@oxlint/win32-x64@1.12.0': optional: true '@tree-sitter-grammars/tree-sitter-lua@0.2.0(tree-sitter@0.21.1)': @@ -1970,16 +1970,16 @@ snapshots: '@oxlint-tsgolint/win32-x64': 0.0.1 optional: true - oxlint@1.11.2: + oxlint@1.12.0: optionalDependencies: - '@oxlint/darwin-arm64': 1.11.2 - '@oxlint/darwin-x64': 1.11.2 - '@oxlint/linux-arm64-gnu': 1.11.2 - '@oxlint/linux-arm64-musl': 1.11.2 - '@oxlint/linux-x64-gnu': 1.11.2 - '@oxlint/linux-x64-musl': 1.11.2 - '@oxlint/win32-arm64': 1.11.2 - '@oxlint/win32-x64': 1.11.2 + '@oxlint/darwin-arm64': 1.12.0 + '@oxlint/darwin-x64': 1.12.0 + '@oxlint/linux-arm64-gnu': 1.12.0 + '@oxlint/linux-arm64-musl': 1.12.0 + '@oxlint/linux-x64-gnu': 1.12.0 + '@oxlint/linux-x64-musl': 1.12.0 + '@oxlint/win32-arm64': 1.12.0 + '@oxlint/win32-x64': 1.12.0 oxlint-tsgolint: 0.0.1 p-filter@2.1.0: From aa9034248d0bd5ce3cf817103052c4930d3a09d3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 16 Aug 2025 13:29:07 +0000 Subject: [PATCH 55/55] chore(deps): update dependency @changesets/cli to v2.29.6 --- pnpm-lock.yaml | 82 +++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 44 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77fdfa25..68cfb9a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@changesets/cli': specifier: ^2.28.1 - version: 2.29.5 + version: 2.29.6(@types/node@22.17.1) dprint: specifier: 0.50.1 version: 0.50.1 @@ -631,8 +631,8 @@ packages: '@ast-grep/setup-lang@0.0.4': resolution: {integrity: sha512-us5L9CU4pc/yLQbO82v7gkpwa66qRoQRJ3P+s36EC6ZXiYpQVbd13PLgh9bQ/LhGljEb/pcli0uclN/+S3IMSw==} - '@babel/runtime@7.27.6': - resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==} + '@babel/runtime@7.28.3': + resolution: {integrity: sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==} engines: {node: '>=6.9.0'} '@changesets/apply-release-plan@7.0.12': @@ -644,8 +644,8 @@ packages: '@changesets/changelog-git@0.2.1': resolution: {integrity: sha512-x/xEleCFLH28c3bQeQIyeZf8lFXyDFVn1SgcBiR2Tw/r4IAWlk1fzxCEZ6NxQAjF2Nwtczoen3OA2qR+UawQ8Q==} - '@changesets/cli@2.29.5': - resolution: {integrity: sha512-0j0cPq3fgxt2dPdFsg4XvO+6L66RC0pZybT9F4dG5TBrLA3jA/1pNkdTXH9IBBVHkgsKrNKenI3n1mPyPlIydg==} + '@changesets/cli@2.29.6': + resolution: {integrity: sha512-6qCcVsIG1KQLhpQ5zE8N0PckIx4+9QlHK3z6/lwKnw7Tir71Bjw8BeOZaxA/4Jt00pcgCnCSWZnyuZf5Il05QQ==} hasBin: true '@changesets/config@3.1.1': @@ -744,6 +744,15 @@ packages: cpu: [x64] os: [win32] + '@inquirer/external-editor@1.0.1': + resolution: {integrity: sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -892,8 +901,8 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + chardet@2.1.0: + resolution: {integrity: sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==} ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} @@ -927,10 +936,6 @@ packages: extendable-error@0.1.7: resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} - external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} - fast-glob@3.3.3: resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} engines: {node: '>=8.6.0'} @@ -974,8 +979,8 @@ packages: engines: {node: '>=18'} hasBin: true - iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} ignore@5.3.2: @@ -1061,10 +1066,6 @@ packages: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true - os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - outdent@0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} @@ -1132,8 +1133,8 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} - quansync@0.2.10: - resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==} + quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -1198,10 +1199,6 @@ packages: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} - tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} - to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -1501,7 +1498,7 @@ snapshots: '@ast-grep/setup-lang@0.0.4': {} - '@babel/runtime@7.27.6': {} + '@babel/runtime@7.28.3': {} '@changesets/apply-release-plan@7.0.12': dependencies: @@ -1532,7 +1529,7 @@ snapshots: dependencies: '@changesets/types': 6.1.0 - '@changesets/cli@2.29.5': + '@changesets/cli@2.29.6(@types/node@22.17.1)': dependencies: '@changesets/apply-release-plan': 7.0.12 '@changesets/assemble-release-plan': 6.0.9 @@ -1548,11 +1545,11 @@ snapshots: '@changesets/should-skip-package': 0.1.2 '@changesets/types': 6.1.0 '@changesets/write': 0.4.0 + '@inquirer/external-editor': 1.0.1(@types/node@22.17.1) '@manypkg/get-packages': 1.1.3 ansi-colors: 4.1.3 ci-info: 3.9.0 enquirer: 2.4.1 - external-editor: 3.1.0 fs-extra: 7.0.1 mri: 1.2.0 p-limit: 2.3.0 @@ -1562,6 +1559,8 @@ snapshots: semver: 7.7.2 spawndamnit: 3.0.1 term-size: 2.2.1 + transitivePeerDependencies: + - '@types/node' '@changesets/config@3.1.1': dependencies: @@ -1678,16 +1677,23 @@ snapshots: '@dprint/win32-x64@0.50.1': optional: true + '@inquirer/external-editor@1.0.1(@types/node@22.17.1)': + dependencies: + chardet: 2.1.0 + iconv-lite: 0.6.3 + optionalDependencies: + '@types/node': 22.17.1 + '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.27.6 + '@babel/runtime': 7.28.3 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.27.6 + '@babel/runtime': 7.28.3 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -1799,7 +1805,7 @@ snapshots: dependencies: fill-range: 7.1.1 - chardet@0.7.0: {} + chardet@2.1.0: {} ci-info@3.9.0: {} @@ -1836,12 +1842,6 @@ snapshots: extendable-error@0.1.7: {} - external-editor@3.1.0: - dependencies: - chardet: 0.7.0 - iconv-lite: 0.4.24 - tmp: 0.0.33 - fast-glob@3.3.3: dependencies: '@nodelib/fs.stat': 2.0.5 @@ -1894,7 +1894,7 @@ snapshots: husky@9.1.7: {} - iconv-lite@0.4.24: + iconv-lite@0.6.3: dependencies: safer-buffer: 2.1.2 @@ -1956,8 +1956,6 @@ snapshots: node-gyp-build@4.8.4: {} - os-tmpdir@1.0.2: {} - outdent@0.5.0: {} oxlint-tsgolint@0.0.1: @@ -2000,7 +1998,7 @@ snapshots: package-manager-detector@0.2.11: dependencies: - quansync: 0.2.10 + quansync: 0.2.11 path-exists@4.0.0: {} @@ -2021,7 +2019,7 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 - quansync@0.2.10: {} + quansync@0.2.11: {} queue-microtask@1.2.3: {} @@ -2071,10 +2069,6 @@ snapshots: term-size@2.2.1: {} - tmp@0.0.33: - dependencies: - os-tmpdir: 1.0.2 - to-regex-range@5.0.1: dependencies: is-number: 7.0.0