Skip to content

chore: version packages - #74

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#74
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@taskless/cli@0.10.3

Patch Changes

  • db8adfa: Resolve the ast-grep binary without relying on an install-time step, and drop
    the @ast-grep/cli wrapper from what consumers install.

    • The wrapper moves to devDependencies. The seven @ast-grep/cli-<platform>
      packages were already declared in optionalDependencies, and the CLI already
      resolved them by path — the wrapper was a leftover whose only job is a
      postinstall that hardlinks the binary into itself so its bin entries work.
      Nothing here invoked those entries. Consumers now install only the platform
      package matching their host, and the wrapper's postinstall — which leaves a
      placeholder text file where the binary should be under pnpm dlx's strict
      isolation — is out of the shipped product entirely. It stays as a
      devDependency because fetch-ast-grep-schema reads its version.
    • Platform packages are pinned exactly at 0.41.0. They were carets, and the
      wrapper had been enforcing alignment implicitly by pinning its own
      optionalDependencies; without it, two hosts could resolve different ast-grep
      versions against the same rules and disagree about findings. Held at 0.41.0
      rather than taking upstream's 0.45.0, so this change stays structural.
    • Binary resolution exhausts every candidate before failing. It now searches
      the platform package, node_modules/.bin, then sg and ast-grep on PATH,
      and throws naming what it tried. Previously it returned a bare "sg" and let
      spawn's ENOENT be the error, from a caller that could not say where it had
      looked.

    Alpine improves as a side effect: upstream publishes no musl build and marks its
    Linux packages libc: ["glibc"], so today the wrapper's postinstall resolves a
    package that does not exist and exits 1, failing the install wherever dependency
    scripts run. Installing now succeeds and resolution falls through to PATH.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 93ab680 to 93d8161 Compare July 30, 2026 22:21
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 93d8161 to 00be76c Compare July 30, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants