pusang-ina provides configuration files for ast-grep to allow it to understand vue projects (including support for scss).
ast-grep's use of tree-sitter requires building binaries to support syntaxes that are not built in to the default ast-grep package.
Github actions are used to build binaries for each release for the following architectures:
Linux x86 with glibcLinux x86 with muslMacOS arm64MacOS x64Windows x86
Please feel free to open a PR to add more architectures to the build system.
This blog post explains how this configuration works.
pnpm add -D pusang-ina
ln -sf node_modules/pusang-ina/sgconfig.yml .