feat: refactor plugin architecture, enhance linting, CI & tooling

- Major refactor of core Fish functions for modularity, caching, and error handling
- Improved `.editorconfig` and Makefile for stricter formatting and linting standards
- Expanded linting support: added EditorConfig checks, auto-install for missing tools, and Makefile targets
- Enhanced CI workflow with clearer permissions and job steps in GitHub Actions
- Updated documentation in `README.md` and `CLAUDE.md` to reflect new features, advanced developer tools, and contribution guidelines
- Improved Node.js version manager detection, switching, and installation logic
- Added/updated utility functions for configuration, silent mode, notifications, and version extraction
- Various bug fixes, code quality improvements, and expanded test coverage
This commit is contained in:
2025-07-16 15:12:14 +03:00
parent 8c9febaf8f
commit 5b680f06ac
30 changed files with 3106 additions and 248 deletions

View File

@@ -36,13 +36,13 @@ function nvm_compat_use -a manager version -d "Use specified version with detect
switch $manager
case nvm
nvm use $version
nvm use $version; or return $status
case fnm
fnm use $version
fnm use $version; or return $status
case volta
volta pin node@$version
volta pin node@$version; or return $status
case asdf
asdf local nodejs $version
asdf local nodejs $version; or return $status
case '*'
echo "Unsupported manager: $manager"
return 1
@@ -57,13 +57,13 @@ function nvm_compat_install -a manager version -d "Install specified version wit
switch $manager
case nvm
nvm install $version
nvm install $version; or return $status
case fnm
fnm install $version
fnm install $version; or return $status
case volta
volta install node@$version
volta install node@$version; or return $status
case asdf
asdf install nodejs $version
asdf install nodejs $version; or return $status
case '*'
echo "Unsupported manager: $manager"
return 1